/* Lower homepage: the water column below the dive (DESIGN_CONTRACT.md section 14),
   then the closing section back at the surface, then the footer. */

:root {
  --deep-1: #2a6a5f;
  --deep-2: #1a5249;
  --deep-3: #13463f;
  --deep-4: #0e3631;
  --deep-5: #0a2622;
  --lw-ink: #f4efe4;
  --lw-ink-2: rgba(244, 239, 228, 0.88); /* 4.7:1 over the lightest water (#2a6a5f) */
  --lw-ink-3: rgba(244, 239, 228, 0.86); /* 4.5:1 over the lightest water */
  --lw-line: rgba(255, 255, 255, 0.16);
  --lw-col-gap: clamp(16px, 2vw, 32px);
  --glass-fill: rgba(255, 255, 255, 0.07);
  --well-fill: rgba(4, 24, 20, 0.35);
}

/* ---------- Water column ---------- */
.deep {
  position: relative;
  z-index: 3;
  color: var(--lw-ink);
  background:
    linear-gradient(180deg,
      #3f7d70 0,
      var(--deep-1) 18vh,
      var(--deep-2) 60vh,
      var(--deep-3) 32%,
      var(--deep-4) 68%,
      var(--deep-5) 100%);
  overflow: clip;
}
.deep__fx { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.deep__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
}
.deep__caustics {
  position: absolute;
  inset: -512px;
  background: url("../assets/img/caustics.webp?v=w1") repeat;
  background-size: 512px 512px;
  opacity: 0.07;
  animation: caustic-drift 46s linear infinite;
  will-change: transform;
}
.deep__caustics--b {
  background-size: 768px 768px;
  inset: -768px;
  opacity: 0.045;
  animation: caustic-drift-b 70s linear infinite;
}
@keyframes caustic-drift { to { transform: translate3d(512px, 512px, 0); } }
@keyframes caustic-drift-b { to { transform: translate3d(-768px, 768px, 0); } }

.deep__bubbles i {
  position: absolute;
  left: var(--x);
  bottom: -40px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.85) 0 14%, rgba(255, 255, 255, 0.12) 36%, rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0.35) 72%, transparent 76%);
  opacity: 0.55;
  animation: bubble-rise var(--d) linear infinite;
  animation-delay: var(--t);
  will-change: transform;
}
@keyframes bubble-rise {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(6px, -27vh, 0); }
  50% { transform: translate3d(-5px, -55vh, 0); }
  75% { transform: translate3d(7px, -82vh, 0); }
  100% { transform: translate3d(0, -112vh, 0); }
}

.deep__rays {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 150vh;
  pointer-events: none;
  z-index: 0;
  transform-origin: 50% 0;
  animation: ray-sway 14s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
}
.deep__rays i {
  position: absolute;
  top: -10vh;
  height: 160vh;
  width: 9vw;
  background: linear-gradient(180deg, rgba(220, 255, 240, 0.16), rgba(220, 255, 240, 0) 85%);
  transform: skewX(-14deg);
  filter: none;
}
.deep__rays i:nth-child(1) { left: 8%; width: 6vw; opacity: 0.8; }
.deep__rays i:nth-child(2) { left: 21%; width: 11vw; opacity: 0.55; }
.deep__rays i:nth-child(3) { left: 39%; width: 5vw; opacity: 0.9; }
.deep__rays i:nth-child(4) { left: 55%; width: 12vw; opacity: 0.45; }
.deep__rays i:nth-child(5) { left: 73%; width: 7vw; opacity: 0.7; }
.deep__rays i:nth-child(6) { left: 88%; width: 9vw; opacity: 0.5; }
@keyframes ray-sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }

/* ---------- Shared section grammar ---------- */
.lw { position: relative; z-index: 1; padding: var(--section-y) 0; color: var(--lw-ink); }
.lw__wrap { max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }

