/* WaveEater proof page.
   Design system: Arc (industrial white gallery above midnight water) as the base,
   with the editorial/tabular layer borrowed from Accept & Proceed for the
   data-heavy sections (configurations, installations, specialty projects).
   Where the two systems conflict, Arc wins. See README.md. */

:root {
  /* Arc */
  --bone:          #e5e7eb;
  --charcoal:      #0a0a0a;
  --paper:         #ffffff;
  --deep-current:  #031e25;
  --slate-depth:   #1d1d1e;
  /* Accept & Proceed, for the document sections */
  --paper-warm:    #f9f7f3;
  --bone-warm:     #ecebe7;
  --graphite:      #8c8c8c;

  --font: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --text-caption:   13px;
  --text-body-sm:   14px;
  --text-body:      16px;
  --text-body-lg:   18px;
  --text-subheading:22px;
  --text-heading:   32px;
  --text-heading-lg:64px;
  --text-display:   140px;

  --radius-control: 0;
  --radius-image:  0;
  --radius-badge: 0;

  --page: 1320px;
  --rail: 220px;   /* left label rail; matches the first column of .row */
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--bone);
  font-feature-settings: "ss01" on, "tnum" on;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- type */

.display {
  font-size: clamp(36px, 5.2vw, var(--text-heading-lg));
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 0;
}
.display-xl {
  font-size: clamp(56px, 13vw, var(--text-display));
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.043em;
  margin: 0;
}
.heading {
  font-size: var(--text-heading);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.016em;
  margin: 0;
}
.subheading {
  font-size: var(--text-subheading);
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: -0.012em;
  margin: 0;
}
.body-lg { font-size: var(--text-body-lg); letter-spacing: -0.01em; }
.body-sm { font-size: var(--text-body-sm); }

.meta {
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin: 0;
}
.muted { color: var(--graphite); }

/* ---------------------------------------------------------------- nav */

