/* ==========================================================================
   New Level Projects Solutions
   Design system: warm stone / black / gold  ·  premium contracting
   Light-dominant page with black slab sections. Type: DM Serif Display / DM Sans.
   ========================================================================== */

:root {
  /* Surfaces (light) */
  --bg:         #FAFAF9;
  --bg-2:       #F3F1EC;
  --card:       #FFFFFF;

  /* Blacks */
  --ink:        #0C0A09;
  --ink-2:      #1C1917;
  --ink-3:      #262220;

  /* Text on light */
  --text:       #1C1917;
  --muted:      #57534E;
  --muted-2:    #78716C;
  --on-surface: var(--ink);

  /* Lines on light */
  --line:        #E7E4DF;
  --line-strong: #D6D3D1;
  --line-soft:   var(--line);

  /* Gold */
  --gold:       #C9A14A;
  --gold-lt:    #E8CE8A;
  --gold-dk:    #9A7628;
  --gold-text:  #866520;             /* 5.1:1 on --bg — use for small gold text on light */
  --gold-grad:  linear-gradient(135deg, #E8CE8A 0%, #C9A14A 45%, #9A7628 100%);
  --accent-text: var(--gold-text);

  --white:      #FFFFFF;
  --cream:      var(--bg-2);

  /* Buttons */
  --ghost-border: rgba(12,10,9,.28);
  --ghost-text:   var(--ink);
  --ghost-hover:  rgba(12,10,9,.05);

  /* Type */
  --display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gutter: 24px;
  --radius: 0px;
  --header-h: 84px;

  /* Motion */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast:   .22s;
  --t-med:    .45s;
  --t-slow:   .8s;
}

/* Dark surface remap — any element with these classes flips the tokens */
.dark, .section--dark, .hero, .site-footer, .cta-band, .band, .mobile-menu, .drop {
  --text:        #FFFFFF;
  --muted:       #A8A29E;
  --muted-2:     #8A847E;
  --on-surface:  #FFFFFF;
  --line:        rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --line-soft:   rgba(255,255,255,.10);
  --card:        #262220;
  --accent-text: var(--gold-lt);
  --ghost-border: rgba(201,161,74,.5);
  --ghost-text:   var(--gold-lt);
  --ghost-hover:  rgba(201,161,74,.1);
  color: var(--text);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Native smooth scroll is the fallback; Lenis (when active) forces scroll-behavior:auto
   on html.lenis-smooth and drives anchors itself. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
html.lenis-stopped { overflow: hidden; }
.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7.2vw, 5.8rem); line-height: 0.98; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-family: var(--body); font-weight: 600; letter-spacing: -0.01em; }
p  { margin: 0 0 1.15em; color: var(--muted); }
p.lead { font-size: 1.2rem; color: var(--text); line-height: 1.55; font-weight: 400; }
.dark p.lead, .section--dark p.lead, .hero p.lead, .cta-band p.lead { color: #D6D3D1; }
strong { color: var(--on-surface); font-weight: 600; }
.stat__num, .band-stat__num, .hero-stat__num, .card__num, .pillar__num, .proc::before, .step::before { font-weight: 400; }

.gold { color: var(--accent-text); }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eyebrow — gold square marker, wide tracking */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 600;
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.7;
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  margin-top: .5em;
  background: var(--gold-grad);
  flex: none;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9.5vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--ink-2); }
.section--line { border-top: 1px solid var(--line); }

