:root{
  --ink:#12142e;
  --ink-soft:#4a4d68;
  --paper:#f7f6f2;
  --paper-raised:#ffffff;
  --brand:#1a1c4d;
  --brand-deep:#08082c;
  --accent:#c31a21;
  --accent-hover:#a5151b;
  --accent-soft:#f0a3a7;
  --line:#dcdae0;

  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --ease-out: cubic-bezier(0.16,1,0.3,1);

  /* Ambient shadows tinted with the brand navy — never pure black */
  --shadow-card: 0 1px 2px rgba(8,8,44,0.05), 0 10px 24px -8px rgba(8,8,44,0.16), 0 28px 56px -28px rgba(8,8,44,0.2);
  --shadow-card-hover: 0 2px 4px rgba(8,8,44,0.08), 0 18px 36px -10px rgba(8,8,44,0.22), 0 36px 72px -28px rgba(8,8,44,0.26);
  --shadow-glow-accent: 0 0 0 1px rgba(195,26,33,0.12), 0 16px 40px -12px rgba(195,26,33,0.35);
  --bezel-pad: 7px;
  --radius-shell: 1.5rem;
  --radius-core: calc(1.5rem - var(--bezel-pad));
}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter',sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar{ width:11px; height:11px; }
::-webkit-scrollbar-track{ background:var(--paper); }
::-webkit-scrollbar-thumb{
  background:rgba(8,8,44,0.22); border-radius:999px; border:3px solid var(--paper);
}
::-webkit-scrollbar-thumb:hover{ background:rgba(8,8,44,0.38); }
html{ scrollbar-color: rgba(8,8,44,0.22) var(--paper); scrollbar-width: thin; }
/* Tailwind's arbitrary-value opacity modifier (text-[var(--x)]/NN) can't resolve a CSS
   custom property to RGB channels, so it silently fails to compile — footer text and
   links were inheriting body's dark --ink color on a near-black background (~1.1:1
   contrast). Set it explicitly here instead of depending on that utility. */
footer{ color: rgba(247,246,242,0.75); }
footer a:hover{ color: var(--paper); }

.font-display{font-family:'Fraunces',serif;}

/* Tailwind's text-4xl/5xl utilities bundle their own line-height, and the
   responsive (sm:/md:) utility blocks are emitted after the base layer —
   so a bare `leading-[1.12]` gets beaten by sm:text-5xl's bundled
   line-height:1 at >=640px even though it appears later in the class list.
   Set it here instead, after tailwind.css in the cascade, so it holds at
   every breakpoint. */
.hero-h1{ line-height: 1.12; }
.tracking-tightish{letter-spacing:-0.03em;}
.leading-relaxed-body{line-height:1.7;}