.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  max-width: var(--page);
  margin: 0 auto;
  color: var(--paper);
}
.nav a.logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  opacity: 0.8;
}
.nav-links a:hover { opacity: 1; }
.nav-contact { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  border-radius: var(--radius-control);
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
  transition: none;
}
.btn:hover { background: var(--charcoal); color: var(--paper); }
.btn-light { border-color: var(--paper); color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--charcoal); }
.btn-filled { background: var(--paper); border-color: var(--paper); color: var(--charcoal); }
.btn-filled:hover { background: transparent; color: var(--paper); }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; height: 100vh; min-height: 620px; max-height: 940px; overflow: hidden; background: var(--deep-current); }
.hero video, .hero img.fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,30,37,0.72) 0%, rgba(3,30,37,0.18) 45%, rgba(3,30,37,0.28) 100%);
}
.hero-copy {
  position: absolute;
  left: 0; right: 0; bottom: 72px;
  z-index: 2;
  color: var(--paper);
}
.hero-copy .display { max-width: 15ch; font-size: clamp(44px, 7.4vw, 104px); line-height: 0.98; letter-spacing: -0.045em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta-row {
  position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2;
  color: var(--paper);
}
.hero-meta-row .wrap { display: flex; justify-content: space-between; gap: 20px; opacity: 0.7; }

/* ---------------------------------------------------------------- sections */

section { padding: 96px 0; border-top: 1px solid rgba(10,10,10,0.14); }
.band-dark, .band-slate { border-top-color: rgba(255,255,255,0.14); }
.band-paper  { background: var(--paper); }
.band-bone   { background: var(--bone); }
.band-warm   { background: var(--paper-warm); }
.band-dark   { background: var(--deep-current); color: var(--paper); }
.band-slate  { background: var(--slate-depth); color: var(--paper); }
.band-dark .muted, .band-slate .muted { color: rgba(255,255,255,0.55); }

.statement {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.statement .heading { margin-bottom: 20px; }

/* eyebrow sits above the title, and the title, the content and the cards share one left edge */
.section-head { margin-bottom: 48px; display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.section-head .display { max-width: 20ch; }
.section-head > div { min-width: 0; }
.section-head + .econ { margin-top: -10px; }
.section-head .meta { margin: 0; color: var(--graphite); }
.band-dark .section-head .meta, .band-slate .section-head .meta { color: rgba(255,255,255,0.55); }

/* ---------------------------------------------------------------- figures */

figure { margin: 0; }
.frame { border-radius: var(--radius-image); overflow: hidden; background: var(--deep-current); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame-16x9 { aspect-ratio: 16 / 9; }
.frame-wide { aspect-ratio: 2.55 / 1; }
.frame-tall { aspect-ratio: 3 / 4; }

/* ---------------------------------------------------------------- economics */

.econ { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.econ-figure { margin: 0; font-size: clamp(56px, 10vw, 120px); font-weight: 500; letter-spacing: -0.043em; line-height: 1; }
.econ-rule { border: 0; border-top: 1px solid var(--charcoal); margin: 30px 0 18px; }
.econ-note { max-width: 46ch; }

/* ---------------------------------------------------------------- cards */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 18px; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card { display: flex; flex-direction: column; }
.card .frame { margin-bottom: 20px; }
.card .badges { margin-top: auto; padding-top: 6px; }
.card .subheading { margin-bottom: 10px; }
.card p { margin: 0 0 14px; }

.spec { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,0.18); }
.band-bone .spec, .band-paper .spec, .band-warm .spec { border-top-color: rgba(10,10,10,0.14); }
.spec li { display: flex; justify-content: space-between; gap: 16px; font-size: var(--text-body-sm); padding: 6px 0; }
.spec li span:first-child { opacity: 0.6; }

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: var(--radius-badge);
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--graphite);
  margin: 0 6px 6px 0;
}

/* ---------------------------------------------------------------- tabular, from Accept & Proceed */

.rows { border-top: 1px solid var(--charcoal); }
.row {
  display: grid;
  grid-template-columns: 220px 1fr 250px;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(10,10,10,0.18);
  font-size: var(--text-body-sm);
}
.row .r-title { font-weight: 500; }
.row .r-end { text-align: right; color: var(--graphite); }
.row a.r-end:hover { color: var(--charcoal); }

.rows-tight .row { grid-template-columns: 1fr 200px; padding: 12px 0; }

.columns-3 { columns: 3; column-gap: 36px; }
.columns-3 li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid rgba(10,10,10,0.12); font-size: var(--text-body-sm); }
.columns-3 { list-style: none; margin: 0; padding: 0; }

/* ---------------------------------------------------------------- media band */

.media-band { position: relative; height: 70vh; min-height: 480px; overflow: hidden; background: var(--deep-current); }
.media-band video, .media-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-band::after { content: ""; position: absolute; inset: 0; background: rgba(3,30,37,0.45); }
.media-band .overlay {
  position: absolute; inset: auto 0 0 0; z-index: 2; color: var(--paper); padding-bottom: 56px;
}
.quote { font-size: clamp(22px, 3vw, var(--text-heading)); font-weight: 500; letter-spacing: -0.016em; line-height: 1.3; max-width: 22ch; margin: 0 0 18px; }

/* ---------------------------------------------------------------- footer */

footer { background: var(--deep-current); color: var(--paper); padding: 80px 0 45px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 45px; border-bottom: 1px solid rgba(255,255,255,0.18); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 5px 0; font-size: var(--text-body-sm); opacity: 0.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; opacity: 0.6; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  :root { --gutter: 16px; }
  section { padding: 72px 0; }
  .grid-3, .grid-2, .grid-4, .econ { grid-template-columns: 1fr; gap: 36px; }
  .columns-3 { columns: 1; }
  .row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .row .r-end { text-align: left; }
  .rows-tight .row { grid-template-columns: 1fr; }
  .nav-links, .nav-contact { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-copy { bottom: 88px; }
}

@media (max-width: 900px) {
  .hero-meta-row .wrap p:last-child { display: none; }
  .hero-meta-row { bottom: 18px; }
}

/* ---------------------------------------------------------------- added for the full site */

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 24px; top: 12px; z-index: 50; background: var(--paper); color: var(--charcoal); padding: 10px 16px; border-radius: var(--radius-control); }

.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-short { height: 62vh; min-height: 460px; }
.hero-short::after { background: linear-gradient(to top, rgba(3,30,37,0.78) 0%, rgba(3,30,37,0.22) 55%, rgba(3,30,37,0.34) 100%); }
.hero-short .hero-copy .display { max-width: 18ch; font-size: clamp(38px, 5.6vw, 76px); }

.nav-links a.is-current { opacity: 1; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.spec a { border-bottom: 1px solid rgba(10,10,10,0.3); }
.band-dark .spec a, .band-slate .spec a { border-bottom-color: rgba(255,255,255,0.4); }

/* form, placeholder shape only */
.form { max-width: 860px; }
.form fieldset { border: 0; border-top: 1px solid rgba(10,10,10,0.18); margin: 0 0 36px; padding: 24px 0 0; }
.form legend { color: var(--graphite); padding: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; margin-top: 18px; }
.form label { display: block; }
.form label span { display: block; margin-bottom: 8px; }
.form input {
  width: 100%; font: inherit; font-size: var(--text-body-sm);
  padding: 12px 14px; border: 1px solid rgba(10,10,10,0.25);
  border-radius: var(--radius-control); background: var(--paper); color: var(--charcoal);
}
.chips { margin-top: 18px; }
.form .hero-actions { margin-top: 0; }

.media-band video[controls], .frame video[controls] { position: static; }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero-short { height: auto; min-height: 420px; padding-bottom: 0; }
}

/* ---------------------------------------------------------------- type-led hero
   For pages where no photograph survives full bleed. Every still on
   waveeater.com is under 800px wide; stretching one looks worse than type. */
.hero-type {
  height: auto; min-height: 0;
  background: var(--deep-current);
  display: flex; align-items: center;
  padding: 128px 0 64px;
}
.hero-type::after { content: none; }
.hero-type .wrap { width: 100%; }
.hero-type-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: end;
  color: var(--paper);
}
.hero-type .display { max-width: 18ch; }
.hero-type .hero-actions { margin-top: 36px; }
.hero-aside { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.2); }
.hero-aside li { border: 0; }

