/* ==========================================================================
   Anchored Grace Innovations — styles
   Implemented from the Claude Design handoff (AGI Website.dc.html)
   ========================================================================== */

:root {
  --cream-bg: #F4F1EB;
  --cream-panel: #FAF8F4;
  --cream-band: #ECE8E0;
  --cream-text: #F4F1EB;
  --ink: #0B0E13;
  --ink-deep: #07090C;
  --ink-panel: #161a21;
  --gold: #D8C39B;
  --gold-deep: #8F7547;
  --body: #2A2D33;
  --font-display: 'Geist', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --gutter: clamp(24px, 5vw, 56px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream-bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--body);
  overflow-x: hidden;
}
::selection { background: rgba(216, 195, 155, 0.32); }

.container { max-width: 1200px; margin: 0 auto; }
.gold { color: var(--gold); }

@keyframes agiFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes agiFloatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes agiGlow { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.9; } }
@keyframes agiUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes agiRise { to { transform: none; } }
@keyframes agiPop { from { transform: scale(.55); } to { transform: none; } }
@keyframes agiDrift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
}
@keyframes agiMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Scroll reveal: hidden only when JS is available, animated in on intersect */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].in {
  animation: agiUp var(--dur, .85s) var(--ease-out) both;
  animation-delay: var(--d, 0s);
}

/* ==========================================================================
   Motion system — one-shot entrances that settle into stillness.
   Every hidden state is scoped under .js (no-JS renders complete) and every
   animation is neutralized in the reduced-motion block at the end of the file.
   ========================================================================== */

/* Hero headline word-mask rise (spans built by JS, skipped under reduced motion) */
.hero-title .w {
  display: inline-block;
  overflow: hidden;
  padding-bottom: .12em;
  margin-bottom: -.12em;
  vertical-align: top;
}
.hero-title .wi {
  display: inline-block;
  transform: translateY(112%);
  animation: agiRise .75s var(--ease-out) both;
  animation-delay: calc(.1s + var(--wi) * 45ms);
}

/* Kicker rule draw — tiny gold dash that announces each section */
.kicker::before {
  content: '';
  display: inline-block;
  width: 22px; height: 1px;
  background: currentColor;
  margin-right: 10px;
  vertical-align: 3px;
  transform-origin: left;
}
.js [data-reveal] .kicker::before { transform: scaleX(0); }
.js [data-reveal].in .kicker::before { transition: transform .5s var(--ease-out) .15s; transform: scaleX(1); }

/* Staggered child cascade on grid reveals — container snaps visible, children rise */
.js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal].in { animation: none; opacity: 1; }
.js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal] > * { opacity: 0; }
.js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal].in > * { animation: agiUp .7s var(--ease-out) both; }
.js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal].in > :nth-child(2) { animation-delay: .08s; }
.js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal].in > :nth-child(3) { animation-delay: .16s; }
.js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal].in > :nth-child(4) { animation-delay: .24s; }
.js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal].in > :nth-child(5) { animation-delay: .32s; }
.js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal].in > :nth-child(6) { animation-delay: .4s; }

/* Mission values cascade just after the card itself settles */
.js .mission[data-reveal] .value { opacity: 0; }
.js .mission[data-reveal].in .value { animation: agiUp .7s var(--ease-out) both; }
.js .mission[data-reveal].in .value:nth-child(1) { animation-delay: .25s; }
.js .mission[data-reveal].in .value:nth-child(2) { animation-delay: .33s; }
.js .mission[data-reveal].in .value:nth-child(3) { animation-delay: .41s; }
.js .mission[data-reveal].in .value:nth-child(4) { animation-delay: .49s; }

