/* ============================================================
   Emerald City Model & Talent — editorial design system
   Pacific Northwest editorial: deep forest, ivory, gold, charcoal.
   Hand-built, no framework, mobile-first.
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand */
  --emerald:        #0b3a2a;   /* deep emerald — primary brand surface */
  --emerald-deep:   #0a1f17;   /* near-black emerald — dark sections */
  --emerald-soft:   #14533c;   /* hover/lift */
  --moss:           #4a6a4f;   /* secondary nature accent */
  --ember:          #b65d3a;   /* warm copper accent */
  --copper:         #c6a972;   /* gold/copper — editorial accent */
  --copper-light:   #d8c195;

  /* Surface */
  --ivory:          #faf6ee;   /* page background — warm cream, not white */
  --ivory-card:     #fff;
  --bone:           #f0eadb;   /* muted ivory */
  --line:           rgba(11,58,42,0.12);
  --line-strong:    rgba(11,58,42,0.22);

  /* Ink */
  --ink:            #0d1814;   /* near-black, slight green undertone */
  --ink-soft:       #1f2a25;
  --ink-mute:       #4a5a52;
  --ink-faint:      #768577;

  /* On-dark */
  --on-dark:        #ece6d5;
  --on-dark-mute:   #a3b2a8;
  --on-dark-faint:  #6e7f74;

  /* Typography */
  --font-display:   'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container:      1240px;
  --container-narrow: 880px;
  --gutter:         clamp(20px, 4vw, 48px);
  --radius:         4px;
  --radius-lg:      14px;

  /* Motion */
  --ease:           cubic-bezier(0.2, 0.6, 0.2, 1);
  --t-fast:         150ms;
  --t-base:         240ms;
  --t-slow:         440ms;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover, a:focus-visible { color: var(--emerald); }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; }

/* a11y */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  background: var(--emerald); color: var(--ivory); padding: 12px 18px;
  border-radius: 4px; font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--ivory); }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 8vw, 128px);
}
.section-light { background: var(--ivory); color: var(--ink); }
.section-dark { background: var(--emerald-deep); color: var(--on-dark); }

/* ---------- TYPOGRAPHY ---------- */
.display, .h-display, .h-headline {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0;
}
.display {
  font-size: clamp(40px, 6.5vw, 84px);
  font-variation-settings: "opsz" 96, "SOFT" 30;
}
.h-display {
  font-size: clamp(32px, 4.4vw, 56px);
  font-variation-settings: "opsz" 72;
}
.h-headline {
  font-size: clamp(22px, 2.4vw, 30px);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
}
.display em, .h-display em {
  font-style: italic;
  font-weight: 300;
  color: var(--emerald);
}
.invert, .invert em { color: var(--on-dark); }
.invert em { color: var(--copper); }

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 24px 0 0;
}
.lead-light { color: var(--on-dark-mute); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-light { color: var(--on-dark-mute); }
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(198,169,114,0.18);
}
.eyebrow-dot-light { background: var(--copper); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary {
  background: var(--emerald);
  color: var(--ivory);
  border-color: var(--emerald);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--emerald-soft);
  border-color: var(--emerald-soft);
  color: var(--ivory);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -16px rgba(11,58,42,0.6);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--emerald);
  color: var(--emerald);
}
.btn-outline {
  background: transparent;
  border-color: rgba(236,230,213,0.4);
  color: var(--on-dark);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--copper);
  color: var(--copper);
}
.btn-on-dark {
  background: transparent;
  border-color: rgba(236,230,213,0.55);
  color: var(--on-dark);
}
.btn-on-dark:hover, .btn-on-dark:focus-visible {
  background: var(--on-dark);
  color: var(--emerald-deep);
  border-color: var(--on-dark);
}
.btn-block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--emerald);
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: gap var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.link-arrow:hover, .link-arrow:focus-visible {
  gap: 10px;
  border-bottom-color: var(--copper);
  color: var(--emerald);
}
.section-dark .link-arrow { color: var(--copper); }
.section-dark .link-arrow:hover { color: var(--copper-light); border-bottom-color: var(--copper); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.cta-row-center { justify-content: center; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250,246,238,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-base) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0,0,0,0.25); }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--emerald);
}
.brand:hover { color: var(--emerald-soft); }
.brand-mark { color: var(--emerald); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--emerald);
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}
.primary-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  padding: 8px 2px;
  position: relative;
}
.primary-nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--emerald);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--emerald); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.nav-cta:hover { background: var(--emerald); color: var(--ivory); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 46px; height: 46px;
  border-radius: 50%;
  position: relative;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  position: absolute; left: 50%;
  transform: translateX(-50%);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease), top var(--t-base) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; width: 12px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* Drawer chrome — hidden on desktop, shown on mobile via media query */