.shadow-soft{
  box-shadow: 0 1px 2px rgba(8,8,44,0.06), 0 8px 24px -8px rgba(8,8,44,0.2), 0 24px 48px -24px rgba(8,8,44,0.18);
}
.shadow-soft-lg{
  box-shadow: 0 2px 4px rgba(8,8,44,0.08), 0 16px 40px -12px rgba(8,8,44,0.24), 0 32px 64px -24px rgba(8,8,44,0.22);
}
.noise{
  position:absolute; inset:0; pointer-events:none; opacity:0.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Ombré gradient-sweep buttons: a wide multi-stop gradient sits at 250% width;
   hovering slides its position from 0% to 100%, reading as a shimmering color
   shift rather than a flat background swap. Paired with a lift + intensifying
   glow, matching the CMB sister site's button treatment but in HA's own
   red/navy palette. */
.btn-primary{
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 35%, #e2555c 65%, var(--accent) 100%);
  background-size:250% 100%; background-position:0% 0%;
  color:var(--paper);
  /* The #e2555c gradient stop is too light for AA contrast with plain white
     text; a dark text-shadow (not a color change) restores it without
     touching the gradient's hues. */
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  box-shadow: 0 6px 18px -4px rgba(195,26,33,0.4);
  transition: background-position 0.6s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.btn-primary:focus-visible{ outline: 2px solid var(--brand); outline-offset: 3px; }

.btn-outline{
  background: linear-gradient(90deg, rgba(247,245,239,0.06) 0%, rgba(247,245,239,0.24) 50%, rgba(247,245,239,0.06) 100%);
  background-size:250% 100%; background-position:0% 0%;
  border:1px solid rgba(247,245,239,0.35);
  color:var(--paper);
  transition: background-position 0.6s ease, transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-outline:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-dark{
  background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand) 40%, #3d1520 70%, var(--brand-deep) 100%);
  background-size:250% 100%; background-position:0% 0%;
  color:var(--paper);
  border:1px solid rgba(240,163,167,0.4);
  transition: background-position 0.6s ease, transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-dark:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-ghost{
  background: linear-gradient(90deg, rgba(8,8,44,0.02) 0%, rgba(8,8,44,0.08) 50%, rgba(8,8,44,0.02) 100%);
  background-size:250% 100%; background-position:0% 0%;
  color:var(--ink-soft); border:1px solid var(--line);
  transition: background-position 0.6s ease, transform 0.25s var(--ease-spring), color 0.2s ease;
}
.btn-ghost:active{ transform: scale(0.97); }
.btn-ghost:focus-visible{ outline: 2px solid var(--brand); outline-offset: 3px; }

.btn-primary:active, .btn-outline:active, .btn-dark:active{ transform: scale(0.97); }
@media (prefers-reduced-motion: reduce){
  .btn-primary, .btn-outline, .btn-dark, .btn-ghost{ transition: box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
  .btn-primary:hover, .btn-outline:hover, .btn-dark:hover, .btn-ghost:hover{ background-position:100% 0%; transform:none; }
}

.nav-link{ position:relative; color:var(--ink-soft); transition: color 0.2s ease; }
.nav-link::after{
  content:''; position:absolute; left:0; right:0; bottom:-4px; height:1px; background:var(--accent);
  transform:scaleX(0); transform-origin:left; transition: transform 0.25s ease;
}
.nav-link.is-active::after{ transform:scaleX(1); }
.nav-link:focus-visible{ outline: 2px solid var(--brand); outline-offset: 4px; border-radius:2px; }

.card{
  background:var(--paper-raised);
  border:1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.3s cubic-bezier(0.34,1.2,0.64,1), border-color 0.3s ease;
}

/* Progressive-enhancement scroll reveal: visible by default (no-JS / no-IO safe).
   JS adds "js-reveal" to <html> only once IntersectionObserver is confirmed working,
   which is what actually gates the opacity:0 starting state. */
.js-reveal .reveal{
  opacity:0; transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js-reveal .reveal.is-visible{ opacity:1; transform:none; }
.js-reveal .reveal.is-visible:nth-child(2){ transition-delay: 0.06s; }
.js-reveal .reveal.is-visible:nth-child(3){ transition-delay: 0.12s; }
.js-reveal .reveal.is-visible:nth-child(4){ transition-delay: 0.18s; }
.js-reveal .reveal.is-visible:nth-child(5){ transition-delay: 0.24s; }
.js-reveal .reveal.is-visible:nth-child(6){ transition-delay: 0.3s; }

/* Large feature images: pure fade-in, no slide, slower for a more deliberate feel. */
.js-reveal .reveal.reveal-fade{
  transform:none;
  transition: opacity 1.1s var(--ease-out);
}
@media (prefers-reduced-motion: reduce){
  .js-reveal .reveal{ opacity:1; transform:none; transition:none; }
}

/* Scroll parallax layer — JS sets --parallax-y; falls back to 0 (no motion) if JS never runs */
.parallax-el{ transform: translateY(var(--parallax-y, 0px)); will-change: transform; }
@media (prefers-reduced-motion: reduce){
  .parallax-el{ transform:none !important; }
}

/* Header gains weight once the page has scrolled past the hero */
header{ transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.35s var(--ease-out); }
header.is-hidden{ transform:translateY(-100%); }
@media (prefers-reduced-motion: reduce){
  header{ transition: box-shadow 0.3s ease, background-color 0.3s ease; }
  header.is-hidden{ transform:none; }
}
header.is-scrolled{
  box-shadow: 0 1px 0 rgba(8,8,44,0.06), 0 12px 24px -16px rgba(8,8,44,0.25);
}

.scroll-progress{
  position:fixed; top:0; left:0; right:0; height:2.5px; z-index:60;
  background:var(--accent); transform-origin:left; transform:scaleX(0);
}
@media (prefers-reduced-motion: reduce){
  .scroll-progress{ display:none; }
}

@keyframes bounce-hint{
  0%,100%{ transform: translateY(0); opacity:0.7; }
  50%{ transform: translateY(7px); opacity:1; }
}
.scroll-cue{ animation: bounce-hint 2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){
  .scroll-cue{ animation:none; }
}

.mobile-scrim{
  position:fixed; inset:0; top:5rem; z-index:48;
  background:rgba(8,8,44,0.35);
  opacity:0; pointer-events:none;
  transition: opacity 0.25s ease;
}
.mobile-scrim.is-open{ opacity:1; pointer-events:auto; }

.mobile-menu{
  position:fixed; top:calc(5rem + 0.75rem); left:1rem; right:1rem; z-index:49;
  display:flex; flex-direction:column; gap:0.25rem;
  background:rgba(247,246,242,0.94); backdrop-filter: blur(20px) saturate(180%);
  border:1px solid var(--line); border-radius:1.25rem; padding:0.75rem;
  box-shadow: 0 2px 4px rgba(8,8,44,0.08), 0 16px 40px -12px rgba(8,8,44,0.28);
  opacity:0; transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  pointer-events:none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.mobile-menu.is-open{ opacity:1; transform:none; pointer-events:auto; }
.mobile-nav-link{
  display:flex; align-items:center; min-height:44px;
  padding:0.6rem 0.9rem; border-radius:0.75rem;
  font-size:0.95rem; font-weight:500; color:var(--ink);
  transition: background 0.15s ease;
}
.mobile-nav-link:active{ background:rgba(8,8,44,0.06); }
@media (prefers-reduced-motion: reduce){
  .mobile-menu{ transition: opacity 0.15s ease; transform:none; }
  .mobile-scrim{ transition: opacity 0.15s ease; }
}

/* Partner logo marquee — continuous cycling loop */
.logo-marquee{
  overflow:hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logo-marquee-track{
  display:flex; align-items:center; gap:3.5rem; width:max-content;
  animation: marquee 28s linear infinite;
}
.logo-marquee:hover .logo-marquee-track{ animation-play-state: paused; }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .logo-marquee-track{ animation:none; flex-wrap:wrap; justify-content:center; width:auto; }
}
.partner-logo{ filter:grayscale(1); opacity:0.55; transition: filter 0.3s ease, opacity 0.3s ease; flex-shrink:0; }

@keyframes kenburns{
  0%{ transform: scale(1) translate(0,0); }
  50%{ transform: scale(1.08) translate(-1.5%, -1%); }
  100%{ transform: scale(1) translate(0,0); }
}
.hero-loop{ animation: kenburns 14s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce){
  .hero-loop{ animation: none; }
}

input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, button:focus-visible{
  outline: 2px solid var(--brand); outline-offset: 2px;
}

/* Lead capture popup */
.lead-scrim{
  position:fixed; inset:0; z-index:98;
  background:rgba(8,8,44,0.55); backdrop-filter: blur(4px);
  opacity:0; pointer-events:none;
  transition: opacity 0.3s ease;
}
.lead-scrim.is-open{ opacity:1; pointer-events:auto; }

.lead-modal{
  position:fixed; z-index:99; left:50%; top:50%;
  width:min(440px, calc(100vw - 2rem));
  max-height:calc(100vh - 2rem); overflow:auto;
  background:var(--paper-raised); border-radius:1.5rem;
  box-shadow: 0 2px 4px rgba(8,8,44,0.1), 0 32px 64px -16px rgba(8,8,44,0.5);
  opacity:0; pointer-events:none;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.lead-modal.is-open{ opacity:1; pointer-events:auto; transform: translate(-50%, -50%) scale(1); }
@media (prefers-reduced-motion: reduce){
  .lead-scrim, .lead-modal{ transition: opacity 0.15s ease; }
  .lead-modal{ transform: translate(-50%, -50%) !important; }
}
.lead-step{
  display:none;
  opacity:0;
  transform: translateX(12px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.lead-step.is-active{ display:block; }
.lead-step.is-active.is-in{ opacity:1; transform:none; }
.lead-step.is-leaving{ opacity:0; transform: translateX(-12px); }
@media (prefers-reduced-motion: reduce){
  .lead-step{ transition:none; transform:none; }
}
.lead-progress-dot{
  width:18px; height:6px; border-radius:999px; background:var(--line);
  transform-origin:left center;
  transform:scaleX(0.333);
  transition: background 0.2s ease, transform 0.2s ease;
}
.lead-progress-dot.is-active{ background:var(--accent); transform:scaleX(1); }
.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;
}
.lead-honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ===== Opening intro (brief branded splash, once per session) ===== */
.intro-splash{
  position:fixed; inset:0; z-index:200;
  display:flex; align-items:center; justify-content:center;
  background:var(--brand-deep);
  opacity:1;
  transition: opacity 0.55s var(--ease-out);
}
.intro-splash.is-hidden{ opacity:0; pointer-events:none; }
.intro-splash.is-removed{ display:none; }
.intro-mark{ display:flex; align-items:center; gap:0.85rem; }
.intro-logo{
  width:44px; height:44px; border-radius:12px;
  opacity:0; transform:scale(0.7);
  animation: intro-logo-in 0.6s cubic-bezier(0.34,1.4,0.64,1) 0.1s forwards;
}
.intro-word{
  font-family:'Fraunces',serif; letter-spacing:-0.02em;
  font-size:1.15rem; color:var(--paper);
  opacity:0; transform:translateY(8px);
  animation: intro-word-in 0.6s var(--ease-out) 0.32s forwards;
}
@keyframes intro-logo-in{ to{ opacity:1; transform:scale(1); } }
@keyframes intro-word-in{ to{ opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce){
  .intro-splash{ transition:none; }
  .intro-logo, .intro-word{ animation:none; opacity:1; transform:none; }
}

/* ===== Custom cursor — desktop/fine-pointer only, replaces the native pointer =====
   Gated by a JS-added class on <html> so a script failure never leaves the
   visitor with no cursor at all (progressive enhancement, same pattern as
   .js-reveal). */
html.custom-cursor-active,
html.custom-cursor-active *{ cursor:none !important; }
.cursor-ring{
  position:fixed; top:0; left:0; z-index:9999;
  width:22px; height:22px;
  background: rgba(255,255,255,0.92);
  border:2px solid var(--accent); border-radius:999px;
  pointer-events:none; opacity:0;
  box-shadow:
    0 0 6px rgba(195,26,33,0.7),
    0 0 14px rgba(195,26,33,0.5),
    0 0 28px rgba(195,26,33,0.3),
    0 0 2px rgba(255,255,255,0.8) inset;
  transition: opacity 0.25s ease, width 0.25s var(--ease-out), height 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.cursor-ring.is-active{ opacity:1; }
.cursor-ring.is-hover{
  width:42px; height:42px;
  background: rgba(255,255,255,0.96);
  border-color: var(--accent-hover);
  box-shadow:
    0 0 10px rgba(195,26,33,0.9),
    0 0 24px rgba(195,26,33,0.65),
    0 0 46px rgba(195,26,33,0.4),
    0 0 3px rgba(255,255,255,0.9) inset;
}
@media (pointer: coarse), (prefers-reduced-motion: reduce){
  .cursor-ring{ display:none; }
}

/* ===== 3D business card ===== */
.biz-card-3d-wrap{
  width:240px; perspective:1000px;
}
.biz-card-3d{
  width:100%; aspect-ratio:768/439; border-radius:0.75rem; overflow:hidden;
  transform: rotateX(8deg) rotateY(-14deg);
  box-shadow:
    -10px 16px 24px -10px rgba(8,8,44,0.35),
    -20px 34px 48px -20px rgba(8,8,44,0.35);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  will-change: transform;
}
.biz-card-3d img{ width:100%; height:100%; object-fit:cover; display:block; }
.biz-card-3d-wrap:hover .biz-card-3d,
.biz-card-3d-wrap.is-tilting .biz-card-3d{
  box-shadow:
    -14px 24px 32px -10px rgba(8,8,44,0.4),
    -28px 46px 64px -24px rgba(8,8,44,0.4);
}
@media (prefers-reduced-motion: reduce){
  .biz-card-3d{ transition:none; }
}
@media (pointer: coarse){
  .biz-card-3d{ transform:rotateX(4deg) rotateY(-8deg); }
}

/* Footer link underline-in on hover, matching the top nav's pattern */
footer a{ position:relative; }
footer a::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background:currentColor; transform:scaleX(0); transform-origin:left;
  transition: transform 0.25s ease;
}
footer a:hover::after{ transform:scaleX(1); }

/* ===== Signature ring badge — animated gradient border + soft glow halo =====
   Masks a wide animated gradient down to a 1.5px ring (SSC/A2H technique),
   paired with a blurred radial glow behind it. Used on pill badges and
   section eyebrow labels so small text elements read as designed components
   rather than bare uppercase text. */
.ring-badge{ position:relative; isolation:isolate; border-radius:9999px; }
.ring-badge::before{
  content:''; position:absolute; inset:-1px; border-radius:inherit; padding:1.5px;
  background:linear-gradient(90deg, rgba(195,26,33,0) 0%, var(--accent) 30%, var(--accent-soft) 50%, var(--accent) 70%, rgba(195,26,33,0) 100%);
  background-size:250% 100%;
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  animation: ring-shift 5s linear infinite;
  pointer-events:none; z-index:1;
}
.ring-badge::after{
  content:''; position:absolute; inset:-7px; border-radius:inherit;
  background:radial-gradient(circle, rgba(195,26,33,0.28), transparent 70%);
  filter:blur(8px); opacity:0.55;
  animation: ring-glow-pulse 3.4s ease-in-out infinite alternate;
  pointer-events:none; z-index:-1;
}
.ring-badge.on-dark::before{
  background:linear-gradient(90deg, rgba(240,163,167,0) 0%, var(--accent-soft) 30%, #ffffff 50%, var(--accent-soft) 70%, rgba(240,163,167,0) 100%);
}
@keyframes ring-shift{ from{ background-position:0% 0%; } to{ background-position:250% 0%; } }
@keyframes ring-glow-pulse{ from{ opacity:0.3; } to{ opacity:0.65; } }
@media (prefers-reduced-motion: reduce){
  .ring-badge::before{ animation:none; }
  .ring-badge::after{ animation:none; opacity:0.45; }
}
.eyebrow-badge{ display:inline-flex; align-items:center; padding:0.4rem 1rem; border-radius:9999px; }

/* Pulsing live-dot for the "accepting new clients" nav badge */
.live-dot{ position:relative; width:7px; height:7px; border-radius:999px; background:#3fae62; flex-shrink:0; }
.live-dot::after{
  content:''; position:absolute; inset:-4px; border-radius:999px; background:#3fae62; opacity:0.5;
  animation: live-dot-pulse 2s ease-out infinite;
}
@keyframes live-dot-pulse{ 0%{ transform:scale(0.6); opacity:0.6; } 100%{ transform:scale(2.2); opacity:0; } }
@media (prefers-reduced-motion: reduce){ .live-dot::after{ animation:none; opacity:0; } }

/* ===== Premium bezel card — concentric shell + navy-tinted ambient shadow =====
   Outer shell in brand-deep, inner content area on a lighter surface with a
   stepped-down radius so the corners stay concentric (CMB's card pattern). */
.card-premium{
  background:var(--brand-deep); padding:var(--bezel-pad); border-radius:var(--radius-shell);
  box-shadow:var(--shadow-card); align-self:start;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
/* Opt back into equal-height siblings for grids that want matched-height cards
   (e.g. the homepage intro trio) — apply on the grid container, not the card. */
.cards-equal-height > .card-premium{ height:100%; align-self:stretch; }
.card-premium-inner{
  background:var(--paper-raised); border-radius:var(--radius-core); height:100%;
  padding:1.75rem; border:1px solid var(--line);
  transition: border-color 0.35s ease;
}
@media (prefers-reduced-motion: reduce){
  .card-premium{ transition:box-shadow 0.2s ease; }
  .card-premium:hover{ transform:none; }
}

/* ===== Stat counters ===== */
.stat-number{
  font-family:'Fraunces',serif; font-weight:600; letter-spacing:-0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  font-size:clamp(2.25rem, 5vw, 3.25rem); color:var(--brand);
  text-shadow: 0 0 24px rgba(195,26,33,0.18);
}
.stat-number.on-dark{ color:var(--paper); text-shadow: 0 0 28px rgba(195,26,33,0.4); }
/* Color intentionally omitted — every usage pairs this class with its own
   text-[rgba(...)] utility (default text or on-dark variant); a color here
   would win the cascade over that utility since this stylesheet loads after
   tailwind.css, silently overriding the intended per-instance color. */
.stat-label{ margin-top:0.5rem; font-size:0.85rem; }
.text-glow{ text-shadow: 0 0 18px rgba(195,26,33,0.35); }

/* Pop-in entrance for stat cards — scale+rotate rather than a flat slide-up */
.js-reveal .reveal.reveal-pop{ transform: translateY(20px) scale(0.86) rotate(-2deg); }
.js-reveal .reveal.reveal-pop.is-visible{ transform:none; }

/* ===== Process timeline — alternating cards along a center line ===== */
.timeline{ position:relative; }
.timeline::before{
  content:''; position:absolute; left:50%; top:0; bottom:0; width:2px;
  background:linear-gradient(to bottom, transparent, rgba(26,28,77,0.2) 8%, rgba(195,26,33,0.35) 50%, rgba(26,28,77,0.2) 92%, transparent);
  transform:translateX(-50%); display:none;
}
.timeline-row{ display:grid; grid-template-columns:1fr; gap:1rem; position:relative; }
.timeline-row + .timeline-row{ margin-top:2rem; }
.timeline-dot{ display:none; }
@media (min-width: 768px){
  .timeline::before{ display:block; }
  .timeline-row{ grid-template-columns:1fr 2.5rem 1fr; align-items:center; gap:0; }
  .timeline-dot{
    display:flex; width:14px; height:14px; border-radius:999px; margin:0 auto;
    background:var(--accent); box-shadow:0 0 0 5px rgba(195,26,33,0.15), 0 0 16px rgba(195,26,33,0.4);
    position:relative; z-index:1;
  }
  .timeline-row .timeline-card{ grid-column:1; }
  .timeline-row .timeline-spacer{ grid-column:3; }
  .timeline-row.is-flipped .timeline-card{ grid-column:3; }
  .timeline-row.is-flipped .timeline-spacer{ grid-column:1; }
}
.timeline-card{
  background:var(--paper-raised); border:1px solid var(--line); border-radius:1.25rem;
  padding:1.5rem 1.75rem; box-shadow:var(--shadow-card);
}
.timeline-step{
  display:inline-flex; align-items:center; justify-content:center;
  width:2rem; height:2rem; border-radius:999px; background:var(--brand-deep); color:var(--paper);
  font-family:'Fraunces',serif; font-weight:600; font-size:0.9rem; margin-bottom:0.75rem;
}

/* ===== Hover effects, gated to real pointers (plan 001) =====
   Prevents touch taps from triggering and "sticking" a hover state. */
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover{ background-position:100% 0%; color:var(--ink); transform: translateY(-2px); }

  .btn-primary:hover{
    background-position:100% 0%;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px -6px rgba(195,26,33,0.55);
  }

  .btn-outline:hover{
    background-position:100% 0%;
    transform: translateY(-3px) scale(1.02);
    border-color:rgba(247,245,239,0.7);
    box-shadow: 0 10px 26px -8px rgba(247,245,239,0.22);
  }

  .btn-dark:hover{
    background-position:100% 0%;
    transform: translateY(-3px) scale(1.02);
    border-color:rgba(240,163,167,0.75);
    box-shadow: 0 14px 32px -8px rgba(195,26,33,0.35);
  }

  .nav-link:hover{ color:var(--ink); }
  .nav-link:hover::after{ transform:scaleX(1); }

  .card:hover{ transform: translateY(-4px); border-color: rgba(8,8,44,0.2); }

  .partner-logo:hover{ filter:grayscale(0); opacity:1; }

  .card-premium:hover{ transform:translateY(-6px); box-shadow:var(--shadow-card-hover); }
  .card-premium:hover .card-premium-inner{ border-color:rgba(195,26,33,0.3); }
}
