/* Aeterna Environmental — Rev C
   Layout idea: framed photo heroes, split photo + color-block panels, one long scroll per audience that ends in a booking step. */
:root {
  --navy: #073B57;
  --navy-deep: #052B40;
  --water: #0C6E8E;
  --water-soft: #D8EDF3;
  --paper: #F6F2EA;
  --copper: #B9531A;
  --copper-dark: #974212;
  --ink: #10222E;
  --text: #3A4A57;
  --muted: #5F707D;
  --line: #D8E0E5;
  --white: #FFFFFF;
  --series-water: #0369A1;
  --series-cpi: #D97706;
  --font-display: 'Palatino Linotype', Palatino, 'Book Antiqua', 'URW Palladio L', P052, 'TeX Gyre Pagella', Georgia, 'Times New Roman', serif;
  --font-body: 'Palatino Linotype', Palatino, 'Book Antiqua', 'URW Palladio L', P052, 'TeX Gyre Pagella', Georgia, 'Times New Roman', serif;
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--water); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--copper); outline-offset: 2px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 4.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.08; }
h4 { font-size: 1.2rem; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 62ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink); }
.small { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.num { font-variant-numeric: tabular-nums; }
.nb { white-space: nowrap; }
[id] { scroll-margin-top: 96px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 34px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Eyebrow pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); background: var(--white);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px;
}
.pill::before {
  content: ""; width: 10px; height: 13px; flex: none; background: var(--copper);
  border-radius: 60% 60% 60% 60% / 75% 75% 45% 45%;
  clip-path: polygon(50% 0, 100% 62%, 86% 90%, 50% 100%, 14% 90%, 0 62%);
}
.pill--dark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.pill--dark::before { background: #F2B585; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--copper); border: 2px solid var(--copper);
  border-radius: 999px; padding: 12px 24px; cursor: pointer; line-height: 1.1;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.btn::after { content: "\2192"; font-family: var(--font-body); font-weight: 500; display: inline-block; transition: transform .2s ease; }
.btn:hover::after { transform: translateX(5px); }
.btn:hover { background: var(--copper-dark); border-color: var(--copper-dark); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--block { width: 100%; }
.btn--plain::after { content: none; }
.more { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .03em; color: var(--copper); text-decoration: none; }
.more::after { content: " \25B8"; }
.more:hover { text-decoration: underline; }
.on-dark .more { color: #F2B585; }

/* Scroll progress */
.progress { position: fixed; left: 0; top: 0; height: 4px; width: 0; background: var(--copper); z-index: 60; }

/* Floating nav */
.nav-wrap { position: sticky; top: 10px; z-index: 50; padding: 10px var(--gutter) 0; }
.nav {
  max-width: calc(var(--maxw) + 40px); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  background: var(--white); border-radius: 14px; padding: 8px 12px 8px 16px;
  box-shadow: 0 6px 24px rgba(5,43,64,.14), 0 1px 3px rgba(5,43,64,.1);
}
.nav__logo { display: block; }
.nav__logo img { height: 56px; width: auto; }
.nav__links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav__links a { font-weight: 600; font-size: 0.98rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav__links a:hover { color: var(--copper); }
.nav__switch { color: var(--muted) !important; font-weight: 500 !important; }
.nav .btn { font-size: 1rem; padding: 10px 18px; white-space: nowrap; }
@media (max-width: 980px) { .nav__links .hide-md { display: none; } }
@media (max-width: 640px) {
  .pill { font-size: .82rem; border-radius: 16px; }
  .nav__links a:not(.keep-sm) { display: none; }
  .nav__logo img { height: 46px; }
  .nav .btn { font-size: .92rem; padding: 9px 14px; }
  .nav { gap: 10px; }
}

/* Framed photo hero (sector pages) */
.hero { padding: 0 var(--gutter); margin-top: -76px; }
.hero__frame {
  position: relative; max-width: calc(var(--maxw) + 40px); margin: 0 auto;
  border-radius: var(--radius); overflow: hidden; background: var(--navy-deep);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: end;
  padding: 150px clamp(20px, 4vw, 52px) clamp(28px, 4vw, 52px);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5,43,64,.94) 0%, rgba(5,43,64,.82) 42%, rgba(5,43,64,.28) 100%); }
.hero__text { position: relative; display: flex; flex-direction: column; gap: 20px; }
.hero__text h1 { color: #fff; }
.hero__text .lead { color: #E6F1F5; max-width: 56ch; }
.hero__text .small { color: #BCD3DC; max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__card {
  position: relative; background: var(--white); border-radius: 14px; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 30px rgba(5,43,64,.25);
}
.hero__card .eyebrow { margin: 0; }
.hero__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: .9; color: var(--navy); }
@media (max-width: 900px) { .hero__frame { grid-template-columns: 1fr; padding-top: 130px; } .hero__shade { background: rgba(5,43,64,.86); } }

.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: .1em; text-transform: uppercase; color: var(--water); }
.on-dark .eyebrow { color: #9FD5E6; }

/* Statement hero (home) */
.statement { padding: clamp(40px, 7vw, 84px) 0 clamp(26px, 4vw, 44px); }
.statement__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: end; }
.statement__grid > div { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) { .statement__grid { grid-template-columns: 1fr; } }
.statement h1 { max-width: 13ch; }
.statement .lead { max-width: 58ch; }
.statement__ask { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--copper); letter-spacing: .02em; }

/* Split photo + color-block panels */
.split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); min-height: 430px; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; }
.split + .split { margin-top: 18px; }
.split__photo { position: relative; min-height: 260px; overflow: hidden; }
.split__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.split:hover .split__photo img { transform: scale(1.03); }
.split__block { position: relative; overflow: hidden; padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; color: #fff; }
.split__block > *:not(.motif) { position: relative; }
.split__block h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.split__block p { color: #E6F1F5; }
.split__block ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.split__block li { font-size: .92rem; font-weight: 500; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 3px 12px; }
.split__go { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: .05em; text-transform: uppercase; margin-top: 6px; }
.split__go::after { content: " \2192"; font-family: var(--font-body); }
.split--private .split__block { background: var(--navy); }
.split--public .split__block { background: var(--water); }
.split--public .split__photo { order: 2; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; min-height: 0; } .split--public .split__photo { order: 0; } .split__photo { min-height: 220px; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--paper { background: var(--paper); }
.section--soft { background: #EEF6F9; }
.section--navy { background: var(--navy); color: #DCEAF0; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.topo { position: relative; isolation: isolate; }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .13;
  background: url("../img/motif-topo-light.svg") 0 0 / 640px 440px repeat;
  animation: drift 120s linear infinite;
}
.section__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(26px, 4vw, 44px); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cols--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.cols--center { align-items: center; }
.cols--chart { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
@media (max-width: 860px) { .cols, .cols--wide-left, .cols--chart { grid-template-columns: 1fr; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* Color-block cards */
.block { position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; color: #EAF3F6; background: var(--navy); }
.block > *:not(.motif) { position: relative; }
.block h3 { color: #fff; }
.block .eyebrow { color: #F2C9A8; }
.block--water { background: var(--water); }
.block--copper { background: linear-gradient(135deg, #C2622A, #A6481A); }
.block--deep { background: var(--navy-deep); }
.block--paper { background: var(--paper); color: var(--text); }
.block--paper h3 { color: var(--navy); }
.block--paper .eyebrow { color: var(--water); }
.block--white { background: #fff; color: var(--text); border: 1px solid var(--line); }
.block--white h3 { color: var(--navy); }
.block--white .eyebrow { color: var(--water); }
.block__fact { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.28); font-size: .95rem; }
.block--paper .block__fact, .block--white .block__fact { border-top-color: var(--line); }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 8px 24px; border-left: 1px solid rgba(255,255,255,.22); display: flex; flex-direction: column; gap: 8px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: .9; color: #fff; white-space: nowrap; }
.stat__l { font-weight: 600; color: #fff; line-height: 1.25; }
.stat__c { font-size: .9rem; color: #B8D0DA; line-height: 1.4; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; padding-left: 0; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; padding-top: 3px; }
.steps::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--navy); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.steps.pre::before { transform: scaleX(0); }
.steps--stack { padding-top: 0; }
.steps--stack::before { content: none; }
.step { padding: 22px 22px 6px 0; display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--copper); letter-spacing: .08em; }
.section--navy .steps::before { background: #fff; }
.section--navy .step + .step { border-left-color: rgba(255,255,255,.2); }
.section--navy .step::before { color: #F2B585; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step:nth-child(3) { padding-left: 0; border-left: 0; } .step { padding-bottom: 20px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Lists */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 3px solid var(--copper); border-bottom: 3px solid var(--copper); transform: rotate(-45deg); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 1rem; }
.spec th { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--navy); padding-right: 20px; width: 42%; }
.section--navy .spec th { color: #fff; } .section--navy .spec th, .section--navy .spec td { border-bottom-color: rgba(255,255,255,.2); }

/* Photo */
.photo { border-radius: var(--radius); overflow: hidden; margin: 0; }
.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo--video video { aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--navy-deep); }
.photo figcaption { font-size: .84rem; color: var(--muted); padding: 8px 2px 0; }
.photo--doc { border: 1px solid var(--line); background: #fff; padding: 12px; }
.photo--doc img { aspect-ratio: auto; object-fit: contain; }

/* Equation */
.equation { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.equation__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; }
.equation__row span.op { color: var(--copper); }
.equation__row small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .82rem; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.equation__row > div { display: flex; flex-direction: column; }

/* Proof */
.proof { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.proof__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 4.6vw, 3.6rem); line-height: .92; color: var(--navy); }
.proof__meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.quote { border-left: 5px solid var(--copper); padding: 6px 0 6px 26px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.18; color: var(--navy); }
.quote footer { font-weight: 600; color: var(--ink); }
.quote footer span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }

/* Chart */
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: var(--ink); }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 22px; height: 0; border-top: 3px solid var(--series-water); display: inline-block; }
.chart-legend i.cpi { border-top: 3px dashed var(--series-cpi); }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font-body); }
.chart__tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: .84rem; line-height: 1.35; padding: 8px 10px; border-radius: 8px; transform: translate(-50%, -110%); white-space: nowrap; display: none; }
.chart__tip b { font-weight: 600; }
details.data summary { cursor: pointer; font-weight: 600; color: var(--water); font-size: .95rem; }
.data-table { border-collapse: collapse; margin-top: 10px; font-size: .9rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 4px 14px 4px 0; text-align: right; border-bottom: 1px solid var(--line); }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.scroll-x { overflow-x: auto; }

/* Start options */
.option { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 2px solid var(--navy); }
.option--b { border-color: var(--copper); }
.option__tag { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); }
.option .btn { align-self: flex-start; margin-top: auto; }

/* Panels + forms */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 20px; }
.panel[hidden] { display: none; }
.tracker { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: 1rem; color: var(--muted); }
.tracker li { display: flex; align-items: center; gap: 8px; }
.tracker li::before { content: attr(data-n); width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: .9rem; }
.tracker li + li::before { margin-left: 0; }
.tracker li.is-on { color: var(--navy); }
.tracker li.is-on::before { background: var(--navy); border-color: var(--navy); color: #fff; }
.tracker li.is-done { color: var(--water); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .legend { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #B9C6CE; border-radius: var(--radius-sm); padding: 11px 12px; width: 100%; min-height: 46px;
}
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input[type=file] { font: inherit; font-size: .95rem; max-width: 100%; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; border: 1.5px solid #B9C6CE; border-radius: 999px; padding: 8px 18px; font-weight: 600; color: var(--navy); background: #fff; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice > span { display: flex; flex-direction: column; gap: 4px; height: 100%; border: 1.5px solid #B9C6CE; border-radius: var(--radius-sm); padding: 14px 16px; background: #fff; }
.choice b { color: var(--navy); font-weight: 600; }
.choice small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.choice input:checked + span { border-color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); background: #F2F8FA; }
.choice input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }
.subpanel { background: var(--paper); border-radius: var(--radius-sm); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.subpanel[hidden] { display: none; }
.months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .months { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.months .field label { font-size: .8rem; font-weight: 500; color: var(--muted); }
.months input { padding: 8px 8px; min-height: 40px; }
.inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.inline .field { flex: 1 1 180px; }
.note { background: #FFF6E5; border: 1px solid #E8C98A; color: #5A4310; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; }
.note[hidden] { display: none; }
.form-error { color: #A12A12; font-weight: 600; font-size: .95rem; }
.form-error[hidden] { display: none; }
.bookings { border: 2px dashed #B9C6CE; border-radius: var(--radius-sm); padding: 26px; display: flex; flex-direction: column; gap: 8px; background: #FAFCFD; }
.bookings iframe { width: 100%; min-height: 720px; border: 0; }
.bookings.is-live { border: 0; padding: 0; background: none; }

/* Calculator */
.calc-mod { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.toggle { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.toggle input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.toggle b { display: block; color: var(--navy); font-weight: 600; }
.toggle small { color: var(--muted); font-size: .9rem; }
.calc-result { background: var(--navy); color: #DCEAF0; border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.calc-result .eyebrow { color: #9FD5E6; }
.calc-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5.6vw, 4.2rem); line-height: .95; color: #fff; }
.calc-lines { list-style: none; margin: 0; padding: 0; }
.calc-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.2); }
.calc-lines li span:last-child { font-weight: 600; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-lines small { display: block; color: #9FBFCC; font-size: .84rem; }
.calc-lines li.off { opacity: .55; }
.calc-value { background: rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.calc-value input { width: 86px; min-height: 40px; padding: 6px 8px; }
.calc-value label { font-size: .92rem; }
.calc-value output { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: #fff; }
.calc-result details { font-size: .88rem; color: #C4D8E0; }
.calc-result details p { margin-top: 8px; }
.calc-result summary { cursor: pointer; font-weight: 600; color: #fff; }
.teaser { background: var(--paper); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.teaser b { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); }

/* FAQ */
.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.55rem); color: var(--navy); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.9rem; font-weight: 400; color: var(--copper); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 22px; max-width: 70ch; }

/* Home hero: full-width rotating Texas water reel */
.hero--video { padding: 0; }
.hero--video .hero__frame { max-width: none; border-radius: 0; grid-template-columns: minmax(0, 1fr); min-height: min(84vh, 780px); align-content: end; padding: 130px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) clamp(36px, 5vw, 64px); }
.hero--video .hero__video { animation: none; background: var(--navy-deep); }
.hero--video .hero__shade { background: linear-gradient(180deg, rgba(5,43,64,.3) 0%, rgba(5,43,64,0) 26%, rgba(5,43,64,.3) 58%, rgba(5,43,64,.8) 100%), linear-gradient(90deg, rgba(5,43,64,.74) 0%, rgba(5,43,64,.4) 42%, rgba(5,43,64,0) 72%); }
.hero--video .hero__text { max-width: 800px; gap: 18px; text-shadow: 0 1px 14px rgba(5,43,64,.6); }
.hero--video h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); max-width: 17ch; }
.hero--video .lead { color: #fff; max-width: 60ch; }
.hero--video .hero__cta { margin-top: 6px; }
.hero--video .btn { text-shadow: none; }
.hero--video .btn--ghost { background: rgba(5,43,64,.42); }
.hero--video .btn--ghost:hover { background: rgba(5,43,64,.62); }
.choose { padding-top: clamp(44px, 6vw, 80px); }
.choose__head { margin-bottom: clamp(18px, 2.6vw, 30px); }
@media (max-width: 900px) { .hero--video .hero__frame { min-height: 0; padding-top: 140px; } .hero--video .hero__shade { background: linear-gradient(180deg, rgba(5,43,64,.35) 0%, rgba(5,43,64,.45) 38%, rgba(5,43,64,.86) 100%); } .hero--video .hero__cta .btn { width: 100%; justify-content: center; text-align: center; } }

/* Source links sit inside small print, so they keep the text color */
.small a, .stat__c a, details a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.bookings__alt { margin: 12px 0 0; font-size: .95rem; text-align: center; }
.bookings__alt a { color: var(--water); font-weight: 600; }

/* Wide proof card, calculator rate choice */
.proof--wide { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: center; margin-top: clamp(26px, 3.5vw, 44px); }
.proof--wide .stack { gap: 8px; }
@media (max-width: 700px) { .proof--wide { grid-template-columns: 1fr; } }
.rate-mode { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.rate-mode legend { font-weight: 600; color: var(--navy); margin-bottom: 8px; padding: 0; }
.rate-mode__opt { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.rate-mode__opt input { width: 18px; height: 18px; accent-color: var(--water); }
input[readonly] { background: #EEF3F5; color: #47606E; }

/* Bill charts side by side */
.docs-pair { margin-top: clamp(22px, 3vw, 36px); align-items: start; }
.docs-pair--cases { margin-top: 0; }
.docs-pair .photo--doc img { aspect-ratio: 2 / 1; object-fit: contain; height: auto; }
.docs-pair figcaption strong { color: var(--navy); }
.case { display: flex; flex-direction: column; gap: 12px; }
.case .photo { margin-bottom: 6px; }

/* Booking head with video */
.section__head--media { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.section__head--media .stack { gap: 16px; }
.h2-sub { display: block; color: var(--copper); margin-top: .12em; }
@media (max-width: 860px) { .section__head--media { grid-template-columns: 1fr; } .section__head--media .photo { max-width: 460px; } }

/* What we audit */
.audit { margin-top: clamp(30px, 4vw, 48px); display: flex; flex-direction: column; gap: 12px; }
.audit--panel { background: var(--navy); border-radius: var(--radius); padding: clamp(22px, 3.4vw, 40px); overflow: hidden; }
.audit h3 { color: #fff; }
.audit__grid { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.audit__item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 6px 16px; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(255,255,255,.04); font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.1; color: #fff; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.audit__item:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.audit__item svg { width: 46px; height: 46px; stroke: #9FD5E6; }
.audit__item:last-child svg { stroke: #F2B585; }
@media (max-width: 1020px) { .audit__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .audit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Motifs, waves, reels */
.motif { position: absolute; pointer-events: none; opacity: .2; width: auto; }
.motif--br { right: -18px; bottom: -14px; height: 150px; }
.motif--tr { right: -14px; top: -10px; height: 96px; opacity: .22; }
.motif--footer { right: 4%; top: 18px; height: 150px; opacity: .14; }
.cta-band .motif--br { height: 170px; right: 26%; bottom: -30px; opacity: .22; }
.cta-band > *:not(.motif) { position: relative; }
.squiggle { width: 124px; }
.wave { height: 56px; margin-bottom: -1px; background-repeat: repeat-x; background-size: 1200px 56px; animation: wave-x 36s linear infinite; }
.wave--navy { background-image: url("../img/wave-navy.svg"); }
.wave--deep { background-image: url("../img/wave-deep.svg"); }
.statement { position: relative; isolation: isolate; overflow: hidden; }
.statement::before { content: ""; position: absolute; right: -80px; top: -40px; width: 640px; height: 440px; z-index: -1; opacity: .09; background: url("../img/motif-topo-dark.svg") no-repeat; }
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.reel { position: relative; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-deep); }
.reel:nth-child(even) { margin-top: 34px; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .92rem; color: #fff; background: rgba(5,43,64,.72); padding: 3px 12px; border-radius: 999px; }
@media (max-width: 520px) { .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reel:nth-child(even) { margin-top: 22px; } }
.band-video { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; display: grid; place-items: center; background: var(--navy-deep); }
.band-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-video::after { content: ""; position: absolute; inset: 0; background: rgba(5,43,64,.5); }
.band-video__text { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.08; color: #fff; text-align: center; max-width: 22ch; padding: 28px 20px; text-wrap: balance; }

/* Motion */
@keyframes drift { to { background-position: 640px 440px; } }
@keyframes wave-x { to { background-position-x: -1200px; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero__img { animation: kenburns 28s ease-in-out infinite alternate; }
.hero__card { animation: floaty 7s ease-in-out infinite; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.rv.is-in { opacity: 1; transform: none; }
.chart-labels { transition: opacity .6s ease; }
.chart-labels.pre { opacity: 0; }

/* Video band */
.video-band { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); min-height: 380px; display: grid; align-items: end; }
.video-band video, .video-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,43,64,.1), rgba(5,43,64,.72)); }
.video-band__tag { position: absolute; z-index: 1; right: 16px; top: 16px; font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .92rem; color: #fff; background: rgba(5,43,64,.72); padding: 4px 14px; border-radius: 999px; }
.postcards { margin-top: 16px; }
.postcards .photo { position: relative; }
.postcards .photo img { aspect-ratio: 3 / 2; height: auto; }
.postcards .photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 14px; font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .92rem; color: #fff; background: rgba(5,43,64,.72); border-radius: 999px; }
.video-band__card { position: relative; overflow: hidden; z-index: 1; margin: clamp(16px, 3vw, 34px); background: #fff; border-radius: 14px; padding: 24px 26px; max-width: 470px; display: flex; flex-direction: column; gap: 10px; }
.video-band__card > *:not(.motif) { position: relative; }

/* CTA band + footer */
.cta-band { position: relative; overflow: hidden; background: var(--copper); background: linear-gradient(135deg, #C2622A, #A6481A); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #FBE7D8; max-width: 46ch; }
.cta-band .btn { background: #fff; color: var(--copper-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--paper); }
.footer { position: relative; overflow: hidden; background: var(--navy-deep); color: #B8D0DA; padding: 56px 0 96px; font-size: .95rem; }
.wave--footer { margin-top: clamp(56px, 8vw, 104px); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.footer__grid h4 { color: #fff; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__logo { height: 64px; width: auto; margin-bottom: 14px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.16); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Mobile sticky CTA */
.cta-bar { display: none; }
@media (max-width: 640px) {
  .cta-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; gap: 10px; padding: 10px 14px; background: #fff; box-shadow: 0 -4px 18px rgba(5,43,64,.16); }
  .cta-bar .btn { flex: 1; font-size: 1rem; padding: 12px 10px; }
}

/* Preview router */
.view[hidden] { display: none; }
.preview-flag { background: #FFF6E5; color: #5A4310; font-size: .85rem; text-align: center; padding: 6px 12px; border-bottom: 1px solid #E8C98A; }

/* Legal page */
.legal h2 { font-size: 1.8rem; margin-top: 30px; margin-bottom: 8px; }
.legal p, .legal li { max-width: 70ch; }
.legal ul { padding-left: 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .split__photo img, .btn, .btn::after { transition: none; }
  .hero__img, .hero__card, .wave, .topo::before { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .steps.pre::before { transform: none; }
  .chart-labels.pre { opacity: 1; }
}

/* Percent-complete meter above the booking forms */
.formmeter { position: sticky; top: 92px; z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 14px; box-shadow: 0 6px 18px rgba(7, 59, 87, .08); }
.formmeter__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.formmeter__pct { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); }
.formmeter__msg { color: var(--muted); font-size: .95rem; }
.formmeter__bar { height: 8px; border-radius: 99px; background: var(--water-soft); overflow: hidden; }
.formmeter__bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--water); transition: width .35s ease, background-color .35s ease; }
.formmeter.is-ready .formmeter__bar i { background: var(--copper); }
@media (max-width: 700px) { .formmeter { top: 78px; } }
@media (prefers-reduced-motion: reduce) { .formmeter__bar i { transition: none; } }

/* ---- Brand type: Palatino. Palatino is wider than the condensed face it replaced, so display sizes step down. ---- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: 0; }
h1 { font-size: clamp(2.2rem, 4.9vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.65rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.18; }
.hero--video h1 { font-size: clamp(2.2rem, 4.3vw, 3.7rem); max-width: 20ch; }
.split__block h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.hero__big { font-size: clamp(2.8rem, 4.8vw, 3.8rem); line-height: 1; }
.stat__n { font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1; }
.proof__n { font-size: clamp(2.3rem, 3.7vw, 3rem); line-height: 1; }
.calc-big { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.02; }
.equation__row { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.quote p { font-weight: 400; font-style: italic; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; }
.faq summary { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.25; }
.band-video__text { font-size: clamp(1.45rem, 2.9vw, 2.3rem); line-height: 1.18; }
