:root {
  color-scheme: light;
  --paper: #f9f6ef;
  --ink: #172f36;
  --muted: #496167;
  --navy: #102a34;
  --navy-deep: #0a2029;
  --sea: #2a625d;
  --warm: #f2bc8f;
  --ice: #d3e1dd;
  --line: #d6dbd0;
  --serif: Georgia, "Liberation Serif", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

a, button, input, textarea { -webkit-tap-highlight-color: transparent; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #3c8c82;
  outline-offset: 4px;
}

p, h1, h2, h3, figure { margin: 0; }

h1, h2 { font-family: var(--serif); font-weight: 500; }

h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -.044em;
  text-wrap: balance;
}

h3 { line-height: 1.25; }

.wrap { width: min(1200px, calc(100% - 2 * clamp(1.2rem, 5.2vw, 4.6rem))); margin-inline: auto; }

.section-space { padding-block: clamp(3.5rem, 7.2vw, 6.7rem); }

.eyebrow {
  margin-bottom: 1rem;
  color: var(--sea);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .155em;
  line-height: 1.4;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset: .6rem auto auto .6rem;
  padding: .6rem .9rem;
  background: var(--paper);
  transform: translateY(-175%);
}

.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #dce1d7; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding-block: .6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.68rem;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-decoration: none;
}

.brand img { flex: 0 0 auto; }

.brand-detail {
  display: block;
  margin-top: .28rem;
  color: var(--sea);
  font: 700 .59rem/1.2 var(--sans);
  letter-spacing: .1em;
}

.main-nav { display: flex; align-items: center; gap: clamp(.65rem, 2.8vw, 2.2rem); }

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 42px;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.nav-section:hover { text-decoration: underline; text-underline-offset: .3em; }

.nav-contact {
  padding: .62rem .85rem;
  border: 1px solid #a8b7ac;
  border-radius: 7px;
}

