/* ==========================================================================
   Wilco Contractors Northwest — design system v2
   Palette anchored in the logo lineage: forest green (constant since 1981),
   orange (today's maple leaf), heritage gold (the 1981 sun). Motion is
   intentional, not decorative. Neutrals tilt to the brand's own green hue,
   not the warm-cream AI default.
   ========================================================================== */

:root {
  /* Forest green ramp — anchored on the official logo green #003F2D (PMS 5535C) */
  --green-950: #001b13;
  --green-900: #002a1d;
  --green-800: #003f2d;   /* brand green — the logo wordmark */
  --green-700: #0a5639;   /* readable mid on light (eyebrows, links) */
  --green-600: #0f6a47;
  --green-500: #1a8459;

  /* Orange — official logo orange #E8941A (PMS 1385C) + heritage gold (1981 sun) */
  --orange-500: #e8941a;
  --orange-600: #cc7d10;
  --gold-500: #e7b23a;
  --gold-300: #f3d488;

  /* Silver — official logo silver #91A5A5 (PMS 5497C), used as a cool accent rule */
  --silver-500: #91a5a5;
  --silver-300: #bcc8c8;

  /* Pre-mixed alpha colors. The compiled Tailwind build can't apply an opacity
     modifier (e.g. /85) to an arbitrary var() color, so bake the alpha in here and
     reference it as a plain arbitrary value, e.g. from-[var(--scrim-900)]. */
  --scrim-900: rgb(0 42 29 / 0.85);      /* green-900 @ 85% — project card bottom scrim */
  --ring-green-20: rgb(10 86 57 / 0.2);  /* green-700 @ 20% — form input focus ring */

  /* Neutrals — tilted toward the brand's green hue, NOT warm cream */
  --paper: oklch(0.991 0.004 150);   /* near-white, faint green */
  --bone:  oklch(0.967 0.008 150);   /* subtle section surface */
  --line:  oklch(0.9 0.012 150);
  --ink:   oklch(0.23 0.022 156);    /* green-black, ~14:1 on paper */
  --muted: oklch(0.46 0.022 156);    /* ~5.2:1 on paper — passes body contrast */

  /* legacy alias kept so existing utilities resolve */
  --sand: var(--bone);

  /* Easing — exponential ease-outs, no bounce */
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(7, 37, 26, 0.06);
  --shadow-md: 0 14px 34px -16px rgba(7, 37, 26, 0.28);
  --shadow-lg: 0 36px 70px -24px rgba(7, 37, 26, 0.4);

  /* z-scale */
  --z-sticky: 100;
  --z-header: 200;
  --z-menu: 300;
}

* { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* Native anchor jumps stay instant — we deliberately don't do smooth scrolling. */
html { scroll-behavior: auto; }

/* Keyboard focus ring — visible on every interactive element, over light or dark.
   Mouse clicks don't trigger it (:focus-visible), so it never shows on tap/click. */
:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Dark surfaces (hero, anniv band, footer): keep the ring but add a light halo
   so it reads against the orange-on-dark as well as orange-on-light. */
.anniv :focus-visible, footer :focus-visible, [data-header]:not(.is-stuck) :focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px rgba(232, 148, 26, 0.55);
}
body {
  font-family: "Public Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

h1, h2, h3, h4, .font-display {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* Fluid display scale (clamp max <= 6rem) */
.h-hero { font-size: clamp(2.7rem, 6vw + 0.5rem, 5.4rem); letter-spacing: -0.035em; }
.h-1    { font-size: clamp(2.1rem, 3.4vw + 0.5rem, 3.4rem); }
.h-2    { font-size: clamp(1.5rem, 1.4vw + 0.8rem, 2.1rem); }
/* Tailwind also ships .h-1/.h-2 as HEIGHT utilities (0.25rem/0.5rem); the
   doubled selector out-specifies them so our headings keep auto height. */
.h-hero.h-hero, .h-1.h-1, .h-2.h-2 { height: auto; }

.eyebrow {
  font-family: "Archivo", sans-serif; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
}

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2.5rem; } }