/* Process line draw + step-number pops (.steps-line is nth-child(1), steps are 2–5) */
.js .steps[data-reveal].in { animation: none; opacity: 1; }
.js .steps[data-reveal] .steps-line { transform: scaleX(0); transform-origin: left; }
.js .steps[data-reveal].in .steps-line { transition: transform 1.4s var(--ease-out) .2s; transform: scaleX(1); }
.js .steps[data-reveal] .step { opacity: 0; }
.js .steps[data-reveal].in .step { animation: agiUp .6s var(--ease-out) both; }
.js .steps[data-reveal].in .step-num { animation: agiPop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.js .steps[data-reveal].in .step:nth-child(2),
.js .steps[data-reveal].in .step:nth-child(2) .step-num { animation-delay: .25s; }
.js .steps[data-reveal].in .step:nth-child(3),
.js .steps[data-reveal].in .step:nth-child(3) .step-num { animation-delay: .55s; }
.js .steps[data-reveal].in .step:nth-child(4),
.js .steps[data-reveal].in .step:nth-child(4) .step-num { animation-delay: .85s; }
.js .steps[data-reveal].in .step:nth-child(5),
.js .steps[data-reveal].in .step:nth-child(5) .step-num { animation-delay: 1.15s; }
@media (max-width: 1024px) {
  /* The dashed line is display:none here — don't make the 2x2 grid wait on it */
  .js .steps[data-reveal].in .step:nth-child(2),
  .js .steps[data-reveal].in .step:nth-child(2) .step-num { animation-delay: 0s; }
  .js .steps[data-reveal].in .step:nth-child(3),
  .js .steps[data-reveal].in .step:nth-child(3) .step-num { animation-delay: .12s; }
  .js .steps[data-reveal].in .step:nth-child(4),
  .js .steps[data-reveal].in .step:nth-child(4) .step-num { animation-delay: .24s; }
  .js .steps[data-reveal].in .step:nth-child(5),
  .js .steps[data-reveal].in .step:nth-child(5) .step-num { animation-delay: .36s; }
}

/* Trust-strip logo marquee (DOM restructured by JS only when motion is allowed) */
.trust-items.marquee {
  flex-wrap: nowrap;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.trust-items.marquee span { white-space: nowrap; }
.trust-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: agiMarquee 34s linear infinite;
}
.trust-set {
  display: flex; align-items: center;
  gap: clamp(24px, 3.4vw, 52px);
  padding-right: clamp(24px, 3.4vw, 52px); /* equals the gap, so -50% loops seamlessly */
}
.trust-items.marquee:hover .trust-track,
.trust-items.marquee:focus-within .trust-track,
.trust-items.marquee.is-offscreen .trust-track { animation-play-state: paused; }

/* Ambient glow/float loops also pause while their section is off-screen
   (class toggled by the same IntersectionObserver pattern as the marquee) */
.hero.is-offscreen :is(.hero-glow, .float-wrap, .float-badge, .float-card),
.mission.is-offscreen .mission-glow,
.ai-band.is-offscreen .ai-glow,
.contact.is-offscreen .contact-glow { animation-play-state: paused; }

/* Gold CTA sheen sweep + arrow nudge */
.btn-arrow { display: inline-block; transition: transform .25s var(--ease-out); }
.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow { transform: translateX(3px); }

/* Magnetic CTA inner wrapper (JS-built on fine pointers only) */
.btn-inner { display: inline-block; }

/* Nav link underline wipe — enters from the left, exits to the right */
.nav-links > a:not(.btn) { position: relative; }
.nav-links > a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--ease-out);
}
.nav-links > a:not(.btn):hover::after,
.nav-links > a:not(.btn):focus-visible::after,
.nav-links > a:not(.btn).active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav scroll-progress hairline (element injected by JS) */
.nav-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #ebdcbd);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  will-change: transform;
}
.nav.scrolled .nav-progress { opacity: 1; }