.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--lw-col-gap);
  align-items: end;
}
.sec-head__meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 560px;
}
.sec-count { font-size: 14px; font-feature-settings: "tnum" 1; color: var(--lw-ink-2); }
.sec-title {
  grid-column: 1 / span 7;
  margin-top: clamp(24px, 2.8vw, 40px);
  font-size: clamp(38px, 4.6vw, 76px);
}
.sec-title > span { display: block; }
.sec-title .indent { padding-left: 1.25em; }
.sec-title i { font-style: italic; }
.sec-lede {
  grid-column: 9 / -1;
  font-size: var(--fs-long);
  line-height: 1.55;
  color: var(--lw-ink-2);
  max-width: 44ch;
  padding-bottom: 0.4em;
}
.sec-head--stack { display: block; }
.sec-head--stack .sec-lede { margin-top: 26px; padding: 0; }

.sub-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lw-line);
  margin-bottom: clamp(24px, 2.6vw, 36px);
}
.sub-head .h3 { font-size: clamp(20px, 1.7vw, 26px); }
.sub-head p { font-size: 15px; color: var(--lw-ink-3); max-width: 46ch; text-align: right; }

.glass {
  background: var(--glass-fill);
  border: 1px solid var(--lw-line);
  border-radius: var(--radius-card);
}

.num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--lw-ink-3);
  font-feature-settings: "lnum" 1;
}

/* glass bubble used for step numbers and bullets */
.step__bubble {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.7) 0 7%, rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0 58%, rgba(190, 240, 225, 0.22) 70%, rgba(255, 255, 255, 0.55) 76%, rgba(255, 255, 255, 0) 79%);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.12);
}

.porthole {
  position: relative;
  display: block;
  width: 108px;
  height: 108px;
  flex: none;
  border-radius: 50%;
  padding: 6px;
  background:
    radial-gradient(circle, transparent 0 66%, rgba(255, 255, 255, 0.28) 66.5% 67.5%, transparent 68% 78%, rgba(255, 255, 255, 0.18) 78.5% 79.5%, transparent 80% 90%, rgba(255, 255, 255, 0.12) 90.5% 91.5%, transparent 92%);
}
.porthole img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.porthole--sm { width: 84px; height: 84px; padding: 5px; }

.cross {
  position: absolute;
  width: 13px;
  height: 13px;
  translate: -50% -50%;
  pointer-events: none;
}

/* rise-in reveal (class set by lower.js; content is visible without JS) */
.js-rise [data-rise],
.js-rise .step {
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js-rise [data-rise]:not(.is-in) { opacity: 0; transform: translate3d(0, 28px, 0); }

/* ---------- 1. Build ---------- */
.build { padding-top: calc(var(--section-y) * 1.1); }

.build__meta { max-width: none; justify-content: flex-start; gap: 14px; }

/* The photo carries the heading: title and lede sit in the sage sky, left of the duck and clear of the
   waterline (the water's surface starts 28.7% of the photo's width down; the copy ends by about 24%).
   Sizes are in container units so the block keeps its place on the photo at every width. */
.build-shot {
  position: relative;
  margin: clamp(20px, 2vw, 30px) 0 0;
  container-type: inline-size;
}
.build-shot__media { position: relative; }
.build-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 90px rgba(3, 20, 17, 0.35);
}
/* a soft shade in the top-left corner, the same as the film's step labels, so the light type reads */
.build-shot__scrim {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 56% at 0 0, rgba(6, 28, 22, 0.46) 0%, rgba(6, 28, 22, 0.3) 42%, rgba(6, 28, 22, 0.1) 74%, rgba(6, 28, 22, 0) 100%);
}
.build-shot .cross { z-index: 1; }
.build-shot__copy {
  position: absolute;
  z-index: 2;
  left: 3.4cqi;
  top: 3.3cqi;
  width: 42cqi;
}
.build-shot__title {
  font-size: 5.1cqi;
  color: var(--ivory);
  text-shadow: 0 2px 30px rgba(5, 24, 21, 0.3);
}
.build-shot__title > span { display: block; }
.build-shot__title i { font-style: italic; }
.build-shot__lede {
  margin-top: 1.9cqi;
  font-size: max(17.5px, 1.4cqi);
  line-height: 1.55;
  color: rgba(244, 239, 228, 0.94);
  text-shadow: 0 1px 14px rgba(5, 24, 21, 0.45);
}
@media (max-width: 1110px) {
  .build-shot { display: flex; flex-direction: column; }
  .build-shot__copy { position: static; width: auto; margin-bottom: clamp(32px, 6vw, 48px); }
  .build-shot__title { font-size: clamp(38px, 4.6vw, 76px); text-shadow: none; }
  .build-shot__lede { margin-top: 22px; font-size: 18px; max-width: 44ch; color: var(--lw-ink-2); text-shadow: none; }
  .build-shot__scrim { display: none; }
}
@media (max-width: 700px) {
  .build-shot img { aspect-ratio: 2304 / 2160; }
}