.nav-drawer-head,
.nav-drawer-foot,
.nav-backdrop,
.nav-close,
.nav-arrow { display: none; }
.nav-phone { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 9vw, 132px) clamp(40px, 5vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(198,169,114,0.12), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(11,58,42,0.08), transparent 60%),
    var(--ivory);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0 0.04  0 0 0 0.06 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; gap: 6px; }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: var(--emerald);
  line-height: 1;
}
.hero-stats dt .sub { font-size: 0.45em; color: var(--ink-mute); }
.hero-stats dd { margin: 0; font-size: 13px; color: var(--ink-mute); line-height: 1.4; }

.hero-card {
  position: relative;
}
.hero-card-frame {
  background: var(--emerald-deep);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 30px 60px -30px rgba(11,58,42,0.45);
  transform: rotate(0.4deg);
  transition: transform var(--t-slow) var(--ease);
}
.hero-card-frame:hover { transform: rotate(0) translateY(-4px); }
.hero-card-figure {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 22px;
  aspect-ratio: 4/5;
}
.hero-card-figure svg { width: 100%; height: 100%; display: block; }
.hero-card-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}
.hero-card-meta h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--on-dark);
  margin: 0 0 8px;
  line-height: 1.1;
}
.hero-card-meta p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--on-dark-mute);
  line-height: 1.5;
}

.hero-ticker {
  margin-top: clamp(48px, 5vw, 80px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  color: var(--ink-mute);
  animation: tick 32s linear infinite;
}
.ticker-track span { display: inline-block; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding-block: clamp(64px, 8vw, 120px) clamp(40px, 5vw, 80px);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(198,169,114,0.1), transparent 50%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
}
.page-hero-dark {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(198,169,114,0.18), transparent 50%),
    var(--emerald-deep);
  color: var(--on-dark);
  border-bottom: none;
}
.page-hero-dark .display { color: var(--on-dark); }
.page-hero-dark .display em { color: var(--copper); }
.page-hero-split .page-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.division-tagline {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--card-accent, var(--emerald));
  border-radius: 4px;
  background: var(--bone);
}
.division-hero-art {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11,58,42,0.45);
}
.about-mark {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11,58,42,0.45);
}

/* ---------- SECTION HEAD ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-row {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: clamp(32px, 4vw, 56px);
  max-width: none;
  flex-wrap: wrap;
}
.section-sub {
  margin: 18px 0 0;
  font-size: 16px;
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 56ch;
}
.section-foot { margin-top: 48px; display: flex; justify-content: center; }

/* ---------- DIVISIONS GRID ---------- */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.divisions-grid-wide {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.division-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--ivory-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.division-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -28px rgba(11,58,42,0.35);
  border-color: var(--card-accent, var(--emerald));
}
.division-card:focus-visible { box-shadow: 0 30px 50px -28px rgba(11,58,42,0.35); }
.division-art {
  position: relative;
  aspect-ratio: 5/6;
  overflow: hidden;
}
.division-art svg { width: 100%; height: 100%; }
.division-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(10,31,23,0.65);
  color: var(--copper);
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.division-body { padding: 24px 22px 26px; }
.division-body h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink);
}
.division-body p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* ---------- CAPABILITIES GRID ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
}
.cap-card {
  padding: 32px 26px;
  border: 1px solid rgba(236,230,213,0.16);
  border-radius: var(--radius-lg);
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  background: rgba(255,255,255,0.02);
}
.cap-card:hover {
  background: rgba(198,169,114,0.06);
  border-color: rgba(198,169,114,0.4);
  transform: translateY(-3px);
}
.cap-icon {
  width: 28px; height: 28px;
  color: var(--copper);
  margin-bottom: 18px;
}
.cap-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--on-dark);
}
.cap-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--on-dark-mute);
}