/* .slab / .slab--top-only kept as hooks; dark sections now sit on straight edges */
.slab, .slab--top-only { z-index: 1; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--rev > *:first-child { order: 2; }

.measure { max-width: 60ch; }
.center { text-align: center; }
.section-head { max-width: 64ch; margin-bottom: clamp(40px, 4.5vw, 68px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { max-width: 22ch; }
.section-head.center h2 { margin-left: auto; margin-right: auto; }

/* ---------- Gold rule ---------- */
.rule {
  width: 56px; height: 2px;
  background: var(--gold-grad);
  margin: 0 0 1.6rem;
  border: 0;
}
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
              background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.btn--gold {
  background: var(--gold-grad);
  color: #0B0B0B;
  box-shadow: 0 10px 30px -14px rgba(154,118,40,.7);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(154,118,40,.8); }
.btn--ghost {
  border-color: var(--ghost-border);
  color: var(--ghost-text);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); background: var(--ghost-hover); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--bg-2); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row { justify-content: center; }

/* Arrow link */
.arrow-link {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
}
.arrow-link::after { content: '\2192'; transition: transform var(--t-med) var(--ease); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(250,250,249,0);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
              height var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  --nav-text: #EDEAE4;
  --nav-phone: #FFFFFF;
  color: #fff;
  view-transition-name: site-header;
}
.site-header.is-stuck {
  background: rgba(250,250,249,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-strong);
  height: 70px;
  box-shadow: 0 10px 30px -22px rgba(12,10,9,.35);
  --nav-text: #44403C;
  --nav-phone: var(--ink);
  color: var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-size: 1.42rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600;
}
.brand__sub {
  font-size: 0.52rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--nav-text, var(--muted));
  margin-top: 5px;
  white-space: nowrap;
  transition: color var(--t-med);
}
.site-footer .brand__sub { color: var(--muted); }

/* Nav */
.nav { display: flex; align-items: center; gap: 24px; }
.nav a.nav-link {
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; color: var(--nav-text); transition: color var(--t-fast);
  position: relative; padding: 6px 0; white-space: nowrap;
}
.nav a.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { color: var(--gold); }

.has-drop { position: relative; }
.drop-toggle {
  background: none; border: 0; color: var(--nav-text); padding: 6px 0;
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px; transition: color var(--t-fast);
  white-space: nowrap;
}
.drop-toggle:hover, .has-drop.open .drop-toggle { color: var(--gold); }
.drop-toggle svg { transition: transform var(--t-med) var(--ease); }
.has-drop.open .drop-toggle svg { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translate(-50%, 8px);
  background: #141210; border: 1px solid rgba(201,161,74,.22);
  padding: 14px; min-width: 260px; border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.drop--wide { min-width: 460px; columns: 2; column-gap: 8px; }
.has-drop.open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.drop a {
  display: block; padding: 9px 12px; font-size: 0.85rem; color: #C6C2BA;
  border-radius: var(--radius); transition: background-color var(--t-fast), color var(--t-fast); break-inside: avoid;
}
.drop a:hover { background: rgba(201,161,74,.1); color: var(--gold-lt); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; color: var(--nav-phone);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: color var(--t-fast);
}
.header-phone:hover { color: var(--gold); }
.header-cta .btn { padding: 13px 24px; }

.burger {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 6px; padding: 0;
}
.burger span { display: block; height: 1.5px; width: 26px; background: var(--gold); transition: transform var(--t-med) var(--ease), opacity var(--t-fast); }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 890;
  background: var(--ink); padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  overflow-y: auto; transform: translateX(100%); transition: transform var(--t-med) var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.mobile-menu details > summary {
  padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; color: var(--white);
}
.mobile-menu details > summary::-webkit-details-marker { display: none; }
.mobile-menu details > summary::after { content: '+'; color: var(--gold); font-size: 1.3rem; }
.mobile-menu details[open] > summary::after { content: '\2013'; }
.mobile-menu details a { padding-left: 16px; font-size: 0.92rem; color: var(--muted); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 104px;
  overflow: hidden;
  background: var(--ink);
}
.hero--inner { min-height: 66svh; align-items: flex-end; padding-bottom: 88px; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12,10,9,.96) 0%, rgba(12,10,9,.62) 48%, rgba(12,10,9,.42) 100%),
    linear-gradient(to right, rgba(12,10,9,.55), transparent 60%);
}
.hero__content { position: relative; z-index: 2; width: 100%; }
.hero h1 { margin-bottom: 0.4em; max-width: 18ch; }
.hero h1 .line { display: block; }
.hero p.lead { max-width: 54ch; }
.hero .eyebrow { color: var(--gold-lt); }

/* Hero entrance choreography */
.hero__content > .reveal:nth-child(1) { transition-delay: .05s; }
.hero__content > .reveal:nth-child(2) { transition-delay: .18s; }
.hero__content > .reveal:nth-child(3) { transition-delay: .32s; }
.hero__content > .reveal:nth-child(4) { transition-delay: .44s; }
.hero__content > .reveal:nth-child(5) { transition-delay: .56s; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px);
  margin-top: 46px; padding-top: 32px; border-top: 1px solid var(--line);
}
.hero-stat__num { font-family: var(--display); font-size: 2.1rem; color: var(--gold); line-height: 1; }
.hero-stat__label {
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-top: 9px;
}