/* included: four wells */
.incl { margin-top: clamp(80px, 9vw, 140px); }
.wells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--lw-col-gap);
}
.well {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 10px;
  padding: 14px 14px 24px;
  border-radius: var(--radius-card);
  background: var(--glass-fill);
  border: 1px solid var(--lw-line);
}
.well__art {
  aspect-ratio: 420 / 200;
  border-radius: var(--radius-well);
  background: var(--well-fill);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.well__art svg { width: 92%; height: 92%; overflow: visible; }
.well .num { padding: 0 6px; }
.well__title {
  padding: 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.1;
}
.well p { padding: 0 6px; font-size: 15px; line-height: 1.5; color: var(--lw-ink-2); }

/* steps on a waterline */
.steps { margin-top: clamp(80px, 9vw, 140px); }
.steps__track { position: relative; padding-top: 34px; }
.steps__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  width: 100%;
  height: 40px;
  translate: 0 -20px;
}
.steps__line path { fill: none; stroke: rgba(235, 255, 248, 0.55); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--lw-col-gap); }
.step { display: grid; gap: 12px; align-content: start; }
.step .step__bubble { margin-top: -23px; }
.step__title {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.1;
}
.step p { font-size: 15px; line-height: 1.5; color: var(--lw-ink-2); max-width: 34ch; }
.js-rise .steps:not(.is-in) .step { opacity: 0; transform: translate3d(0, 40px, 0); }
.js-rise .steps .step { transition-delay: calc(var(--i) * 0.12s); }

/* ownership */
.owned {
  margin-top: clamp(80px, 9vw, 140px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--lw-col-gap);
  padding: clamp(28px, 3vw, 48px);
  align-items: center;
}
.owned__head { display: flex; align-items: center; gap: 22px; }
.owned__title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1;
}
.owned__title i { font-style: italic; }
.owned__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.owned__facts div { border-top: 1px solid var(--lw-line); padding-top: 14px; }
.owned__facts dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); margin-bottom: 6px; }
.owned__facts dd { font-size: 15.5px; line-height: 1.5; color: var(--lw-ink-2); }

/* ---------- 2. Care plans ---------- */
.plans {
  margin-top: clamp(48px, 5vw, 80px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--lw-col-gap);
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 40px);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.plan--feature { border-color: rgba(232, 105, 47, 0.75); box-shadow: inset 0 0 0 1px rgba(232, 105, 47, 0.25); }
.plan__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.plan__name { font-family: var(--sans); font-weight: 600; font-size: 18px; letter-spacing: 0.01em; }
.plan__tag { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 26px); color: var(--lw-ink); }
.plan__price {
  margin-top: clamp(18px, 2vw, 30px);
  font-family: var(--serif);
  font-size: clamp(72px, 8vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.plan__cur { font-size: 0.32em; vertical-align: 1.5em; margin-right: 0.04em; }
.plan__per { font-family: var(--sans); font-size: 15px; letter-spacing: 0; margin-left: 12px; color: var(--lw-ink-2); }
.plan__list { margin-top: clamp(22px, 2.4vw, 34px); display: grid; }
.plan__list li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-top: 1px solid var(--lw-line);
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--lw-ink-2);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.85) 0 16%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.5) 70%, transparent 74%);
}
.plan__list strong { color: var(--lw-ink); font-weight: 600; }
.plan__cta { margin-top: auto; align-self: flex-start; }
.plan__list + .plan__cta { margin-top: 30px; }

