/* ============================================================
   LIQUID ASSETS CUSTOM POOLS — "Water as Architecture"
   Design system + all page styles. Dark-first, twilight luxury.
   Fraunces (display) · Inter (body) · IBM Plex Mono (labels)
   ------------------------------------------------------------
   INDEX
   01  Tokens
   02  Reset & base
   03  Typography & utilities
   04  Waterline motif & reveal system
   05  Buttons
   06  Header & navigation
   07  Mobile menu
   08  Media panels (layered image backgrounds)
   09  Hero
   10  Section shells
   11  Positioning statement
   12  Work cards & featured grid
   13  Capabilities
   14  Philosophy
   15  Process strip (home)
   16  Ticker / trust band
   17  Investment
   18  Final CTA
   19  Footer & newsletter
   20  Archive page (chips, grid, skeleton, lightbox)
   21  Contact page (form)
   22  Studio / process page
   23  Reduced motion & print
   ============================================================ */

/* ------------------------------------------------------------
   01 TOKENS
------------------------------------------------------------ */
:root {
  /* palette — locked per synthesis */
  --ink: #06110F;
  --deep: #0B1B1C;
  --deep-2: #073A40;
  --aqua: #6FE3D2;
  --aqua-hi: #D5F4EE;
  --limestone: #D8C7A6;
  --bone: #F5F1E8;
  --bronze: #B6845B;
  --muted: rgba(245, 241, 232, 0.66);
  --muted-2: rgba(245, 241, 232, 0.4);

  /* hairlines */
  --line-bronze: rgba(182, 132, 91, 0.38);
  --line-soft: rgba(245, 241, 232, 0.12);
  --line-faint: rgba(245, 241, 232, 0.07);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-water: cubic-bezier(0.77, 0, 0.18, 1);

  /* layout */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 78px;
  --radius: 2px;
}

/* ------------------------------------------------------------
   02 RESET & BASE
------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* filmic grain over everything, barely-there */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 2147483000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}

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

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection { background: var(--aqua); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* sections that are anchor targets clear the fixed header */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* honeypot — off-canvas, never display:none (bots check) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ------------------------------------------------------------
   03 TYPOGRAPHY & UTILITIES
------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* vertical rhythm helper for kicker + heading + lede clusters */
.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 26px);
}
.stack p { margin: 0; }

/* skip link — visible only on keyboard focus */
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 3000;
  transform: translateY(-300%);
  padding: 0.85em 1.3em;
  background: var(--deep-2);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--aqua);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--line-bronze);
  flex: none;
}
.kicker--bare::before { display: none; }
.kicker--aqua { color: var(--aqua); }
.kicker--aqua::before { background: rgba(111, 227, 210, 0.4); }

.display-1 {
  font-family: var(--font-display);
  font-weight: 330;
  font-size: clamp(2.9rem, 8.4vw, 7rem);
  line-height: 0.99;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.017em;
  text-wrap: balance;
}

.display-3 {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.display-1 em, .display-2 em {
  font-style: italic;
  font-weight: 320;
  color: var(--aqua-hi);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 34em;
  text-wrap: pretty;
}

.small { font-size: 0.875rem; color: var(--muted); }

.mono-note {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* thin bronze rule */
.rule {
  border: 0;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg, var(--line-bronze), rgba(182, 132, 91, 0.06));
}

/* ------------------------------------------------------------
   04 WATERLINE MOTIF & REVEAL SYSTEM
------------------------------------------------------------ */
/* the signature horizontal reflective line */
.waterline {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(182, 132, 91, 0.5) 18%,
    rgba(111, 227, 210, 0.85) 50%,
    rgba(182, 132, 91, 0.5) 82%,
    transparent 100%);
  background-size: 200% 100%;
  animation: waterline-drift 9s ease-in-out infinite alternate;
}
.waterline::after {
  content: "";
  position: absolute;
  inset: -6px 0;
  background: radial-gradient(50% 100% at 50% 50%, rgba(111, 227, 210, 0.22), transparent 70%);
  filter: blur(3px);
  pointer-events: none;
}
@keyframes waterline-drift {
  from { background-position: 0% 0; }
  to   { background-position: 100% 0; }
}