/* Pinned, scroll-staged hero (home) */
.hero-pin { position: relative; height: 260svh; }
.hero-pin .hero { position: sticky; top: 0; height: 100svh; min-height: 0; }
.hero__stage {
  opacity: 0; transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  will-change: opacity, transform;
}
.hero.stage-2 .hero__lead { opacity: 1; transform: none; }
.hero.stage-3 .hero__cta  { opacity: 1; transform: none; }
.hero.stage-2 .scroll-cue { opacity: 0; }
.hero .scroll-cue { transition: opacity .5s var(--ease); }

/* Scroll cue */
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 3;
  font-size: 0.6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after {
  content: ''; width: 1px; height: 44px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Inline stats ---------- */
.stats-inline {
  display: grid; grid-template-columns: repeat(3, auto); gap: clamp(28px, 4vw, 56px);
  justify-content: start; margin: 34px 0 36px; padding-top: 30px; border-top: 1px solid var(--line);
}
.stat__num { font-family: var(--display); font-size: clamp(2.2rem, 3.6vw, 3rem); color: var(--on-surface); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .5em; color: var(--gold-dk); vertical-align: top; margin-left: 2px; }
.stat__label { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; line-height: 1.5; }

/* ---------- Media placeholder ---------- */
.ph {
  position: relative; width: 100%; background: var(--bg-2);
  border: 1px solid var(--line-strong); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(45deg, rgba(12,10,9,.035) 0 12px, transparent 12px 24px);
}
.dark .ph, .section--dark .ph, .hero .ph { background-color: var(--ink-3); border-color: rgba(201,161,74,.2); background-image: repeating-linear-gradient(45deg, rgba(201,161,74,.05) 0 12px, transparent 12px 24px); }
.ph::before {
  content: attr(data-label);
  font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-text); text-align: center; padding: 20px; line-height: 1.9;
  font-weight: 700; opacity: .8;
}
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3  { aspect-ratio: 4 / 3; }
.ph--1x1  { aspect-ratio: 1 / 1; }
.ph--3x4  { aspect-ratio: 3 / 4; }
.ph--tall { aspect-ratio: 3 / 4.4; }
.ph--hero { position: absolute; inset: 0; border: 0; aspect-ratio: auto; align-items: flex-end; justify-content: flex-end; }
.ph--hero::before {
  color: rgba(201,161,74,.35); font-size: 0.56rem; padding: 26px 30px;
  text-align: right; max-width: 34ch;
}

/* Photo frame with gold offset — for the Who We Are portrait */
.frame { position: relative; }
.frame::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid rgba(201,161,74,.55); z-index: 0; pointer-events: none;
}
.frame > * { position: relative; z-index: 1; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; background: var(--bg-2); position: relative; z-index: 2;
}
.marquee__track { display: flex; gap: 48px; width: max-content; animation: slide 46s linear infinite; }
.marquee__item {
  font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px;
}
.marquee__item::after { content: '\221E'; color: var(--gold-dk); font-size: 1rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line-strong);
  padding: 36px 30px; border-radius: var(--radius);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.dark .card, .section--dark .card { border-color: var(--line-strong); }
.card::after {
  content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--gold-grad); transition: width .55s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(12,10,9,.35); border-color: rgba(201,161,74,.5); }
.card:hover::after { width: 100%; }
.card h3 { margin-bottom: 0.5em; font-size: 1.22rem; }
.card p { font-size: 0.95rem; margin-bottom: 1.2em; }
.card__link {
  margin-top: auto; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
}
.card__link::after { content: '\2192'; transition: transform var(--t-med) var(--ease); }
.card:hover .card__link::after { transform: translateX(5px); }
.card__num {
  font-family: var(--display); font-size: 2.2rem; color: var(--gold-dk); opacity: .5;
  line-height: 1; margin-bottom: 14px;
}
.card__icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--gold-dk); }
.dark .card__icon, .section--dark .card__icon { color: var(--gold); }
.card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Service card with image */
.svc-card { padding: 0; }
.svc-card .ph { border: 0; border-bottom: 1px solid var(--line); }
.svc-card__body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }

/* Service icon card (home) */
.svc-icon { padding: 38px 30px 34px; }
.svc-icon h3 { font-family: var(--body); font-weight: 600; font-size: 0.88rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }
.svc-icon p { font-size: .93rem; }

/* Secondary service links row */
.more-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.more-links__label { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.more-links a { font-size: .86rem; color: var(--muted); transition: color var(--t-fast); position: relative; }
.more-links a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.more-links a:hover { color: var(--on-surface); }
.more-links a:hover::after { transform: scaleX(1); }

/* ---------- Checklist ---------- */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 26px 0; }
.checks li { position: relative; padding-left: 26px; font-size: 0.93rem; color: var(--text); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 11px; height: 6px; border-left: 1.5px solid var(--gold-dk); border-bottom: 1.5px solid var(--gold-dk);
  transform: rotate(-45deg);
}
.checks--1 { grid-template-columns: 1fr; }

/* Pill list */
.pills { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.pill {
  font-size: 0.76rem; padding: 7px 15px; border: 1px solid var(--line-strong);
  border-radius: 100px; color: var(--muted); transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}
a.pill:hover { border-color: var(--gold); color: var(--on-surface); background: rgba(201,161,74,.08); }

/* ---------- Pillars (2x2 on dark slab) ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3.5vw, 48px) clamp(28px, 4vw, 56px); }
.pillar { padding-top: 22px; border-top: 1px solid var(--line-strong); position: relative; }
.pillar::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 36px; height: 1px; background: var(--gold);
  transition: width var(--t-slow) var(--ease);
}
.pillar:hover::before { width: 100%; }
.pillar__num { font-family: var(--display); font-size: .95rem; color: var(--gold); letter-spacing: .06em; margin-bottom: 14px; }
.pillar h4 { font-family: var(--display); font-size: 1.38rem; font-weight: 400; margin-bottom: .45em; }
.pillar p { font-size: .93rem; margin: 0; }

/* ---------- Process ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 0 30px 78px; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; left: 0; top: 30px;
  font-family: var(--display); font-size: 1.5rem;
  color: var(--gold-dk);
}
.step h4 { margin-bottom: 0.4em; font-size: 1.2rem; font-family: var(--display); font-weight: 400; }
.step p { margin: 0; font-size: 0.95rem; }

/* Horizontal numbered process (home) */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line-strong); counter-reset: proc; }
.proc { padding: 34px 28px 30px 0; border-right: 1px solid var(--line); position: relative; }
.proc + .proc { padding-left: 28px; }
.proc:last-child { border-right: 0; }
.proc::before {
  counter-increment: proc; content: '0' counter(proc);
  font-family: var(--display); font-size: clamp(2.2rem, 3vw, 2.8rem); color: var(--gold-dk); opacity: .55;
  line-height: 1; display: block; margin-bottom: 22px;
}
.proc::after {
  content: ''; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--gold-grad);
  transition: width .6s var(--ease);
}
.proc:hover::after { width: 100%; }
.proc h4 { font-family: var(--display); font-size: 1.2rem; font-weight: 400; margin-bottom: .5em; line-height: 1.2; }
.proc p { font-size: .9rem; margin: 0; }

/* ---------- Stats band ---------- */
.band {
  background: var(--ink-2);
  position: relative; z-index: 1;
}
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 64px; padding-bottom: 64px; }
.band-stat { text-align: center; }
.band-stat__num { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold-lt); line-height: 1; }
.band-stat__label { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ---------- Project cards ---------- */
.proj { display: flex; flex-direction: column; }
.proj .ph { border-color: var(--line-strong); transition: transform var(--t-slow) var(--ease); }
.proj__media { overflow: hidden; }
.proj:hover .ph { transform: scale(1.03); }
.proj__tag { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; margin: 22px 0 10px; }
.proj h3 { font-size: 1.32rem; margin-bottom: .4em; }
.proj p { font-size: .93rem; margin-bottom: 1.1em; }
.proj .arrow-link { margin-top: auto; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--card); border: 1px solid var(--line-strong); padding: 36px 32px;
  border-radius: var(--radius); display: flex; flex-direction: column; position: relative;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(12,10,9,.3); }