.care__foot { margin-top: clamp(32px, 3.4vw, 52px); display: grid; gap: 22px; }
.care__more { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--lw-ink-2); max-width: 80ch; }
.care__more strong { color: var(--lw-ink); font-weight: 600; }
.dot { width: 10px; height: 10px; margin-top: 7px; flex: none; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(232, 105, 47, 0.18); }

/* expanders (fine print + FAQ), workings-panel style */
.qa { border-top: 1px solid var(--lw-line); }
.qa:last-child { border-bottom: 1px solid var(--lw-line); }
.qa summary {
  list-style: none;
  display: grid;
  grid-template-columns: clamp(64px, 6vw, 96px) 1fr 34px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__q {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.15;
}
.qa__icon {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--lw-line);
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  translate: -50% -50%;
  background: var(--ivory);
  transition: transform 0.35s var(--ease-out);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa summary:hover .qa__icon { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); }
.qa__a { padding: 0 46px 26px calc(clamp(64px, 6vw, 96px) + 12px); }
.qa__a p { font-size: 16px; line-height: 1.6; color: var(--lw-ink-2); max-width: 62ch; }
.fine .num { font-style: normal; font-family: var(--sans); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.fine__list { display: grid; gap: 10px; max-width: 70ch; }
.fine__list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--lw-ink-2); }
.fine__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55); }
@supports selector(::details-content) {
  .qa::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete;
  }
  .qa[open]::details-content { block-size: auto; }
}
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- framed films (content, about) ---------- */
.framed { position: relative; }
.framed__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--deep-4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.framed__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.framed .cross { z-index: 1; }
.film-toggle {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(6, 24, 20, 0.55);
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.film-toggle svg { width: 14px; height: 14px; }
.film-toggle .i-play { display: none; }
.film-toggle.is-paused .i-play { display: block; }
.film-toggle.is-paused .i-pause { display: none; }

/* ---------- 4. About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.facts { margin-top: clamp(28px, 3vw, 44px); padding: 8px clamp(20px, 2vw, 30px); display: grid; }
.facts div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--lw-line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); align-self: center; }
.facts dd { font-size: 16px; color: var(--lw-ink); }
.facts a, .inline-link { color: var(--lw-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; display: inline-block; padding: 10px 0; margin: -10px 0; }
.facts a:hover, .inline-link:hover { color: #fff; text-decoration-color: var(--signal); }

/* ---------- 5. FAQ ---------- */
.faq { padding-bottom: calc(var(--section-y) * 1.2); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__grid .sec-head { position: sticky; top: calc(var(--nav-h) + 32px); }

/* ---------- 6. Closing CTA (back at the surface) ---------- */
.cta { padding: 0; color: var(--ivory); position: relative; z-index: 3; background: var(--deep-5); }
.cta__copy {
  padding: var(--section-y) 0 clamp(56px, 6vw, 96px);
  background: linear-gradient(180deg, var(--deep-5) 0%, #0d3530 55%, #2a5a47 100%);
}
.cta__meta { max-width: none; }
.cta__title { margin-top: clamp(28px, 3.4vw, 52px); font-size: clamp(44px, 6.6vw, 112px); }
.cta__title > span { display: block; }
.cta__title .br-m { display: none; }
.cta__title .indent { padding-left: 1.25em; }
.cta__lower {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(32px, 3.6vw, 56px);
  padding-left: calc(clamp(44px, 6.6vw, 112px) * 1.25);
}
.cta__sub { max-width: 40ch; font-size: var(--fs-long); line-height: 1.55; color: rgba(244, 239, 228, 0.86); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__btns .btn__disc svg { width: 16px; height: 16px; margin-left: 0; }
.cta__stage { position: relative; }
.scene-window--cta {
  position: relative;
  display: block;
  width: 100%;
  height: 56vh;
  height: 56svh;
  min-height: 300px;
  overflow: hidden;
  background: linear-gradient(180deg, #607253 0 55%, #81ad90 55% 100%);
}
.cta__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 8%; }
.cta__stage::before,
.cta__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 1;
}
.cta__stage::before { top: 0; }
.cta__stage::after { bottom: 0; }
.cta__stage .cross { z-index: 2; }

/* ---------- 7. Footer ---------- */
.site-footer { background: var(--forest-900); color: var(--ivory); padding: clamp(56px, 6vw, 96px) 0 28px; overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--lw-col-gap); row-gap: 40px; }
.site-footer__id { grid-column: 1 / span 5; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.site-footer__mark { width: 40px; height: 40px; fill: url(#q-silver); }
.site-footer__word { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: 0.01em; display: inline-flex; align-items: baseline; gap: 9px; }
.site-footer__word span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.32em; opacity: 0.7; }
.site-footer__line { margin-top: 18px; max-width: 34ch; font-size: 15px; line-height: 1.5; color: rgba(244, 239, 228, 0.72); }
.site-footer__h { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); margin-bottom: 14px; }
.site-footer__contact { grid-column: 6 / span 3; font-size: 15px; line-height: 1.5; }
.site-footer__contact p { color: rgba(244, 239, 228, 0.8); }
.site-footer__email { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); border-bottom: 1px solid transparent; transition: border-color 0.25s var(--ease-out); }
.site-footer__email:hover { border-color: currentColor; }
.site-footer__nav { grid-column: 10 / -1; }
.site-footer__nav ul { display: grid; }
.site-footer__nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: rgba(244, 239, 228, 0.88); transition: color 0.2s var(--ease-out); }
.site-footer__nav a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.site-footer__file { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; padding: 2px 6px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 4px; color: var(--mist); }
.site-footer__giant { margin-top: clamp(48px, 6vw, 96px); font-family: var(--serif); font-size: clamp(64px, 20.4vw, 360px); line-height: 0.8; padding-bottom: 0.2em; letter-spacing: -0.01em; color: rgba(233, 237, 239, 0.07); white-space: nowrap; display: flex; align-items: center; user-select: none; }
.site-footer__giant-o { width: 0.7em; height: 0.7em; margin-left: 0.03em; fill: rgba(233, 237, 239, 0.07); flex: none; }
.site-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(24px, 3vw, 40px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13.5px; color: rgba(244, 239, 228, 0.66); }
.site-footer__base small { font-size: inherit; }
.site-footer__top-link { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__top-link:hover { color: var(--ivory); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sec-title { grid-column: 1 / -1; }
  .sec-lede { grid-column: 1 / span 9; margin-top: 22px; padding: 0; }
  .wells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps__line { display: none; }
  .step .step__bubble { margin-top: 0; }
  .owned { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .sec-head { position: static; }
  .site-footer__id { grid-column: 1 / -1; }
  .site-footer__contact { grid-column: 1 / span 6; }
  .site-footer__nav { grid-column: 7 / -1; }
}
@media (max-width: 820px) {
  .plans { grid-template-columns: 1fr; }
  .sub-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sub-head p { text-align: left; }
  .cta__title .br-m { display: block; }
  .cta__lower { padding-left: 0; }
  .scene-window--cta { height: 40vh; height: 40svh; min-height: 240px; }
  .cta__film { object-position: 70% 12%; }
}
@media (max-width: 560px) {
  .wells { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr; row-gap: 32px; }
  .step { grid-template-columns: 46px 1fr; column-gap: 16px; }
  .step .step__bubble { grid-row: span 2; }
  .step__title { margin-top: 10px; }
  .owned__facts { grid-template-columns: 1fr; }
  .owned__head { gap: 16px; }
  .plan__top .porthole { width: 84px; height: 84px; padding: 5px; }
  .qa summary { grid-template-columns: 48px 1fr 34px; }
  .qa__a { padding-left: 0; padding-right: 0; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer__contact, .site-footer__nav { grid-column: 1 / -1; }
  .site-footer__base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .deep__caustics, .deep__bubbles i, .deep__rays { animation: none !important; }
  .deep__bubbles { display: none; }
  .js-rise [data-rise]:not(.is-in), .js-rise .steps:not(.is-in) .step { opacity: 1; transform: none; }
}

/* ---------- Premium objects (generated 3D stills) ---------- */
.well__art--obj { aspect-ratio: 1 / 0.82; background: radial-gradient(60% 55% at 50% 58%, rgba(120, 200, 180, 0.16), rgba(4, 24, 20, 0.35) 70%); overflow: hidden; }
.well__art--obj picture { display: block; width: 86%; height: 100%; }
.well__art--obj img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(2, 18, 15, 0.45)); transition: transform 0.6s var(--ease-out); }
.well:hover .well__art--obj img { transform: translate3d(0, -6px, 0) rotate(-1deg); }
.step__obj { width: 140px; height: 140px; margin: 0 0 33px -12px; }
.step__obj img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(2, 18, 15, 0.45)); }
.steps__track { padding-top: 0; }
.steps__line { top: 173px; }
.porthole picture { display: block; width: 100%; height: 100%; }
.porthole picture img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }

@media (max-width: 560px) { .step__obj { grid-column: 1 / -1; width: 110px; height: 110px; margin: 0 0 4px; } }

/* ---------- 3. Content: large film with live text timed to it ---------- */
.content { padding-top: calc(var(--section-y) * 0.6); }
.cfilm { position: relative; margin: 0; container-type: inline-size; }
.cfilm__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #0f3f39 url("../assets/films/job-to-content-poster.webp?v=w1") center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 50px 110px rgba(3, 20, 17, 0.45);
}
.cfilm__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cfilm__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 24, 21, 0.62) 0%, rgba(5, 24, 21, 0.18) 17%, rgba(5, 24, 21, 0) 24%),
    linear-gradient(0deg, rgba(5, 24, 21, 0.8) 0%, rgba(5, 24, 21, 0.4) 18%, rgba(5, 24, 21, 0) 34%);
}
.cfilm__head {
  position: absolute;
  left: 3.2cqi;
  top: 2.6cqi;
  pointer-events: none;
}
.cfilm__head .sec-head__meta { grid-column: 1 / -1; max-width: none; justify-content: flex-start; gap: 14px; margin-bottom: 1.1cqi; }
.cfilm__head .tag { background: rgba(5, 24, 21, 0.35); }
.cfilm__title { font-size: clamp(30px, 3.5cqi, 60px); line-height: 1; white-space: nowrap; }
.cfilm__title > span, .cfilm__title .indent { display: inline; }
.cfilm__title .indent { padding-left: 0.28em; }
.cfilm__title i { font-style: italic; }
.cfilm__lede {
  position: absolute;
  left: 50%;
  bottom: 4.2cqi;
  translate: -50% 0;
  width: 62ch;
  max-width: 80%;
  text-align: center;
  font-size: clamp(13px, 1.06cqi, 16px);
  line-height: 1.45;
  color: rgba(244, 239, 228, 0.9);
  text-shadow: 0 1px 12px rgba(5, 24, 21, 0.5);
}
.cfilm__steps {
  position: absolute;
  left: 0;
  right: 0;
  top: 71.5%;
  height: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.cfilm.is-intro .cfilm__steps { opacity: 0; transform: translate3d(0, 10px, 0); }
.cfilm__step {
  position: absolute;
  top: 0;
  translate: -50% 0;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 1cqi;
  row-gap: 0.7cqi;
  opacity: 0.42;
  transition: opacity 0.6s var(--ease-out);
}
.cfilm__step:nth-child(1) { left: 19.2%; }
.cfilm__step:nth-child(2) { left: 50%; }
.cfilm__step:nth-child(3) { left: 79.2%; }
.cfilm__step.is-on { opacity: 1; }
.cfilm__step .step__bubble { width: clamp(30px, 2.6cqi, 48px); height: clamp(30px, 2.6cqi, 48px); font-size: clamp(14px, 1.15cqi, 20px); }
.cfilm__label { display: grid; gap: 2px; white-space: nowrap; }
.cfilm__label strong { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(15px, 1.5cqi, 26px); line-height: 1.05; letter-spacing: 0.005em; }
.cfilm__label em { font-style: normal; font-size: clamp(12px, 0.95cqi, 15px); color: rgba(244, 239, 228, 0.78); }
.cfilm__bar { grid-column: 1 / -1; display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.cfilm__bar b { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.cfilm__step.is-done .cfilm__bar b { transform: scaleX(1); }
.cfilm__toggle { top: auto; bottom: 2.2cqi; right: 2.2cqi; }
.cfilm .cross { z-index: 2; }
.no-cfilm-sync .cfilm__step { opacity: 1; }

@media (max-width: 820px) {
  .cfilm { display: flex; flex-direction: column; }
  .cfilm__head { position: static; order: -2; display: block; margin-bottom: 0; }
  .cfilm__lede { position: static; order: -1; translate: none; width: auto; max-width: none; text-align: left; margin: 0 0 24px; }
  .cfilm.is-intro .cfilm__steps { opacity: 1; transform: none; }
  .cfilm__head .sec-head__meta { margin-bottom: 18px; }
  .cfilm__title { font-size: 36px; white-space: normal; }
  .cfilm__title > span { display: block; }
  .cfilm__title .indent { padding-left: 1.25em; }
  .cfilm__lede { margin-top: 16px; font-size: 15.5px; }
  .cfilm__scrim { display: none; }
  .cfilm__steps { position: static; height: auto; display: grid; gap: 14px; margin-top: 22px; }
  .cfilm__step { position: static; translate: none; grid-template-columns: 40px 1fr; }
  .cfilm__step .step__bubble { width: 40px; height: 40px; font-size: 17px; }
  .cfilm__label strong { font-size: 17px; }
  .cfilm__label em { font-size: 13.5px; }
  .cfilm .cross { display: none; }
}

/* ---------- About portrait ---------- */
.about__portrait { position: relative; margin: 0; max-width: 520px; width: 100%; justify-self: end; }
.about__portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 90px rgba(3, 20, 17, 0.4); }
.about__portrait .cross { z-index: 1; }
@media (max-width: 1100px) { .about__portrait { justify-self: start; max-width: 460px; order: -1; } }

/* ---------- Wordmark lockup: TECH stacked under QUATTRO, starting just past the Q (as in the logo) ---------- */
.site-footer__word { flex-direction: column; align-items: flex-start; gap: 4px; }
.site-footer__word span { margin-left: 36%; font-size: 9.5px; letter-spacing: 0.34em; line-height: 1; opacity: 0.78; }
.site-footer__giant { display: inline-flex; flex-direction: column; align-items: flex-start; padding-bottom: 0.08em; }
.site-footer__giant-word { display: flex; align-items: center; }
.site-footer__giant-sub {
  margin: 0.02em 0 0 36%;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.17em;
  letter-spacing: 0.34em;
  line-height: 1;
  color: rgba(233, 237, 239, 0.07);
}

/* ---------- About: story, quote, how I run it ---------- */
.about__grid { align-items: start; }
.about__portrait { position: sticky; top: calc(var(--nav-h) + 40px); }
.about__story { margin-top: clamp(22px, 2.4vw, 34px); display: grid; gap: 16px; max-width: 60ch; }
.about__story p { font-size: var(--fs-long); line-height: 1.62; color: var(--lw-ink-2); }
.about__story p:first-child { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--lw-ink); }
.about__quote { margin: clamp(32px, 3.4vw, 48px) 0 0; padding: 26px 0 24px; border-top: 1px solid var(--lw-line); border-bottom: 1px solid var(--lw-line); max-width: 46ch; }
.about__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.3; color: var(--lw-ink); }
.about__quote footer { margin-top: 14px; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.about__how { margin-top: clamp(36px, 3.6vw, 52px); }
.about__how-title { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); margin-bottom: 20px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 28px; }
.principles li { display: grid; grid-template-columns: 1fr; row-gap: 12px; align-items: start; }
.principles h4 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.15; margin: 4px 0 8px; }
.principles p { font-size: 15px; line-height: 1.5; color: var(--lw-ink-2); }
@media (max-width: 1100px) { .about__portrait { position: relative; top: auto; } }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } .principles li { grid-template-columns: 46px 1fr; column-gap: 16px; } }