.tick { width: 56px; height: 4px; background: var(--orange-500); display: inline-block; border-radius: 2px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: "Archivo", sans-serif; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem; border-radius: 3px;
  transition: transform 0.2s var(--ease-quint), background-color 0.2s var(--ease-quart),
              color 0.2s var(--ease-quart), box-shadow 0.25s var(--ease-quart);
  cursor: pointer; border: 1px solid transparent; will-change: transform;
}
.btn svg { transition: transform 0.25s var(--ease-quint); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--orange-500); color: #2a1500; box-shadow: 0 8px 22px -10px rgba(239, 157, 30, 0.7); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-800); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--green-700); color: var(--green-700); transform: translateY(-2px); }

/* ---- Header: transparent + white logo over the hero, light glass + true-colour logo on scroll ---- */
[data-header] {
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color 0.4s var(--ease-quart), box-shadow 0.4s var(--ease-quart), border-color 0.4s var(--ease-quart);
}
/* top scrim keeps the white logo + nav legible over hero photos while transparent */
[data-header]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(7, 37, 22, 0.45), rgba(7, 37, 22, 0));
  transition: opacity 0.4s var(--ease-quart);
}
[data-header] > .wrap { position: relative; z-index: 1; }
[data-header].is-stuck {
  background: rgba(252, 251, 249, 0.68);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-md);
}
[data-header].is-stuck::before { opacity: 0; }

/* Header grid: logo left, nav centred to the page, actions right */
.hdr-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; }

/* Logo swap: white over the hero, true-colour once the bar turns light */
.logo-color { display: none; }
[data-header].is-stuck .logo-white { display: none; }
[data-header].is-stuck .logo-color { display: block; }

/* Mobile menu button + phone: white over hero, green on the light bar */
[data-menu-btn][data-menu-btn] { color: #fff; }
/* Meet the 44x44 minimum touch target (icon is 26px + p-2 only reaches ~42px). */
@media (max-width: 1023px) { [data-menu-btn] { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } }
[data-header].is-stuck [data-menu-btn] { color: var(--green-800); }
[data-header] .hdr-phone { color: #fff; }
[data-header].is-stuck .hdr-phone { color: var(--green-800); }

/* Nav — white over the hero, deep-green on the light bar, orange active accent */
.nav-pill { display: flex; align-items: center; gap: 0.1rem; }
.nav-pill a {
  position: relative; padding: 0.5rem 0.9rem; border-radius: 999px;
  font-family: "Archivo"; font-weight: 600; font-size: 0.92rem; color: #fff;
  transition: color 0.2s var(--ease-quart);
}
.nav-pill a:hover { color: var(--orange-500); }
[data-header].is-stuck .nav-pill a { color: var(--green-800); }
[data-header].is-stuck .nav-pill a:hover { color: var(--orange-600); }
.nav-pill a[aria-current="page"] { color: #fff; }
[data-header].is-stuck .nav-pill a[aria-current="page"] { color: var(--green-900); }
.nav-pill a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.18rem;
  height: 2px; border-radius: 2px; background: var(--orange-500);
}

/* Liquid-glass Contact button — the one element that pops */
.btn-glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.55); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 8px 22px -12px rgba(0,0,0,0.45);
}
.btn-glass:hover { background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.16)); transform: translateY(-1px); }

/* Hero slideshow prev/next arrows */
.slide-arrow {
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  color: #fff; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.25s var(--ease-quart), transform 0.18s var(--ease-quint);
}
.slide-arrow:hover { background: rgba(255,255,255,0.22); }
.slide-arrow:active { transform: scale(0.92); }

/* Hero photo slideshow */
.slideshow { position: absolute; inset: 0; z-index: 0; }
.slideshow img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease-quart);
}
.slideshow img.is-active { opacity: 1; }
.slide-dots { display: flex; gap: 0.5rem; }
.slide-dots button {
  position: relative;
  width: 9px; height: 9px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s var(--ease-quart), width 0.3s var(--ease-quart);
}
/* Invisible 44x44 hit area so the 9px dots meet the touch-target minimum. */
.slide-dots button::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}
.slide-dots button[aria-current="true"] { background: #fff; width: 26px; }
@media (prefers-reduced-motion: reduce) { .slideshow img { transition: opacity 0.2s linear; } }

/* Liquid-glass mobile menu panel */
.glass-menu {
  background: rgba(250, 249, 246, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
@media (prefers-reduced-motion: reduce) { .nav-pill::after { animation: none; display: none; } }

/* ---- Hero ---- */
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,37,22,0.34) 0%, rgba(7,37,22,0.10) 32%, rgba(7,37,22,0.82) 100%),
    linear-gradient(90deg, rgba(7,37,22,0.6) 0%, rgba(7,37,22,0) 58%);
}
.hero-photo > .hero-bg { z-index: 0; will-change: transform; }
.hero-photo > .wrap { position: relative; z-index: 2; }