/* reveal-on-scroll — only when JS is present */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* the Waterline reveal — element rises through a surface line */
.js [data-reveal="waterline"] {
  clip-path: inset(0 0 100% 0);
  transform: translateY(46px);
  transition:
    clip-path 1.15s var(--ease-water),
    transform 1.15s var(--ease-water),
    opacity 0.45s linear;
  transition-delay: var(--rd, 0s);
}
.js [data-reveal="waterline"].in {
  clip-path: inset(0 0 -12% 0); /* slight overshoot so descenders/glows aren't clipped */
  transform: none;
  opacity: 1;
}

.js [data-reveal="fade"] { transform: none; transition: opacity 1.2s ease; }
.js [data-reveal="fade"].in { opacity: 1; }

.js [data-reveal="line"] {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.3s var(--ease-water);
}
.js [data-reveal="line"].in { transform: scaleX(1); }

/* ------------------------------------------------------------
   05 BUTTONS
------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  padding: 1.05em 2.1em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--bone);
  border: 1px solid var(--line-bronze);
  border-radius: var(--radius);
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.4s ease,
    color 0.4s ease,
    background-color 0.4s ease,
    transform 0.4s var(--ease-out),
    box-shadow 0.4s ease;
  white-space: nowrap;
}

/* liquid sheen sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(213, 244, 238, 0.22) 50%,
    transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease-water);
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(130%); }

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(150deg, var(--deep-2), var(--deep) 80%);
  border-color: rgba(111, 227, 210, 0.42);
  box-shadow: 0 0 0 rgba(111, 227, 210, 0);
}
.btn--primary:hover {
  border-color: rgba(111, 227, 210, 0.8);
  box-shadow: 0 8px 34px rgba(111, 227, 210, 0.14);
}

.btn--ghost { border-color: var(--line-soft); color: var(--muted); }
.btn--ghost:hover { border-color: var(--line-bronze); color: var(--bone); }

.btn--bronze { border-color: var(--bronze); color: var(--limestone); }
.btn--bronze:hover { background: rgba(182, 132, 91, 0.1); color: var(--bone); }

.btn--lg { padding: 1.25em 2.6em; font-size: 0.76rem; }

.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* text-link with animated underline */
.tlink {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--limestone);
  padding-bottom: 0.45em;
  transition: color 0.35s ease;
}
.tlink::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--line-bronze);
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--ease-water);
}
.tlink:hover { color: var(--aqua-hi); }
.tlink:hover::after { transform: scaleX(1); transform-origin: left center; }
.tlink .arrow { font-family: var(--font-body); transition: transform 0.4s var(--ease-out); }
.tlink:hover .arrow { transform: translateX(5px); }

/* ------------------------------------------------------------
   06 HEADER & NAVIGATION
------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  transition:
    background-color 0.5s ease,
    border-color 0.5s ease,
    transform 0.5s var(--ease-out),
    backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 17, 15, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line-faint);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 420;
  letter-spacing: 0.015em;
  color: var(--bone);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 3px;
}

.site-nav { display: none; }
.site-nav ul { display: flex; gap: clamp(18px, 2.4vw, 38px); }

.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.6em 0;
  transition: color 0.35s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease-water);
}
.nav-link:hover { color: var(--bone); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav-link[aria-current="page"] { color: var(--aqua-hi); }
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--line-bronze);
}

.header-cta { display: none; }
.header-cta.btn { padding: 0.9em 1.6em; font-size: 0.65rem; }

/* burger */
.nav-toggle {
  position: relative;
  z-index: 1002;
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav-toggle-line {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--bone);
  transition: transform 0.45s var(--ease-water), opacity 0.3s ease, background-color 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
  transform: translateY(4.25px) rotate(45deg);
  background: var(--aqua);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
  background: var(--aqua);
}

