/* ==========================================================================
   EA Signature Pools & Spa — Landing page
   Palette: petrol #102A35 · lagoon teal #007E78 · limestone #F4F1EA
   Type: Instrument Serif (display) · Manrope (UI / body)
   ========================================================================== */

:root {
  --petrol: #102A35;
  --petrol-900: #0B1F28;
  --petrol-700: #1A3A47;
  --teal: #007E78;
  --teal-600: #006A65;
  --aqua: #60D4C5;
  --limestone: #F4F1EA;
  --sand: #EBE5D8;
  --stone: #D9D0BE;
  --ink: #102A35;
  --ink-soft: #4A5D64;
  --white: #FFFFFF;
  --line: rgba(16, 42, 53, .12);
  --line-light: rgba(255, 255, 255, .16);

  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 84px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-soft: 0 30px 60px -30px rgba(16, 42, 53, .35);
  --shadow-deep: 0 40px 90px -35px rgba(5, 20, 27, .65);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--limestone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
address { font-style: normal; }
::selection { background: var(--teal); color: var(--white); }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--petrol); color: var(--white);
  padding: .75rem 1.25rem; border-radius: 999px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--petrol); color: var(--limestone); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor;
  transform: skewX(-30deg);
}
.eyebrow--light { color: var(--aqua); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  max-width: 16ch;
}
.section-title em, .hero-title em, .intro-statement em { font-style: italic; color: var(--teal); }
.section--dark .section-title em, .section-title--light em { color: var(--aqua); }
.section-title--light { color: var(--white); }

.lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem); line-height: 1.65; color: var(--ink); margin-bottom: 1.25rem; }
.lead--light { color: rgba(255, 255, 255, .86); }
p + p { margin-top: 1rem; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-title { max-width: 18ch; }
.section-intro { max-width: 44ch; color: var(--ink-soft); padding-bottom: .5rem; }
.section--dark .section-intro { color: rgba(244, 241, 234, .72); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn--sm { padding: .7rem 1.25rem; font-size: .875rem; }
.btn--lg { padding: 1.15rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--btn-bg); color: var(--white); box-shadow: 0 12px 30px -12px rgba(0, 126, 120, .7); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn--primary:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0, 126, 120, .85); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost-light:hover { background: var(--white); color: var(--petrol); border-color: var(--white); transform: translateY(-2px); }
.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .5s, box-shadow .5s, height .5s var(--ease-out), color .4s, transform .5s var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 241, 234, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .5s;
}
.site-header.is-scrolled { --header-h: 72px; color: var(--ink); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { position: relative; display: block; width: clamp(150px, 14vw, 188px); flex-shrink: 0; }
.brand-logo { width: 100%; height: auto; transition: opacity .45s; }
.brand-logo--dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-scrolled .brand-logo--light { opacity: 0; }
.site-header.is-scrolled .brand-logo--dark { opacity: 1; }

.primary-nav { margin-inline: auto; }
.primary-nav ul { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.primary-nav a {
  position: relative; display: block; padding-block: .5rem;
  font-size: .9rem; font-weight: 500; letter-spacing: .01em;
  opacity: .9; transition: opacity .3s, color .3s;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.primary-nav a:hover, .primary-nav a.is-active { opacity: 1; }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-header.is-scrolled .primary-nav a.is-active { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; }
.header-phone svg { width: 16px; height: 16px; fill: currentColor; }

.menu-toggle {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .9;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

body.menu-open .site-header { color: var(--white); transform: none; }
body.menu-open .site-header::before { opacity: 0; }
body.menu-open .site-header .brand-logo--light { opacity: 1; }
body.menu-open .site-header .brand-logo--dark { opacity: 0; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  background: radial-gradient(120% 80% at 100% 0%, rgba(0, 126, 120, .35), transparent 60%), var(--petrol);
  color: var(--white);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-in-out), visibility 0s linear .7s;
  overflow-y: auto;
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-in-out), visibility 0s; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 1rem;
  padding-block: .9rem;
  font-family: var(--font-serif); font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.1;
  transform: translateY(100%); transition: transform .7s var(--ease-out);
}
.mobile-menu nav a span { min-width: 1.75rem; font-family: var(--font-sans); font-size: .75rem; letter-spacing: .15em; color: var(--aqua); }
.mobile-menu.is-open nav a { transform: none; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .05s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .15s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .25s; }
.mobile-menu.is-open li:nth-child(7) a { transition-delay: .3s; }
.mobile-menu-footer { display: grid; gap: .9rem; margin-top: 2.5rem; color: rgba(255, 255, 255, .8); font-weight: 500; }
.mobile-menu-footer .btn { margin-bottom: .5rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--petrol);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero-media img { object-fit: cover; object-position: 60% 50%; animation: heroZoom 2.8s var(--ease-out) both; will-change: transform; }
@keyframes heroZoom { from { transform: scale(1.14); filter: brightness(.7); } to { transform: scale(1); filter: none; } }

.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 31, 40, .88) 0%, rgba(11, 31, 40, .62) 32%, rgba(11, 31, 40, .12) 62%, transparent 80%),
    linear-gradient(0deg, rgba(11, 31, 40, .75) 0%, transparent 32%),
    linear-gradient(180deg, rgba(11, 31, 40, .55) 0%, transparent 22%);
}
.hero-caustics {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  mix-blend-mode: soft-light; opacity: .55;
  background:
    radial-gradient(40% 25% at 30% 85%, rgba(96, 212, 197, .55), transparent 70%),
    radial-gradient(30% 20% at 70% 75%, rgba(255, 255, 255, .4), transparent 70%),
    radial-gradient(35% 22% at 50% 95%, rgba(96, 212, 197, .45), transparent 70%);
  background-size: 200% 200%;
  animation: caustics 14s ease-in-out infinite alternate;
}
@keyframes caustics {
  0% { background-position: 0% 0%, 100% 0%, 50% 50%; }
  50% { background-position: 60% 40%, 30% 60%, 0% 100%; }
  100% { background-position: 100% 100%, 0% 100%, 100% 0%; }
}