.quote::before { content: '\201C'; position: absolute; top: 14px; right: 26px; font-family: var(--display); font-size: 4.5rem; line-height: 1; color: var(--gold); opacity: .35; }
.quote__stars { color: var(--gold-dk); letter-spacing: 3px; margin-bottom: 16px; font-size: 0.85rem; }
.quote p { font-size: 1rem; color: var(--text); font-style: italic; line-height: 1.65; }
.quote__by { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.quote__name { font-weight: 600; color: var(--on-surface); font-size: 0.92rem; }
.quote__meta { font-size: 0.74rem; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0;
  font-family: var(--display); font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--on-surface); position: relative; transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-dk); }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 13px; height: 13px;
  border-right: 1.5px solid var(--gold-dk); border-bottom: 1.5px solid var(--gold-dk);
  transform: translateY(-70%) rotate(45deg); transition: transform var(--t-med) var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq details[open] summary { color: var(--gold-dk); }
.faq__a { padding: 0 60px 28px 0; }
.faq__a p { margin-bottom: .8em; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a { animation: faqIn var(--t-med) var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Forms ---------- */
/* .form-card is always a light island, even on a dark slab */
.form-card {
  --text: #1C1917; --muted: #57534E; --muted-2: #78716C; --on-surface: #0C0A09;
  --line: #E7E4DF; --line-strong: #D6D3D1; --card: #FFFFFF; --bg: #FAFAF9; --accent-text: #866520;
  color: var(--text);
  background: var(--card); border: 1px solid var(--line-strong);
  padding: clamp(28px, 4vw, 46px); border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgba(12,10,9,.25);
}
.form-card h3 { font-size: 1.5rem; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px; font-weight: 700;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong);
  color: var(--text); padding: 14px 16px; font-family: var(--body); font-size: 0.97rem;
  border-radius: var(--radius); transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field input::placeholder, .field textarea::placeholder { color: #A8A29E; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-dk); background: var(--white); box-shadow: 0 0 0 3px rgba(201,161,74,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A7628' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.8rem; color: var(--muted-2); margin-top: 16px; }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; background: var(--ink); overflow: hidden;
  z-index: 1;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(201,161,74,.16), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 0.72rem; color: var(--muted); letter-spacing: .06em; margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; color: rgba(201,161,74,.6); }

/* ---------- Area / link grid ---------- */
.link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.link-grid a {
  background: var(--card); padding: 20px 22px; transition: background-color var(--t-fast), color var(--t-fast);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 0.92rem; color: var(--text);
}
.link-grid a::after { content: '\2192'; color: var(--gold-dk); opacity: .6; transition: transform var(--t-med) var(--ease), opacity var(--t-fast); }
.link-grid a:hover { background: var(--bg-2); color: var(--on-surface); }
.link-grid a:hover::after { transform: translateX(4px); opacity: 1; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .ph { transition: transform var(--t-slow) var(--ease); }
.gallery .ph:hover { transform: scale(1.015); }
.gallery__item--wide { grid-column: span 2; }

/* ---------- Prose block ---------- */
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.3em; }
.prose ul li { position: relative; padding-left: 24px; margin-bottom: 9px; color: var(--muted); font-size: 0.97rem; }
.prose ul li::before {
  content: ''; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px;
  background: var(--gold-grad); transform: rotate(45deg);
}

/* ---------- Aside / sticky quote ---------- */
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 84px 0 0; position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(201,161,74,.5), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.site-footer h4 {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 700;
}
.site-footer li { margin-bottom: 11px; }
.site-footer a { font-size: 0.9rem; color: var(--muted); transition: color var(--t-fast); }
.site-footer a:hover { color: var(--gold-lt); }
.site-footer p { font-size: 0.9rem; }
.footer-bottom {
  margin-top: 60px; padding: 24px 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 0.76rem; color: var(--muted-2);
}
.footer-areas { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.footer-areas .pills { margin: 0; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; color: var(--muted); transition: border-color var(--t-fast), color var(--t-fast);
}
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 17px; height: 17px; }

/* ---------- Mobile call bar ---------- */
.callbar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 880;
  background: rgba(12,10,9,.96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,161,74,.3); padding: 10px 12px;
  grid-template-columns: 1fr 1fr; gap: 10px;
  --ghost-border: rgba(201,161,74,.5); --ghost-text: var(--gold-lt); --ghost-hover: rgba(201,161,74,.1);
}
.callbar .btn { width: 100%; justify-content: center; padding: 13px 10px; font-size: 0.7rem; }

/* ---------- Real media ---------- */
.media { display: block; width: 100%; height: auto; object-fit: cover; background: var(--bg-2); }
.media--4x3 { aspect-ratio: 4 / 3; } .media--16x9 { aspect-ratio: 16 / 9; } .media--tall { aspect-ratio: 3 / 4.4; }
.media--1x1 { aspect-ratio: 1 / 1; } .media--3x4 { aspect-ratio: 3 / 4; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.hero__media .hero__img { transform: scale(1.06); animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { to { transform: none; } }
.svc-card .media { border-bottom: 1px solid var(--line); }
.frame .media { position: relative; z-index: 1; }
.proj__media .media { transition: transform var(--t-slow) var(--ease); }
.proj:hover .proj__media .media { transform: scale(1.03); }
.gallery .media { transition: transform var(--t-slow) var(--ease); border: 1px solid var(--line); }
.gallery .media:hover { transform: scale(1.015); }
.gallery .media--16x9.gallery__item--wide { aspect-ratio: 4 / 3; }

/* Phone-framed vertical reel */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); justify-items: center; }
.reel { margin: 0; width: 100%; max-width: 340px; }
.reel__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden;
  background: var(--ink); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(12,10,9,.45), inset 0 0 0 6px var(--ink);
}
.reel__video { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: cover; border-radius: 22px; background: var(--ink); }
.reel__cap { margin-top: 14px; text-align: center; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }

/* Project case studies */
.case__head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.case__head .checks { margin-bottom: 0; }
.case__body { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.case__reel { position: sticky; top: calc(var(--header-h) + 24px); }
.case-nav { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 70px; z-index: 50; }
.case-nav .wrap { display: flex; gap: 28px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; }
.case-nav a { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color var(--t-fast); }
.case-nav a:hover { color: var(--gold-dk); }
.case { scroll-margin-top: 120px; }

/* ---------- Project filter ---------- */
/* .proj sets display:flex, which outranks the UA stylesheet's [hidden] rule,
   so hiding a card needs an author rule of its own. */
.proj[hidden], .proj-grid .proj[hidden] { display: none !important; }


.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.filter-chip {
  font: inherit; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 11px 20px; border: 1px solid var(--line); background: transparent;
  color: var(--ink-2); border-radius: 999px;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}
.filter-chip:hover { border-color: var(--gold); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-chip__n {
  font-size: .72rem; opacity: .62; letter-spacing: .04em;
}
.filter-chip.is-active .filter-chip__n { opacity: .75; }
.filter-status {
  font-size: .85rem; color: var(--ink-2); margin: -20px 0 24px; min-height: 1.2em;
}
.filter-empty { color: var(--ink-2); padding: 40px 0; }

/* ---------- Project detail ---------- */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px; margin: 0; padding: 30px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact dt {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.fact dd { margin: 0; font-size: 1.02rem; color: var(--ink); }

.proj-nav { padding-top: 0; }
.pn { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
      border-top: 1px solid var(--line); padding-top: 34px; }
.pn__link { display: block; max-width: 46%; text-decoration: none; }
.pn__link span {
  display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 7px;
}
.pn__link strong {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: 1.22rem; color: var(--ink); line-height: 1.3;
  transition: color var(--t-med) var(--ease);
}
.pn__link:hover strong { color: var(--gold); }
.pn__link--next { text-align: right; margin-left: auto; }

@media (max-width: 720px) {
  .pn__link { max-width: 100%; }
  .pn__link--next { text-align: left; margin-left: 0; }
  .facts { gap: 20px; }
}

/* ---------- Map embed ---------- */
.map-embed {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 720px) { .map-embed { aspect-ratio: 4 / 3; } }

/* ---------- Instagram grid ---------- */
.ig { position: relative; }
.ig__grid, .ig__skeleton {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px);
  margin: 0; padding: 0; list-style: none;
}
.ig__item { position: relative; overflow: hidden; background: var(--bg-2); }
.ig__item a { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.ig__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--t-slow) var(--ease), filter var(--t-med) var(--ease);
}
.ig__item a::after {
  content: ''; position: absolute; inset: 0; background: rgba(12,10,9,.34);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.ig__item a:hover img, .ig__item a:focus-visible img { transform: scale(1.06); }
.ig__item a:hover::after, .ig__item a:focus-visible::after { opacity: 1; }

.ig__badge { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; z-index: 2;
  background-repeat: no-repeat; background-size: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.ig__badge--video { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 3.5v17l14-8.5z'/%3E%3C/svg%3E"); }
.ig__badge--album { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Crect x='8' y='3' width='13' height='13' rx='2'/%3E%3Cpath d='M16 19.5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }

.ig__skeleton > div {
  aspect-ratio: 1 / 1; background: var(--bg-2);
  background-image: linear-gradient(100deg, transparent 20%, rgba(201,161,74,.12) 45%, transparent 70%);
  background-size: 220% 100%; animation: igShim 1.5s linear infinite;
}
@keyframes igShim { to { background-position: -220% 0; } }

@media (prefers-reduced-motion: reduce) {
  .ig__skeleton > div { animation: none; }
}

/* ---------- Area map (service areas page) ---------- */
.areamap { position: relative; margin-top: 8px; }
.am { width: 100%; height: auto; display: block; overflow: visible;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 100%), linear-gradient(to left, transparent, #000 10%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 100%), linear-gradient(to left, transparent, #000 10%); mask-composite: intersect; }
.am__dots circle { fill: var(--gold); }
.am__col { opacity: 0; transform: translateY(6px); }
.areamap.in .am__col { animation: amCol .9s var(--ease) forwards; animation-delay: calc(var(--i) * 14ms); }
@keyframes amCol { to { opacity: 1; transform: none; } }
.am__water { fill: none; stroke: var(--ink-2); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.am__hubglow { opacity: 0; }
.areamap.in .am__hubglow { animation: amFade 1.2s var(--ease) 1.1s forwards; }
@keyframes amFade { to { opacity: 1; } }

.am__arc { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-opacity: .55;
  stroke-dasharray: 1; stroke-dashoffset: 1; pathLength: 1; }
.areamap.in .am__arc { animation: amDraw 1.1s var(--ease-io) forwards; animation-delay: calc(1.2s + var(--i) * 90ms); }
@keyframes amDraw { to { stroke-dashoffset: 0; } }

.am__pin { cursor: pointer; opacity: 0; transform-box: fill-box; transform-origin: center; }
.areamap.in .am__pin { animation: amPop .6s var(--ease) forwards; animation-delay: calc(1.5s + var(--i) * 90ms); }
@keyframes amPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.am__ring { fill: var(--ink-2); stroke: var(--gold); stroke-width: 1.2; stroke-opacity: .55; transition: stroke-opacity var(--t-fast), r var(--t-med) var(--ease), fill var(--t-fast); }
.am__dot { fill: var(--gold); transition: r var(--t-med) var(--ease); }
.am__label { fill: #E7E4DF; font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: .02em;
  paint-order: stroke; stroke: var(--ink-2); stroke-width: 5px; stroke-linejoin: round; transition: fill var(--t-fast); pointer-events: none; }
.am__pin:hover .am__ring, .am__pin:focus-visible .am__ring { stroke-opacity: 1; r: 20; fill: rgba(201,161,74,.12); }
.am__pin:hover .am__dot, .am__pin:focus-visible .am__dot { r: 6.5; }
.am__pin:hover .am__label, .am__pin:focus-visible .am__label { fill: var(--gold-lt); }
.am__pin:focus-visible { outline: none; }
.am__pin--hub .am__ring { stroke-opacity: 1; stroke-width: 1.6; }
.am__pin--hub .am__dot { fill: var(--gold-lt); }
.am__pin--hub .am__label { fill: var(--gold-lt); font-weight: 600; }
.am__pin--hub::before { content: ''; }
.am__pulse { fill: none; stroke: var(--gold); stroke-width: 1.2; }

.am__callout {
  position: absolute; right: 0; top: 0; max-width: 30ch;
  padding: 18px 22px; border: 1px dashed rgba(201,161,74,.6);
  font-size: .9rem; line-height: 1.5; color: var(--muted); background: rgba(28,25,23,.85);
  backdrop-filter: blur(4px);
}
.am__callout strong { display: block; color: var(--gold-lt); font-size: 1.05rem; margin-bottom: 4px; }
.areamap-section .section-head { margin-bottom: 8px; }

/* ==========================================================================
   MOTION
   ========================================================================== */

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; will-change: auto; }

/* Stagger siblings inside grids and rows */
.grid > .reveal:nth-child(2), .process > .reveal:nth-child(2), .pillars > .reveal:nth-child(2), .gallery > .reveal:nth-child(2), .stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3), .process > .reveal:nth-child(3), .pillars > .reveal:nth-child(3), .gallery > .reveal:nth-child(3), .stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4), .process > .reveal:nth-child(4), .pillars > .reveal:nth-child(4), .gallery > .reveal:nth-child(4), .stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.grid > .reveal:nth-child(5), .process > .reveal:nth-child(5), .stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.grid > .reveal:nth-child(6), .stagger > .reveal:nth-child(6) { transition-delay: .40s; }
.grid > .reveal:nth-child(7), .stagger > .reveal:nth-child(7) { transition-delay: .48s; }
.grid > .reveal:nth-child(8), .stagger > .reveal:nth-child(8) { transition-delay: .56s; }

/* Cross-document page transitions (View Transitions API, progressive) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .18s var(--ease-io) both; }
::view-transition-new(root) { animation: vtIn .34s var(--ease) both; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn  { from { opacity: 0; transform: translateY(10px); } }

/* JS fallback for browsers without view transitions */
main { transition: opacity .2s var(--ease-io), transform .2s var(--ease-io); }
body.is-leaving main { opacity: 0; transform: translateY(-8px); }
body.is-entering main { opacity: 0; transform: translateY(10px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  body.is-leaving main, body.is-entering main { opacity: 1; transform: none; }
  .scroll-cue::after { animation: none; transform: none; }
  .hero-pin { height: auto; }
  .hero-pin .hero { position: relative; height: auto; min-height: 100svh; }
  .hero__stage { opacity: 1; transform: none; }
  .am__col, .am__pin, .am__hubglow { opacity: 1; transform: none; animation: none !important; }
  .am__arc { stroke-dashoffset: 0; animation: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .process { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .proc { border-top: 1px solid var(--line-strong); padding-right: 24px; }
  .proc:nth-child(3n) { border-right: 0; }
  .proc:nth-child(3n+1) { padding-left: 0; }
  .proc + .proc:not(:nth-child(3n+1)) { padding-left: 24px; }
}

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .link-grid { grid-template-columns: repeat(3, 1fr); }
  .band .wrap { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 1140px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--rev > *:first-child { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .sticky-aside { position: static; }
  .frame::before { inset: 14px -14px -14px 14px; }
  .scroll-cue { display: none; }
  .reels { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .case__body { grid-template-columns: 1fr 280px; }
  .am__label { font-size: 18px; }
  .am__callout { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; --header-h: 70px; }
  .brand__name { font-size: 1.14rem; }
  .brand__sub { font-size: 0.46rem; letter-spacing: 0.3em; }
  .header-cta { gap: 6px; }
  .header-phone { width: 44px; height: 44px; justify-content: center; }
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-phone svg { width: 19px; height: 19px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { min-height: 92svh; padding-bottom: 80px; }
  .hero-pin { height: 220svh; }
  .hero--inner { min-height: 60svh; }
  .step { padding-left: 58px; }
  .callbar { display: grid; }
  body { padding-bottom: 68px; }
  .faq summary { padding-right: 36px; font-size: 1.02rem; }
  .faq__a { padding-right: 10px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  .pillars { grid-template-columns: 1fr; }
  .reels { grid-template-columns: 1fr; }
  .ig__grid, .ig__skeleton { grid-template-columns: repeat(2, 1fr); }
  .case__body { grid-template-columns: 1fr; }
  .case__reel { position: static; }
  .am__label { display: none; }
  .am__pins { pointer-events: none; }
  .am__callout { position: static; max-width: none; margin-top: 18px; }
  .am__ring { r: 20; }
  .process { grid-template-columns: 1fr; }
  .proc, .proc + .proc { padding-left: 0; padding-right: 0; border-right: 0; }
  .stats-inline { grid-template-columns: repeat(3, auto); gap: 22px; }
  .stat__num { font-size: 2rem; }
  .frame::before { display: none; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: 1fr; }
  .stats-inline { grid-template-columns: 1fr 1fr; }
}