/* ---- Film grain over hero photos (matches the cinematic variant) ---- */
.slideshow::after,
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%3E%3Cfilter%20id='g'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.82'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='saturate'%20values='0'/%3E%3C/filter%3E%3Crect%20width='160'%20height='160'%20filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat; opacity: 0; mix-blend-mode: overlay; /* grain retired: real photography needs no texture mask */
  animation: none;
}
@keyframes grainShift {
  0% { background-position: 0 0; } 20% { background-position: -32px 18px; } 40% { background-position: 24px -14px; }
  60% { background-position: -18px -26px; } 80% { background-position: 30px 24px; } 100% { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) { .slideshow::after, .hero-photo::before { animation: none; } }

/* ---- Wills Nursery taped vintage print (beige paper drops out via multiply + feathered edges) ---- */
.wills-print {
  position: relative; display: inline-block; margin: 0; padding: 0;
  width: clamp(190px, 24vw, 240px); transform: rotate(-2deg);
}
.wills-img {
  display: block; width: 100%; height: auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(118% 118% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(118% 118% at 50% 50%, #000 70%, transparent 100%);
}
.wills-tape {
  position: absolute; z-index: 2; width: 66px; height: 22px;
  background: linear-gradient(180deg, rgba(221, 209, 168, 0.62), rgba(205, 192, 150, 0.5));
  box-shadow: 0 1px 3px rgba(7, 37, 26, 0.1);
  border-inline: 1px solid rgba(255, 255, 255, 0.32);
}
.wills-tape-l { top: -9px; left: 6px; transform: rotate(-24deg); }
.wills-tape-r { top: -9px; right: 6px; transform: rotate(22deg); }

/* ---- Hero anniversary line (enlarged, highlights the 45 above the fold) ---- */
.hero-anniv {
  font-family: "Archivo", sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--orange-500);
  font-size: clamp(1.05rem, 2.4vw, 1.6rem); line-height: 1;
  display: inline-flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap;
  text-shadow: 0 1px 16px rgba(7, 37, 22, 0.55);
}
.hero-anniv b { font-weight: 900; font-size: 1.4em; letter-spacing: -0.02em; }

/* ---- 45-year anniversary band (modern lockup, no seal) ---- */
.anniv {
  background: radial-gradient(130% 150% at 0% 0%, var(--green-800) 0%, var(--green-950) 72%);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-block: 1px solid rgba(145, 165, 165, 0.28);
  position: relative; overflow: hidden;
}
.anniv-grid { display: grid; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .anniv-grid { grid-template-columns: auto 1fr; } }
.anniv-mark { display: flex; align-items: flex-start; gap: 1rem; }
.anniv-num {
  font-family: "Archivo", sans-serif; font-weight: 900; line-height: 0.8;
  font-size: clamp(6rem, 16vw, 12rem); letter-spacing: -0.045em;
  color: var(--orange-500);
  text-shadow: 0 18px 50px rgba(232, 148, 26, 0.28);
}
.anniv-unit { display: flex; flex-direction: column; padding-top: 0.55rem;
  font-family: "Archivo", sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: clamp(1.15rem, 2.6vw, 1.85rem); color: #fff; }
.anniv-unit span { font-weight: 600; letter-spacing: 0.24em; font-size: 0.6em;
  color: var(--silver-300); margin-top: 0.4rem; }

/* ---- EST. 1981 heritage stamp (Our Roots) ---- */
.est-stamp {
  display: inline-flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(2.4rem, 6vw, 3.6rem);
  border: 2px solid var(--green-800); border-radius: 14px; background: #fff;
  box-shadow: var(--shadow-md); position: relative;
}
.est-stamp::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--silver-300); border-radius: 9px; pointer-events: none; }
.est-kicker { font-family: "Archivo", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.34em; font-size: 0.72rem; color: var(--green-700); }
.est-year { font-family: "Archivo", sans-serif; font-weight: 900; font-size: clamp(3.4rem, 9vw, 5rem); line-height: 1; color: var(--green-800); letter-spacing: -0.03em; margin-block: 0.35rem 0.55rem; }
.est-sub { font-family: "Public Sans", sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--orange-600); }