.hero-content { padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(7rem, 14vh, 10rem); }
.hero-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(3.25rem, 1.4rem + 7.2vw, 8.25rem);
  line-height: .95; letter-spacing: -.025em;
  margin-bottom: 1.75rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--aqua); }
.hero-lead { max-width: 40ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .86); margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-anim { opacity: 0; animation: heroIn 1.2s var(--ease-out) var(--d, 0s) forwards; }
.hero-title .hero-anim { opacity: 1; transform: translateY(110%); animation-name: heroLine; animation-duration: 1.3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroLine { to { transform: translateY(0); } }

.hero-footer { position: absolute; inset: auto 0 0 0; border-top: 1px solid var(--line-light); }
.hero-footer-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1.5rem; }
.hero-facts { display: flex; gap: clamp(1.5rem, 4vw, 4rem); }
.hero-facts li { display: flex; flex-direction: column; line-height: 1.35; }
.hero-facts strong { font-weight: 600; font-size: .95rem; }
.hero-facts span { font-size: .8rem; color: rgba(255, 255, 255, .65); }
.scroll-cue { display: flex; align-items: center; gap: .9rem; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.scroll-cue-line { position: relative; width: 1px; height: 44px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-cue-line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--aqua); animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { to { top: 100%; } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--petrol); color: var(--limestone); overflow: hidden; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.marquee-track { display: flex; align-items: center; gap: 2.5rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); white-space: nowrap; }
.marquee-track i { width: 22px; height: 8px; background: var(--aqua); transform: skewX(-35deg); flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.25rem)); } }

/* ==========================================================================
   Intro statement
   ========================================================================== */
.intro-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro-mark { width: 64px; margin-bottom: 2.5rem; }
.intro-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 1.1rem + 2.6vw, 3.5rem);
  line-height: 1.18; letter-spacing: -.01em;
  max-width: 26ch;
}
.intro-statement .w { opacity: .16; transition: opacity .5s; }
.intro-statement .w.is-lit { opacity: 1; }

/* ==========================================================================
   Studio
   ========================================================================== */