/* ---------- EDITORIAL SPREAD ---------- */
.spread-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.spread-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 22px 0 0;
  max-width: 56ch;
}
.spread-copy .btn { margin-top: 32px; }
.spread-art {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 60px);
  gap: 0;
}
.spread-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 50px -28px rgba(11,58,42,0.45);
}
.spread-frame-a { grid-column: 1 / span 5; grid-row: 1 / span 5; }
.spread-frame-b { grid-column: 4 / span 4; grid-row: 4 / span 3; z-index: 2; }
.spread-frame svg { width: 100%; height: 100%; display: block; }

/* ---------- SPLIT ---------- */
.section-split {
  background: var(--ivory);
  padding-block: clamp(64px, 8vw, 128px);
}
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.split-card {
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.split-clients {
  background: var(--emerald-deep);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.split-clients::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,169,114,0.22), transparent 70%);
}
.split-talent {
  background: var(--bone);
  color: var(--ink);
}
.split-card .eyebrow { margin-bottom: 18px; }
.split-card .h-display { margin-bottom: 16px; position: relative; z-index: 1; }
.split-card > p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 0 24px;
}
.split-clients > p { color: var(--on-dark-mute); }
.split-list {
  list-style: none;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}
.split-list li {
  padding: 12px 0;
  padding-left: 28px;
  font-size: 14.5px;
  position: relative;
  border-top: 1px solid currentColor;
  border-color: rgba(255,255,255,0);
}
.split-clients .split-list li { color: var(--on-dark-mute); border-top-color: rgba(236,230,213,0.12); }
.split-talent .split-list li { color: var(--ink-soft); border-top-color: var(--line); }
.split-list li:first-child { border-top: 0; }
.split-list li::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 1px;
  background: var(--copper);
}
.split-card .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 1; }

/* ---------- REVIEWS ---------- */
.section-reviews { background: var(--ivory); border-top: 1px solid var(--line); }
.reviews-shell {
  position: relative;
  min-height: 240px;
}
.reviews-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 80px 0;
}
.reviews-state .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--copper);
  animation: pulse 1.4s ease-in-out infinite;
}
.reviews-state .dot:nth-child(2) { animation-delay: 0.15s; }
.reviews-state .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes pulse { 0%, 100% { opacity: 0.25; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }

.reviews-summary {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.reviews-summary .score {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  color: var(--emerald);
  line-height: 1;
}
.reviews-summary .stars { color: var(--copper); letter-spacing: 4px; font-size: 18px; }
.reviews-summary .count { color: var(--ink-mute); font-size: 14px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}
.review-card .review-stars { color: var(--copper); letter-spacing: 3px; font-size: 14px; }
.review-card .review-text {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-style: italic;
  flex: 1;
  font-weight: 400;
}
.review-card .review-meta {
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.reviews-error {
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-mute);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bone);
}

/* ---------- FINAL CTA ---------- */
.section-final {
  background: var(--emerald-deep);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.section-final::before {
  content: '';
  position: absolute;
  bottom: -180px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,169,114,0.16), transparent 65%);
}
.final-cta {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.final-cta p {
  font-size: 17px;
  color: var(--on-dark-mute);
  margin: 18px auto 32px;
  max-width: 56ch;
}
.final-cta .cta-row { justify-content: center; }

/* ---------- SERVICES STACK ---------- */
.service-stack {
  list-style: none;
  display: grid;
  gap: 0;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 80px 1fr;
  gap: 32px;
  align-items: center;
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink-mute);
  font-weight: 400;
}
.service-icon-frame {
  width: 60px; height: 60px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald);
  background: var(--bone);
}
.service-icon-frame .cap-icon { width: 24px; height: 24px; margin: 0; }
.service-body h2 { margin: 0 0 6px; }
.service-body p { margin: 0; color: var(--ink-mute); font-size: 15.5px; line-height: 1.6; max-width: 60ch; }