/* ---- Horizontal project strip (carousel-style, scroll-snap) ---- */
.proj-strip {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem; cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
}
.proj-strip::-webkit-scrollbar { display: none; }
.proj-strip.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.proj-strip > * { flex: 0 0 88%; scroll-snap-align: start; }
@media (min-width: 640px) { .proj-strip > * { flex: 0 0 380px; } }
.proj-strip img { -webkit-user-drag: none; user-select: none; }

/* Strip prev/next arrows (light section) */
.strip-arrow {
  width: 44px; height: 44px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); color: var(--green-800); background: #fff;
  transition: border-color 0.2s var(--ease-quart), color 0.2s var(--ease-quart), transform 0.2s var(--ease-quart);
}
.strip-arrow:hover { border-color: var(--green-700); color: var(--green-700); transform: translateY(-1px); }
.strip-arrow:active { transform: scale(0.95); }

/* ---- Cards / projects ---- */
/* Card hover: lift toward the cursor + photo zoom + a revealed "open project" arrow */
.proj-card { transition: transform 0.5s var(--ease-quint), box-shadow 0.5s var(--ease-quint); }
.proj-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.proj-card img { transition: transform 0.7s var(--ease-quint); }
.proj-card:hover img { transform: scale(1.05); }
.proj-card .proj-meta { transition: transform 0.4s var(--ease-quint); }
.proj-card:hover .proj-meta { transform: translateY(-4px); }
.proj-card::after {
  content: ""; position: absolute; top: 0.9rem; right: 0.9rem; z-index: 3; pointer-events: none;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--orange-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1500' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  box-shadow: 0 10px 22px -8px rgba(207, 118, 15, 0.6);
  opacity: 0; transform: scale(0.6) translateY(6px);
  transition: opacity 0.35s var(--ease-quint), transform 0.35s var(--ease-quint);
}
.proj-card:hover::after { opacity: 1; transform: scale(1) translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .proj-card, .proj-card img, .proj-card .proj-meta, .proj-card::after { transition: none; }
  .proj-card:hover, .proj-card:hover img, .proj-card:hover .proj-meta { transform: none; }
  .proj-card:hover::after { opacity: 1; transform: none; }
}

/* ==========================================================================
   MOTION
   Reveals enhance an already-visible default (fail open). JS adds .is-in;
   if JS never runs, .no-js keeps everything visible.
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }

/* Clip-wipe reveal for signature headings */
.reveal-wipe { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(8px);
  transition: clip-path 0.9s var(--ease-expo), opacity 0.6s var(--ease-quart), transform 0.9s var(--ease-expo); }
.reveal-wipe.is-in, .no-js .reveal-wipe { opacity: 1; clip-path: inset(0 0 -2% 0); transform: none; }

/* Stagger: parent sets nothing; children read --i */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* Hero entrance (page load, not scroll) */
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-in { opacity: 0; animation: heroRise 0.9s var(--ease-expo) forwards; }
.hero-in.d1 { animation-delay: 0.05s; }
.hero-in.d2 { animation-delay: 0.16s; }
.hero-in.d3 { animation-delay: 0.27s; }
.hero-in.d4 { animation-delay: 0.4s; }
.hero-in.d5 { animation-delay: 0.52s; }

/* Marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 34s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.link-underline { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.3s var(--ease-quart); }
.link-underline:hover { background-size: 100% 1.5px; }

/* ---- Heritage timeline ---- */
.era-card {
  transition: transform 0.4s var(--ease-quint), box-shadow 0.4s var(--ease-quart), border-color 0.3s var(--ease-quart);
}
.era-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.era-logo { transition: transform 0.5s var(--ease-quint), filter 0.4s var(--ease-quart); }
.era-card:hover .era-logo { transform: scale(1.04); }
.era-rail { background: linear-gradient(90deg, var(--gold-500), var(--orange-500), var(--green-600)); }