.studio-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.frame { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame [data-parallax] { height: 116%; margin-top: -8%; will-change: transform; }
.studio-media { position: relative; }
.glass-card {
  background: rgba(244, 241, 234, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.studio-note {
  position: absolute; right: clamp(-2.5rem, -3vw, -1rem); bottom: 3rem;
  max-width: 300px; padding: 1.5rem;
  display: grid; gap: .9rem;
}
.studio-note img { width: 40px; }
.studio-note p { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.3; }
.studio-copy > p:not(.eyebrow):not(.lead) { color: var(--ink-soft); }
.studio-copy .section-title { margin-bottom: 2rem; }

.principles { margin-top: 2.75rem; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.principle-num { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--teal); line-height: 1; }
.principles h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; }
.principles p { color: var(--ink-soft); font-size: .95rem; }

/* ==========================================================================
   Services
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.service-card {
  background: var(--limestone); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), opacity 1.1s var(--ease-out);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.service-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.service-card:hover .service-media img { transform: scale(1.07); }
.service-index {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-serif); font-style: italic; font-size: 1.1rem;
  color: var(--white); background: rgba(16, 42, 53, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: .2rem .8rem; border-radius: 999px;
}
.service-body { padding: clamp(1.5rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.service-body h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); line-height: 1.05; }
.service-body > p { color: var(--ink-soft); font-size: .97rem; }
.tick-list { display: grid; gap: .55rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.tick-list li { position: relative; padding-left: 1.6rem; font-size: .9rem; font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 5px;
  background: var(--teal); transform: skewX(-35deg);
}

/* ==========================================================================
   Signature standard
   ========================================================================== */
.standard-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.standard-item { padding: 2.5rem clamp(1rem, 2vw, 2rem) 1rem; border-right: 1px solid var(--line); }
.standard-item:last-child { border-right: 0; }
.standard-item svg { width: 46px; height: 46px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.5rem; }
.standard-item h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; margin-bottom: .75rem; }
.standard-item p { color: var(--ink-soft); font-size: .95rem; }

/* ==========================================================================
   Lifestyle bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(300px, 34vw, 460px); gap: clamp(1rem, 2vw, 1.5rem); }
.bento-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone); isolation: isolate; }
.bento-item--wide { grid-column: span 2; }
.bento-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out); }
.bento-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 31, 40, .85) 0%, rgba(11, 31, 40, .25) 45%, transparent 70%); }
.bento-item:hover img { transform: scale(1.06); }
.bento-item figcaption { position: absolute; inset: auto 0 0 0; padding: clamp(1.5rem, 3vw, 2.25rem); color: var(--white); }
.bento-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: .9rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bento-item h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); line-height: 1.1; margin-bottom: .4rem; }
.bento-item p { max-width: 42ch; font-size: .95rem; color: rgba(255, 255, 255, .82); }

/* ==========================================================================
   Process
   ========================================================================== */
.process-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.process-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.process-frame { position: relative; aspect-ratio: 4 / 4.2; max-height: calc(100vh - var(--header-h) - 4rem); width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--petrol); box-shadow: var(--shadow-soft); }
.process-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1s var(--ease-out), transform 1.6s var(--ease-out);
}
.process-frame img.is-active { opacity: 1; transform: scale(1); }
.process-counter {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .15em; color: var(--white);
  background: rgba(16, 42, 53, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: .45rem .95rem; border-radius: 999px;
}
.process-counter span { color: var(--aqua); }

.process-steps { position: relative; padding-block: 2vh 18vh; }
.process-steps::before { content: ""; position: absolute; left: 1.5rem; top: 0; bottom: 0; width: 1px; background: var(--line); }
.process-step { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding-block: 9vh; opacity: .32; transition: opacity .6s; }
.process-step.is-active { opacity: 1; }
.step-num {
  position: relative; z-index: 1;
  width: 3rem; height: 3rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--limestone); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 700; letter-spacing: .05em;
  transition: background-color .5s, color .5s, border-color .5s;
}
.process-step.is-active .step-num { background: var(--teal); border-color: var(--teal); color: var(--white); }
.step-body h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.75rem); line-height: 1.05; margin: .2rem 0 1rem; }
.step-body p { color: var(--ink-soft); max-width: 46ch; }
.step-img-mobile { display: none; }

/* ==========================================================================
   Materials
   ========================================================================== */
.materials { overflow: hidden; isolation: isolate; }
.materials-glow {
  position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -25vw; top: -30vw;
  background: radial-gradient(circle, rgba(0, 126, 120, .45), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.material-card { display: flex; flex-direction: column; }
.material-media { aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; background: var(--petrol-700); }
.material-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), filter 1s; filter: saturate(.92); }
.material-card:hover .material-media img { transform: scale(1.08); filter: saturate(1.1); }
.material-card:nth-child(2) { margin-top: clamp(0rem, 6vw, 5rem); }
.material-card:nth-child(3) { margin-top: clamp(0rem, 3vw, 2.5rem); }
.material-label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); margin-bottom: .6rem; }
.material-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); line-height: 1.1; margin-bottom: .6rem; color: var(--white); }
.material-card p { color: rgba(244, 241, 234, .72); font-size: .95rem; max-width: 38ch; }

