/* ============================================================
   Rekognition - Brand Stylesheet
   Sapling #DDD3A5  ·  Zydeco #06402B
   Warm editorial system. Type, motion, and grain live here;
   Tailwind (Play CDN) handles layout utilities in the pages.
   ============================================================ */

:root {
  --sapling: #DDD3A5;
  --sapling-50: #F4F0E1;
  --sapling-100: #ECE5CE;
  --zydeco: #06402B;
  --zydeco-700: #0A5238;
  --zydeco-900: #052A1D;
  --ink: #0F2A1F;
  --cream: #F6F2E4;
  --rule: rgba(6, 64, 43, 0.14);

  /* Complementary accents - warm clay, golden ochre, soft sage.
     The two brand hexes anchor the system; these add depth and variety. */
  --clay: #C2693F;
  --clay-700: #9E4B2A;
  --ochre: #D9A441;
  --ochre-600: #C2853A;
  --sage: #8FA07A;
  --sage-300: #B9C4A3;
  --sage-100: #DEE4D2;
  --blush: #E8D9C2;

  /* Softer Helvetica-family system: Nunito (rounded, for display) +
     Nunito Sans (humanist, for body), falling back to native Helvetica. */
  --font-display: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Brand logotype - Helvetica Rounded Bold per brand guidelines,
     with rounded fallbacks so the wordmark holds on any device. */
  --font-brand: "Helvetica Rounded", "Helvetica Rounded LT Std", "HelveticaRounded-Bold",
                "Arial Rounded MT Bold", "Baloo 2", var(--font-sans);
  /* Brand secondary - Helvetica Neue UltraLight, with a thin web fallback. */
  --font-thin: "Helvetica Neue", "HelveticaNeue", Helvetica, "Inter", Arial, sans-serif;
  /* Accent grotesk - sharper counterpoint to rounded Nunito (labels + select headings). */
  --font-alt: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  /* Sophisticated display serif - for editorial accent moments. */
  --font-serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 50px -20px rgba(6, 64, 43, 0.35);
}

* { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

/* ---------- Scrollbar hidden (scrolling still works) ---------- */
html { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* ---------- Type ---------- */
.font-display { font-family: var(--font-display); }
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-optical-sizing: auto;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; font-weight: 500; }
/* Headings using the Tailwind font-display utility get display weight too. */
.font-display { font-weight: 700; }
.font-display em { font-style: italic; font-weight: 500; }
.eyebrow {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.font-alt { font-family: var(--font-alt); }
.font-serif { font-family: var(--font-serif); font-optical-sizing: auto; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.6; }

/* Fluid display sizes */
.t-hero  { font-size: clamp(2.8rem, 8.5vw, 7rem); }
.t-h2    { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.t-h3    { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }

/* ---------- Links & buttons ---------- */
.link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease-out);
  padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 1.5px; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: transform 0.3s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--zydeco); color: var(--sapling); }
.btn-primary:hover { background: var(--zydeco-700); box-shadow: var(--shadow-soft); }
.btn-cream { background: var(--sapling); color: var(--zydeco); }
.btn-cream:hover { background: #fff; box-shadow: var(--shadow-soft); }
.btn-ghost { border: 1.5px solid var(--rule); color: var(--zydeco); }
.btn-ghost:hover { background: var(--zydeco); color: var(--sapling); border-color: var(--zydeco); }
.btn .arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero video (scroll-pinned scrub) ---------- */
.hero-track { height: 320vh; background: var(--zydeco); }   /* scroll length that scrubs the video; green backdrop for a clean fade-out */
.hero-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  width: 100%;
}
.hero-media { z-index: 0; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.05); transform-origin: center;
  will-change: transform;
}
.hero-content { will-change: transform, opacity; }

/* ---------- Floating parallax gallery ---------- */
/* Gallery background. */
.gallery-halo {
  background-color: var(--cream);
  background-image: none;
}
.float-el { position: absolute; will-change: transform; }

