/* =========================================================
   KAU STUDIOS — styles.css
   Layout concept: dark charcoal/forest hero carrying a live
   "redesign → create → grow" demo, then light mist/sage
   content bands, one forest band (About), charcoal footer.
   ========================================================= */

:root {
  /* Brand palette (exact hex from the identity sheet) */
  --charcoal: #171C19;
  --forest: #123D2A;
  --emerald: #276749;
  --leaf: #4D9668;
  --lime: #A5D66D;
  --sage: #E5F0DF;
  --mist: #F7FAF5;
  --white: #FFFFFF;

  /* Derived text tones (checked for WCAG AA contrast) */
  --ink: #171C19;              /* body text on light */
  --ink-soft: #4A5750;         /* secondary text on light (≈7:1 on mist) */
  --on-dark: #F7FAF5;          /* text on dark */
  --on-dark-soft: #B7C6BC;     /* secondary text on dark (≈9:1 on charcoal) */
  --line: #D5E3CD;             /* hairlines on light */
  --line-dark: rgba(247, 250, 245, 0.12);
  --error: #B42318;
  --emerald-hover: #1F573C;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --fs-h1: clamp(2.6rem, 1.4rem + 3.6vw, 4.25rem);

  /* Space & shape */
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(23, 28, 25, 0.06), 0 12px 32px -12px rgba(18, 61, 42, 0.22);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; margin: 0; text-wrap: balance; font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; font-weight: 700; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.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;
}
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--charcoal); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--emerald); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.4rem;
  font: 700 var(--fs-sm)/1.1 var(--font); letter-spacing: -0.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: 10px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--emerald:hover { --btn-bg: var(--emerald-hover); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--charcoal); }
.btn--lime:hover { --btn-bg: #B6E283; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(247,250,245,.35); }
.btn--ghost-light:hover { --btn-bd: var(--lime); --btn-fg: var(--lime); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--forest); --btn-bd: var(--emerald); }
.btn--outline:hover { --btn-bg: var(--sage); }
.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-weight: 800; letter-spacing: -0.055em; font-size: 1.5rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
}
.wordmark--dark .wm-kau { color: var(--white); }
.wordmark--dark .wm-studios { color: var(--lime); }
.wordmark--light .wm-kau { color: var(--charcoal); }
.wordmark--light .wm-studios { color: var(--forest); }
.wordmark--lg { font-size: 2.1rem; }

/* ---------- Header / nav ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--charcoal);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(23, 28, 25, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-links { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.nav-links a {
  color: var(--on-dark-soft); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
  padding: 0.5rem 0; position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  border-radius: 10px; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--on-dark);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bars::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1.25rem var(--gutter-r) 1.75rem var(--gutter);
    background: var(--charcoal); border-bottom: 1px solid var(--line-dark);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 0.9rem 0; font-size: var(--fs-lg); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
  .nav-links a::after { display: none; }
  .nav-menu .btn { min-height: 48px; font-size: var(--fs-sm); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(39,103,73,.55), transparent 55%),
    linear-gradient(160deg, var(--charcoal) 0%, #13261C 55%, var(--forest) 100%);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(4rem, 2rem + 5vw, 7rem);
}
.hero-glow {
  position: absolute; z-index: -1; inset: auto -10% -40% 30%; height: 70%;
  background: radial-gradient(closest-side, rgba(165,214,109,.16), transparent);
  pointer-events: none;
}
/* fine dot grid, echoing the brand sheet's graphic elements */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(165,214,109,.16) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 75%);
  mask-image: linear-gradient(115deg, transparent 35%, #000 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { min-width: 0; }
.hero-title { font-size: var(--fs-h1); letter-spacing: -0.045em; line-height: 0.98; font-weight: 800; }
.hero-title span { display: block; white-space: nowrap; }
@media (max-width: 380px) { .hero-title span { white-space: normal; } }
.hero-title .hl { color: var(--lime); }
.hero-lede { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--on-dark-soft); max-width: 34rem; line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-services { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: var(--fs-sm); color: var(--on-dark-soft); }
.hero-services li { display: flex; align-items: center; gap: 0.5rem; }
.hero-services li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }

/* Hero entrance — starts visible; only a gentle rise */
@media (prefers-reduced-motion: no-preference) {
  .hero-title span, .hero-lede, .hero-ctas, .hero-services, .showcase { animation: rise .8s var(--ease) both; }
  .hero-title span:nth-child(2) { animation-delay: .08s; }
  .hero-title span:nth-child(3) { animation-delay: .16s; }
  .hero-lede { animation-delay: .24s; }
  .hero-ctas { animation-delay: .32s; }
  .hero-services { animation-delay: .4s; }
  .showcase { animation-delay: .2s; }
}
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   SHOWCASE (hero visual) — three scenes, sized in cqw so it
   scales with its own width on every screen.
   ========================================================= */
.showcase { min-width: 0; }
.stage {
  position: relative; container-type: inline-size;
  aspect-ratio: 4 / 3; width: 100%; max-width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(247,250,245,.07), rgba(247,250,245,.02));
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.scene {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transform: scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s .55s;
}
.scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