@media (min-width: 1024px) {
  .site-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ------------------------------------------------------------
   07 MOBILE MENU
------------------------------------------------------------ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
  background:
    radial-gradient(130% 90% at 80% 0%, rgba(7, 58, 64, 0.55), transparent 60%),
    rgba(6, 17, 15, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.mobile-menu nav ul { display: flex; flex-direction: column; gap: 4px; }

.mobile-link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 0.42em 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8.5vw, 3.2rem);
  font-weight: 340;
  letter-spacing: -0.015em;
  color: var(--bone);
  border-bottom: 1px solid var(--line-faint);
  transform: translateY(26px);
  opacity: 0;
  transition: transform 0.7s var(--ease-out), opacity 0.7s ease, color 0.35s ease;
}
.mobile-menu.is-open .mobile-link {
  transform: none;
  opacity: 1;
}
.mobile-menu.is-open .mobile-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open nav li:nth-child(1) .mobile-link { transition-delay: 0.08s; }
.mobile-menu.is-open nav li:nth-child(2) .mobile-link { transition-delay: 0.14s; }
.mobile-menu.is-open nav li:nth-child(3) .mobile-link { transition-delay: 0.2s; }
.mobile-menu.is-open nav li:nth-child(4) .mobile-link { transition-delay: 0.26s; }
.mobile-menu.is-open nav li:nth-child(5) .mobile-link { transition-delay: 0.32s; }
.mobile-menu.is-open nav li:nth-child(6) .mobile-link { transition-delay: 0.38s; }
.mobile-link:hover, .mobile-link[aria-current="page"] { color: var(--aqua-hi); }

.mobile-link .mobile-idx {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--bronze);
}

.mobile-meta {
  margin-top: clamp(24px, 6vh, 56px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.7s var(--ease-out) 0.44s, opacity 0.7s ease 0.44s;
}
.mobile-menu.is-open .mobile-meta { opacity: 1; transform: none; }
.mobile-meta a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.mobile-meta a:hover { color: var(--aqua); }

body.nav-locked { overflow: hidden; }

/* ------------------------------------------------------------
   08 MEDIA PANELS — layered image backgrounds
   Scrim + aqua glow OVER the photo; if the photo file is
   missing, the twilight gradient base still reads finished.
------------------------------------------------------------ */
.media-panel {
  position: relative;
  background-color: var(--deep);
  background-image:
    linear-gradient(180deg,
      rgba(6, 17, 15, 0.42) 0%,
      rgba(6, 17, 15, 0.24) 42%,
      rgba(6, 17, 15, 0.88) 100%),
    radial-gradient(120% 85% at 72% 12%, rgba(111, 227, 210, 0.1), transparent 58%),
    var(--panel-img, linear-gradient(0deg, transparent, transparent)),
    radial-gradient(90% 70% at 30% 100%, rgba(7, 58, 64, 0.85), transparent 70%),
    linear-gradient(155deg, #0B1B1C 0%, #073A40 52%, #06110F 100%);
  background-size: cover, cover, cover, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-hero          { --panel-img: url("/assets/img/hero-twilight.jpg"); }
.bg-infinity      { --panel-img: url("/assets/img/infinity-hillcountry.jpg"); }
.bg-resort        { --panel-img: url("/assets/img/commercial-resort.jpg"); }
.bg-waterline     { --panel-img: url("/assets/img/detail-waterline.jpg"); }
.bg-fire          { --panel-img: url("/assets/img/night-firefeature.jpg"); }
.bg-modern        { --panel-img: url("/assets/img/residential-modern.jpg"); }
.bg-spa           { --panel-img: url("/assets/img/spa-spillover.jpg"); }
.bg-landscape     { --panel-img: url("/assets/img/landscape-integration.jpg"); }
.bg-designtable   { --panel-img: url("/assets/img/process-designtable.jpg"); }
.bg-amenity       { --panel-img: url("/assets/img/commercial-amenity.jpg"); }

/* ------------------------------------------------------------
   09 HERO
------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -5%;
  z-index: -3;
  animation: kenburns 34s var(--ease-out) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.09) translateY(-1.4%); }
}

.hero-caustics {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.16;
  filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 34%, #000 62%, transparent 92%);
  mask-image: linear-gradient(180deg, transparent 4%, #000 34%, #000 62%, transparent 92%);
  pointer-events: none;
}

/* deep vignette so type always sits on near-black */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 17, 15, 0.55), transparent 30%, transparent 55%, rgba(6, 17, 15, 0.94) 100%),
    radial-gradient(120% 60% at 18% 88%, rgba(6, 17, 15, 0.62), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(88px, 13vh, 150px);
}

.hero-kicker { margin-bottom: clamp(20px, 3.4vh, 40px); }

.hero-title { max-width: 11.5em; }

.hero-sub {
  margin-top: clamp(20px, 3vh, 34px);
  max-width: 30em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4.5vh, 52px);
}