/* ============ Buttons ============ */
.btn { text-decoration: none; font-weight: 600; border-radius: 9px; display: inline-block; }
.btn-gold {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 14, 19, 0.12);
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s;
}
/* Sheen sweep: one light pass per hover entry — the return leg has no
   transition, so the stripe snaps back off-canvas invisibly */
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 60%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.32) 50%, transparent 80%);
  transform: translateX(-170%) skewX(-18deg);
  pointer-events: none;
  transition: none;
}
.btn-gold:hover::after,
.btn-gold:focus-visible::after {
  transform: translateX(300%) skewX(-18deg);
  transition: transform .65s ease-out;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(216, 195, 155, 0.7);
  background: #d0ad66;
}
.btn-nav { padding: 11px 20px; border-radius: 8px; font-size: 14px; }
.btn-dark {
  background: var(--ink);
  color: var(--cream-text);
  box-shadow: 0 14px 30px -12px rgba(11, 14, 19, 0.55);
  transition: transform .28s var(--ease-out), box-shadow .28s, background .2s;
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(11, 14, 19, 0.6);
  background: #1b3543;
}
.btn-outline {
  border: 1.5px solid rgba(11, 14, 19, 0.9);
  color: var(--ink);
  transition: background .25s, color .25s, transform .28s var(--ease-out);
}
.btn-outline:hover { background: var(--ink); color: var(--cream-text); transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-outline.btn-lg { padding: 14.5px 26px; }
.btn-xl { padding: 17px 32px; font-size: 16px; }
.btn-gold.btn-xl { box-shadow: 0 16px 34px -14px rgba(216, 195, 155, 0.7); }
.btn-gold.btn-xl:hover { box-shadow: 0 22px 44px -14px rgba(216, 195, 155, 0.8); background: #e6d5b2; }
.btn-ghost {
  border: 1.5px solid rgba(244, 241, 235, 0.35);
  color: var(--cream-text);
  padding: 16px 28px;
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover { border-color: rgba(244, 241, 235, 0.7); background: rgba(244, 241, 235, 0.06); }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 16px var(--gutter);
  background: rgba(244, 241, 235, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(11, 14, 19, 0.08);
  box-shadow: 0 10px 34px -22px rgba(11, 14, 19, 0.4);
  /* Background only — animating padding (layout) on a fixed backdrop-filter
     surface forces per-frame layout + re-blur; the 2px condense just snaps. */
  transition: background .3s;
}
.nav.scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(244, 241, 235, 0.82); }
.nav.menu-open { background: rgba(244, 241, 235, 0.97); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon { width: 38px; height: 38px; flex: none; display: block; }
.brand-word { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: 0.2em; color: var(--ink); white-space: nowrap; }
.brand-sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.34em; color: var(--gold-deep); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > a:not(.btn) { font-size: 14.5px; color: #43474e; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu { display: none; }

/* ============ Hero ============ */
.hero { position: relative; padding: 172px var(--gutter) 108px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 46% at 82% -4%, rgba(216, 195, 155, 0.20), rgba(244, 241, 235, 0) 62%),
    radial-gradient(50% 40% at 8% 8%, rgba(11, 14, 19, 0.06), rgba(244, 241, 235, 0) 60%);
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(11, 14, 19, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 14, 19, 0.1);
  backdrop-filter: blur(6px);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  margin-bottom: 26px;
  font-size: 12.5px; color: #4d5157; font-weight: 600; letter-spacing: 0.01em;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216, 195, 155, 0.18); flex-shrink: 0; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(46px, 5.4vw, 74px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 24px;
}
.hero-sub { font-size: 19px; line-height: 1.62; color: #50545b; margin: 0 0 34px; max-width: 500px; }
.hero-ctas { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: #7a746a; letter-spacing: 0.01em; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-glow {
  position: absolute; inset: -8% -6% -12% -6%;
  background: radial-gradient(55% 55% at 60% 40%, rgba(216, 195, 155, 0.35), rgba(244, 241, 235, 0) 70%);
  filter: blur(18px);
  animation: agiGlow 7s ease-in-out infinite;
  pointer-events: none;
}
.float-wrap { position: relative; animation: agiFloat 7s ease-in-out infinite; }
.dash-card {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 40px 90px -34px rgba(11, 14, 19, 0.6), 0 4px 12px rgba(11, 14, 19, 0.18);
}
.dash-chrome { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; }
.chrome-dot { width: 9px; height: 9px; border-radius: 50%; background: #2b313a; }
.chrome-label { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: #7a7f87; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--cream-text); }
.dash-sub { font-size: 11px; color: #8e939b; margin-top: 3px; }
.dash-chip {
  font-family: var(--font-mono); font-size: 11px; color: var(--gold);
  border: 1px solid rgba(216, 195, 155, 0.4);
  padding: 5px 11px; border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
.dash-progress { height: 7px; background: #1d222a; border-radius: 5px; overflow: hidden; margin-bottom: 22px; }
.dash-progress-fill {
  width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--gold), #ebdcbd);
  transform: scaleX(.92); /* visually identical to the old width:92%, animatable on the compositor */
  transform-origin: left;
  transition: transform 1.15s var(--ease-out) .15s;
}
.dash-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.dash-stat { background: var(--ink-panel); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 9px; padding: 14px; }
.dash-stat-value { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--cream-text); font-variant-numeric: tabular-nums; }
.dash-stat-value.gold { color: var(--gold); }
.dash-stat-label { font-size: 10px; color: #8e939b; margin-top: 3px; }
.dash-bars { display: flex; align-items: flex-end; gap: 9px; height: 70px; padding: 0 2px; }
.dash-bars > div { flex: 1; background: #2b313a; border-radius: 4px 4px 0 0; transform-origin: bottom; transition: transform .65s var(--ease-out); }
.dash-bars > div.gold { background: var(--gold); }
.dash-bars > div:nth-child(1) { transition-delay: .15s; }
.dash-bars > div:nth-child(2) { transition-delay: .22s; }
.dash-bars > div:nth-child(3) { transition-delay: .29s; }
.dash-bars > div:nth-child(4) { transition-delay: .36s; }
.dash-bars > div:nth-child(5) { transition-delay: .43s; }
.dash-bars > div:nth-child(6) { transition-delay: .5s; }
.dash-bars > div:nth-child(7) { transition-delay: .57s; }
/* Dashboard boot: pre-boot hidden states exist only for motion-allowed JS —
   reduced-motion users and no-JS visitors always see the fully drawn card */
@media (prefers-reduced-motion: no-preference) {
  .js .dash-card:not(.dash-live) .dash-progress-fill { transform: scaleX(0); }
  .js .dash-card:not(.dash-live) .dash-bars > div { transform: scaleY(0); }
}
.float-badge {
  position: absolute; top: -20px; right: -14px;
  background: var(--cream-text);
  border: 1px solid rgba(11, 14, 19, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 20px 40px -18px rgba(11, 14, 19, 0.4);
  animation: agiFloatB 6s ease-in-out infinite;
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink);
}
.float-badge .badge-dot { width: 8px; height: 8px; box-shadow: none; }
.float-card {
  position: absolute; bottom: -22px; left: -16px;
  background: var(--cream-text);
  border: 1px solid rgba(11, 14, 19, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 20px 44px -18px rgba(11, 14, 19, 0.42);
  display: flex; align-items: center; gap: 12px;
  animation: agiFloatB 6.6s ease-in-out infinite;
}
.float-card-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--gold);
  flex-shrink: 0;
}
.float-card-title { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--ink); line-height: 1.1; }
.float-card-sub { font-size: 11px; color: #7a746a; margin-top: 2px; }

/* ============ Trust strip ============ */
.trust { border-top: 1px solid rgba(11, 14, 19, 0.08); border-bottom: 1px solid rgba(11, 14, 19, 0.08); background: var(--cream-band); }
.trust-inner {
  padding: 30px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.trust-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; color: #9a927f; text-transform: uppercase; white-space: nowrap; }
.trust-items { display: flex; align-items: center; gap: clamp(24px, 3.4vw, 52px); flex-wrap: wrap; }
.trust-items span { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: #44484f; opacity: 0.72; }

/* ============ Shared section bits ============ */
.section { padding: clamp(88px, 10vw, 128px) var(--gutter); scroll-margin-top: 90px; }
.section-bottom { padding: 0 var(--gutter) clamp(88px, 10vw, 128px); scroll-margin-top: 90px; }
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--gold-deep); margin-bottom: 16px; }
.kicker.gold { color: var(--gold); }
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 44px);
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
  max-width: 620px;
  line-height: 1.05;
}
.h2.wide { max-width: 640px; }
.h2.md { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -0.02em; }
.section-head { margin-bottom: 52px; }
.section-head.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.section-aside { font-size: 15.5px; color: #6a6459; max-width: 290px; margin: 0; line-height: 1.55; }
#talent .section-head { margin-bottom: 48px; }

/* ============ Services pillars ============ */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar { border-radius: 16px; padding: 40px; }
.pillar-light {
  background: var(--cream-panel);
  border: 1px solid rgba(11, 14, 19, 0.1);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.pillar-light:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(11, 14, 19, 0.35);
  border-color: rgba(216, 195, 155, 0.5);
}
.pillar-dark {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.pillar-dark:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -28px rgba(11, 14, 19, 0.6); }
.pillar-glow {
  position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 195, 155, 0.4), transparent 70%);
  opacity: .7; /* net resting brightness matches the old .28 gradient */
  transition: opacity .6s ease;
}
.pillar-dark:hover .pillar-glow { opacity: 1; }
.pillar-body { position: relative; }
.pillar-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pillar-num {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  flex-shrink: 0;
}
.pillar-num.gold-bg { background: var(--gold); color: var(--ink); }
.pillar-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--gold-deep); }
.pillar-label.gold { color: var(--gold); }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--ink); margin: 0 0 12px; letter-spacing: -0.01em; }
.pillar-dark h3 { color: var(--cream-text); }
.pillar > p, .pillar-body > p { font-size: 15.5px; line-height: 1.6; color: #5b625b; margin: 0 0 24px; }
.pillar-dark .pillar-body > p { color: #a9adb4; }
.pillar-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 20px; }
.pillar-list > div {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; color: var(--body);
  padding: 8px 0;
  border-top: 1px solid rgba(11, 14, 19, 0.08);
}
.pillar-dark .pillar-list > div { color: #e2e3e5; border-top-color: rgba(255, 255, 255, 0.1); }
.bullet { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ============ Mission / Why AGI ============ */
.mission-wrap { padding: 0 var(--gutter) clamp(88px, 10vw, 128px); }
.mission {
  background: var(--ink);
  border-radius: 22px;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.mission-dots {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent);
}
.mission-glow {
  position: absolute; top: -60px; left: 50%; margin-left: -260px; /* centers without transform so agiDrift owns it */
  width: 520px; height: 200px;
  background: radial-gradient(circle, rgba(216, 195, 155, 0.22), transparent 70%);
  pointer-events: none;
  animation: agiGlow 12s ease-in-out infinite, agiDrift 22s ease-in-out infinite alternate;
}
.mission-copy { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.mission-copy .kicker { margin-bottom: 24px; }
.mission-statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--cream-text);
  margin: 0 0 14px;
}
.values { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.value { border-top: 1px solid rgba(216, 195, 155, 0.4); padding-top: 20px; }
.value-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--cream-text); margin-bottom: 7px; }
.value p { font-size: 14px; color: #a9adb4; margin: 0; line-height: 1.5; }

/* ============ Talent roles ============ */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.role-card {
  background: var(--cream-panel);
  border: 1px solid rgba(11, 14, 19, 0.09);
  border-radius: 16px;
  padding: 28px;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px -30px rgba(11, 14, 19, 0.35);
  border-color: rgba(216, 195, 155, 0.5);
}
.role-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: #F0E7D4;
  border: 1px solid rgba(216, 195, 155, 0.3);
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--gold-deep);
}
.role-icon.sm { font-size: 13px; }
.role-title { font-family: var(--font-display); font-weight: 600; font-size: 17.5px; color: var(--ink); margin-bottom: 9px; }
.role-card p { font-size: 14px; line-height: 1.55; color: #5b625b; margin: 0; }

/* ============ AI band ============ */
.ai-band { position: relative; padding: clamp(80px, 9vw, 116px) var(--gutter); background: var(--ink-deep); overflow: hidden; }
.ai-glow {
  position: absolute; top: 0; right: 0; width: 60%; height: 100%;
  background: radial-gradient(60% 80% at 90% 20%, rgba(216, 195, 155, 0.16), transparent 65%);
  pointer-events: none;
  animation: agiGlow 14s ease-in-out infinite, agiDrift 26s ease-in-out infinite alternate-reverse;
}
.ai-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai-grid .kicker { margin-bottom: 18px; }
.ai-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 3.9vw, 46px);
  letter-spacing: -0.022em;
  color: var(--cream-text);
  margin: 0 0 20px;
  line-height: 1.04;
}
.ai-sub { font-size: 18px; line-height: 1.62; color: #a9adb4; margin: 0; max-width: 460px; }
.ai-list { display: flex; flex-direction: column; gap: 14px; }
.ai-row {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 22px 26px;
  transition: border-color .3s, transform .3s var(--ease-out);
  font-size: 16.5px; color: #e2e3e5; font-weight: 500;
}
.ai-row:hover { border-color: rgba(216, 195, 155, 0.5); transform: translateX(4px); }
.ai-num { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--gold); }