@media (max-width: 900px) {
  .hero-type { padding: 120px 0 64px; }
  .hero-type-grid { grid-template-columns: 1fr; gap: 36px; align-items: start; }
}

/* Price estimator */
.est { max-width: 860px; }
.est fieldset { border: 0; border-top: 1px solid rgba(10,10,10,0.18); margin: 0 0 28px; padding: 22px 0 0; }
.est legend { color: var(--graphite); padding: 0; }
.est-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.est-choices button, .est-link { font: inherit; font-size: var(--text-body); padding: 12px 18px; border: 1px solid var(--charcoal); background: transparent; color: var(--charcoal); border-radius: var(--radius-control); cursor: pointer; min-height: 44px; }
.est-choices button:hover, .est-choices button.is-on, .est-link.is-on { background: var(--charcoal); color: var(--paper); }
.est-length { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.est-length input { font: inherit; font-size: var(--text-subheading); width: 170px; padding: 10px 12px; border: 1px solid var(--charcoal); border-radius: var(--radius-control); background: var(--paper); }
.est-link { border-color: rgba(10,10,10,0.3); }
.est-result { border-top: 3px solid var(--charcoal); padding-top: 22px; margin-top: 8px; }
.est-price { font-size: var(--text-heading-lg); line-height: 1.05; margin: 8px 0 10px; font-weight: 500; letter-spacing: -0.02em; }
@media (max-width: 600px) { .est-price { font-size: var(--text-heading); } .est-choices button { flex: 1 1 45%; } }

/* ---------------------------------------------------------------- institutional layer (2026-10)
   Structure from Palantir: one grotesk at medium weight, sentence case, square corners,
   hairlines, a left label rail. Hardware full bleed on dark water from Anduril and Saronic.
   Signature: the data plate, a manufacturer's nameplate under every header. */

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.plate { background: var(--charcoal); color: var(--paper); border-top: 1px solid rgba(255,255,255,0.16); }
.plate dl { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 0.8fr 1fr; margin: 0; }
.plate dl > div { padding: 16px 20px 18px 20px; border-left: 1px solid rgba(255,255,255,0.16); }
.plate dl > div:first-child { border-left: 0; padding-left: 0; }
.plate dt { font-size: 12px; color: rgba(255,255,255,0.5); margin: 0 0 4px; }
.plate dd { margin: 0; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.005em; }

.frame { background: var(--deep-current); }
.card .subheading { letter-spacing: -0.02em; }
.row { font-size: 15px; }
.rows { border-top-color: currentColor; }
.band-dark .row, .band-slate .row { border-bottom-color: rgba(255,255,255,0.16); }
.band-dark .row .r-end, .band-slate .row .r-end { color: rgba(255,255,255,0.55); }
.spec li { font-size: 15px; font-variant-numeric: tabular-nums; }

/* content under a section head lines up with the head's right column */
.railed { margin-left: 0; }

.hero-meta-row .meta { font-size: 13px; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .section-head .meta { margin: 0; }
  .railed { margin-left: 0; }
  .plate dl { grid-template-columns: 1fr 1fr; }
  .plate dl > div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.16); }
  .plate dl > div:first-child, .plate dl > div:nth-child(2) { border-top: 0; }
}