/* ---- Scene 1: website transformation ---- */
.browser {
  position: absolute; left: 4%; top: 7%; width: 74%; height: 80%;
  border-radius: 2cqw; overflow: hidden; background: #fff;
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0,0,0,.5);
}
.browser-bar {
  height: 7%; display: flex; align-items: center; gap: .9cqw; padding: 0 2cqw;
  background: #E9ECEA; position: relative;
}
.browser-bar i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #C7CDC9; }
.browser-url {
  margin-left: 1.5cqw; flex: 1; max-width: 32cqw; height: 2.6cqw; border-radius: 1.3cqw;
  background: #fff; font-size: 1.5cqw; line-height: 2.6cqw; padding-left: 1.5cqw; color: #66706A; font-weight: 500;
}
.ba-chip {
  margin-left: auto; position: relative; height: 2.8cqw; min-width: 8.5cqw; border-radius: 1.4cqw;
  font-size: 1.45cqw; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  display: grid; place-items: center; overflow: hidden;
}
.ba-chip > span { grid-area: 1 / 1; padding: 0 1.2cqw; line-height: 2.8cqw; border-radius: 1.4cqw; transition: opacity .4s, transform .4s var(--ease); }
.ba-before { background: #F1D9D4; color: #8A2E20; }
.ba-after { background: var(--lime); color: var(--charcoal); opacity: 0; transform: translateY(100%); }

.site {
  height: 93%; display: flex; flex-direction: column;
  padding: 2.2cqw 2.4cqw; gap: 2cqw;
  background: #EDE8DA; font-family: "Times New Roman", Times, serif;
  transition: background .7s var(--ease), padding .7s var(--ease), gap .7s var(--ease);
}
.site-nav {
  display: flex; align-items: center; gap: 1.6cqw; padding: 1cqw 1.2cqw;
  background: #C9C2AE; border: .25cqw solid #9C937B;
  transition: background .6s, border-color .6s, padding .6s, border-radius .6s;
}
.site-logo { width: 9cqw; height: 2.2cqw; background: #7E2A1E; transition: all .6s var(--ease); }
.site-link { width: 5cqw; height: .7cqw; background: #2747B0; transition: all .6s var(--ease); }
.site-navbtn { margin-left: auto; width: 0; height: 2.6cqw; border-radius: 1.3cqw; background: var(--lime); transition: width .6s var(--ease) .2s; }
.site-hero { display: flex; gap: 2cqw; flex: 1; align-items: stretch; transition: gap .6s; }
.site-hero-text { flex: 1.2; display: flex; flex-direction: column; gap: 1.1cqw; align-items: center; text-align: center; padding-top: 1cqw; transition: align-items .6s; }
.site-h { font-size: 2.8cqw; font-weight: 700; color: #3B2A1C; line-height: 1.1; letter-spacing: 0; }
.site-p { width: 90%; height: .8cqw; background: #A9A08A; transition: all .6s var(--ease); }
.site-p.short { width: 60%; }
.site-cta { font-size: 1.8cqw; color: #2747B0; text-decoration: underline; transition: all .6s var(--ease); }
.site-img { flex: 1; background: repeating-linear-gradient(45deg, #CFC8B3 0 1cqw, #C2BAA3 1cqw 2cqw); border: .25cqw solid #9C937B; transition: all .7s var(--ease); }
.site-cards { display: flex; gap: 1.2cqw; height: 22%; transition: gap .6s; }
.site-card { flex: 1; background: #F7F3E8; border: .25cqw solid #9C937B; display: grid; place-items: center; transition: all .6s var(--ease); }
.site-card i { width: 3.4cqw; height: 3.4cqw; border-radius: 0; background: #B8AF97; transition: all .6s var(--ease); }
.new-only { display: none; }

.scene-web.is-modern .site {
  background: linear-gradient(150deg, var(--forest), #0E2E20);
  font-family: var(--font); padding: 2.6cqw 3cqw; gap: 2.4cqw;
}
.scene-web.is-modern .site-nav { background: transparent; border-color: transparent; padding: 0; }
.scene-web.is-modern .site-logo { width: 7cqw; height: 1.8cqw; border-radius: .9cqw; background: #fff; }
.scene-web.is-modern .site-link { width: 4cqw; height: .7cqw; border-radius: .35cqw; background: rgba(255,255,255,.45); }
.scene-web.is-modern .site-navbtn { width: 8cqw; }
.scene-web.is-modern .site-hero-text { align-items: flex-start; text-align: left; padding-top: 1.5cqw; gap: 1.4cqw; }
.scene-web.is-modern .site-h { font-family: var(--font); font-size: 3.6cqw; font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1.02; }
.scene-web.is-modern .site-p { height: .8cqw; border-radius: .4cqw; background: rgba(255,255,255,.3); }
.scene-web.is-modern .site-cta { font-family: var(--font); font-size: 1.6cqw; font-weight: 700; text-decoration: none; color: var(--charcoal); background: var(--lime); padding: 1cqw 1.8cqw; border-radius: 1cqw; margin-top: .6cqw; }
.scene-web.is-modern .site-img { border: 0; border-radius: 1.6cqw; background: radial-gradient(80% 80% at 70% 20%, var(--leaf), var(--emerald) 60%, var(--forest)); }
.scene-web.is-modern .site-card { border: 0; border-radius: 1.4cqw; background: rgba(229,240,223,.1); }
.scene-web.is-modern .site-card i { border-radius: 50%; width: 3cqw; height: 3cqw; background: var(--lime); }
.scene-web.is-modern .old-only { display: none; }
.scene-web.is-modern .new-only { display: inline; }
.scene-web.is-modern .ba-before { opacity: 0; transform: translateY(-100%); }
.scene-web.is-modern .ba-after { opacity: 1; transform: none; }

.phone-mini {
  position: absolute; right: 4%; bottom: 6%; width: 21%; height: 64%;
  border-radius: 3cqw; padding: 3.4cqw 1.8cqw 1.8cqw;
  background: linear-gradient(170deg, var(--forest), #0B2419);
  border: .6cqw solid #0B0F0D; box-shadow: 0 3cqw 6cqw -1.5cqw rgba(0,0,0,.6);
  display: flex; flex-direction: column; gap: 1.2cqw;
  transform: translateX(140%) rotate(6deg); opacity: 0;
  transition: transform .8s var(--ease) .25s, opacity .5s .25s;
}
.scene-web.is-modern .phone-mini { transform: none; opacity: 1; }
.pm-nav { height: 1.2cqw; width: 45%; border-radius: .6cqw; background: rgba(255,255,255,.75); margin-bottom: .8cqw; }
.pm-h { height: 1.8cqw; border-radius: .5cqw; background: #fff; }
.pm-h.short { width: 70%; }
.pm-btn { height: 3cqw; width: 70%; border-radius: .8cqw; background: var(--lime); margin-top: .4cqw; }
.pm-tile { flex: 1; border-radius: 1.2cqw; background: rgba(229,240,223,.12); }

/* ---- Scene 2: content creation ---- */
.phone {
  position: absolute; left: 50%; top: 5%; width: 35%; height: 90%; transform: translateX(-50%);
  border-radius: 5cqw; border: .9cqw solid #0B0F0D; background: #0B0F0D;
  box-shadow: 0 4cqw 8cqw -2cqw rgba(0,0,0,.65);
}
.phone-screen { position: absolute; inset: 0; border-radius: 4cqw; overflow: hidden; background: var(--charcoal); }
.reel-frame {
  position: absolute; inset: 0; display: grid; align-content: center; padding: 0 3cqw;
  opacity: 0; transform: scale(1.06);
}
.reel-frame span { font-weight: 800; font-size: 5.4cqw; letter-spacing: -.05em; line-height: 1; color: #fff; }
.rf-1 { background: radial-gradient(90% 60% at 30% 30%, #3A4640, var(--charcoal)); }
.rf-1::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.3px); background-size: 2.4cqw 2.4cqw; }
.rf-2 { background: repeating-linear-gradient(135deg, var(--emerald) 0 2.2cqw, #2E7553 2.2cqw 4.4cqw); }
.rf-3 { background: radial-gradient(100% 70% at 70% 20%, var(--lime), var(--leaf) 45%, var(--forest)); }
.rf-3 span { color: var(--charcoal); }
.reel-frame span { position: relative; }
.reel-progress { position: absolute; z-index: 3; left: 2.4cqw; right: 2.4cqw; top: 3cqw; display: flex; gap: .6cqw; }
.reel-progress i { flex: 1; height: .45cqw; border-radius: .3cqw; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.reel-progress i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.reel-play {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: 8cqw; height: 8cqw; margin: -4cqw 0 0 -4cqw;
  border-radius: 50%; background: rgba(23,28,25,.45); border: .3cqw solid rgba(255,255,255,.7);
  opacity: 0;
}
.reel-play::after { content: ""; position: absolute; left: 3.2cqw; top: 2.3cqw; border-style: solid; border-width: 1.7cqw 0 1.7cqw 2.6cqw; border-color: transparent transparent transparent #fff; }
.reel-rail { position: absolute; z-index: 3; right: 2cqw; bottom: 14cqw; display: grid; gap: 2.2cqw; }
.rail-icon { width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: rgba(255,255,255,.18); position: relative; }
.rail-icon::after { content: ""; position: absolute; inset: 1cqw; border-radius: 50%; background: #fff; }
.ri-heart::after { background: var(--lime); }
.reel-caption { position: absolute; z-index: 3; left: 2.6cqw; right: 8cqw; bottom: 4cqw; display: grid; gap: .9cqw; }
.rc-handle { font-size: 1.8cqw; font-weight: 700; color: #fff; }
.rc-line { height: .8cqw; border-radius: .4cqw; background: rgba(255,255,255,.55); }
.rc-line.short { width: 60%; }

.float-card {
  position: absolute; border-radius: 1.8cqw; padding: 1.5cqw;
  background: rgba(247,250,245,.96); box-shadow: 0 2.5cqw 5cqw -1.5cqw rgba(0,0,0,.5);
  display: flex; flex-direction: column; gap: .9cqw;
  opacity: 0; transform: translateY(2cqw) scale(.94);
}
.fc-label { font-size: 1.5cqw; font-weight: 700; color: var(--forest); letter-spacing: -.01em; }
.fc-thumb { left: 5%; top: 14%; width: 22%; height: 30%; justify-content: flex-end; background: linear-gradient(160deg, var(--emerald), var(--forest)); }
.fc-thumb .fc-label { color: #fff; }
.fc-play { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); border-style: solid; border-width: 1.8cqw 0 1.8cqw 2.8cqw; border-color: transparent transparent transparent var(--lime); }
.fc-caption { left: 4%; bottom: 14%; width: 25%; }
.fc-line { height: .8cqw; border-radius: .4cqw; background: #BFD6B2; }
.fc-line.short { width: 65%; }
.fc-square { right: 5%; top: 30%; width: 22%; }
.fc-sq-art { aspect-ratio: 1; border-radius: 1cqw; background: radial-gradient(70% 70% at 30% 30%, var(--lime), var(--leaf) 50%, var(--emerald)); }

/* ---- Scene 3: business growth ---- */
.g-form {
  position: absolute; left: 5%; top: 11%; width: 43%; height: 74%;
  border-radius: 2cqw; padding: 3cqw; background: var(--mist);
  display: flex; flex-direction: column; gap: 1.6cqw;
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0,0,0,.5);
}
.g-form-title { font-size: 2.4cqw; font-weight: 800; letter-spacing: -.03em; color: var(--charcoal); margin-bottom: .4cqw; }
.g-field { height: 4.4cqw; border-radius: 1cqw; border: .25cqw solid var(--line); background: #fff; padding: 0 1.4cqw; display: flex; align-items: center; }
.g-field.tall { height: 14cqw; align-items: flex-start; padding-top: 1.6cqw; }
.g-field i { height: .9cqw; border-radius: .45cqw; background: var(--leaf); width: 0; }
.g-submit {
  margin-top: auto; height: 4.8cqw; border-radius: 1cqw; background: var(--emerald); color: #fff;
  display: grid; place-items: center; font-size: 1.8cqw; font-weight: 700; position: relative; overflow: hidden;
}
.g-submit > span { grid-area: 1/1; }
.g-submit-done { opacity: 0; color: var(--charcoal); }
.g-cursor {
  position: absolute; width: 2.4cqw; height: 2.4cqw; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 1cqw rgba(165,214,109,.25);
  left: 80%; top: 110%; opacity: 0;
}
.g-path { position: absolute; left: 46%; top: 22%; width: 12%; height: 40%; overflow: visible; }
.g-path path { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; opacity: 0; }
.g-notify {
  position: absolute; left: 55%; top: 11%; width: 40%;
  border-radius: 1.8cqw; padding: 1.8cqw; background: #fff;
  display: flex; align-items: center; gap: 1.6cqw;
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-3cqw);
}
.g-notify-icon { flex: none; width: 5cqw; height: 5cqw; border-radius: 1.4cqw; background: var(--lime); position: relative; }
.g-notify-icon::before { content: ""; position: absolute; inset: 1.5cqw 1.1cqw; border: .35cqw solid var(--charcoal); border-radius: .4cqw; }
.g-notify-icon::after { content: ""; position: absolute; left: 1.4cqw; right: 1.4cqw; top: 1.5cqw; height: 1.4cqw; border-bottom: .35cqw solid var(--charcoal); border-right: .35cqw solid var(--charcoal); transform: skewY(0) rotate(45deg) scale(.7); transform-origin: center; }
.g-notify-text { display: grid; gap: .3cqw; min-width: 0; }
.g-notify-text b { font-size: 2cqw; color: var(--charcoal); letter-spacing: -.02em; }
.g-notify-text small { font-size: 1.5cqw; color: var(--ink-soft); }
.g-chart {
  position: absolute; left: 55%; top: 37%; width: 40%; height: 48%;
  border-radius: 1.8cqw; padding: 2cqw; background: rgba(247,250,245,.06); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column;
}
.g-chart-title { font-size: 1.6cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.g-bars { flex: 1; display: flex; align-items: flex-end; gap: 1.2cqw; margin-top: 1.6cqw; }
.g-bars i { flex: 1; border-radius: .6cqw .6cqw 0 0; background: linear-gradient(180deg, var(--leaf), var(--emerald)); height: 10%; transform-origin: bottom; }
.g-bars i:last-child { background: linear-gradient(180deg, var(--lime), var(--leaf)); }
.g-line { position: absolute; left: 2cqw; right: 2cqw; bottom: 2cqw; height: 55%; width: calc(100% - 4cqw); overflow: visible; }
.g-line path { fill: none; stroke: var(--lime); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 200; stroke-dashoffset: 200; stroke-linecap: round; stroke-linejoin: round; }

/* Scene 2/3 timelines (run each time the scene becomes active) */
@media (prefers-reduced-motion: no-preference) {
  .scene-content.is-active .float-card { animation: pop .6s var(--ease) both; }
  .scene-content.is-active .fc-caption { animation-delay: .25s; }
  .scene-content.is-active .fc-square { animation-delay: .45s; }
  .scene-content.is-active .rf-1 { animation: frame 3s linear both; }
  .scene-content.is-active .rf-2 { animation: frame 3s linear 0.95s both; }
  .scene-content.is-active .rf-3 { animation: frame-last 3s linear 1.9s both; }
  .scene-content.is-active .reel-progress i:nth-child(1)::after { animation: fill .95s linear both; }
  .scene-content.is-active .reel-progress i:nth-child(2)::after { animation: fill .95s linear .95s both; }
  .scene-content.is-active .reel-progress i:nth-child(3)::after { animation: fill .95s linear 1.9s both; }
  .scene-content.is-active .reel-play { animation: play-blip .9s var(--ease) .1s both; }
  .scene-content.is-active .ri-heart { animation: heart .5s var(--ease) 2.3s both; }

  .scene-grow.is-active .g-cursor { animation: cursor 1.6s var(--ease) both; }
  .scene-grow.is-active .gf-1 i { animation: type .35s linear .25s both; --w: 55%; }
  .scene-grow.is-active .gf-2 i { animation: type .35s linear .55s both; --w: 70%; }
  .scene-grow.is-active .gf-3 i { animation: type .45s linear .85s both; --w: 85%; }
  .scene-grow.is-active .g-submit { animation: press .3s ease 1.45s both; }
  .scene-grow.is-active .g-submit-text { animation: fade-out .2s 1.6s both; }
  .scene-grow.is-active .g-submit-done { animation: fade-in .2s 1.6s both; }
  .scene-grow.is-active .g-path path { animation: fade-in .3s 1.65s both, dash 1s linear 1.65s infinite; }
  .scene-grow.is-active .g-notify { animation: drop .6s var(--ease) 1.8s both; }
  .scene-grow.is-active .g-bars i { animation: grow-bar .7s var(--ease) both; }
  .scene-grow.is-active .g-bars i:nth-child(1) { --h: 22%; animation-delay: 1.9s; }
  .scene-grow.is-active .g-bars i:nth-child(2) { --h: 34%; animation-delay: 1.98s; }
  .scene-grow.is-active .g-bars i:nth-child(3) { --h: 31%; animation-delay: 2.06s; }
  .scene-grow.is-active .g-bars i:nth-child(4) { --h: 52%; animation-delay: 2.14s; }
  .scene-grow.is-active .g-bars i:nth-child(5) { --h: 68%; animation-delay: 2.22s; }
  .scene-grow.is-active .g-bars i:nth-child(6) { --h: 90%; animation-delay: 2.3s; }
  .scene-grow.is-active .g-line path { animation: draw 1s var(--ease) 2.1s both; }
}
/* Paused: freeze every running scene animation */
.showcase.is-paused .scene * { animation-play-state: paused !important; }

@keyframes pop { from { opacity: 0; transform: translateY(2cqw) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes frame { 0% { opacity: 0; transform: scale(1.06); } 6% { opacity: 1; } 32% { opacity: 1; transform: scale(1); } 38%, 100% { opacity: 0; transform: scale(1); } }
@keyframes frame-last { 0% { opacity: 0; transform: scale(1.06); } 6%, 100% { opacity: 1; transform: scale(1); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes play-blip { 0% { opacity: 0; transform: scale(.7); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes heart { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes cursor {
  0% { opacity: 0; left: 80%; top: 105%; }
  15% { opacity: 1; left: 30%; top: 25%; }
  40% { left: 40%; top: 37%; }
  60% { left: 45%; top: 55%; }
  85%, 100% { opacity: 1; left: 50%; top: 88%; }
}
@keyframes type { from { width: 0; } to { width: var(--w); } }
@keyframes press { 0% { transform: scale(1); } 50% { transform: scale(.96); } 100% { transform: scale(1); background: var(--lime); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -14; } }
@keyframes drop { from { opacity: 0; transform: translateY(-3cqw); } to { opacity: 1; transform: none; } }
@keyframes grow-bar { from { height: 4%; } to { height: var(--h); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Reduced motion: show each scene's finished state, no timelines */
@media (prefers-reduced-motion: reduce) {
  .scene, .scene.is-active, .site, .site *, .phone-mini, .ba-chip > span { transition: none !important; }
  .scene-content .float-card { opacity: 1; transform: none; }
  .scene-content .rf-3 { opacity: 1; transform: none; }
  .scene-content .reel-progress i::after { transform: scaleX(1); }
  .scene-grow .g-field i { width: 70%; }
  .scene-grow .g-submit { background: var(--lime); }
  .scene-grow .g-submit-text { opacity: 0; }
  .scene-grow .g-submit-done { opacity: 1; }
  .scene-grow .g-path path { opacity: 1; }
  .scene-grow .g-notify { opacity: 1; transform: none; }
  .scene-grow .g-bars i:nth-child(1) { height: 22%; }
  .scene-grow .g-bars i:nth-child(2) { height: 34%; }
  .scene-grow .g-bars i:nth-child(3) { height: 31%; }
  .scene-grow .g-bars i:nth-child(4) { height: 52%; }
  .scene-grow .g-bars i:nth-child(5) { height: 68%; }
  .scene-grow .g-bars i:nth-child(6) { height: 90%; }
  .scene-grow .g-line path { stroke-dashoffset: 0; }
}

/* ---- Stage controls ---- */
.stage-controls { display: flex; gap: 0.75rem; margin-top: 1rem; align-items: stretch; }
.stage-tabs { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.stage-tab {
  position: relative; text-align: left; cursor: pointer; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; column-gap: .5rem; row-gap: .2rem; align-content: start;
  padding: 0.8rem 0.9rem 1rem; border-radius: 12px;
  background: rgba(247,250,245,.04); border: 1px solid var(--line-dark);
  color: var(--on-dark-soft); font: inherit;
  transition: background .25s, border-color .25s, color .25s;
}
.stage-tab:hover { background: rgba(247,250,245,.08); color: var(--on-dark); }
.stage-tab.is-active { background: rgba(165,214,109,.1); border-color: rgba(165,214,109,.45); color: var(--on-dark); }
.st-num { font-size: var(--fs-xs); font-weight: 700; color: var(--lime); font-variant-numeric: tabular-nums; line-height: 1.5; }
.st-name { font-weight: 700; font-size: var(--fs-sm); letter-spacing: -.01em; }
.st-desc { grid-column: 1 / -1; font-size: var(--fs-xs); line-height: 1.4; }
.st-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.st-bar i { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.stage-tab.is-active .st-bar i { transform: scaleX(var(--p, 0)); }
.stage-pause {
  flex: none; width: 48px; border-radius: 12px; cursor: pointer;
  background: rgba(247,250,245,.04); border: 1px solid var(--line-dark); color: var(--on-dark);
  display: grid; place-items: center;
}
.stage-pause:hover { border-color: var(--lime); }
.ico-pause { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.stage-pause[aria-pressed="true"] .ico-pause { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }

@media (max-width: 560px) {
  .st-desc, .st-num { display: none; }
  .stage-tab { padding: .75rem .5rem .9rem; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .stage { aspect-ratio: 4 / 3.3; }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: var(--section-y); scroll-margin-top: 60px; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head h2 { color: var(--charcoal); }
.section-lede { margin-top: 1.1rem; font-size: var(--fs-lg); color: var(--ink-soft); line-height: 1.55; max-width: 38rem; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; }
.section-head--split .section-lede { margin-top: 0; font-size: var(--fs-base); }
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Services ---------- */
.services { background: var(--mist); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 860px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }
.service-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C3D9B8; }
.svc-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.svc-body h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); letter-spacing: -.03em; color: var(--charcoal); }
.svc-body > p { color: var(--ink-soft); }
.svc-body .btn { align-self: flex-start; margin-top: auto; }
.checklist { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23276749' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

.svc-visual { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; container-type: inline-size; }
.svc-visual--web { background: linear-gradient(150deg, var(--sage), #D2E6C8); }
.svc-visual--content { background: linear-gradient(150deg, var(--forest), var(--charcoal)); }
.sv-browser {
  position: absolute; left: 8%; top: 14%; width: 66%; height: 100%;
  background: var(--white); border-radius: 2cqw 2cqw 0 0; box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
}
.sv-bar { display: flex; gap: .8cqw; padding: 1.6cqw 2cqw; border-bottom: 1px solid var(--line); }
.sv-bar i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: var(--line); }
.sv-body { padding: 3cqw; display: grid; gap: 1.6cqw; }
.sv-h { height: 2.4cqw; width: 75%; border-radius: .8cqw; background: var(--charcoal); }
.sv-h.short { width: 50%; background: var(--emerald); }
.sv-btn { width: 16cqw; height: 4cqw; border-radius: 1cqw; background: var(--lime); }
.sv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; margin-top: 1cqw; }
.sv-row span { height: 9cqw; border-radius: 1.2cqw; background: var(--sage); }
.sv-phone {
  position: absolute; right: 8%; top: 24%; width: 19%; height: 92%;
  background: var(--forest); border: .8cqw solid var(--charcoal); border-radius: 3.6cqw;
  padding: 4cqw 2cqw; display: grid; gap: 1.6cqw; align-content: start;
  box-shadow: var(--shadow); transition: transform .5s var(--ease);
}
.sv-phone .sv-h { width: 100%; background: var(--white); height: 2cqw; }
.sv-phone .sv-btn { width: 70%; height: 3.4cqw; }
.sv-tile { height: 14cqw; border-radius: 1.6cqw; background: rgba(229,240,223,.15); }
.service-card:hover .sv-browser { transform: translateY(-2.5%); }
.service-card:hover .sv-phone { transform: translateY(-5%) rotate(-2deg); }

.sv-reel {
  position: absolute; left: 50%; top: 12%; width: 25%; height: 100%; transform: translateX(-50%);
  border-radius: 3.4cqw 3.4cqw 0 0; border: .8cqw solid #0B0F0D; border-bottom: 0;
  background: radial-gradient(100% 70% at 70% 15%, var(--lime), var(--leaf) 40%, var(--emerald) 75%);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1.2cqw; padding: 0 2.4cqw 14%;
  box-shadow: 0 2cqw 4cqw -1cqw rgba(0,0,0,.5);
  transition: transform .5s var(--ease);
}
.sv-reel--back, .sv-reel--front { padding: 0; opacity: .95; }
.sv-platform {
  position: absolute; top: 3cqw; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .8cqw; white-space: nowrap;
  padding: .7cqw 1.4cqw; border-radius: 3cqw;
  background: rgba(23,28,25,.72); color: var(--white);
  font-size: 1.9cqw; font-weight: 700; letter-spacing: -.01em;
}
.sv-platform-logo { width: 2.6cqw; height: 2.6cqw; object-fit: contain; }
.sv-reel--back { transform: translateX(-140%) rotate(-8deg); top: 22%; background: linear-gradient(160deg, var(--emerald), var(--forest)); }
.sv-reel--front { transform: translateX(40%) rotate(8deg); top: 22%; background: repeating-linear-gradient(135deg, var(--leaf) 0 2cqw, var(--emerald) 2cqw 4cqw); }
.sv-play { position: absolute; left: 50%; top: 32%; width: 9cqw; height: 9cqw; margin-left: -4.5cqw; border-radius: 50%; background: rgba(23,28,25,.5); }
.sv-play::after { content: ""; position: absolute; left: 3.6cqw; top: 2.6cqw; border-style: solid; border-width: 1.9cqw 0 1.9cqw 2.9cqw; border-color: transparent transparent transparent #fff; }
.sv-cap { height: 1.2cqw; border-radius: .6cqw; background: rgba(23,28,25,.6); }
.sv-cap.short { width: 60%; }
.service-card:hover .sv-reel--back { transform: translateX(-150%) rotate(-11deg); }
.service-card:hover .sv-reel--front { transform: translateX(50%) rotate(11deg); }
.service-card:hover .sv-reel:not(.sv-reel--back):not(.sv-reel--front) { transform: translateX(-50%) translateY(-4%); }

/* ---------- Work ---------- */
.work { background: var(--sage); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.work-card {
  min-width: 0; display: flex; flex-direction: column;
  background: var(--mist); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid #CFE0C5;
}
.work-card--wide { grid-column: 1 / -1; }
.work-card--split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 860px) { .work-card--split { grid-template-columns: minmax(0, 1fr); } }
.work-meta.work-meta--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.5rem 3rem; align-items: start; }
.work-meta--wide > div { display: flex; flex-direction: column; gap: .7rem; }
.ba-changes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.ba-changes li { padding-left: 1rem; border-left: 2px solid var(--lime); line-height: 1.5; }
.ba-changes b { display: block; color: var(--charcoal); font-weight: 700; }
@media (max-width: 860px) { .work-meta.work-meta--wide, .ba-changes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
}
.work-meta { padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .7rem; justify-content: center; }
.work-meta h3 { color: var(--charcoal); }
.work-meta p { color: var(--ink-soft); font-size: var(--fs-sm); }
.tag {
  align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; background: var(--white); color: var(--emerald); border: 1px solid #C3D9B8;
}

/* before / after slider — two mini-sites drawn on the same canvas,
   sized in cqw so they scale like a screenshot */
.ba { position: relative; aspect-ratio: 16 / 11; overflow: hidden; container-type: inline-size; --pos: 50%; background: #fff; }
.ba-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ba svg { display: block; fill: var(--car-body, #333); }
.car-glass { fill: var(--car-glass, #9fb3c2); }
.car-tire { fill: var(--car-tire, #1b1f22); }
.car-rim { fill: var(--car-rim, #b8c0c6); }
.ba-layer { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; }

/* BEFORE (template-builder look) */
.ba-old { background: #fff; font-family: Arial, Helvetica, sans-serif; color: #666; }
.bo-top { flex: none; height: 3cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 3cqw; background: #333; color: #bbb; font-size: 1.05cqw; }
.bo-social { display: flex; gap: .5cqw; }
.bo-social i { font-style: normal; width: 1.9cqw; height: 1.9cqw; display: grid; place-items: center; background: #555; color: #ddd; font-size: .8cqw; font-weight: 700; }
.bo-header { flex: none; height: 7.6cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 3cqw; border-bottom: 1px solid #ddd; background: #fff; }
.bo-logo { display: flex; align-items: center; gap: 1cqw; --car-body: #1E73BE; --car-glass: #cfe3f5; }
.bo-logo svg { width: 6.5cqw; }
.bo-logo span { display: grid; line-height: 1.1; }
.bo-logo b { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 2.5cqw; color: #1E73BE; }
.bo-logo small { font-size: .95cqw; color: #888; letter-spacing: .02em; }
.bo-menu { display: flex; gap: 2.2cqw; font-size: 1.05cqw; letter-spacing: .06em; color: #555; }
.bo-menu u { text-decoration: none; color: #1E73BE; border-bottom: .2cqw solid #1E73BE; padding-bottom: .4cqw; }
.bo-hero {
  flex: none; position: relative; height: 22.5cqw; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(180deg, #8a99a5 0%, #6b7a86 55%, #4b545b 56%, #3b4248 100%);
  --car-body: #2b3238; --car-glass: #5d6d79; --car-tire: #15181b; --car-rim: #6f7880;
}
.bo-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.bo-hero-car { position: absolute; width: 62%; left: 19%; bottom: 1cqw; }
.bo-hero-text { position: relative; z-index: 1; text-align: center; display: grid; gap: 1.2cqw; justify-items: center; padding: 0 8cqw; }
.bo-h { font-size: 2.7cqw; font-weight: 700; letter-spacing: .05em; color: #fff; text-shadow: 0 .2cqw .4cqw rgba(0,0,0,.6); line-height: 1.2; }
.bo-sub { font-size: 1.5cqw; font-style: italic; color: #f1f1f1; text-shadow: 0 .2cqw .4cqw rgba(0,0,0,.6); }
.bo-btn { background: #1E73BE; color: #fff; font-size: 1.1cqw; font-weight: 700; letter-spacing: .08em; padding: 1cqw 2.6cqw; margin-top: .4cqw; }
.bo-arrow { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); font-size: 4.5cqw; color: rgba(255,255,255,.7); line-height: 1; }
.bo-arrow--l { left: 2cqw; } .bo-arrow--r { right: 2cqw; }
.bo-dots { position: absolute; z-index: 1; bottom: 1.6cqw; left: 50%; transform: translateX(-50%); display: flex; gap: .8cqw; }
.bo-dots i { width: 1cqw; height: 1cqw; border-radius: 50%; background: rgba(255,255,255,.5); }
.bo-dots i:first-child { background: #fff; }
.bo-about { flex: none; padding: 2.2cqw 11cqw 2cqw; text-align: center; display: grid; justify-items: center; gap: 1cqw; }
.bo-h2 { font-size: 1.9cqw; font-weight: 700; letter-spacing: .08em; color: #333; }
.bo-rule { width: 5cqw; height: .25cqw; background: #1E73BE; }
.bo-p { font-size: 1.08cqw; line-height: 1.65; color: #777; }
.bo-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 0 6cqw; }
.bo-col { display: grid; gap: .7cqw; align-content: start; text-align: center; }
.bo-img { height: 8.4cqw; display: grid; place-items: center; background: linear-gradient(180deg, #b7c0c7, #8e989f); --car-body: #4d565d; --car-glass: #8a99a4; --car-tire: #222; --car-rim: #9aa3aa; }
.bo-img--2 { background: linear-gradient(180deg, #a9b4a8, #7f8c80); --car-body: #7a2b26; }
.bo-img--3 { background: linear-gradient(180deg, #c4c4c4, #9a9a9a); --car-body: #1d1f21; }
.bo-img svg { width: 70%; }
.bo-col b { font-size: 1.45cqw; color: #333; }
.bo-col p { font-size: 1.02cqw; line-height: 1.5; color: #777; }
.bo-col u { font-size: 1.02cqw; color: #1E73BE; }

/* AFTER (Kau Studios redesign for the client's own brand) */
.ba-new {
  z-index: 2; clip-path: inset(0 0 0 var(--pos));
  --navy: #0F2A3D; --amber: #F5A524; --slate: #4B5D6B; --hair: #E3E9EE;
  background: #fff; font-family: var(--font); color: var(--navy);
}
.bn-top { flex: none; height: 2.8cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 4cqw; background: var(--navy); color: #C9D6E0; font-size: 1cqw; font-weight: 500; }
.bn-header { flex: none; height: 7cqw; display: flex; align-items: center; gap: 2.6cqw; padding: 0 4cqw; border-bottom: 1px solid var(--hair); }
.bn-logo { display: flex; align-items: center; gap: .9cqw; font-weight: 800; font-size: 1.9cqw; letter-spacing: -.04em; }
.bn-logo small { font-size: 1cqw; font-weight: 500; letter-spacing: 0; color: var(--slate); margin-left: .2cqw; }
.bn-mark { width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; background: var(--navy); position: relative; }
.bn-mark::after { content: ""; position: absolute; left: .6cqw; right: .6cqw; top: 1.05cqw; height: .5cqw; border-radius: .25cqw; background: var(--amber); }
.bn-menu { display: flex; gap: 2.2cqw; margin-left: auto; font-size: 1.15cqw; font-weight: 500; color: #3A4B59; }
.bn-phone { display: flex; align-items: center; gap: .6cqw; font-size: 1.25cqw; font-weight: 700; padding-left: 2.2cqw; border-left: 1px solid var(--hair); }
.bn-ico-phone { width: 1.4cqw; height: 1.4cqw; flex: none; fill: currentColor; }
.bn-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--amber); color: var(--navy); font-weight: 700; font-size: 1.3cqw; padding: 1.3cqw 2.3cqw; border-radius: .9cqw; white-space: nowrap; }
.bn-btn--sm { font-size: 1.1cqw; padding: 1cqw 1.8cqw; }
.bn-btn--block { width: 100%; margin-top: .6cqw; }
.bn-ghost { display: inline-flex; align-items: center; gap: .8cqw; border: .15cqw solid #C3CFD8; padding: 1.2cqw 2.2cqw; border-radius: .9cqw; font-weight: 600; font-size: 1.3cqw; }
.bn-hero { flex: none; display: flex; gap: 3.6cqw; align-items: center; padding: 2.8cqw 4cqw 2.6cqw; background: linear-gradient(180deg, #F2F6F9, #fff); }
.bn-hero-copy { flex: 1.25; display: grid; gap: 1.5cqw; justify-items: start; }
.bn-pill { display: inline-flex; align-items: center; gap: .7cqw; font-size: 1cqw; font-weight: 600; color: #1F6B45; background: #E3F3EA; padding: .5cqw 1.2cqw; border-radius: 2cqw; }
.bn-pill i { width: .8cqw; height: .8cqw; border-radius: 50%; background: #2E9E62; }
.bn-h { font-size: 4.4cqw; font-weight: 800; letter-spacing: -.045em; line-height: 1.02; max-width: 15ch; }
.bn-p { font-size: 1.4cqw; line-height: 1.5; color: var(--slate); max-width: 40ch; }
.bn-ctas { display: flex; gap: 1.2cqw; margin-top: .4cqw; }
.bn-trust { display: flex; gap: 2cqw; font-size: 1.05cqw; font-weight: 600; color: #34495A; margin-top: .4cqw; }
.bn-trust span { display: flex; align-items: center; gap: .6cqw; }
.bn-trust i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #E3F3EA; position: relative; }
.bn-trust i::after { content: ""; position: absolute; left: .45cqw; top: .25cqw; width: .4cqw; height: .7cqw; border-right: .2cqw solid #1F6B45; border-bottom: .2cqw solid #1F6B45; transform: rotate(45deg); }
.bn-quote { flex: 1; background: #fff; border: 1px solid var(--hair); border-radius: 1.6cqw; padding: 1.9cqw 2.1cqw; display: grid; gap: .65cqw; box-shadow: 0 2cqw 4cqw -2cqw rgba(15,42,61,.25); }
.bn-q-title { font-size: 1.6cqw; font-weight: 800; letter-spacing: -.02em; margin-bottom: .3cqw; }
.bn-q-label { font-size: .95cqw; font-weight: 600; color: var(--slate); }
.bn-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6cqw; }
.bn-seg span { text-align: center; font-size: 1.05cqw; font-weight: 600; padding: .75cqw 0; border: .15cqw solid var(--hair); border-radius: .7cqw; color: var(--slate); }
.bn-seg .on { border-color: var(--navy); background: var(--navy); color: #fff; }
.bn-input { display: flex; justify-content: space-between; align-items: center; font-size: 1.05cqw; color: #7A8995; padding: .75cqw 1.1cqw; border: .15cqw solid var(--hair); border-radius: .7cqw; background: #FAFCFD; }
.bn-input em { font-style: normal; }
.bn-q-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6cqw; }
.bn-q-note { text-align: center; font-size: .9cqw; color: #7A8995; }
.bn-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: .4cqw 4cqw 2.4cqw; }
.bn-svc { position: relative; border: 1px solid var(--hair); border-radius: 1.4cqw; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.bn-svc-img { height: 6.6cqw; display: grid; place-items: center; background: linear-gradient(160deg, #1B4462, var(--navy)); --car-body: #E9EEF2; --car-glass: #7FA2BC; --car-tire: #0a1620; --car-rim: #F5A524; }
.bn-svc-img--2 { background: linear-gradient(160deg, #24557A, #12324A); --car-body: #F5A524; --car-rim: #E9EEF2; }
.bn-svc-img--3 { background: linear-gradient(160deg, #183C56, #0B2131); --car-body: #9FB4C4; }
.bn-svc-img svg { width: 58%; }
.bn-svc-body { padding: 1.3cqw 1.5cqw 1.5cqw; display: grid; gap: .5cqw; }
.bn-svc-body b { font-size: 1.4cqw; letter-spacing: -.02em; }
.bn-svc-body small { font-size: .98cqw; color: var(--slate); }
.bn-svc-body em { font-style: normal; font-size: 1.02cqw; font-weight: 700; color: #B86E00; }
.bn-badge { position: absolute; top: 1cqw; right: 1cqw; font-size: .85cqw; font-weight: 700; background: var(--amber); color: var(--navy); padding: .35cqw .9cqw; border-radius: 1cqw; }

.ba-handle { z-index: 3; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--lime); transform: translateX(-1px); pointer-events: none; }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: var(--lime); box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.ba-handle span { display: grid; place-items: center; }
.ba-handle svg { width: 60%; height: 60%; fill: var(--charcoal); }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.ba-range:focus-visible + .ba-tag, .ba:focus-within .ba-handle span { outline: 3px solid var(--white); outline-offset: 2px; }
.ba-tag {
  z-index: 4; position: absolute; bottom: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 6px; pointer-events: none;
}
.ba-tag--l { left: 12px; background: #F1D9D4; color: #8A2E20; }
.ba-tag--r { right: 12px; background: var(--lime); color: var(--charcoal); }
@media (max-width: 560px) { .ba-tag { font-size: .62rem; bottom: 6px; padding: .2rem .45rem; } .ba-tag--l { left: 6px; } .ba-tag--r { right: 6px; } .ba-handle span { width: 34px; height: 34px; margin: -17px 0 0 -17px; } }

.wc-visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; }
/* AI-assisted ad set: raw clip in, three ad formats out */
.wc-visual--adset {
  background: radial-gradient(80% 90% at 85% 15%, rgba(77,150,104,.45), transparent 60%), linear-gradient(150deg, var(--charcoal), var(--forest));
  display: flex; align-items: center; justify-content: center; gap: 2.2cqw; padding: 0 2.5cqw; color: var(--white);
}
.as-source, .as-outputs { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; }
.as-label { font-size: 2.2cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.as-note { font-size: 2.2cqw; color: var(--on-dark-soft); white-space: nowrap; }
.as-clip {
  position: relative; width: 18cqw; aspect-ratio: 9 / 16; border-radius: 1.8cqw; border: .5cqw solid #0B0F0D;
  background: linear-gradient(180deg, #8C958F 0%, #6E7A70 45%, #4F5A50 46%, #3F4840 100%);
  filter: saturate(.55); transform: rotate(-4deg);
}
.as-clip::before { content: ""; position: absolute; left: 30%; bottom: 46%; width: 40%; height: 34%; border-radius: 50% 50% 10% 10%; background: #46553F; }
.as-rec { position: absolute; top: 1.6cqw; left: 1.6cqw; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #E5484D; }
.as-file { position: absolute; left: 0; right: 0; bottom: 1.4cqw; text-align: center; font-size: 1.9cqw; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.as-flow { flex: none; position: relative; width: 11cqw; height: 2px; margin-top: 4cqw; background: repeating-linear-gradient(90deg, var(--lime) 0 1cqw, transparent 1cqw 1.8cqw); }
.as-flow::after { content: ""; position: absolute; right: -.4cqw; top: 50%; margin-top: -1cqw; border-style: solid; border-width: 1cqw 0 1cqw 1.4cqw; border-color: transparent transparent transparent var(--lime); }
.as-chip {
  position: absolute; left: 50%; bottom: 2.4cqw; transform: translateX(-50%); width: max-content; max-width: 13cqw; text-align: center; line-height: 1.15;
  background: var(--lime); color: var(--charcoal); font-size: 2cqw; font-weight: 800; padding: .9cqw 1.2cqw; border-radius: 1.4cqw;
}
.as-row { display: flex; align-items: flex-end; gap: 1.8cqw; }
.as-out {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 1cqw;
  padding: 1.4cqw; border-radius: 1.6cqw; overflow: hidden; border: .4cqw solid #0B0F0D;
  transition: transform .4s var(--ease);
}
.as-out b { font-size: 2.5cqw; line-height: 1.15; letter-spacing: -.02em; }
.as-out b { background: rgba(23,28,25,.78); color: #fff; padding: .4cqw .7cqw; border-radius: .6cqw; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.as-out--v { width: 17cqw; aspect-ratio: 9 / 16; background: radial-gradient(100% 70% at 70% 20%, var(--lime), var(--leaf) 45%, var(--forest)); }
.as-out--s { width: 18cqw; aspect-ratio: 1; background: linear-gradient(150deg, var(--emerald), var(--forest)); }
.as-out--p { width: 15.5cqw; aspect-ratio: 4 / 5; background: repeating-linear-gradient(135deg, var(--leaf) 0 2cqw, var(--emerald) 2cqw 4cqw); }
.as-bar { position: absolute; top: 1.2cqw; left: 1.2cqw; right: 1.2cqw; height: .5cqw; border-radius: .3cqw; background: linear-gradient(90deg, #fff 55%, rgba(255,255,255,.35) 55%); }
.as-fmt { position: absolute; top: 2.4cqw; right: 1.2cqw; font-size: 1.8cqw; font-weight: 800; color: var(--charcoal); background: var(--white); padding: .3cqw .7cqw; border-radius: .6cqw; font-variant-numeric: tabular-nums; }
.as-out--s .as-fmt, .as-out--p .as-fmt { top: 1.2cqw; }
.as-cta { align-self: flex-start; font-size: 2cqw; font-weight: 800; color: var(--charcoal); background: var(--lime); padding: .5cqw 1cqw; border-radius: .6cqw; }
.work-card:hover .as-out--v { transform: translateY(-4%); }
.work-card:hover .as-out--s { transform: translateY(-6%); }
.work-card:hover .as-out--p { transform: translateY(-3%); }


/* ---------- Process ---------- */
.process { background: var(--mist); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 28px; right: calc((100% - 3rem) / 3 - 28px); top: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--leaf) 0 8px, transparent 8px 16px);
  opacity: .5; z-index: 0;
}
.step { position: relative; z-index: 1; display: grid; gap: .8rem; align-content: start; padding-right: 1rem; }
.step-num {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 800; color: var(--charcoal); background: var(--lime);
  box-shadow: 0 0 0 6px var(--mist); margin-bottom: .5rem;
}
.step:nth-child(2) .step-num { background: var(--leaf); color: var(--white); }
.step:nth-child(3) .step-num { background: var(--forest); color: var(--lime); }
.step h3 { color: var(--charcoal); }
.step p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--leaf) 0 8px, transparent 8px 16px); }
  .step { grid-template-columns: 56px minmax(0, 1fr); column-gap: 1.25rem; }
  .step-num { grid-row: span 2; margin: 0; }
}

/* ---------- About ---------- */
.about {
  background:
    radial-gradient(60% 80% at 100% 100%, rgba(77,150,104,.35), transparent 60%),
    var(--forest);
  color: var(--on-dark);
}
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem 4rem; align-items: start; }
.about h2 { color: var(--white); }
.about-copy { display: grid; gap: 1.1rem; font-size: var(--fs-lg); line-height: 1.6; color: #D5E2D8; max-width: 38rem; }
.about-copy p:first-child { color: var(--white); font-weight: 500; }
.about-note { font-size: var(--fs-sm); color: var(--lime); font-weight: 600; padding-top: .5rem; border-top: 1px solid var(--line-dark); }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 2.5rem 4rem; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-intro h2 { color: var(--charcoal); }
.contact-intro > p:not(.eyebrow) { margin-top: 1.1rem; color: var(--ink-soft); font-size: var(--fs-lg); line-height: 1.55; }
.contact-facts { margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-facts div { padding-top: 1rem; border-top: 1px solid var(--line); }
.contact-facts dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); }
.contact-facts dd { margin: .25rem 0 0; font-weight: 600; overflow-wrap: anywhere; }

.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.5rem); box-shadow: var(--shadow); min-width: 0;
}
#inquiry-form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-row, .form-row--3 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--charcoal); }
.req { color: var(--emerald); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: var(--mist); border: 1.5px solid #CBD9C3; border-radius: 10px;
  padding: .8rem .9rem; min-height: 48px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 2.5rem;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23276749' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right .9rem center/12px no-repeat;
}
.field input::placeholder { color: #84918A; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--leaf); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald); background: var(--white); box-shadow: 0 0 0 4px rgba(165,214,109,.45);
}
.field [aria-invalid="true"] { border-color: var(--error); background: #FFF8F7; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180,35,24,.18); }
.field-hint { font-size: var(--fs-xs); color: var(--ink-soft); }
.field-error { font-size: var(--fs-xs); font-weight: 600; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }
.field-error::before { content: "! "; }

.optional { border: 0; padding: 1.1rem 0 0; margin: 0; border-top: 1px dashed var(--line); min-width: 0; }
.optional legend { padding: 0 .6rem 0 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.optional .form-row { margin-top: .4rem; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  border-radius: 10px; padding: .9rem 1rem; font-size: var(--fs-sm);
  background: #FDECEA; color: #7A1A10; border: 1px solid #F3C4BE;
}
.form-alert a { color: #7A1A10; font-weight: 700; }

#f-submit { position: relative; }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.35); border-top-color: var(--white);
  animation: spin .8s linear infinite;
}
#f-submit[aria-busy="true"] .spinner { display: inline-block; }
#f-submit[aria-busy="true"] { cursor: progress; opacity: .9; }
#f-submit:disabled { transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-legal { font-size: var(--fs-xs); color: var(--ink-soft); text-align: center; }

.form-success { text-align: center; display: grid; gap: 1rem; justify-items: center; padding: 2rem 0; }
.form-success:focus { outline: none; }
.form-success h3 { color: var(--charcoal); font-size: 1.6rem; }
.form-success p { color: var(--ink-soft); max-width: 28rem; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--lime); position: relative;
  animation: pop .5s var(--ease) both;
}
.success-icon::after {
  content: ""; position: absolute; left: 23px; top: 16px; width: 14px; height: 26px;
  border-right: 4px solid var(--charcoal); border-bottom: 4px solid var(--charcoal); transform: rotate(45deg);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-soft); padding-block: 4rem 2rem; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.footer-brand { display: grid; gap: .9rem; max-width: 26rem; }
.footer-tag { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark); }
.footer-h { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.footer-base .wrap { border: 0; }

/* ---------- Simple pages (privacy, 404) ---------- */
.page { padding-block: clamp(3rem, 6vw, 5rem); }
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.25rem); color: var(--charcoal); letter-spacing: -.04em; }
.prose h2 { font-size: 1.4rem; letter-spacing: -.02em; margin-top: 2.5rem; color: var(--charcoal); }
.prose p, .prose ul { margin-top: 1rem; color: var(--ink-soft); }
.prose li { margin-top: .4rem; }
.prose .meta { font-size: var(--fs-sm); margin-top: .75rem; }

/* Real portfolio images (see MAINTENANCE.md) */
.work-card > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