.palette { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 2.5rem; border-top: 1px solid var(--line-light); }
.palette li { display: inline-flex; align-items: center; gap: .7rem; font-size: .85rem; font-weight: 500; color: rgba(244, 241, 234, .85); }
.swatch { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 6px 14px -6px rgba(0, 0, 0, .5); }

/* ==========================================================================
   Inspiration gallery
   ========================================================================== */
.ai-note {
  display: flex; align-items: center; gap: .5rem; margin-top: 1rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.ai-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(96, 212, 197, .25); }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(260px, 30vw, 440px); gap: clamp(1rem, 2vw, 1.5rem); }
.gallery-grid > :nth-child(1) { grid-column: span 7; }
.gallery-grid > :nth-child(2) { grid-column: span 5; }
.gallery-grid > :nth-child(3) { grid-column: span 5; }
.gallery-grid > :nth-child(4) { grid-column: span 7; }
.gallery-grid > :nth-child(5) { grid-column: span 12; }

.concept-card { position: relative; display: block; width: 100%; height: 100%; text-align: left; overflow: hidden; border-radius: var(--radius); isolation: isolate; color: var(--white); background: var(--stone); }
.concept-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out); }
.concept-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 31, 40, .82) 0%, rgba(11, 31, 40, .1) 50%, transparent 70%); transition: opacity .6s; }
.concept-card:hover img, .concept-card:focus-visible img { transform: scale(1.06); }
.concept-info { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: .3rem; }
.concept-count { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); }
.concept-name { font-family: var(--font-serif); font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.6rem); line-height: 1.05; }
.concept-desc { font-size: .9rem; color: rgba(255, 255, 255, .8); }
.concept-open {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: scale(.8) rotate(-45deg); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s, background-color .3s;
}
.concept-open svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.concept-card:hover .concept-open, .concept-card:focus-visible .concept-open { transform: none; opacity: 1; }
.concept-card:hover .concept-open { background: var(--teal); border-color: var(--teal); }

/* ==========================================================================
   Service area
   ========================================================================== */
.area-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.area-media { position: relative; }
.area-media .frame { aspect-ratio: 16 / 12; }
.area-pin { position: absolute; left: clamp(-2rem, -2.5vw, -1rem); bottom: 2.5rem; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; }
.area-pin svg { width: 34px; height: 34px; fill: none; stroke: var(--teal); stroke-width: 1.6; flex-shrink: 0; }
.area-pin strong { display: block; font-size: 1rem; }
.area-pin span { font-size: .85rem; color: var(--ink-soft); }
.area-copy .section-title { margin-bottom: 1.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 2rem 1.5rem; }
.chips li {
  padding: .5rem 1.05rem; border-radius: 999px; font-size: .875rem; font-weight: 500;
  border: 1px solid rgba(16, 42, 53, .2); background: rgba(255, 255, 255, .45);
  transition: background-color .3s, color .3s, border-color .3s;
}
.chips li:hover { background: var(--petrol); color: var(--white); border-color: var(--petrol); }
.small-note { font-size: .9rem; color: var(--ink-soft); }
.small-note a, .faq-head a { color: var(--teal); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-head .section-title { margin-bottom: 1.5rem; }
.faq-head p:not(.eyebrow) { color: var(--ink-soft); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-block: 1.75rem;
  font-family: var(--font-serif); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem); line-height: 1.2;
  transition: color .3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--teal); }
.acc-icon { position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .acc-icon { background: var(--teal); border-color: var(--teal); color: var(--white); transform: rotate(180deg); }
details[open] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-body { overflow: hidden; }
.acc-body p { padding-bottom: 1.75rem; color: var(--ink-soft); max-width: 62ch; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { position: relative; isolation: isolate; color: var(--white); padding-block: var(--section-y) clamp(3rem, 6vw, 5rem); overflow: hidden; background: var(--petrol-900); }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.contact-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 40, .94) 0%, rgba(11, 31, 40, .78) 45%, rgba(11, 31, 40, .55) 100%),
    linear-gradient(0deg, rgba(11, 31, 40, 1) 0%, transparent 35%);
}
.contact-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.contact-head .section-title { margin-bottom: 1.5rem; max-width: 18ch; }
.contact-head .lead { max-width: 56ch; margin-bottom: 0; }

.contact-cards { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.contact-cards > * { min-width: 0; }
.contact-card {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: var(--shadow-deep);
  transition: border-color .4s, background-color .4s, opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.contact-card:hover { border-color: rgba(96, 212, 197, .45); background: rgba(255, 255, 255, .09); }
.contact-card--featured { background: linear-gradient(160deg, rgba(0, 126, 120, .38), rgba(16, 42, 53, .55)); border-color: rgba(96, 212, 197, .4); }
.contact-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 1.5rem + 1vw, 2.5rem); line-height: 1.05; margin-bottom: .9rem; }