.hero-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 26px;
}
.hero-coord {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: none;
}
@media (min-width: 760px) { .hero-coord { display: block; } }

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--aqua), transparent);
  animation: cue-drop 2.6s var(--ease-water) infinite;
}
@keyframes cue-drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-waterline {
  position: absolute;
  left: 0; right: 0; bottom: 72px;
  margin-inline: var(--gutter);
}
@media (min-width: 760px) {
  .hero-waterline {
    max-width: calc(var(--container) - 2 * 72px);
    margin-inline: auto;
  }
}

/* compact page heroes (work / contact / process) */
.page-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero .hero-content { padding-bottom: clamp(56px, 9vh, 96px); }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 15, 0.6), transparent 40%, rgba(6, 17, 15, 0.95) 100%);
  pointer-events: none;
}
.page-hero .hero-content { position: relative; z-index: 1; }

/* ------------------------------------------------------------
   10 SECTION SHELLS
------------------------------------------------------------ */
.section {
  position: relative;
  padding-block: clamp(88px, 13vw, 170px);
}
.section--flush { padding-block: 0; }
.section--tight { padding-block: clamp(56px, 8vw, 110px); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 26px);
  margin-bottom: clamp(44px, 6.5vw, 88px);
  max-width: 62rem;
}
.section-head .lede { margin-top: 4px; }

.section-head--row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   11 POSITIONING STATEMENT
------------------------------------------------------------ */
.position-block {
  max-width: 56rem;
}
.position-text {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--bone);
  text-wrap: pretty;
}
.position-text em {
  font-style: italic;
  color: var(--limestone);
}
.position-foot {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 22px;
}
.position-foot .rule { flex: 1; max-width: 180px; }

/* ------------------------------------------------------------
   12 WORK CARDS & FEATURED GRID
------------------------------------------------------------ */
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  border-radius: var(--radius);
  transition: transform 0.6s var(--ease-out);
}
.work-card:hover { transform: translateY(-6px); }

.work-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    radial-gradient(110% 80% at 70% 15%, rgba(111, 227, 210, 0.09), transparent 55%),
    linear-gradient(155deg, #0B1B1C 0%, #073A40 58%, #06110F 100%);
}
.work-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 1.1s var(--ease-out), opacity 0.6s ease;
}
.work-card:hover .work-card-media img,
.work-card:focus-visible .work-card-media img { transform: scale(1.06); }
.work-card.img-missing .work-card-media img { opacity: 0; }

/* scrim + sheen over media */
.work-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 17, 15, 0.06) 40%, rgba(6, 17, 15, 0.55) 100%);
  transition: opacity 0.6s ease;
}
.work-card:hover .work-card-media::before { opacity: 0.55; }
.work-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, transparent 35%, rgba(213, 244, 238, 0.13) 50%, transparent 65%);
  transform: translateX(-140%) skewX(-8deg);
  transition: transform 1.1s var(--ease-water);
  pointer-events: none;
}
.work-card:hover .work-card-media::after { transform: translateX(140%) skewX(-8deg); }

.work-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 2px 0;
}
.work-card-meta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
.work-card-title {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bone);
  position: relative;
  display: inline-block;
  align-self: flex-start;
}
.work-card-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--line-bronze);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--ease-water);
}
.work-card:hover .work-card-title::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.work-card-summary {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 30em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* featured (home) — editorial asymmetric 12-col */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px) clamp(20px, 3vw, 40px);
}
@media (min-width: 900px) {
  .featured-grid { grid-template-columns: repeat(12, 1fr); }
  .featured-grid .work-card:nth-child(4n + 1) { grid-column: 1 / span 7; }
  .featured-grid .work-card:nth-child(4n + 2) { grid-column: 9 / span 4; padding-top: clamp(48px, 8vw, 130px); }
  .featured-grid .work-card:nth-child(4n + 3) { grid-column: 1 / span 4; }
  .featured-grid .work-card:nth-child(4n + 4) { grid-column: 6 / span 7; margin-top: clamp(-90px, -6vw, -40px); }
  .featured-grid .work-card:nth-child(4n + 1) .work-card-media { aspect-ratio: 16 / 10; }
  .featured-grid .work-card:nth-child(4n + 4) .work-card-media { aspect-ratio: 16 / 10; }
}