/* ============ Process ============ */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps-line {
  position: absolute; top: 12px; left: 6%; right: 6%; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(216, 195, 155, 0.5) 0 8px, transparent 8px 16px);
}
.step { position: relative; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  margin-bottom: 22px;
}
.step-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 9px; }
.step p { font-size: 14.5px; line-height: 1.55; color: #5b625b; margin: 0; }

/* ============ Testimonials ============ */
.testimonials-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.placeholder-tag {
  font-family: var(--font-mono); font-size: 11px; color: #9a9284;
  border: 1px dashed #b6ac9a;
  padding: 7px 13px; border-radius: 999px;
}
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.testimonial {
  background: var(--cream-panel);
  border: 1px solid rgba(11, 14, 19, 0.1);
  border-radius: 18px;
  padding: 36px;
}
.stars { color: var(--gold); font-size: 16px; margin-bottom: 20px; letter-spacing: 3px; }
.quote { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.45; color: #2c3036; margin: 0 0 26px; }
.person { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: repeating-linear-gradient(45deg, #dcd3c2, #dcd3c2 5px, #e7e0d1 5px, #e7e0d1 10px);
  flex-shrink: 0;
}
.person-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.person-role { font-size: 12.5px; color: #8a8578; }

/* ============ Pricing ============ */
.pricing-band { background: var(--cream-band); border-top: 1px solid rgba(11, 14, 19, 0.07); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { border-radius: 18px; padding: 34px; }
.plan-light {
  background: var(--cream-panel);
  border: 1px solid rgba(11, 14, 19, 0.12);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.plan-light:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 14, 19, 0.35); }
.plan-dark {
  background: var(--ink);
  position: relative;
  box-shadow: 0 34px 70px -30px rgba(11, 14, 19, 0.55);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.plan-dark:hover { transform: translateY(-8px); box-shadow: 0 44px 84px -30px rgba(11, 14, 19, 0.65); }
.plan-tag {
  position: absolute; top: -12px; left: 34px;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; font-weight: 700;
  padding: 6px 11px; border-radius: 6px;
}
.plan-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 7px; }
.plan-dark .plan-title { color: var(--cream-text); }
.plan p { font-size: 14.5px; color: #5b625b; margin: 0 0 22px; line-height: 1.5; }
.plan-dark p { color: #a9adb4; }
.plan-price { font-family: var(--font-mono); font-size: 13px; color: var(--gold-deep); margin-bottom: 24px; }
.plan-price.gold { color: var(--gold); }
.btn-plan-outline {
  display: block; text-align: center;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 13px;
  font-size: 14.5px;
  transition: background .25s, color .25s;
}
.btn-plan-outline:hover { background: var(--ink); color: var(--cream-text); }
.btn-plan { display: block; text-align: center; padding: 13px; font-size: 14.5px; }
.btn-gold.btn-plan { transition: background .2s, transform .25s var(--ease-out); box-shadow: none; }
.btn-gold.btn-plan:hover { background: #e6d5b2; transform: translateY(-1px); box-shadow: none; }
.pricing-note { font-family: var(--font-mono); font-size: 11px; color: #9a9284; margin: 22px 0 0; }

/* ============ Contact / CTA ============ */
.contact {
  position: relative;
  padding: clamp(96px, 11vw, 140px) var(--gutter);
  background: var(--ink);
  overflow: hidden;
  text-align: center;
  scroll-margin-top: 90px;
}
.contact-dots {
  position: absolute; inset: 0; opacity: 0.6;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
}
.contact-glow {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 640px; height: 280px;
  background: radial-gradient(circle, rgba(216, 195, 155, 0.26), transparent 68%);
  pointer-events: none;
  animation: agiGlow 8s ease-in-out infinite;
}
.contact-inner { position: relative; max-width: 640px; margin: 0 auto; }
.contact-inner .kicker { margin-bottom: 22px; }
.contact-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: -0.03em;
  color: var(--cream-text);
  margin: 0 0 22px;
  line-height: 1.02;
}
.contact-sub { font-size: 18.5px; line-height: 1.6; color: #a9adb4; margin: 0 auto 36px; max-width: 460px; }
.contact-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.contact-note { font-size: 13.5px; color: #7a7f87; }

/* ============ Footer ============ */
.footer { padding: 56px var(--gutter) 40px; background: var(--ink-deep); }
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer-icon { width: 40px; height: 40px; flex: none; color: var(--cream-text); }
.footer-word { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.footer-name { font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: 0.2em; color: var(--cream-text); }
.footer-sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.34em; color: var(--gold); }
.footer-brand p a { color: var(--gold); text-decoration: none; }
.footer-brand p { font-size: 13.5px; color: #8a8f97; line-height: 1.55; margin: 0; }
.footer-cols { display: flex; gap: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.footer-heading { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 15px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-links a { color: #a9adb4; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--cream-text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12.5px; color: #7a7f87; }
.footer-tagline { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.06em; }

/* ============ Responsive ============ */
/* ============ Hero brief card ============ */
.brief-list { list-style: none; margin: 4px 0 52px; padding: 0; display: grid; gap: 10px; }
.brief-list li {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink-panel); border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 9px; padding: 12px 14px; font-size: 13.5px; color: var(--cream-text);
}
.brief-tick { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid #4b5d68; position: relative; }
.brief-tick::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #8e939b; }
.brief-tick.gold { border-color: var(--gold); }
.brief-tick.gold::after { background: var(--gold); }

/* ============ Three pillars + video add-on ============ */
.pillars.pillars-3 { grid-template-columns: repeat(3, 1fr); }
.pillars-3 .pillar { padding: 36px 32px; }
.addon {
  margin-top: 24px; display: flex; align-items: center; gap: 22px;
  background: var(--cream-band); border: 1px solid rgba(11, 14, 19, 0.08);
  border-radius: 16px; padding: 24px 28px;
}
.addon-icon {
  width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
}
.addon-copy { flex: 1; min-width: 0; }
.addon-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.addon-copy p { margin: 0; font-size: 15px; line-height: 1.55; color: #5b625b; }
.addon .btn { flex: none; }

/* ============ US staffing page ============ */
.day-list { list-style: none; margin: 4px 0 52px; padding: 0; display: grid; gap: 10px; }
.day-list li {
  display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 12px;
  background: var(--ink-panel); border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 9px; padding: 12px 14px; font-size: 13.5px; color: var(--cream-text);
}
.day-time { font: 400 12px/1 var(--font-mono); color: #8e939b; font-variant-numeric: tabular-nums; }
.day-list li.gold .day-time { color: var(--gold); }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.task {
  background: var(--cream-panel); border: 1px solid rgba(11, 14, 19, 0.1); border-radius: 14px; padding: 26px 24px;
}
.task-title { font: 600 18px/1.3 var(--font-display); color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.task p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #5b625b; }
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: stretch; }
.price-main { display: flex; flex-direction: column; gap: 6px; }
.price-big { font: 600 clamp(44px, 5vw, 60px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--gold); margin: 10px 0 12px; font-variant-numeric: tabular-nums; }
.price-from { font: 400 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #8e939b; vertical-align: middle; margin-right: 6px; }
.price-per { font: 500 18px/1 var(--font-body); letter-spacing: 0; color: #a9adb4; }
.price-main .btn { align-self: flex-start; margin-top: 18px; }
.included { background: var(--cream-panel); border: 1px solid rgba(11, 14, 19, 0.1); border-radius: 18px; padding: 34px; }
.included-title { font: 400 11px/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.included ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.included li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.included li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8C39B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--cream-panel); border: 1px solid rgba(11, 14, 19, 0.1); border-radius: 14px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative;
  font: 600 17px/1.35 var(--font-display); color: var(--ink); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font: 400 24px/1 var(--font-body); color: var(--gold-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.faq details p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: #50545b; max-width: 68ch; }
.pillar-link { color: var(--gold-deep); font-weight: 600; text-decoration: none; }
.pillar-link:hover { text-decoration: underline; }
@media (max-width: 1024px) { .task-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .task-grid, .price-grid { grid-template-columns: 1fr; } .included { padding: 26px 22px; } }

/* ============ Signature concepts ============ */
.concept-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.concept-card {
  position: relative; display: block; overflow: hidden; border-radius: 18px; text-decoration: none;
  background: var(--ink); min-height: 420px; isolation: isolate;
}
.concept-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease-out); }
.concept-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 14, 19, 0) 18%, rgba(11, 14, 19, 0.88) 56%, rgba(11, 14, 19, 0.97) 100%); }
@media (hover: hover) { .concept-card:hover img { transform: scale(1.04); } }
.concept-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.concept-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: grid; gap: 8px; color: var(--cream-text); }
.concept-kind { font: 400 11px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.concept-body h3 { margin: 0; font: 600 24px/1.15 var(--font-display); letter-spacing: -0.02em; }
.concept-body p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #c9cbd0; max-width: 40ch; }
.concept-note { font: 400 10.5px/1.3 var(--font-mono); letter-spacing: .06em; color: #8e939b; }
@media (max-width: 1024px) { .concept-grid { grid-template-columns: 1fr 1fr; } .concept-card:first-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .concept-grid { grid-template-columns: 1fr; } .concept-card { min-height: 360px; } }

/* ============ Work gallery ============ */
.work-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  font: 600 14px/1 var(--font-body); color: var(--ink); cursor: pointer;
  background: transparent; border: 1px solid rgba(11, 14, 19, 0.2); border-radius: 999px;
  padding: 11px 18px; min-height: 44px; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--cream-text); border-color: var(--ink); }
.chip:focus-visible, .work-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--cream-panel); border: 1px solid rgba(11, 14, 19, 0.1); border-radius: 16px;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
a.work-card:hover { transform: translateY(-6px); border-color: rgba(216, 195, 155, 0.55); box-shadow: 0 28px 60px -30px rgba(11, 14, 19, 0.4); }
.work-card[hidden] { display: none; }
.work-shot { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.work-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 1; }
.work-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--gold); font: 400 11px/1 var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase;
}
.work-private {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font: 400 10.5px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-text); background: rgba(11, 14, 19, 0.78); border: 1px solid rgba(216, 195, 155, 0.35);
  padding: 7px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.work-shot.no-shot { background: radial-gradient(120% 90% at 20% 10%, #1f252e, var(--ink) 60%); }
.work-system .work-shot { background: repeating-linear-gradient(135deg, #13171d 0 14px, #0B0E13 14px 28px); }
.work-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.work-meta { display: flex; justify-content: space-between; gap: 10px; font: 400 11px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.work-group { color: var(--gold-deep); }
.work-kind { color: #7a817a; }
.work-title { font: 600 19px/1.25 var(--font-display); color: var(--ink); margin: 2px 0 0; }
.work-line { font-size: 14.5px; line-height: 1.55; color: #5b625b; margin: 0; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.work-tag { font-size: 12px; color: var(--ink); background: var(--cream-band); border-radius: 6px; padding: 4px 9px; }
.work-cta { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 14px; color: var(--ink); }
.work-system .work-cta, .work-card:not(a) .work-cta { color: #7a817a; font-weight: 500; }
.work-noscript { color: #5b625b; }

/* ============ Videos ============ */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { margin: 0; background: var(--ink); border-radius: 16px; overflow: hidden; }
.video-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.video-card figcaption { display: grid; gap: 3px; padding: 14px 18px 18px; color: var(--cream-text); font-size: 14px; }
.video-card figcaption span { color: #8e939b; font-size: 13px; }

@media (max-width: 1024px) {
  .pillars.pillars-3, .work-grid, .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .pillars.pillars-3, .work-grid, .video-grid { grid-template-columns: 1fr; }
  .addon { flex-direction: column; align-items: flex-start; padding: 22px; }
  .addon .btn { width: 100%; text-align: center; }
}

/* ============ Estimate assistant ============ */
.est-only { display: none !important; }
.has-estimator .est-only { display: inline-flex !important; }
.est-launch {
  position: fixed; z-index: 60; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--cream-text); font: 600 14.5px/1 var(--font-body);
  box-shadow: 0 18px 40px -16px rgba(11, 14, 19, 0.6), 0 0 0 1px rgba(216, 195, 155, 0.35);
}
.est-launch svg { color: var(--gold); }
.est-launch:focus-visible, .est-panel button:focus-visible, .est-panel a:focus-visible, .est-panel textarea:focus-visible, .est-panel input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.est-panel {
  position: fixed; z-index: 61; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(max(20px, env(safe-area-inset-bottom, 0px)) + 60px);
  width: min(400px, calc(100vw - 40px)); height: min(640px, calc(100vh - 120px)); height: min(640px, calc(100dvh - 120px));
  display: flex; flex-direction: column; background: var(--cream-panel); border: 1px solid rgba(11, 14, 19, 0.12); border-radius: 18px;
  box-shadow: 0 40px 90px -30px rgba(11, 14, 19, 0.55); overflow: hidden; font-family: var(--font-body);
}
.est-panel[hidden], .est-starters[hidden], .est-human[hidden], .est-launch[hidden] { display: none; }
.est-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--cream-text); }
.est-title { font: 600 15px/1.2 var(--font-display); }
.est-sub { font: 400 10.5px/1.3 var(--font-mono); letter-spacing: .08em; color: var(--gold); margin-top: 3px; text-transform: uppercase; }
.est-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--cream-text); font-size: 26px; line-height: 1; cursor: pointer; }
.est-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.est-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.est-ai { align-self: flex-start; background: #fff; border: 1px solid rgba(11, 14, 19, 0.08); color: var(--ink); border-bottom-left-radius: 4px; }
.est-me { align-self: flex-end; background: var(--ink); color: var(--cream-text); border-bottom-right-radius: 4px; }
.est-note { align-self: center; max-width: 100%; text-align: center; font-size: 13px; color: #6a6e75; background: transparent; padding: 4px 8px; }
.est-typing { color: #8e939b; }
.est-human { padding: 0 16px; }
.est-human-note { font-size: 13px; color: #6a6e75; padding-bottom: 6px; }
.est-starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.est-chip { min-height: 40px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(11, 14, 19, 0.18); background: transparent; color: var(--ink); font: 500 13px/1.25 var(--font-body); cursor: pointer; text-align: left; }
.est-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 8px; border-top: 1px solid rgba(11, 14, 19, 0.08); background: #fff; }
.est-input { flex: 1; min-width: 0; resize: none; max-height: 120px; border: 1px solid rgba(11, 14, 19, 0.15); border-radius: 12px; padding: 11px 12px; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--cream-panel); }
.est-mic, .est-send { min-height: 44px; border-radius: 12px; border: 0; cursor: pointer; font: 600 14px/1 var(--font-body); }
.est-mic { width: 44px; display: grid; place-items: center; background: var(--cream-band); color: var(--ink); }
.est-mic.is-on { background: #9a3d2b; color: #fff; }
.est-mic[hidden] { display: none; }
.est-send { padding: 0 16px; background: var(--ink); color: var(--cream-text); }
.est-send:disabled, .est-input:disabled { opacity: .55; cursor: default; }
.est-foot { margin: 0; padding: 0 14px 12px; font-size: 11.5px; line-height: 1.4; color: #7a7f87; background: #fff; }
.est-card { background: #fff; border: 1px solid rgba(216, 195, 155, 0.6); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.est-card-title { font: 400 11px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.est-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.est-lines li { display: grid; gap: 2px; font-size: 13.5px; color: var(--ink); }
.est-line-range { font-variant-numeric: tabular-nums; color: #50545b; }
.est-total { font: 600 15px/1.35 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.est-card-note { font-size: 12px; line-height: 1.4; color: #7a7f87; }
.est-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.est-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(11, 14, 19, 0.18); background: transparent; color: var(--ink); font: 600 13.5px/1 var(--font-body); text-decoration: none; cursor: pointer; }
.est-btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.est-lead { display: grid; gap: 8px; background: #fff; border: 1px solid rgba(11, 14, 19, 0.1); border-radius: 14px; padding: 14px; }
.est-field { display: grid; gap: 4px; font-size: 12.5px; color: #50545b; }
.est-field input { min-height: 42px; border: 1px solid rgba(11, 14, 19, 0.15); border-radius: 10px; padding: 0 10px; font: 400 16px/1 var(--font-body); color: var(--ink); }
.est-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: #50545b; }
.est-consent input { margin-top: 2px; width: 18px; height: 18px; flex: none; }
.est-lead-msg { font-size: 12.5px; color: #9a3d2b; min-height: 1em; }
.est-lead-done { font-size: 14px; line-height: 1.45; color: var(--ink); }
@media (max-width: 560px) {
  .est-panel { right: 0; left: 0; bottom: 0; width: 100%; height: calc(100dvh - 56px); border-radius: 18px 18px 0 0; }
  .est-launch { right: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 1024px) {
  .hero { padding-top: 148px; padding-bottom: 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .ai-grid { grid-template-columns: 1fr; gap: 44px; }
  .roles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .steps-line { display: none; }
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 26px; }
  .values { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  /* No-JS fallback: the menu renders expanded and the inert hamburger stays
     hidden; with JS the toggle appears and the menu collapses as before. */
  .js .nav-toggle { display: block; }
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 0 8px;
  }
  .js .nav-menu { display: none; }
  .js .nav-menu.open { display: flex; }
  .nav-menu > a:not(.btn) {
    font-size: 16px; color: #43474e; font-weight: 500; text-decoration: none;
    padding: 10px 0; width: 100%;
  }
  .nav-menu > a:not(.btn):hover { color: var(--ink); }
  .nav-menu .btn { margin-top: 10px; padding: 12px 22px; font-size: 14.5px; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 12.5px; letter-spacing: 0.16em; }
  .brand-icon { width: 34px; height: 34px; }
  .hero { padding-top: 132px; }
  .roles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .pillar { padding: 30px 26px; }
  .testimonial { padding: 28px 24px; }
  .float-card { left: -8px; bottom: -18px; }
  .float-badge { right: -6px; }
  /* Marquee gets the full row (label stacks above) and softer edge fades so
     more than a sliver of each name is readable on phones */
  .trust-items.marquee {
    flex-basis: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  }
  .btn-xl { width: 100%; text-align: center; }
  .contact-ctas { flex-direction: column; align-items: stretch; }
}

/* ============ Reduced motion ============
   Last in the file so its equal-specificity overrides win the cascade. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; }
  .js [data-reveal].in { animation: none; }
  .float-wrap, .float-badge, .float-card, .hero-glow, .contact-glow,
  .mission-glow, .ai-glow, .pillar-glow { animation: none !important; }
  .hero-title .wi { animation: none; transform: none; }
  .js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal] > *,
  .js .mission[data-reveal] .value,
  .js .steps[data-reveal] .step { opacity: 1; }
  .js :is(.pillars, .roles, .plans, .testimonials, .ai-list)[data-reveal].in > *,
  .js .mission[data-reveal].in .value,
  .js .steps[data-reveal].in .step,
  .js .steps[data-reveal].in .step-num { animation: none; }
  .js .steps[data-reveal] .steps-line { transform: none; transition: none; }
  .js [data-reveal] .kicker::before { transform: none; transition: none; }
  .trust-track { animation: none; }
  .btn-gold::after { content: none; }
  .btn-arrow { transition: none; }
  .nav-links > a:not(.btn)::after { transition: none; }
  .nav-progress { transition: none; }
}