.statement { max-width: none; margin: 0; text-align: left; }
.statement .heading { max-width: 26ch; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.03em; }
.statement p { max-width: 60ch; }
.media-band { max-height: 720px; }
@media (max-width: 900px) { .statement { margin-left: 0; } }

/* ---------------------------------------------------------------- quote calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--charcoal); }
.calc-q { padding: 28px 40px 40px 0; border-right: 1px solid rgba(10,10,10,0.14); }
.calc-a { padding: 28px 0 40px 40px; position: sticky; top: 0; align-self: start; }
.calc fieldset { border: 0; margin: 0 0 30px; padding: 0; }
.calc legend { padding: 0; font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.calc legend small { font-weight: 400; color: var(--graphite); font-size: 13px; margin-left: 6px; }
.calc-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-choices button { font: inherit; font-size: 15px; padding: 11px 16px; min-height: 44px; border: 1px solid rgba(10,10,10,0.35); background: transparent; color: var(--charcoal); cursor: pointer; }
.calc-choices button:hover { border-color: var(--charcoal); }
.calc-choices button[aria-pressed="true"] { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }
.calc-num { display: flex; align-items: center; gap: 10px; }
.calc input[type=number], .calc input[type=text], .calc select { font: inherit; font-size: 17px; padding: 11px 12px; border: 1px solid rgba(10,10,10,0.35); background: var(--paper); color: var(--charcoal); min-height: 44px; }
.calc input[type=number] { width: 150px; font-variant-numeric: tabular-nums; }
.calc input[type=text] { width: 100%; max-width: 420px; }
.calc details { border-top: 1px solid rgba(10,10,10,0.14); padding-top: 18px; }
.calc summary { cursor: pointer; font-size: 15px; font-weight: 500; }
.calc details .calc-opt { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 18px; }
.calc details label { display: block; font-size: 13px; color: var(--graphite); }
.calc details label input, .calc details label select { display: block; margin-top: 6px; width: 100%; font-size: 15px; color: var(--charcoal); }
.calc-empty { color: var(--graphite); max-width: 34ch; }
.calc-price { font-size: clamp(34px, 4.4vw, 56px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.calc-layout { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 6px; }
.calc-why { margin: 0 0 22px; max-width: 46ch; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; margin: 0 0 20px; }
.calc-table th, .calc-table td { text-align: left; padding: 9px 0; border-top: 1px solid rgba(10,10,10,0.14); font-weight: 400; vertical-align: top; }
.calc-table td:last-child { text-align: right; font-weight: 500; white-space: nowrap; padding-left: 16px; }
.calc-table caption { text-align: left; font-size: 13px; color: var(--graphite); padding-bottom: 8px; }
.calc-flags { margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; }
.calc-flags li { padding: 8px 0 8px 14px; border-left: 2px solid var(--charcoal); margin-bottom: 8px; }
.calc-fine { font-size: 13px; color: var(--graphite); max-width: 52ch; }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc-q { padding-right: 0; border-right: 0; }
  .calc-a { padding-left: 0; position: static; border-top: 1px solid var(--charcoal); }
  .calc details .calc-opt { grid-template-columns: 1fr; }
}

.calc-form { border-top: 1px solid var(--charcoal); margin-top: 26px; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.calc-fields label { display: block; font-size: 13px; }
.calc .calc-fields input { display: block; width: 100%; max-width: none; margin-top: 6px; font: inherit; font-size: 16px; padding: 11px 12px; min-height: 44px; border: 1px solid rgba(10,10,10,0.35); border-radius: 0; background: var(--paper); color: var(--charcoal); }
.calc-wide { grid-column: 1 / -1; }
.calc-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.calc-error { margin: 14px 0 0; padding: 10px 0 10px 14px; border-left: 2px solid #b42318; font-size: 14px; }
#calc-done { border-top: 1px solid var(--charcoal); margin-top: 26px; }
.calc button.btn:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 900px) { .calc-fields { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- calls to action, everywhere */
.nav-end { display: flex; align-items: center; gap: 22px; }
.nav-cta { padding: 11px 18px; font-size: 14px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid currentColor; }
.price-row p { margin: 0; font-size: var(--text-body-lg); font-weight: 500; letter-spacing: -0.015em; }
.price-row .btn { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }
.band-dark .price-row .btn, .band-slate .price-row .btn { background: var(--paper); color: var(--charcoal); border-color: var(--paper); }
.card-links { display: flex; gap: 22px; margin: 16px 0 0; font-size: 15px; font-weight: 500; }
.card-links a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.card .card-links { margin-top: auto; padding-top: 16px; }
.cta-band .display { max-width: 16ch; }
section { padding: 80px 0; }
@media (max-width: 1100px) { .nav-links { gap: 20px; } .nav-contact { display: none; } }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-end { display: flex; } .nav-cta { display: inline-block; }
  section { padding: 60px 0; }
}