.featured-foot {
  margin-top: clamp(48px, 7vw, 84px);
  display: flex;
  justify-content: center;
}

/* ------------------------------------------------------------
   13 CAPABILITIES
------------------------------------------------------------ */
.cap-list {
  display: flex;
  flex-direction: column;
}
.cap-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 48px);
  padding-block: clamp(44px, 6vw, 80px);
  border-top: 1px solid var(--line-faint);
}
.cap-item:last-child { border-bottom: 1px solid var(--line-faint); }

.cap-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
}
.cap-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(213, 244, 238, 0.1) 50%, transparent 65%);
  transform: translateX(-140%) skewX(-8deg);
  transition: transform 1.2s var(--ease-water);
}
.cap-item:hover .cap-media::after { transform: translateX(140%) skewX(-8deg); }
.cap-media .media-panel {
  position: absolute;
  inset: 0;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease-out);
}
.cap-item:hover .cap-media .media-panel { transform: scale(1.05); }

.cap-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 20px);
}
.cap-title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.014em;
}
.cap-text { color: var(--muted); max-width: 32em; }
.cap-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 2px;
}
.cap-points li {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cap-points li::before { content: "— "; color: var(--bronze); }
.cap-body .tlink { margin-top: 10px; }

@media (min-width: 900px) {
  .cap-item { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .cap-item:nth-child(even) .cap-media { order: 2; }
}

/* ------------------------------------------------------------
   14 PHILOSOPHY
------------------------------------------------------------ */
.philosophy {
  background:
    radial-gradient(100% 90% at 85% 0%, rgba(7, 58, 64, 0.45), transparent 55%),
    var(--deep);
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}

.philo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 7vw, 110px);
}
@media (min-width: 980px) {
  .philo-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

.philo-intro { max-width: 30rem; }
.philo-panel {
  margin-top: clamp(28px, 4vw, 44px);
  aspect-ratio: 4 / 5;
  max-width: 420px;
  border-radius: var(--radius);
  display: none;
}
@media (min-width: 980px) { .philo-panel { display: block; } }

.philo-list { display: flex; flex-direction: column; }
.philo-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding-block: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line-bronze);
  transition: background-color 0.5s ease;
}
.philo-item:last-child { border-bottom: 1px solid var(--line-bronze); }
.philo-item:hover { background: rgba(111, 227, 210, 0.025); }
.philo-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--bronze);
  padding-top: 0.55em;
}
.philo-term {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.008em;
}
.philo-desc {
  margin-top: 8px;
  color: var(--muted);
  max-width: 30em;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   15 PROCESS STRIP (home)
------------------------------------------------------------ */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-faint);
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }

.step {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px) clamp(18px, 2vw, 28px) clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line-faint);
  transition: background-color 0.5s ease;
}
@media (min-width: 1100px) {
  .step { border-bottom: 0; border-right: 1px solid var(--line-faint); }
  .step:last-child { border-right: 0; }
}
.step:hover { background: rgba(111, 227, 210, 0.03); }

.step-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 4.6vw, 4.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(182, 132, 91, 0.55);
  display: block;
  margin-bottom: 18px;
  transition: color 0.6s ease;
}
.step:hover .step-num { color: rgba(182, 132, 91, 0.28); }

.step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}
.step-text { font-size: 0.9rem; color: var(--muted); }

.process-foot {
  margin-top: clamp(40px, 6vw, 72px);
  display: flex;
  justify-content: flex-start;
}