/* ---------- FAQ ---------- */
.section-faq { border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 0; max-width: 880px; }
.faq {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus {
  font-size: 24px;
  color: var(--copper);
  transition: transform var(--t-base) var(--ease);
  flex-shrink: 0;
}
.faq[open] .faq-plus { transform: rotate(45deg); }
.faq-body { padding: 0 0 24px; max-width: 64ch; }
.faq-body p { margin: 0; color: var(--ink-mute); font-size: 15.5px; line-height: 1.65; }

/* ---------- TWO-COL PROSE ---------- */
.two-col-prose {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.two-col-prose .h-display { position: sticky; top: 96px; }
.prose p, .prose ul {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 60ch;
}
.prose ul.check-list { padding: 0; list-style: none; }
.prose .check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.prose .check-list li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 14px; height: 14px;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
}
.prose .check-list li::after {
  content: '';
  position: absolute; left: 4px; top: 18px;
  width: 6px; height: 6px;
  background: var(--copper);
  border-radius: 50%;
}

/* ---------- TEAM ---------- */
.section-team { border-top: 1px solid var(--line); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 22px;
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 4px;
}
.team-role {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.team-card p { margin: 0; color: var(--ink-mute); font-size: 14.5px; line-height: 1.6; }

/* ---------- PLACEHOLDER ROSTER ---------- */
.placeholder-roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.placeholder-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.placeholder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(11,58,42,0.35);
}
.placeholder-figure { aspect-ratio: 4/5; overflow: hidden; }
.placeholder-meta { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.placeholder-name { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--ink); }
.placeholder-tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- FORMS ---------- */
.form {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form-head { margin-bottom: 4px; }
.form-head .h-display { font-size: clamp(26px, 2.6vw, 34px); margin: 8px 0 0; }
.form fieldset { display: flex; flex-direction: column; gap: 14px; }
.form legend {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 4px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
}
.field span { letter-spacing: 0.01em; }
.field .req { color: var(--ember); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  min-height: 48px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-mute); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--emerald);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11,58,42,0.08);
  outline: none;
}
.field-hint {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.5;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.checkbox input {
  margin-top: 2px;
  width: 18px; height: 18px;
  accent-color: var(--emerald);
  flex-shrink: 0;
}
.form-footnote {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.upload-block input[type="file"] {
  background: var(--bone);
  padding: 12px 14px;
  border-style: dashed;
}

/* ---------- SUBMIT GRID ---------- */
.submit-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.submit-side h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 28px 0 12px;
  color: var(--ink);
}
.submit-side h3:first-child { margin-top: 0; }
.submit-side p {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.submit-checklist {
  list-style: none;
  counter-reset: c;
  display: flex; flex-direction: column; gap: 18px;
}
.submit-checklist li {
  position: relative;
  padding-left: 44px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  counter-increment: c;
}
.submit-checklist li::before {
  content: counter(c, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--copper);
}
.submit-checklist strong { color: var(--ink); font-weight: 600; }

/* ---------- BRIEF GRID ---------- */
.brief-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.brief-aside h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 14px;
  font-weight: 500;
}
.brief-aside > p { color: var(--ink-mute); font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.brief-channels { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.brief-channels > li { display: flex; flex-direction: column; gap: 6px; }
.brief-channels ul { list-style: none; }
.brief-channels .dim { color: var(--ink-mute); font-size: 14px; }
.brief-label {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--copper); font-weight: 600;
}

/* ---------- CONTACT GRID ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-channels { display: flex; flex-direction: column; gap: 28px; }
.channel { padding: 24px; background: var(--bone); border-radius: var(--radius-lg); }
.channel .eyebrow { margin: 0 0 8px; }
.channel-value {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
}
.channel-hint { margin: 0; color: var(--ink-mute); font-size: 13.5px; line-height: 1.55; }
.hours-list { list-style: none; }
.hours-list li {
  padding: 6px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.hours-list li:first-child { border-top: 0; }

/* ---------- NARROW PROSE ---------- */
.narrow-prose { max-width: 760px; margin-inline: auto; }
.narrow-prose .h-headline { margin-top: 36px; }
.narrow-prose .h-headline:first-child { margin-top: 0; }
.narrow-prose p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 18px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--emerald-deep);
  color: var(--on-dark);
  padding-top: clamp(64px, 6vw, 96px);
  padding-bottom: 28px;
  position: relative;
}
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand-name { color: var(--on-dark); }
.site-footer .brand-sub { color: var(--on-dark-mute); }
.site-footer .brand-mark { color: var(--copper); }
.site-footer a { color: var(--on-dark-mute); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--copper); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(236,230,213,0.12);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-blurb {
  color: var(--on-dark-mute);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 38ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 18px;
}
.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: var(--on-dark-mute);
  line-height: 1.6;
}
.footer-hours, .footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-hours li, .footer-links li { font-size: 13.5px; color: var(--on-dark-mute); }
.footer-base {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--on-dark-faint);
}
.footer-meta a { color: var(--on-dark-faint); }
.footer-meta a:hover { color: var(--copper); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; margin-inline: auto; }
  .divisions-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .spread-grid { grid-template-columns: 1fr; }
  .spread-art { max-width: 480px; margin-inline: auto; }
  .split-grid { grid-template-columns: 1fr; }
  .two-col-prose { grid-template-columns: 1fr; gap: 24px; }
  .two-col-prose .h-display { position: static; }
  .submit-grid, .brief-grid, .contact-grid { grid-template-columns: 1fr; }
  .placeholder-roster { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }

  /* ----- Backdrop ----- */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 23, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 90;
    pointer-events: none;
    transition: background var(--t-base) var(--ease), backdrop-filter var(--t-base) var(--ease);
  }
  .nav-backdrop.is-open {
    background: rgba(10, 31, 23, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
  }

  /* ----- Drawer ----- */
  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 380px);
    height: 100dvh;
    background: var(--ivory);
    padding: 0;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    transition: transform 320ms var(--ease);
    z-index: 100;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -30px 0 60px -20px rgba(10, 31, 23, 0);
    border-left: 1px solid var(--line);
  }
  .primary-nav.is-open {
    transform: translateX(0);
    box-shadow: -30px 0 60px -20px rgba(10, 31, 23, 0.45);
  }

  /* ----- Drawer head ----- */
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .nav-drawer-title {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 600;
  }
  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    padding: 0;
    transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  }
  .nav-close:hover, .nav-close:focus-visible {
    background: var(--emerald);
    border-color: var(--emerald);
    color: var(--ivory);
  }

  /* ----- Drawer links ----- */
  .primary-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px 0;
    margin: 0;
    flex: 1 1 auto;
  }
  .primary-nav li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 22px;
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.2;
    min-height: 60px;
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), padding-left var(--t-base) var(--ease);
  }
  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    background: var(--bone);
    color: var(--emerald);
    padding-left: 30px;
  }
  .primary-nav a::after { display: none; }
  .primary-nav a.is-active {
    color: var(--emerald);
    background: var(--bone);
  }
  .primary-nav a.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 32px;
    background: var(--copper);
    border-radius: 0 4px 4px 0;
  }
  .primary-nav li { position: relative; }
  .nav-arrow {
    display: inline-flex;
    color: var(--ink-faint);
    font-size: 18px;
    transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  }
  .primary-nav a:hover .nav-arrow,
  .primary-nav a:focus-visible .nav-arrow {
    color: var(--emerald);
    transform: translateX(4px);
  }

  /* ----- Drawer foot ----- */
  .nav-drawer-foot {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-top: 1px solid var(--line);
    background: var(--bone);
    position: sticky;
    bottom: 0;
  }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 22px;
    background: var(--emerald);
    color: var(--ivory);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    width: 100%;
    min-height: 52px;
    transition: background var(--t-base) var(--ease);
  }
  .nav-cta:hover, .nav-cta:focus-visible {
    background: var(--emerald-soft);
    color: var(--ivory);
    transform: none;
  }
  .nav-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--ink);
    padding: 8px 0 0;
    font-weight: 500;
  }
  .nav-phone:hover, .nav-phone:focus-visible { color: var(--emerald); }

  /* ----- Toggle visible on mobile ----- */
  .nav-toggle { display: inline-flex; }

  /* Body lock when drawer open */
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 760px) {
  .hero { padding-top: 48px; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .divisions-grid, .divisions-grid-wide { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .placeholder-roster { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: auto 1fr; gap: 16px; }
  .service-icon-frame { display: none; }
  .display { font-size: clamp(34px, 9vw, 56px); }
  .h-display { font-size: clamp(26px, 6.5vw, 40px); }

  .section-head-row { flex-direction: column; align-items: flex-start; }
  .footer-base { flex-direction: column; }
}