.contact-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.5rem; background: rgba(96, 212, 197, .12); border: 1px solid rgba(96, 212, 197, .35); }
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--aqua); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-icon--solid { background: var(--teal); border-color: var(--teal); }
.contact-icon--solid svg { stroke: var(--white); }
.contact-card:first-child .contact-icon svg { fill: var(--white); stroke: none; }
.contact-label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); margin-bottom: .5rem; }
.contact-text { color: rgba(255, 255, 255, .72); font-size: .95rem; margin-bottom: 1.5rem; }
.contact-actions { display: grid; gap: .75rem; margin-top: auto; }
.contact-actions--row { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact-actions--row .btn { flex: 1 1 auto; }

.phone-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .35s, border-color .35s, transform .5s var(--ease-out);
}
.phone-link:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.phone-number { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.phone-cta { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); white-space: nowrap; transition: color .35s; }
.phone-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.phone-link:hover .phone-cta { color: var(--white); }
.phone-link:hover .phone-cta svg { transform: translateX(3px); }

.email-address {
  display: inline-block; margin-bottom: 1.5rem;
  font-size: clamp(1.05rem, .9rem + .35vw, 1.25rem); font-weight: 700; overflow-wrap: break-word; max-width: 100%;
  border-bottom: 1px solid rgba(96, 212, 197, .5); align-self: flex-start;
  transition: color .3s, border-color .3s;
}
.email-address:hover { color: var(--aqua); border-color: var(--aqua); }
.contact-card--featured .contact-text { margin-bottom: .75rem; }
.include-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.include-list li { padding: .4rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 500; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.copy-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy-status { min-height: 1.4em; margin-top: .75rem; font-size: .85rem; font-weight: 600; color: var(--aqua); }

.contact-address { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 700; line-height: 1.35; margin-bottom: 1rem; }
.text-link { justify-self: center; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .8); border-bottom: 1px solid rgba(255, 255, 255, .3); transition: color .3s, border-color .3s; }
.text-link:hover { color: var(--aqua); border-color: var(--aqua); }
.map-card { margin-top: clamp(3rem, 6vw, 5rem); border-radius: var(--radius); overflow: hidden; height: clamp(260px, 32vw, 380px); border: 1px solid var(--line-light); box-shadow: var(--shadow-deep); background: var(--petrol-700); }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) brightness(.9); transition: filter .6s; }
.map-card:hover iframe { filter: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--petrol-900); color: rgba(244, 241, 234, .75); padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: 210px; margin-bottom: 1.5rem; }
.footer-brand p { max-width: 36ch; margin-bottom: 1.75rem; font-size: .95rem; }
.footer-col h3 { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); margin-bottom: 1.25rem; }
.footer-col ul { display: grid; gap: .7rem; font-size: .95rem; }
.footer-col a { transition: color .3s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.75rem; font-size: .82rem; color: rgba(244, 241, 234, .5); }
.footer-bottom p + p { margin-top: 0; }
.to-top { display: inline-flex; align-items: center; gap: .5rem; color: rgba(244, 241, 234, .8); font-weight: 600; }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease-out); }
.to-top:hover svg { transform: translateY(-3px); }
.footer-wordmark {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(5rem, 22vw, 20rem); line-height: .8; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(96, 212, 197, .38);
  margin-bottom: -.12em; user-select: none;
}