/* ------------------------------------------------------------
   16 TICKER / TRUST BAND
------------------------------------------------------------ */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line-bronze);
  border-bottom: 1px solid var(--line-bronze);
  padding-block: 18px;
  background: rgba(11, 27, 28, 0.5);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-set {
  display: flex;
  flex: none;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-inline: 34px;
  display: inline-flex;
  align-items: center;
  gap: 34px;
}
.ticker-item::after {
  content: "";
  width: 5px; height: 5px;
  transform: rotate(45deg);
  background: var(--bronze);
  opacity: 0.7;
}

/* ------------------------------------------------------------
   17 INVESTMENT
------------------------------------------------------------ */
.invest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(44px, 6vw, 96px);
}
@media (min-width: 980px) {
  .invest-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
}

.invest-points {
  display: flex;
  flex-direction: column;
}
.invest-point {
  padding-block: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line-faint);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
}
.invest-point:last-child { border-bottom: 1px solid var(--line-faint); }
.invest-point-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--aqua);
  padding-top: 0.4em;
}
.invest-point h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.invest-point p { color: var(--muted); font-size: 0.95rem; max-width: 32em; }

.invest-aside {
  position: relative;
  border: 1px solid var(--line-bronze);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(111, 227, 210, 0.06), transparent 55%),
    rgba(11, 27, 28, 0.6);
}
.invest-aside .display-3 { margin-bottom: 14px; }
.invest-aside p { color: var(--muted); font-size: 0.95rem; }
.invest-aside .btn { margin-top: 24px; }
.invest-aside::before {
  content: "";
  position: absolute;
  top: -1px; left: clamp(28px, 4vw, 48px);
  width: 64px; height: 1px;
  background: var(--aqua);
}

/* ------------------------------------------------------------
   18 FINAL CTA
------------------------------------------------------------ */
.cta-final {
  position: relative;
  min-height: clamp(560px, 92vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(6, 17, 15, 0.35) 30%, rgba(6, 17, 15, 0.55) 70%, var(--ink) 100%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 3vh, 30px);
}
.cta-inner .display-2 { max-width: 15em; }
.cta-inner .lede { max-width: 36em; margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}
.cta-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin-top: clamp(18px, 3vh, 30px);
}
.cta-phones a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s ease;
}
.cta-phones a:hover { color: var(--aqua-hi); }
.cta-phones .city { color: var(--bronze); margin-right: 0.9em; }

/* ------------------------------------------------------------
   19 FOOTER & NEWSLETTER
------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line-faint);
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(7, 58, 64, 0.35), transparent 55%),
    #050D0C;
  padding-top: clamp(64px, 8vw, 110px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 4fr 2.5fr 2.5fr 3fr; } }

.footer-brand .brand { margin-bottom: 20px; }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: 1.25rem;
  color: var(--limestone);
  max-width: 16em;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}
.footer-col address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.8;
}
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-list a {
  color: var(--muted);
  font-size: 0.925rem;
  transition: color 0.3s ease;
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
}
.footer-list a:hover { color: var(--aqua-hi); }
.footer-list .mono { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; }

.footer-news p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 26em;
  margin-bottom: 18px;
}

.news-form {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  max-width: 420px;
}
.news-form:focus-within {
  border-color: rgba(111, 227, 210, 0.55);
  box-shadow: 0 0 0 1px rgba(111, 227, 210, 0.25), 0 6px 30px rgba(111, 227, 210, 0.07);
}
.news-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: rgba(245, 241, 232, 0.03);
  border: 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.95em 1.1em;
}
.news-form input[type="email"]::placeholder { color: var(--muted-2); }
.news-form input[type="email"]:focus { outline: none; }
.news-form button {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--aqua);
  padding: 0 1.4em;
  transition: background-color 0.35s ease;
}
.news-form button:hover { background: var(--aqua-hi); }
.news-msg {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  min-height: 1.2em;
}
.news-msg.ok { color: var(--aqua); }
.news-msg.err { color: var(--limestone); }

.footer-bottom {
  border-top: 1px solid var(--line-faint);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom span, .footer-bottom a {
  font-family: var(--font-mono);
  font-size: 0.5938rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-bottom a:hover { color: var(--aqua); }

/* ------------------------------------------------------------
   20 ARCHIVE PAGE — chips, grid, skeleton, lightbox
------------------------------------------------------------ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.6563rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0.8em 1.5em;
  transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}
.chip:hover { color: var(--bone); border-color: var(--line-bronze); }
.chip[aria-pressed="true"] {
  color: var(--aqua-hi);
  border-color: rgba(111, 227, 210, 0.6);
  background: rgba(111, 227, 210, 0.06);
  box-shadow: 0 0 22px rgba(111, 227, 210, 0.1);
}

.archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.archive-count {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 56px) clamp(20px, 3vw, 40px);
  transition: opacity 0.35s ease;
}
.archive-grid.is-switching { opacity: 0; }
@media (min-width: 700px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .archive-grid { grid-template-columns: repeat(3, 1fr); } }

/* intentional loading state */
.skeleton-card { pointer-events: none; }
.skeleton-card .work-card-media {
  position: relative;
  overflow: hidden;
}
.skeleton-card .work-card-media::before {
  background: linear-gradient(105deg, transparent 30%, rgba(111, 227, 210, 0.06) 50%, transparent 70%);
  animation: skeleton-sheen 1.8s var(--ease-water) infinite;
  transform: translateX(-100%);
  opacity: 1;
}
@keyframes skeleton-sheen {
  to { transform: translateX(100%); }
}
.skeleton-line {
  height: 12px;
  border-radius: 2px;
  background: rgba(245, 241, 232, 0.06);
  margin-top: 14px;
}
.skeleton-line--short { width: 38%; }
.skeleton-line--mid { width: 66%; }