/* Vintage Wills Nursery card treatment */
.vintage { background:
   radial-gradient(120% 140% at 50% 0%, #f7f1e2 0%, #efe6cf 100%);
   box-shadow: inset 0 0 0 1px rgba(120, 92, 40, 0.18); color: #4a3b1c; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .reveal, .reveal-wipe, .hero-in { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none !important; }
}

/* Per request: the top header always shows the natural-colour (green + orange) Wilco
   logo, never the white reversed one — across every page. */
[data-header] .logo-white { display: none; }
[data-header] .logo-color { display: block; }

/* Header hides on scroll; reveals at the very top of the page or when you hover the top edge */
[data-header] { transition: transform 0.4s var(--ease-quart), background-color 0.4s var(--ease-quart), box-shadow 0.4s var(--ease-quart), border-color 0.4s var(--ease-quart); }
[data-header].hdr-away { transform: translateY(-100%); }

/* Mobile menu: fade + slight slide instead of an instant pop */
[data-menu] { opacity: 0; transform: translateY(-8px); transition: opacity 0.2s var(--ease-quart), transform 0.25s var(--ease-quint); }
[data-menu].is-open { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-menu], [data-menu].is-open { transform: none; transition: opacity 0.15s linear; } }

/* Footer logo: natural green+orange logo on a soft faded-white box so it reads on the
   dark green footer. Tweak the alpha to taste (lower = more faded). */
.footer-logo { display: inline-block; height: 2.85rem; width: auto; background: rgba(190, 205, 198, 0.72); padding: 0.4rem 0.55rem; border-radius: 9px; }

/* ==========================================================================
   FABLE POLISH — green variant. Motion + depth pass, identity unchanged.
   ========================================================================== */

/* Brand-colored text selection */
::selection { background: var(--orange-500); color: #2a1500; }

/* Hero slides: slow Ken-Burns settle on the active slide (was a flat crossfade) */
.slideshow img { will-change: transform, opacity; }
.slideshow img.is-active { animation: kbSettle 8s var(--ease-quart) both; }
@keyframes kbSettle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Hero scrim: richer floor so headline + CTA sit on true depth */
.hero-photo::after {
  background:
    linear-gradient(180deg, rgba(7,37,22,0.38) 0%, rgba(7,37,22,0.12) 30%, rgba(7,37,22,0.88) 100%),
    linear-gradient(90deg, rgba(7,37,22,0.65) 0%, rgba(7,37,22,0) 58%);
}

/* Active slide dot picks up the brand orange */
.slide-dots button[aria-current="true"] { background: var(--orange-500); }

/* Nav links: underline grows in on hover (mirrors the active-page accent) */
.nav-pill a::before {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.18rem;
  height: 2px; border-radius: 2px; background: var(--orange-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s var(--ease-quint);
}
.nav-pill a:hover::before { transform: scaleX(1); }
.nav-pill a[aria-current="page"]::before { display: none; }

/* Header logo: gentle scale on hover */
[data-header] a[aria-label="Wilco home"] img { transition: transform 0.3s var(--ease-quint); }
[data-header] a[aria-label="Wilco home"]:hover img { transform: scale(1.045); }

/* 45 band: soft heritage-gold aura behind the numeral */
.anniv::after {
  content: ""; position: absolute; left: -6%; top: -40%;
  width: 44rem; height: 44rem; pointer-events: none;
  background: radial-gradient(closest-side, rgba(231,178,58,0.13), transparent 70%);
}

/* Footer social chips: lift on hover */
footer a[aria-label] { transition: background-color 0.2s var(--ease-quart), color 0.2s var(--ease-quart), transform 0.25s var(--ease-quint); }
footer a[aria-label]:hover { transform: translateY(-2px); }

/* EST. 1981 stamp responds like a physical object */
.est-stamp { transition: transform 0.4s var(--ease-quint), box-shadow 0.4s var(--ease-quart); }
.est-stamp:hover { transform: translateY(-4px) rotate(0.4deg); box-shadow: var(--shadow-lg); }

@media (prefers-reduced-motion: reduce) {
  .slideshow img.is-active { animation: none; }
  .nav-pill a::before { transition: none; }
  .est-stamp:hover { transform: none; }
}

/* Hero video slide - same layer treatment as the photos */
.slideshow video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease-quart); }
.slideshow video.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .slideshow video { transition: opacity 0.2s linear; } }

/* Cinematic-style hero type: heavy caps with the orange accent word */
.hero-caps { text-transform: uppercase; font-weight: 900; line-height: 0.94; letter-spacing: -0.02em; }
.hero-caps .hero-accent { color: var(--orange-500); }