/* Floating call button */
.fab-call {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: var(--teal); color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(0, 126, 120, .8);
  transform: translateY(120px); transition: transform .6s var(--ease-out);
}
.fab-call svg { width: 24px; height: 24px; fill: currentColor; }
.fab-call.is-visible { transform: none; }
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--teal); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: clamp(.75rem, 3vw, 2.5rem); }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(8, 24, 31, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fadeIn .4s both; }
.lightbox-panel { position: relative; width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 1.25rem; color: var(--white); animation: panelIn .6s var(--ease-out) both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.lightbox-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.lightbox-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); margin-bottom: .3rem; }
.lightbox-head h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.8rem); line-height: 1.05; }
.lightbox-stage { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 0; }
.lightbox-stage figure { min-width: 0; }
.lightbox-stage img { width: 100%; max-height: 66vh; object-fit: contain; border-radius: var(--radius); transition: opacity .35s; }
.lightbox-stage img.is-loading { opacity: 0; }
.lightbox-stage figcaption { margin-top: .9rem; font-size: .92rem; color: rgba(255, 255, 255, .78); text-align: center; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); flex-shrink: 0; }
.lb-btn:hover { background: var(--teal); border-color: var(--teal); }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-thumbs { display: flex; justify-content: center; gap: .75rem; }
.lightbox-thumbs button { width: clamp(64px, 10vw, 110px); aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; opacity: .45; border: 2px solid transparent; transition: opacity .3s, border-color .3s; }
.lightbox-thumbs button.is-active, .lightbox-thumbs button:hover { opacity: 1; }
.lightbox-thumbs button.is-active { border-color: var(--aqua); }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Reveal on scroll (only when JS is running)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--rd, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .service-card.reveal.is-visible:hover { transform: translateY(-8px); transition-delay: 0s; }
.js .studio-media.reveal .frame, .js .area-media.reveal .frame { clip-path: inset(10% 10% 10% 10% round var(--radius)); transition: clip-path 1.6s var(--ease-out); }
.js .studio-media.reveal.is-visible .frame, .js .area-media.reveal.is-visible .frame { clip-path: inset(0 0 0 0 round var(--radius-sm)); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .header-phone { display: none; }
}

@media (max-width: 1080px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: span 2; flex-direction: row; }
  .service-card:last-child .service-media { flex: 1.1; aspect-ratio: auto; min-height: 340px; }
  .service-card:last-child .service-body { flex: 1; }
  .standard-grid { grid-template-columns: 1fr 1fr; }
  .standard-item:nth-child(2) { border-right: 0; }
  .standard-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-cards > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
  .studio-grid, .area-grid, .faq-grid { grid-template-columns: 1fr; }
  .studio-note { right: 1rem; bottom: 1rem; }
  .area-pin { left: 1rem; bottom: 1rem; }
  .faq-head { position: static; }
  .frame--tall { aspect-ratio: 4 / 3.6; }

  .process-layout { grid-template-columns: 1fr; }
  .process-media { display: none; }
  .process-steps { padding-block: 0; }
  .process-step { opacity: 1; padding-block: 2rem; }
  .step-img-mobile { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-top: 1.5rem; }

  .material-grid { grid-template-columns: 1fr; gap: 3rem; }
  .material-card:nth-child(n) { margin-top: 0; }
  .material-media { aspect-ratio: 16 / 11; }

  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 340px; }
  .bento-item--wide { grid-column: span 2; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .gallery-grid > :nth-child(n) { grid-column: span 1; }
  .gallery-grid > :nth-child(1), .gallery-grid > :nth-child(5) { grid-column: span 2; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .site-header.is-scrolled { --header-h: 64px; }
  .hero { justify-content: flex-start; }
  .hero-media img { object-position: 50% 60%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(11, 31, 40, .9) 0%, rgba(11, 31, 40, .65) 38%, rgba(11, 31, 40, .1) 62%, rgba(11, 31, 40, .7) 100%);
  }
  .hero-content { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 9rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts li:nth-child(3) { display: none; }
  .scroll-cue span:last-child { display: none; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; flex-direction: column; }
  .service-card:last-child .service-media { aspect-ratio: 4 / 3.4; min-height: 0; flex: none; }

  .standard-grid { grid-template-columns: 1fr; }
  .standard-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 2rem 0; }
  .standard-item:nth-child(-n+2) { padding-bottom: 2rem; }
  .standard-item:last-child { border-bottom: 0; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: 380px; }
  .bento-item--wide { grid-column: auto; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .gallery-grid > :nth-child(n) { grid-column: auto; }
  .concept-open { opacity: 1; transform: none; width: 44px; height: 44px; }

  .studio-note { position: relative; right: auto; bottom: auto; margin: -3rem 1rem 0; max-width: none; }
  .area-pin { position: relative; left: auto; bottom: auto; margin: -2rem 1rem 0; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-actions--row .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .fab-call { display: grid; }

  .lightbox-stage { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; background: rgba(16, 42, 53, .55); }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
}

@media (max-width: 420px) {
  .phone-link { flex-wrap: wrap; row-gap: .35rem; }
  .contact-card { padding: 1.5rem 1.25rem; }
  .email-address { font-size: .88rem; }
  .hero-title { font-size: clamp(2.9rem, 14vw, 3.5rem); }
  .brand { width: 140px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-anim { opacity: 1; }
  .hero-title .hero-anim { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .intro-statement .w { opacity: 1; }
  .marquee-track { animation: none; }
}