/* intentional empty state */
.archive-empty {
  grid-column: 1 / -1;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(7, 58, 64, 0.35), transparent 60%);
}
.archive-empty .waterline { width: min(320px, 60%); }
.archive-empty h3 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.archive-empty p { color: var(--muted); max-width: 32em; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 9, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  cursor: zoom-out;
}
.lb-panel {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  max-height: 92svh;
  display: flex;
  flex-direction: column;
  transform: translateY(26px);
  transition: transform 0.55s var(--ease-out);
}
.lightbox.is-open .lb-panel { transform: none; }

.lb-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(110% 80% at 70% 15%, rgba(111, 227, 210, 0.08), transparent 55%),
    linear-gradient(155deg, #0B1B1C, #073A40 58%, #06110F);
  aspect-ratio: 16 / 10;
  max-height: 66svh;
}
.lb-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox.img-missing .lb-media img { opacity: 0; }
.lb-media .waterline { position: absolute; left: 8%; right: 8%; bottom: 14%; opacity: 0.5; }

.lb-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 30px;
  padding: 22px 4px 4px;
}
.lb-meta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  width: 100%;
}
.lb-title {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
}
.lb-summary {
  width: 100%;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 46em;
}
.lb-counter {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.lb-close {
  position: absolute;
  top: -6px;
  right: 0;
  transform: translateY(-100%);
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.lb-close:hover { color: var(--aqua); border-color: rgba(111, 227, 210, 0.5); }

.lb-arrow {
  position: absolute;
  top: 33%;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  background: rgba(6, 17, 15, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  z-index: 2;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.lb-arrow:hover { color: var(--aqua); border-color: rgba(111, 227, 210, 0.5); background: rgba(6, 17, 15, 0.85); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
@media (min-width: 1200px) {
  .lb-prev { left: -68px; }
  .lb-next { right: -68px; }
}

body.lb-locked { overflow: hidden; }

/* ------------------------------------------------------------
   21 CONTACT PAGE — form
------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(56px, 7vw, 110px);
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.contact-info { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.contact-block h3 {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
}
.contact-block address { font-style: normal; color: var(--muted); line-height: 1.85; }
.contact-block a { color: var(--bone); transition: color 0.3s ease; }
.contact-block a:hover { color: var(--aqua-hi); }
.contact-block .mono { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.05em; }

.expect-list { display: flex; flex-direction: column; }
.expect-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-block: 16px;
  border-top: 1px solid var(--line-faint);
  color: var(--muted);
  font-size: 0.925rem;
}
.expect-list li:last-child { border-bottom: 1px solid var(--line-faint); }
.expect-list .num {
  font-family: var(--font-mono);
  font-size: 0.6563rem;
  letter-spacing: 0.18em;
  color: var(--aqua);
  padding-top: 0.3em;
}

.form-card {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 56px);
  background:
    radial-gradient(130% 100% at 85% 0%, rgba(7, 58, 64, 0.4), transparent 55%),
    rgba(11, 27, 28, 0.45);
}
.form-card::before {
  content: "";
  position: absolute;
  top: -1px; left: clamp(26px, 4vw, 56px);
  width: 72px; height: 1px;
  background: var(--aqua);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 24px;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 9px; }
.field-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-label .req { color: var(--bronze); }

.field-input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(245, 241, 232, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85em 1em;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}
.field-input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field-input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(111, 227, 210, 0.55);
  box-shadow: 0 0 0 1px rgba(111, 227, 210, 0.25);
  background: rgba(245, 241, 232, 0.05);
}
.field textarea { resize: vertical; min-height: 130px; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B6845B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.6em;
  cursor: pointer;
}
.field select:invalid { color: var(--muted-2); }
.field select option { background: var(--deep); color: var(--bone); }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  border: 1px solid var(--line-bronze);
  border-radius: 2px;
  background: rgba(245, 241, 232, 0.03);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.check-row input[type="checkbox"]::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--aqua);
  transform: scale(0);
  transition: transform 0.25s var(--ease-out);
}
.check-row input[type="checkbox"]:checked { border-color: var(--aqua); }
.check-row input[type="checkbox"]:checked::before { transform: scale(1); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
}
.form-msg {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  min-height: 1.3em;
}
.form-msg.err { color: var(--limestone); }
.form-msg.ok { color: var(--aqua); }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-block: clamp(24px, 4vw, 40px);
}
.form-success .waterline { width: min(280px, 70%); }
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
}
.form-success p { color: var(--muted); max-width: 34em; }

/* newsletter band (contact page) */
.news-band {
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
  background:
    radial-gradient(110% 130% at 15% 0%, rgba(7, 58, 64, 0.4), transparent 60%),
    rgba(11, 27, 28, 0.35);
}
.news-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .news-band-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.news-band h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.012em;
  margin-top: 14px;
}
.news-band p { color: var(--muted); max-width: 34em; margin-top: 12px; }

/* ------------------------------------------------------------
   22 STUDIO / PROCESS PAGE
------------------------------------------------------------ */
.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 100px);
}
@media (min-width: 980px) {
  .studio-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
}
.studio-copy .position-text { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.studio-copy p + p { margin-top: 1.2em; }
.studio-copy .body-copy { color: var(--muted); margin-top: clamp(24px, 3vw, 36px); max-width: 36em; }

.studio-panel {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-faint);
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 760px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-item {
  background: var(--ink);
  padding: clamp(28px, 3.6vw, 44px);
  transition: background-color 0.5s ease;
}
.value-item:hover { background: #081614; }
.value-item .kicker { margin-bottom: 16px; }
.value-item h3 {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.value-item p { color: var(--muted); font-size: 0.925rem; }

/* full phases */
.phase-list { display: flex; flex-direction: column; }
.phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.6vw, 40px);
  padding-block: clamp(44px, 6vw, 88px);
  border-top: 1px solid var(--line-bronze);
}
@media (min-width: 900px) {
  .phase { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); }
}
.phase-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.phase-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(182, 132, 91, 0.6);
}
.phase-title {
  font-family: var(--font-display);
  font-weight: 370;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.012em;
}
.phase-body p { color: var(--muted); max-width: 36em; }
.phase-body p + p { margin-top: 1em; }
.phase-deliv h4 {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 14px;
}
.phase-deliv ul { display: flex; flex-direction: column; gap: 9px; }
.phase-deliv li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.phase-deliv li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 1px;
  background: var(--aqua);
}

/* ------------------------------------------------------------
   23 REDUCED MOTION & PRINT
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal],
  .js [data-reveal="waterline"],
  .js [data-reveal="line"] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .hero-bg { animation: none; }
  .hero-caustics { display: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-set[aria-hidden="true"] { display: none; }
}

@media print {
  body::before { display: none; }
  .site-header, .mobile-menu, .hero-caustics, .scroll-cue { display: none !important; }
  body { background: #fff; color: #111; }
}