/* ---------------------------------------------------------------- configuration walkthrough */
.cfg-band { padding-top: 0; padding-bottom: 0; }
.cfg { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.cfg-stage { position: sticky; top: 0; height: 100vh; max-height: 900px; display: flex; flex-direction: column; justify-content: center; }
.cfg-stage svg { width: 100%; height: auto; max-height: 78vh; display: block; overflow: visible; }
.cfg-note { font-size: 12px; color: rgba(255,255,255,0.45); margin: 10px 0 0; }
.cfg-steps { list-style: none; margin: 0; padding: 0; }
.cfg-step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: 0.32; transition: opacity 0.4s; }
.cfg-step.is-on { opacity: 1; }
.cfg-step .heading { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.035em; margin: 8px 0 16px; }
.cfg-step .body-lg { margin: 0; max-width: 40ch; opacity: 0.82; }
.cfg-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 26px 0 0; }
.cfg-pdf { font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

#cfg-svg { color: var(--paper); font-family: var(--font); }
.cfg-unit, .cfg-anchor { transition: transform 0.9s cubic-bezier(.6,0,.2,1), opacity 0.6s; }
.cfg-body { transition: transform 0.9s cubic-bezier(.6,0,.2,1); }
.cfg-unit rect, .cfg-unit line { fill: rgba(255,255,255,0.06); stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.cfg-unit.c rect { fill: rgba(255,255,255,0.16); }
.cfg-waffle { opacity: 0; transition: opacity 0.6s; stroke-dasharray: 3 3; }
.cfg-unit.is-4870 .cfg-body { transform: scaleX(1.18); }
.cfg-unit.is-4870 .cfg-waffle { opacity: 1; }
.cfg-anchor line { stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 5 5; opacity: 0.6; }
.cfg-anchor rect { fill: currentColor; }
.cfg-anchor circle { fill: var(--deep-current); stroke: currentColor; stroke-width: 1.4; }
.cfg-waves path { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: 0.55; }
.cfg-waves text, .cfg-side text { fill: currentColor; font-size: 15px; opacity: 0.6; }
.cfg-water { stroke: currentColor; stroke-width: 1.4; opacity: 0.6; }
.cfg-s36, .cfg-s48 circle, .cfg-s48 rect { fill: rgba(255,255,255,0.06); stroke: currentColor; stroke-width: 1.4; }
.cfg-s48 .cfg-hole { fill: var(--deep-current); }
.cfg-s36, .cfg-s48 { transition: opacity 0.6s; }
.cfg-s48 { opacity: 0; }
.side-4870 .cfg-s48 { opacity: 1; }
.side-4870 .cfg-s36 { opacity: 0; }
.cfg-side .cfg-depth { opacity: 0.85; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .cfg-unit, .cfg-anchor, .cfg-body, .cfg-step { transition: none; } }
@media (max-width: 900px) {
  .cfg { grid-template-columns: 1fr; gap: 0; }
  .cfg-stage { height: 46vh; max-height: none; background: var(--deep-current); z-index: 3; border-bottom: 1px solid rgba(255,255,255,0.16); justify-content: flex-end; padding-bottom: 8px; }
  .cfg-stage svg { max-height: 40vh; }
  .cfg-step { min-height: 62vh; justify-content: flex-start; padding: 36px 0; }
}

/* ---------------------------------------------------------------- gallery */

.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.gallery-filter button { font: inherit; font-size: 14px; padding: 8px 14px; border: 1px solid var(--charcoal); background: transparent; color: inherit; cursor: pointer; }
.gallery-filter button[aria-pressed="true"] { background: var(--charcoal); color: var(--bone); }
.gallery { columns: 3 340px; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin: 0 0 18px; }
.gallery figure[hidden] { display: none; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--deep-current); cursor: zoom-in; }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { font-size: 14px; padding: 10px 0 0; color: var(--graphite); }
.gallery figcaption strong { display: block; font-weight: 500; color: var(--charcoal); }
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(5, 22, 26, 0.94); color: #fff; }
.lightbox::backdrop { background: rgba(5, 22, 26, 0.94); }
.lightbox-inner { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 56px 72px 20px; box-sizing: border-box; }
.lightbox img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox p { margin: 14px auto 0; text-align: center; font-size: 15px; max-width: 70ch; }
.lightbox .lb-btn { position: absolute; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); font: inherit; font-size: 15px; padding: 8px 14px; cursor: pointer; }
.lightbox .lb-close { top: 12px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; }
.lightbox .lb-next { right: 16px; top: 50%; }
@media (max-width: 700px) { .lightbox-inner { padding: 56px 16px 72px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 16px; } }

/* Background videos: the poster sits behind as a background image and the video stays invisible until it is
   actually playing, so when the browser blocks autoplay (Safari Low Power Mode) visitors see the photo, never a play button */
.has-poster { background-size: cover; background-position: center; }
video.bg-video { opacity: 0; transition: opacity .4s ease; pointer-events: none; }
video.bg-video.is-playing { opacity: 1; }

/* ---------------------------------------------------------------- contact page request form */
.contact-form { max-width: 760px; margin-top: 30px; }
.contact-form .calc-fields input, .contact-form .calc-fields select, .contact-form .calc-fields textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; padding: 11px 12px; min-height: 44px; border: 1px solid rgba(10,10,10,0.35); border-radius: 0; background: var(--paper); color: var(--charcoal); }
.contact-form .calc-fields textarea { resize: vertical; }
.btn-dark { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); cursor: pointer; }
.btn-dark:disabled { opacity: 0.6; cursor: default; }
.contact-done { max-width: 760px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--charcoal); }