.nav-contact:hover { background: #edf0e7; }

.hero {
  padding-block: clamp(3rem, 6.4vw, 6.15rem);
  color: var(--paper);
  background: radial-gradient(ellipse at 84% 3%, #20454b 0%, var(--navy) 53%, var(--navy-deep) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-eyebrow { color: var(--warm); }

.hero-eyebrow span { margin-inline: .4rem; opacity: .72; }

.hero h1 {
  max-width: 11em;
  font-size: clamp(3rem, 5.55vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.056em;
}

.hero h1 em {
  display: block;
  margin-top: .12em;
  color: #d2e6d7;
  font-weight: inherit;
}

.hero-promise {
  margin-top: 1.65rem;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 680;
  line-height: 1.38;
  text-wrap: pretty;
}

.hero-description { max-width: 50ch; margin-top: .8rem; color: var(--ice); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.25rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  min-height: 49px;
  padding: .72rem 1rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 750 .87rem/1.25 var(--sans);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.button svg { flex-shrink: 0; }

.button-primary { background: var(--warm); color: #1c2829; }

.button-primary:hover { background: #ffd0aa; }

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--paper);
  font-size: .88rem;
  font-weight: 680;
  text-decoration-color: #a3bdb2;
  text-underline-offset: .34em;
}

.hero-link span { color: var(--warm); }

.hero-link:hover { text-decoration-color: var(--paper); }

.hero-photo {
  overflow: hidden;
  aspect-ratio: 1.26;
  border: 1px solid #6c8585;
  border-radius: 10px 74px 10px 10px;
  background: #2d5155;
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

.hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .65rem;
  color: var(--ice);
  font-size: .7rem;
  line-height: 1.35;
}

.caption-dot {
  display: inline-block;
  width: .42rem;
  height: .42rem;
  margin-right: .28rem;
  border-radius: 50%;
  background: var(--warm);
  vertical-align: .04em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3.2rem);
  margin-top: clamp(1.7rem, 4vw, 3rem);
}

.feature { padding-top: 1.05rem; border-top: 1px solid #9fb2a8; }

.feature-number {
  margin-bottom: .95rem;
  color: var(--sea);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .08em;
}

.feature h3 { margin-bottom: .58rem; font-size: clamp(1.1rem, 2vw, 1.34rem); letter-spacing: -.02em; }

.feature p:not(.feature-number), .feature-note { color: var(--muted); }

.feature-note { margin-top: 1.4rem; font-size: .85rem; }

.gallery { background: #f1f3ed; border-top: 1px solid var(--line); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.6rem);
  margin-top: clamp(1.6rem, 3.8vw, 2.8rem);
}

.gallery-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
}

.gallery-photo img { width: 100%; height: auto; }

.gallery-photo--portrait img {
  height: clamp(18rem, 34vw, 26rem);
  background: #e1e9e3;
  object-fit: contain;
}

.gallery-photo figcaption {
  padding: .55rem .8rem;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 650;
}

.shades { background: #eaf0e8; border-block: 1px solid #d9e2d7; }

.shades-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: clamp(1.6rem, 5vw, 5rem);
}

.shades h2 { max-width: 14em; }

.shades p:not(.eyebrow) { margin-top: 1.1rem; color: var(--muted); }

.shades .shades-tip { font-weight: 700; }

.shade-figure { padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid #bbcabe; border-radius: 11px; }

.swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.52rem, 1.8vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.swatches li { color: var(--ink); font-size: .82rem; font-weight: 690; }

.pane {
  display: block;
  aspect-ratio: .73;
  margin-bottom: .6rem;
  border: 1px solid #526f72;
  border-radius: .35rem 1.24rem .35rem .35rem;
  background: linear-gradient(143deg, #ffffff2a 15%, #ffffff4d 31%, transparent 32% 67%, #ffffff1f 68% 82%, transparent 83%), var(--pane);
  box-shadow: inset 2px -3px 0 #14363c28;
}

.smoke { --pane: #324d51; }
.gray { --pane: #818c90; }
.bronze { --pane: #8d674c; }
.clear { --pane: #d9e7e0; }

.shade-figure figcaption { margin-top: 1rem; color: var(--muted); font-size: .73rem; }

.contact { background: var(--navy); color: var(--paper); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.contact-info h2 { max-width: 10.3em; }

.contact-info > p:not(.eyebrow) { max-width: 43ch; margin-top: 1.05rem; color: var(--ice); }

.contact-details { max-width: 23rem; margin: 1.7rem 0 0; }

.contact-details div { padding: .8rem 0; border-top: 1px solid #4c6b6f; }

.contact-details dt { color: var(--ice); font-size: .74rem; font-weight: 700; }

.contact-details dd { margin: .13rem 0 0; font-weight: 700; }

.contact-details a { text-underline-offset: .18em; }

.quote-form {
  display: grid;
  gap: .84rem;
  min-width: 0;
  padding: clamp(1rem, 3.5vw, 2.3rem);
  border: 1px solid #e4e9e1;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}

.form-heading { display: flex; align-items: center; justify-content: space-between; gap: .4rem .6rem; flex-wrap: wrap; }

.form-heading h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.7vw, 2rem); letter-spacing: -.03em; }

.form-mode {
  padding: .22rem .5rem;
  border-radius: 100px;
  background: #e7ede4;
  color: #3b5e54;
  font-size: .68rem;
  font-weight: 760;
}

.preview-note { color: var(--muted); font-size: .84rem; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }

.field { display: grid; gap: .27rem; min-width: 0; }

.field label { font-size: .86rem; font-weight: 730; }

.optional { color: var(--muted); font-size: .76rem; font-weight: 450; }

.field input, .field textarea {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: .53rem .63rem;
  border: 1px solid #9cafa8;
  border-radius: 6px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

.field textarea { min-height: 5rem; resize: vertical; }

.field input[type="file"] {
  padding: .42rem;
  background: #eaf0e8;
  font-size: .82rem;
  cursor: pointer;
}

.field input::file-selector-button {
  margin-right: .55rem;
  padding: .28rem .5rem;
  border: 1px solid #9db2a6;
  border-radius: 4px;
  background: #fffdf9;
  color: var(--ink);
  font: 700 .75rem/1.3 var(--sans);
  cursor: pointer;
}

.field-note { color: var(--muted); font-size: .73rem; }

.button-form { width: 100%; background: var(--navy); color: var(--paper); }

.button-form:hover { background: #204954; }

.button-form:disabled { opacity: .58; cursor: default; }

.form-status { color: var(--muted); font-size: .85rem; font-weight: 650; }

.form-status:empty { display: none; }

.form-status[data-tone="success"] { color: #1d6552; }

.form-status[data-tone="error"] { color: #9d342c; }

.site-footer { background: var(--navy-deep); color: var(--ice); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem 1.2rem;
  min-height: 72px;
  padding-block: .95rem;
  font-size: .8rem;
}

.footer-inner strong { color: var(--paper); }

.footer-inner a { text-underline-offset: .2em; }

@media (max-width: 940px) {
  .hero h1 { font-size: clamp(2.85rem, 6.1vw, 4.45rem); }
  .hero-grid { gap: 2rem; }
  .hero-photo { aspect-ratio: 1.03; border-top-right-radius: 52px; }
}

@media (max-width: 740px) {
  .hero-grid, .shades-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 1.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 9.1vw, 4.55rem); }
  .hero-photo { aspect-ratio: 1.58; border-top-right-radius: 46px; }
  .hero-promise { margin-top: 1.25rem; }
  .hero-actions { margin-top: 1.25rem; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .gallery-photo--portrait img { height: min(28rem, 70svh); }
  .feature-number { margin-bottom: .45rem; }
  .nav-section { display: none !important; }
  .contact-grid { gap: 1.8rem; }
  .contact-details { margin-top: 1.15rem; }
}

@media (max-width: 435px) {
  .header-inner { min-height: 68px; gap: .4rem; }
  .brand { gap: .45rem; font-size: 1.48rem; }
  .brand img { width: 34px; height: 34px; }
  .brand-detail { font-size: .49rem; }
  .main-nav a { font-size: .73rem; padding-inline: .48rem; min-height: 40px; gap: .26rem; }
  .hero { padding-top: 2.4rem; }
  .hero-actions { gap: .4rem .75rem; }
  .hero-link, .button { font-size: .81rem; }
  .button { padding-inline: .76rem; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