/* ---------- "you can …" sticky word-cycle (scroll highlight band) ---------- */
.wordcycle {
  --wc-start: 50vh;                 /* vertical position of the highlight band */
  --wc-space: 10.5vh;
  --wc-accent: var(--clay);         /* the lit word */
  --wc-dimmed: rgba(15, 42, 31, 0.16);
  position: relative;
  background: var(--cream);
  font-family: var(--font-serif);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-size: clamp(2.1rem, 7vw, 5.2rem);
}
.wordcycle .wc-header {
  position: sticky;
  top: calc((var(--count) - 1) * -1lh);
  display: flex;
  align-items: start;
  width: 100%;
  margin-bottom: var(--wc-space);
}
.wordcycle .wc-stage {
  display: flex;
  gap: 0.35em;
  width: 100%;
  align-items: start;
  justify-content: center;
  padding-top: calc(var(--wc-start) - 0.5lh);
}
.wordcycle .wc-lead {
  position: sticky;
  top: calc(var(--wc-start) - 0.5lh);
  margin: 0;
  color: var(--zydeco);
}
.wordcycle .wc-list { list-style: none; padding: 0; margin: 0; }
.wordcycle .wc-list li {
  background: linear-gradient(
    180deg,
    var(--wc-dimmed) 0 calc(var(--wc-start) - 0.5lh),
    var(--wc-accent) calc(var(--wc-start) - 0.55lh) calc(var(--wc-start) + 0.55lh),
    var(--wc-dimmed) calc(var(--wc-start) + 0.5lh)
  );
  background-attachment: fixed;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Fallback where the `lh` unit isn't supported: a simple stacked list. */
@supports not (top: 1lh) {
  .wordcycle .wc-header { position: static; top: auto; padding: 6rem 0; }
  .wordcycle .wc-stage { flex-direction: column; align-items: center; padding-top: 0; }
  .wordcycle .wc-list li {
    background: none; color: var(--wc-accent);
    -webkit-text-fill-color: var(--wc-accent);
  }
}
/* iOS Safari doesn't honour background-attachment:fixed with background-clip:text,
   so the gradient spotlight never paints. JS (main.js) drives the same highlight
   by setting colour directly as each word crosses the centre of the viewport. */
@media (pointer: coarse) {
  .wordcycle .wc-list li {
    background: none; color: var(--wc-dimmed);
    -webkit-text-fill-color: var(--wc-dimmed);
    transition: color 0.15s linear;
  }
}
.float-img {
  display: block; width: 100%; height: auto;
  border-radius: 1rem;
  box-shadow: 0 22px 55px -22px rgba(6, 64, 43, 0.5);
}
.hero-overlay {
  background: none;
}
/* Reduced motion: no pinning / scrub - a normal full-height hero on a still frame. */
@media (prefers-reduced-motion: reduce) {
  .hero-track { height: auto; }
  .hero-pin { position: relative; top: auto; height: 100vh; }
  .hero-video { transform: scale(1.02); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform 0.45s var(--ease-out), background-color 0.45s var(--ease-out), backdrop-filter 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(246, 242, 228, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header.hide { transform: translateY(-100%); }
.site-header.on-dark .nav-link,
.site-header.on-dark .brand-word { color: var(--sapling); }
.site-header.on-dark .logo-mark { color: var(--sapling); }
.site-header.on-dark.scrolled {
  background: rgba(6, 64, 43, 0.78);
}
.nav-link { position: relative; font-weight: 500; font-size: 0.95rem; color: var(--zydeco); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Logo mark inherits colour from its context (cream on dark, green on light).
   Only the header sets an explicit default so the lockup is always legible. */
.site-header .logo-mark { color: var(--zydeco); }
.site-header.on-dark .logo-mark { color: var(--sapling); }
.logo-slot { display: block; }
.logo-slot svg { width: 100%; height: 100%; display: block; }
.brand-word { color: var(--zydeco); font-family: var(--font-brand); font-weight: 700; letter-spacing: -0.005em; }
/* Ultra-light Helvetica Neue, for the outcomes marquee. */
.brand-thin { font-family: var(--font-thin); font-weight: 200; }
.site-header.on-dark .brand-word { color: var(--sapling); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--zydeco); color: var(--sapling);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem; opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.18; }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal="scale"].in { transform: none; }

/* Line-by-line headline mask */
.reveal-line { overflow: hidden; display: block; }
.reveal-line > span {
  display: block; transform: translateY(110%);
  transition: transform 1s var(--ease-out); transition-delay: var(--delay, 0ms);
}
.in .reveal-line > span, .reveal-line.in > span { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].in,
  .reveal-line > span, .in .reveal-line > span {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .marquee__track { animation: none !important; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; }
.marquee__track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards & misc ---------- */
.card-hover { transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); will-change: transform; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.media { overflow: hidden; }
.media img, .media .media-fill { transition: transform 0.8s var(--ease-out); will-change: transform; }
.media:hover img, .media:hover .media-fill { transform: scale(1.05); }

.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

/* Faint cream grid over dark/green areas - echoes the brand grid-paper texture. */
.grid-paper-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(246, 242, 228, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 228, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

hr.rule { border: 0; height: 1px; background: var(--rule); }

/* ---------- CTA living aurora (drifting brand-colour glows) ---------- */
.cta-aurora { pointer-events: none; overflow: hidden; }
.cta-orb {
  position: absolute; border-radius: 50%;
  filter: blur(64px); will-change: transform;
}
.cta-orb-1 {
  width: 30rem; height: 30rem; right: -7rem; bottom: -9rem; opacity: 0.40;
  background: radial-gradient(circle, var(--sapling), transparent 68%);
  animation: ctaDrift1 17s ease-in-out infinite;
}
.cta-orb-2 {
  width: 24rem; height: 24rem; left: -5rem; top: -7rem; opacity: 0.32;
  background: radial-gradient(circle, var(--clay), transparent 68%);
  animation: ctaDrift2 22s ease-in-out infinite;
}
.cta-orb-3 {
  width: 20rem; height: 20rem; left: 46%; bottom: -8rem; opacity: 0.26;
  background: radial-gradient(circle, var(--sage), transparent 68%);
  animation: ctaDrift3 26s ease-in-out infinite;
}
@keyframes ctaDrift1 { 0%,100% { transform: translate(0,0) scale(1); }     50% { transform: translate(-46px,-38px) scale(1.18); } }
@keyframes ctaDrift2 { 0%,100% { transform: translate(0,0) scale(1); }     50% { transform: translate(54px,40px) scale(1.14); } }
@keyframes ctaDrift3 { 0%,100% { transform: translate(0,0) scale(1.1); }   50% { transform: translate(-40px,-26px) scale(0.9); } }
@media (prefers-reduced-motion: reduce) {
  .cta-orb { animation: none; }
}

/* ---------- Lever switch (ported component CSS) - red knob, metallic arm, grey→green base ---------- */
.lever-switch { display: inline-flex; justify-content: center; position: relative; font-size: 15px; flex: 0 0 auto; }
.lever-switch, .lever-switch * { box-sizing: content-box; }   /* component assumes content-box; Tailwind sets border-box */

.lever-switch .toggle-input {
  position: absolute; z-index: 2; bottom: 132.5%;
  border-radius: 50%; transform: rotate(-25deg); transform-origin: 50% 4.75em;
  width: 1.75em; height: 1.75em; margin: 0; opacity: 0;
  transition: transform .24s cubic-bezier(.65, 1.35, .5, 1); cursor: pointer;
}
.lever-switch .toggle-input:checked { transform: rotate(25deg); }

.lever-switch .toggle-handle-wrapper {
  position: absolute; z-index: 1; bottom: -135%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62.125%, transparent 50%);
  mask-image: linear-gradient(to bottom, #000 62.125%, transparent 50%);
  width: 200%; overflow: hidden;
}

.lever-switch .toggle-handle {
  display: flex; flex-direction: column; align-items: center;
  transform: rotate(-25deg); transform-origin: bottom center;
  transition: transform .24s cubic-bezier(.65, 1.35, .5, 1);
}
.lever-switch .toggle-input:checked + .toggle-handle-wrapper > .toggle-handle,
.lever-switch.is-on .toggle-handle { transform: rotate(25deg); }

.lever-switch .toggle-handle-knob {
  position: relative; z-index: 1; border-radius: 50%;
  width: 1.75em; height: 1.75em;
  background-image: radial-gradient(farthest-corner at 70% 30%, #fedee2 4%, #d63534 12% 24%, #a81a1a 50% 65%, #d63534 75%);
  transition: transform .24s cubic-bezier(.65, 1.35, .5, 1);
}
.lever-switch .toggle-input:checked + .toggle-handle-wrapper .toggle-handle-knob,
.lever-switch.is-on .toggle-handle-knob { transform: rotate(-90deg); }
.lever-switch .toggle-handle-knob::after {
  content: ''; position: absolute; top: 0; left: 0; border-radius: inherit;
  width: 100%; height: 100%;
  box-shadow: inset 0 0 8px 2px rgb(255 255 255 / .4);
  opacity: 0; transition: opacity .2s;
}
@media (hover: hover) {
  .lever-switch .toggle-input:hover + .toggle-handle-wrapper .toggle-handle-knob::after,
  .lever-switch .toggle-input:focus-visible + .toggle-handle-wrapper .toggle-handle-knob::after { opacity: 1; }
}

.lever-switch .toggle-handle-bar-wrapper { position: relative; width: .5em; height: 3em; }
.lever-switch .toggle-handle-bar {
  position: absolute; top: -0.875em; left: 0;
  width: 100%; height: calc(100% + 0.875em);
  background-image: linear-gradient(to right, #777475, #a4a4a4, #fff 45% 55%, #a4a4a4, #777475);
  background-position-x: .06125em;
  transition: background-position-x .24s cubic-bezier(.65, 1.35, .5, 1);
  box-shadow: inset 0 1em .25em rgb(0 0 0 / .4);
}
.lever-switch .toggle-input:checked + .toggle-handle-wrapper .toggle-handle-bar,
.lever-switch.is-on .toggle-handle-bar { background-position-x: -.06125em; }

.lever-switch .toggle-base {
  position: relative; border-radius: 3.125em; padding: .25em;
  width: 3.5em; height: 1.125em;
  background-color: #cfd1d6;
  background-image: linear-gradient(to bottom, #edeff2 0%, #c3c5cb 45%, #a7aab0 100%);
  box-shadow:
    0 .22em .5em rgba(0,0,0,0.45),
    inset 0 .08em rgba(255,255,255,0.9),
    inset 0 -.08em .14em rgba(0,0,0,0.22);
}
.lever-switch .toggle-base-inside {
  position: relative; border-radius: inherit; width: 100%; height: 100%;
  background-image: linear-gradient(to bottom, #8a8c91, #5d5f64);
  box-shadow:
    inset 0 .1em .16em rgba(0,0,0,0.55),
    inset 0 -.05em rgba(255,255,255,0.4);
}
.lever-switch .toggle-base-inside::after {
  content: ''; position: absolute; border-radius: inherit; width: 100%; height: 100%;
  background-image: linear-gradient(to bottom, #5ab054, #438c3c);
  box-shadow: inherit; opacity: 0;
  transition: opacity .24s cubic-bezier(.65, 1.35, .5, 1);
}
.lever-switch .toggle-input:checked ~ .toggle-base .toggle-base-inside::after,
.lever-switch.is-on .toggle-base-inside::after { opacity: 1; }

/* the toggling label */
.lever-label { color: var(--sapling); font-weight: 700; transition: color 0.3s; }
.lever-label.alive {
  color: #eafff0;
  text-shadow: 0 0 14px rgba(160, 255, 190, 0.7), 0 0 30px rgba(120, 220, 160, 0.4);
  animation: aliveJolt 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes aliveJolt {
  0% { transform: scale(1); } 20% { transform: scale(1.06) skewX(-3deg); }
  40% { transform: scale(0.97) skewX(2deg); } 60% { transform: scale(1.04) skewX(-1deg); }
  100% { transform: scale(1); }
}

/* lightning flash across the CTA card when the switch is thrown */
.cta-flash {
  position: absolute; inset: 0; z-index: 20; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 32% 42%, rgba(225,255,235,0.95), rgba(255,255,255,0.25) 55%, transparent 74%);
  mix-blend-mode: screen;
}
.jolt .cta-flash { animation: ctaFlash 0.7s ease-out; }
@keyframes ctaFlash {
  0% { opacity: 0; } 8% { opacity: 0.9; } 16% { opacity: 0.08; } 26% { opacity: 0.75; }
  36% { opacity: 0.04; } 50% { opacity: 0.5; } 70% { opacity: 0; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lever-switch .toggle-handle { transition: none; }
  .lever-label.alive { animation: none; }
  .jolt .cta-flash { animation: none; }
}

/* Floating logo orb on hero */
.orb { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Field focus */
.field {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--rule);
  padding: 0.85rem 0; font-size: 1.05rem; color: var(--ink); transition: border-color 0.3s var(--ease-out);
}
.field:focus { outline: none; border-color: var(--zydeco); }
.field::placeholder { color: rgba(15, 42, 31, 0.4); }
label.field-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--zydeco-700); }

/* Visible focus for keyboard users */
a:focus-visible, button:focus-visible, .field:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--zydeco); outline-offset: 3px; border-radius: 4px;
}
.on-dark a:focus-visible, .mobile-menu a:focus-visible { outline-color: var(--sapling); }

/* Progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--zydeco); z-index: 70; transition: width 0.1s linear;
}
.on-dark-progress { background: var(--sapling); }

/* Social icon buttons */
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(221, 211, 165, 0.28); color: var(--sapling);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.social-icon svg { width: 1.2rem; height: 1.2rem; display: block; }
.social-icon:hover { background: var(--sapling); color: var(--zydeco); border-color: var(--sapling); transform: translateY(-3px); }

/* Cursor-following light (contact hero) */
.cursor-glow {
  position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none;
  width: 42rem; height: 42rem; margin: -21rem 0 0 -21rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 211, 165, 0.22), rgba(221, 211, 165, 0.06) 45%, transparent 66%);
  opacity: 0; transform: translate(50vw, 38vh);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cursor-glow { transition: opacity 0.6s ease; } }

/* Tag pill */
.pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; border: 1px solid var(--rule); }
.pill-clay { border-color: rgba(194, 105, 63, 0.4); color: var(--clay-700); }
.pill-ochre { border-color: rgba(194, 133, 58, 0.45); color: var(--ochre-600); }
.pill-sage { border-color: rgba(115, 133, 94, 0.45); color: #5C6B47; }

/* Accent buttons */
.btn-clay { background: var(--clay); color: var(--cream); }
.btn-clay:hover { background: var(--clay-700); box-shadow: var(--shadow-soft); }

/* Art-direction gradients for media tiles - variety across the palette */
.g-forest    { background: linear-gradient(135deg, #06402B, #0A5238); }
.g-pine      { background: linear-gradient(135deg, #0A5238, #052A1D); }
.g-clay      { background: linear-gradient(135deg, #C2693F, #9E4B2A); }
.g-clay-deep { background: linear-gradient(140deg, #9E4B2A, #5E2C19); }
.g-ochre     { background: linear-gradient(140deg, #E6BC63, #C2853A); }
.g-sage      { background: linear-gradient(135deg, #A6B488, #6F8160); }
.g-cream     { background: linear-gradient(135deg, #DDD3A5, #ECE5CE); }
.g-blush     { background: linear-gradient(135deg, #ECE0CD, #DDC8AC); }
.g-clay-green{ background: linear-gradient(140deg, #06402B 35%, #C2693F); }
.g-ochre-green { background: linear-gradient(140deg, #0A5238 35%, #D9A441); }
.g-sage-clay { background: linear-gradient(140deg, #6F8160 30%, #C2693F); }
.g-forest-ochre { background: linear-gradient(140deg, #052A1D 35%, #C2853A); }

/* Accent rule for eyebrows */
.eyebrow-accent::before {
  content: ""; display: inline-block; width: 1.4rem; height: 2px; margin-right: 0.7rem;
  vertical-align: middle; background: var(--clay); border-radius: 2px;
}
