/* ============================================================
   ACCLIMATE ARCHERY — "Alpine Precision"
   Palette: coal / bone / ash / ember — from the original site,
   sharpened. Type: Archivo (wide caps) × Instrument Serif (ital)
   × Space Grotesk (technical labels).
   ============================================================ */

:root {
  /* -------- color -------- */
  --void:  #0e0d0c;
  --coal:  #191715;
  --coal-2:#221f1c;
  --coal-3:#2b2825;
  --bone:  #ece9e2;
  --paper: #f2f0ea;
  --paper-2:#e7e4dc;
  --ash:   #a39e94;
  --ash-2: #6e6a62;
  --line:  rgba(20, 18, 16, 0.14);
  --line-light: rgba(236, 233, 226, 0.14);
  --ember: #e4572e;
  --ember-soft: rgba(228, 87, 46, 0.55);

  /* -------- type -------- */
  --f-display: "Archivo", sans-serif;
  --f-serif: "Instrument Serif", serif;
  --f-tech: "Space Grotesk", monospace, sans-serif;

  /* -------- rhythm -------- */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(5rem, 12vh, 9rem);
  --radius: 2px;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-punch: cubic-bezier(0.83, 0, 0.17, 1);
}

/* ============ reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--f-tech);
  background: var(--paper);
  color: var(--coal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--ember); color: var(--bone); }

/* Hide native cursor only when custom cursor is active (set by JS on pointer-fine devices) */
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* While actively scrolling, suspend hover flips so cards passing under a
   stationary cursor don't flash their hover state */
body.is-scrolling .service-card,
body.is-scrolling .testimonial,
body.is-scrolling .brand-row { pointer-events: none; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--void);
  display: grid; place-items: center;
  color: var(--bone);
  transition: visibility 0s 1.6s;
}
.preloader__inner { position: relative; z-index: 3; display: grid; place-items: center; gap: 1.4rem; }
.preloader__mark { width: clamp(72px, 10vw, 110px); color: var(--bone); }
.preloader__ring {
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: draw 1.1s var(--ease-punch) 0.1s forwards;
  transform-origin: center; transform: rotate(-90deg);
}
.preloader__peaks {
  stroke-dasharray: 180; stroke-dashoffset: 180;
  animation: draw 0.9s var(--ease-punch) 0.7s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__wordwrap { overflow: hidden; }
.preloader__word {
  display: block;
  font-family: var(--f-display);
  font-weight: 800; font-stretch: 115%;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.55em; text-indent: 0.55em;
  transform: translateY(110%);
  animation: rise-in 0.8s var(--ease-out) 1s forwards;
}
@keyframes rise-in { to { transform: translateY(0); } }
.preloader__meta {
  display: flex; gap: 2.5rem;
  font-size: 0.62rem; letter-spacing: 0.3em;
  color: var(--ash-2);
}
.preloader__count { color: var(--bone); min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; }
.preloader__curtain {
  position: absolute; inset: 0; background: var(--void); z-index: 2;
  transform: scaleY(1); transform-origin: top;
}
.preloader__curtain--2 { background: var(--coal-2); z-index: 1; }
.preloader.is-done .preloader__inner { animation: fade-up-out 0.5s var(--ease-punch) forwards; }
.preloader.is-done .preloader__curtain { animation: curtain 0.9s var(--ease-punch) 0.35s forwards; }
.preloader.is-done .preloader__curtain--2 { animation: curtain 0.9s var(--ease-punch) 0.5s forwards; }
.preloader.is-done { visibility: hidden; }
@keyframes fade-up-out { to { opacity: 0; transform: translateY(-30px); } }
@keyframes curtain { to { transform: scaleY(0); } }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; display: none; }
body.has-cursor .cursor { display: block; }
.cursor__dot {
  position: absolute; top: -2.5px; left: -2.5px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ember);
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}
.cursor__reticle {
  position: absolute; top: -19px; left: -19px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid currentColor;
  color: var(--coal);
  opacity: 0.55;
  /* a soft dark+light double halo riding along on every frame, independent
     of the color flip below — whichever half of the halo matches the
     backdrop always leaves the other half in contrast, so the ring never
     goes fully invisible while color/border-color is mid-transition (e.g.
     the instant it leaves a dark hover target for the plain page) */
  filter:
    drop-shadow(0 0 1px rgba(14, 13, 12, 0.4))
    drop-shadow(0 0 3px rgba(236, 233, 226, 0.55));
  transition: transform 0.35s var(--ease-out), opacity 0.35s, color 0.18s, border-color 0.18s;
}
.cursor.is-light .cursor__reticle { color: var(--bone); }
.cursor__tick { position: absolute; background: currentColor; }
.cursor__tick--n, .cursor__tick--s { width: 1px; height: 6px; left: 50%; }
.cursor__tick--e, .cursor__tick--w { height: 1px; width: 6px; top: 50%; }
.cursor__tick--n { top: -1px; } .cursor__tick--s { bottom: -1px; }
.cursor__tick--w { left: -1px; } .cursor__tick--e { right: -1px; }
/* same expand + 45deg rotation for every hover state, so the reticle
   animates identically everywhere on the site */
.cursor.is-hover .cursor__reticle { transform: scale(1.7) rotate(45deg); opacity: 0.9; }
.cursor.is-hover .cursor__dot { transform: scale(0.5); }
/* over a button that's solid ember (or fills ember on hover), the ember
   dot vanishes into it — swap it to bone so it still reads as a target */
.cursor.is-fill .cursor__dot { background: var(--bone); transform: scale(0.9); }
.cursor.is-down .cursor__reticle { transform: scale(0.8); }

/* ============================================================
   PROGRESS RAIL (right edge)
   ============================================================ */
.progress-rail {
  position: fixed; right: clamp(10px, 1.6vw, 26px); top: 50%;
  transform: translateY(-50%);
  height: min(80vh, 760px); z-index: 90;
  display: flex; flex-direction: column; align-items: center;
  mix-blend-mode: difference; color: var(--bone);
  transition: color 0.3s;
}
.progress-rail.is-hero { mix-blend-mode: normal; color: #ffffff; }
.progress-rail__line { width: 1px; flex: 1; background: currentColor; opacity: 0.3; }
.progress-rail__arrow {
  position: absolute; top: 0; left: 50%;
  width: 10px; margin-left: -5px;
  color: inherit;
  transition: top 0.15s linear;
}
@media (max-width: 900px) { .progress-rail { display: none; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 var(--gutter);
  transition: transform 0.5s var(--ease-out), background 0.4s, backdrop-filter 0.4s;
  color: var(--bone);
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,9,8,0.5) 0%, rgba(10,9,8,0.32) 70%, rgba(10,9,8,0) 100%);
  backdrop-filter: blur(3px);
  transition: background 0.45s, backdrop-filter 0.45s, box-shadow 0.45s;
}
.site-header.is-scrolled::after {
  background: rgba(14, 13, 12, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line-light);
}
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 84px;
  transition: height 0.4s var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { height: 64px; }

.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.site-nav--right { justify-content: flex-end; }
.site-nav__link {
  position: relative;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.5rem 0;
  display: inline-flex; gap: 0.5em; align-items: baseline;
}
.site-nav__num { font-size: 0.68rem; color: var(--ember); font-weight: 700; }
.site-nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--bone);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-punch);
}
.site-nav__link:hover::after,
.site-nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.site-logo { display: flex; align-items: center; gap: 0.7rem; justify-self: center; }
.site-logo__mark { width: 40px; color: currentColor; transition: transform 0.6s var(--ease-out); }
.site-logo:hover .site-logo__mark { transform: rotate(180deg); }
.site-logo__type { display: flex; flex-direction: column; line-height: 1.05; }
.site-logo__name {
  font-family: var(--f-display); font-weight: 800; font-stretch: 110%;
  font-size: 1.02rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.site-logo__sub {
  font-size: 0.56rem; letter-spacing: 0.42em; margin-top: 3px;
  color: var(--bone); opacity: 0.85;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.site-header__coords {
  font-size: 0.66rem; letter-spacing: 0.14em; color: rgba(236,233,226,0.88);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
@media (max-width: 1100px) { .site-header__coords { display: none; } }

.nav-toggle { display: none; position: relative; width: 40px; height: 40px; }
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-punch), top 0.4s var(--ease-punch);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle.is-open span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .site-nav--left { display: none; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .site-logo { justify-self: start; order: -1; }
  .nav-toggle { display: block; }
  .site-nav--right .btn { display: none; }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  visibility: hidden; pointer-events: none;
}
.mobile-menu__bg {
  position: absolute; inset: 0; background: var(--void);
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease-punch);
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu.is-open .mobile-menu__bg { transform: translateY(0); }
.mobile-menu__nav { position: relative; display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu__link {
  font-family: var(--f-display); font-weight: 800; font-stretch: 105%;
  text-transform: uppercase; color: var(--bone);
  font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.15;
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-menu__link em { font-family: var(--f-tech); font-style: normal; font-size: 0.8rem; color: var(--ember); }
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.39s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.46s; }
.mobile-menu__foot {
  position: absolute; bottom: 2rem; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash-2);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--f-tech); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1.05em 1.9em;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  transition: color 0.4s var(--ease-out), border-color 0.4s;
  will-change: transform;
}
.btn__bg {
  position: absolute; inset: -1px; z-index: 0;
  background: currentColor;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-punch);
}
.btn:hover .btn__bg { transform: translateY(0); }
.btn__label, .btn__icon { position: relative; z-index: 1; }
.btn__icon { width: 14px; transition: transform 0.4s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--solid { background: var(--bone); color: var(--coal); border-color: var(--bone); }
.btn--solid .btn__bg { background: var(--ember); }
.btn--solid:hover { color: var(--bone); border-color: var(--ember); }

.btn--line { color: var(--bone); border-color: var(--line-light); background: transparent; }
.btn--line .btn__bg { background: var(--bone); }
.btn--line:hover { color: var(--coal); border-color: var(--bone); }
.hero__actions .btn--line {
  border-color: rgba(236,233,226,0.5);
  backdrop-filter: blur(7px) saturate(1.1); -webkit-backdrop-filter: blur(7px) saturate(1.1);
}
.hero__actions .btn--line:not(:hover) { background: rgba(10,9,8,0.3); }

.btn--ghost { color: var(--bone); border-color: rgba(236,233,226,0.4); }
.btn--ghost .btn__bg { background: var(--bone); }
.btn--ghost:hover { color: var(--coal); }

/* visibly inactive — for buttons that don't do anything yet (e.g. merch
   checkout before the store's connected). No fill sweep, no lift on hover,
   just a flat muted state that reads as "not clickable" */
.btn--disabled {
  color: var(--ash-2); border-color: var(--line);
  background: transparent; cursor: not-allowed;
}
.btn--disabled:hover { color: var(--ash-2); border-color: var(--line); }

.btn--sm { padding: 0.75em 1.4em; font-size: 0.65rem; }
.btn--lg { padding: 1.25em 2.4em; font-size: 0.8rem; }

.site-header .btn { padding: 0.85em 1.7em; font-size: 0.74rem; }

/* ============================================================
   SECTION PRIMITIVES
   ============================================================ */
.section { padding: var(--section-pad) var(--gutter); position: relative; }
.section--dark { background: var(--coal); color: var(--bone); }
.section--void { background: var(--void); color: var(--bone); }

.section__head { max-width: 1200px; margin: 0 auto clamp(3rem, 7vh, 5rem); }
.section__head--tight { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.section__head--center { text-align: center; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ash-2); margin-bottom: 1.6rem;
}
.section__eyebrow--light { color: var(--ash); }
.section__eyebrow--center { justify-content: center; }
.section__eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember-soft);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { box-shadow: 0 0 3px transparent; } }

.section__title {
  font-family: var(--f-tech); font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.15; text-transform: none;
  letter-spacing: -0.01em;
}
.section__title em, .craft__title em, .contact__title em, .quote__text em {
  font-family: var(--f-tech); font-style: normal; font-weight: 400;
  text-transform: none; letter-spacing: -0.01em;
  font-size: 1em; line-height: inherit;
}
.section__title--light { color: var(--bone); }
.section__title--sm { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.section__lede {
  max-width: 46ch; margin-top: 1.5rem;
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  color: var(--ash-2); font-weight: 400;
}

/* split-title reveal */
[data-split-title] .word {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  /* extra room inside the mask so descenders (g, y, p) and ascenders/accents
     (f, tall caps) aren't clipped by the reveal mask; negative margin cancels
     the padding back out so surrounding line spacing doesn't shift */
  padding: 0.12em 0 0.16em;
  margin: -0.12em 0 -0.16em;
}
[data-split-title] .word > span {
  display: inline-block;
  transform: translateY(115%) rotate(2deg);
  transition: transform 0.9s var(--ease-punch);
}
[data-split-title].is-in .word > span { transform: translateY(0) rotate(0deg); }

/* generic reveal */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  background: var(--void); color: var(--bone);
  overflow: hidden;
  padding: 110px var(--gutter) 90px;
}
.hero__scene { position: absolute; inset: 0; overflow: hidden; }

.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
  transform: scale(1.04) translateX(0%);
  transform-origin: center;
  animation: hero-photo-pan 48s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-photo-pan {
  0%   { transform: scale(1.04) translateX(-2.6%); }
  100% { transform: scale(1.04) translateX(2.6%); }
}
/* a photo covers the whole scene, so the procedural sky/stars/ridge layers
   (built for the illustrated fallback) stay in the markup but sit unused */
.hero--photo .hero__sky,
.hero--photo .hero__stars,
.hero--photo .hero__ridge,
.hero--photo .hero__mist,
.hero--photo .hero__snow { display: none; }
/* darker so headline type stays legible over a bright alpenglow sky */
.hero--photo .hero__vignette {
  background:
    linear-gradient(180deg, rgba(8,7,6,0.35) 0%, rgba(8,7,6,0.12) 26%, rgba(8,7,6,0.22) 62%, rgba(8,7,6,0.6) 100%),
    radial-gradient(75% 60% at 50% 42%, rgba(8,7,6,0.42) 0%, transparent 68%);
}

.hero__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 50% 108%, rgba(236,233,226,0.20) 0%, transparent 55%),
    radial-gradient(80% 55% at 72% 20%, rgba(90, 96, 110, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, #101112 0%, #181a1c 42%, #232322 72%, #34322e 100%);
}
.hero__stars { position: absolute; inset: 0 0 40% 0; }
.hero__stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--bone);
  animation: twinkle var(--tw, 4s) ease-in-out infinite;
  opacity: 0.6;
}
@keyframes twinkle { 50% { opacity: 0.08; } }

.hero__ridge { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.hero__ridge--far  { opacity: 0.85; }
.hero__ridge--mid  { opacity: 0.95; }
.hero__ridge-line {
  stroke: rgba(236, 233, 226, 0.16);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.hero__ridge--mid .hero__ridge-line { stroke: rgba(236, 233, 226, 0.09); }
.hero__mist, .hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%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)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035; pointer-events: none;
}
.hero__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(10,9,8,0.55) 100%);
}

.hero__content {
  position: relative; z-index: 3;
  text-align: center; max-width: 1100px;
}
.hero__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 1.2em;
  font-size: clamp(0.64rem, 0.95vw, 0.78rem); font-weight: 500;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: rgba(236,233,226,0.92); margin-bottom: clamp(1.5rem, 3vh, 2.6rem);
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
.hero__eyebrow-line { width: clamp(24px, 5vw, 70px); height: 1px; background: rgba(236,233,226,0.35); }

/* clean, precision-instrument headline — one consistent sans, sentence case,
   restrained size, no italic/serif flourish */
.hero__title {
  font-family: var(--f-tech);
  font-weight: 600;
  text-transform: none;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.12; letter-spacing: -0.01em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero__title-row { display: block; overflow: hidden; padding: 0.1em 0 0.14em; margin: -0.1em 0 -0.14em; }
.hero__title-row--serif {
  font-family: var(--f-tech); font-weight: 400;
  text-transform: none; letter-spacing: -0.01em;
  font-size: 1em; line-height: 1.12;
  margin-top: 0;
}
.hero__title-row--serif em { font-style: normal; }
.split-line {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.1s var(--ease-punch);
}
.hero.is-ready .split-line { transform: translateY(0); }
.hero.is-ready .hero__title-row:nth-child(2) .split-line { transition-delay: 0.12s; }

.hero__sub {
  max-width: 52ch; margin: clamp(1.4rem, 3vh, 2.2rem) auto 0;
  font-size: clamp(0.9rem, 1.3vw, 1.08rem);
  color: var(--bone); font-weight: 400;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
.hero__actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: clamp(1.8rem, 4vh, 3rem);
}

.hero__foot {
  position: absolute; z-index: 3;
  left: var(--gutter); right: var(--gutter); bottom: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bone);
}
.hero__scrollcue,
.hero__foot-note,
.hero__wind {
  background: rgba(10,9,8,0.34);
  backdrop-filter: blur(7px) saturate(1.1); -webkit-backdrop-filter: blur(7px) saturate(1.1);
  border-radius: 999px;
  padding: 0.65em 1.2em;
}
.hero__scrollcue { display: flex; align-items: center; gap: 0.9em; }
.hero__scrollcue-track {
  position: relative; width: 1.5px; height: 40px;
  background: rgba(236,233,226,0.3); overflow: hidden; display: inline-block;
  border-radius: 2px;
}
.hero__scrollcue-thumb {
  position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--ember);
  animation: scroll-thumb 2s var(--ease-punch) infinite;
}
@keyframes scroll-thumb {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(280%); }
}
.hero__foot-note { text-align: center; }
.hero__wind { display: flex; gap: 0.9em; align-items: baseline; }
.hero__wind span:first-child { color: var(--ember); }
.hero__wind-val { color: var(--bone); font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
  .hero__foot { justify-content: center; }
  .hero__foot-note, .hero__wind { display: none; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--paper); position: relative; }
.services__mark {
  position: absolute; top: clamp(0.5rem, 1vh, 1.5rem); right: var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  text-align: center;
}
.services__mark-icon { width: clamp(42px, 3.6vw, 56px); color: var(--ember); opacity: 0.8; }
.services__mark-text {
  font-family: var(--f-tech); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.5;
  color: var(--ash-2);
}
@media (max-width: 1150px) { .services__mark { display: none; } }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  max-width: 1400px; margin: 0 auto;
  perspective: 1400px;
  scroll-margin-top: 96px;
}
@media (max-width: 1000px) { .services__grid { grid-template-columns: 1fr; max-width: 640px; } }

.service-card {
  position: relative; overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 2.6vw, 2.6rem);
  display: flex; flex-direction: column;
  min-height: 100%;
  transform-style: preserve-3d;
  transition: background 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}
.service-card:hover {
  background: var(--coal);
  color: var(--bone);
  border-color: var(--coal);
  box-shadow: 0 30px 60px -20px rgba(20, 18, 16, 0.45);
}
.service-card__sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(400px circle at var(--sx, 50%) var(--sy, 50%), rgba(236,233,226,0.09), transparent 55%);
  transition: opacity 0.4s;
}
.service-card:hover .service-card__sheen { opacity: 1; }
.service-card__index {
  font-family: var(--f-tech); font-style: normal; font-weight: 600;
  font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ash);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
  margin-bottom: 1.6rem;
}
.service-card:hover .service-card__index { color: var(--ember); -webkit-text-stroke-color: var(--ember); }
.service-card__icon {
  width: 44px; margin-bottom: 1.4rem; color: var(--ash-2);
  transition: color 0.5s, transform 0.6s var(--ease-out);
}
.service-card:hover .service-card__icon { color: var(--ember); transform: translateY(-4px); }
.service-card__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  text-transform: uppercase; line-height: 1.1;
  margin-bottom: 1rem;
}
.service-card__body { font-size: 0.92rem; color: var(--ash-2); transition: color 0.5s; }
.service-card:hover .service-card__body { color: var(--ash); }
.service-card__list {
  margin: 1.4rem 0 2rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  font-size: 0.78rem; letter-spacing: 0.04em;
}
.service-card__list li {
  display: flex; align-items: center; gap: 0.7em;
}
.service-card__list li::before {
  content: ""; width: 12px; height: 1px;
  background: var(--ember); flex-shrink: 0;
}
.service-card__cta {
  margin-top: auto;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.8em;
  color: var(--ash-2); transition: color 0.5s;
}
.service-card:hover .service-card__cta { color: var(--bone); }
.service-card__cta i {
  font-style: normal; transition: transform 0.4s var(--ease-out); color: var(--ember);
}
.service-card:hover .service-card__cta i { transform: translateX(6px); }
.service-card__cta--btn {
  margin-top: auto;
  align-self: flex-start;
  background: var(--ember); color: var(--coal);
  border: 1px solid var(--ember);
  border-radius: var(--radius); padding: 0.7em 1.3em;
  transition: transform 0.4s var(--ease-punch), box-shadow 0.4s;
}
.service-card__cta--btn i { color: var(--coal); }
.service-card:hover .service-card__cta--btn {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(228,87,46,0.55);
}

.services__note {
  text-align: center; margin-top: clamp(2.5rem, 6vh, 4rem);
  font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--ash-2);
}
.services__note em { font-family: var(--f-tech); font-style: normal; font-weight: 600; font-size: 1em; color: var(--coal); }

/* ============================================================
   CRAFT / ABOUT
   ============================================================ */
.craft { overflow: hidden; }
.craft__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1400px; margin: 0 auto;
  align-items: start;
}
@media (max-width: 1000px) { .craft__grid { grid-template-columns: 1fr; } }
.craft__left { position: sticky; top: 120px; }
@media (max-width: 1000px) { .craft__left { position: static; } }
.craft__title {
  font-family: var(--f-tech); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.16; text-transform: none;
}
.craft__sig {
  margin-top: 2.8rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  width: fit-content;
}
.craft__sig-name {
  font-family: var(--f-tech); font-style: normal; font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1;
  color: var(--bone);
}
.craft__sig-arrow { width: clamp(180px, 18vw, 260px); color: var(--ember); overflow: visible; }
.craft__sig-path {
  stroke-dasharray: 300; stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.6s var(--ease-out) 0.4s;
}
.craft__sig-path--head { transition-delay: 1.5s; transition-duration: 0.5s; }
.craft__sig-path--fletch { transition-delay: 0.9s; transition-duration: 0.7s; }
.craft__sig.is-in .craft__sig-path { stroke-dashoffset: 0; }
.craft__sig-role {
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ash-2);
}

.craft__specialties {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 2rem; border-top: 1px solid var(--line-light);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.craft__specialties-label {
  font-family: var(--f-tech); font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: 0.06em;
  color: var(--bone);
  display: flex; align-items: center; gap: 0.7em;
}
.craft__specialties-label::before {
  content: ""; width: 22px; height: 1px; background: var(--ember);
}
.craft__specialties-list {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line-light);
}
.craft__specialties-list li {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-light);
  cursor: default;
  transition: padding-left 0.5s var(--ease-punch);
}
.craft__specialties-list li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 0; height: 1px; background: var(--ember);
  transition: width 0.5s var(--ease-punch);
}
.craft__specialties-list li i {
  font-style: normal; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; color: var(--ash-2);
  font-variant-numeric: tabular-nums;
  transition: color 0.5s;
}
.craft__specialty-copy { display: flex; flex-direction: column; gap: 0.15rem; }
.craft__specialty-copy b {
  font-family: var(--f-tech); font-weight: 500; font-style: normal;
  font-size: clamp(0.85rem, 1vw, 0.98rem); color: var(--ash);
  transition: color 0.5s var(--ease-out);
}
.craft__specialty-copy em {
  font-style: normal; font-size: 0.72rem; color: var(--ash-2);
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity 0.4s var(--ease-out), max-height 0.4s var(--ease-out);
}
.craft__specialties-list li.is-hot,
.craft__specialties-list li:hover {
  padding-left: 1.2rem;
}
.craft__specialties-list li.is-hot::before,
.craft__specialties-list li:hover::before { width: 0.8rem; }
.craft__specialties-list li.is-hot i,
.craft__specialties-list li:hover i { color: var(--ember); }
.craft__specialties-list li.is-hot .craft__specialty-copy b,
.craft__specialties-list li:hover .craft__specialty-copy b { color: var(--bone); }
.craft__specialties-list li.is-hot .craft__specialty-copy em,
.craft__specialties-list li:hover .craft__specialty-copy em { opacity: 1; max-height: 1.4em; }
.craft__coords {
  margin-top: 0.4rem;
  font-size: 0.6rem; letter-spacing: 0.16em;
  color: var(--ash-2); font-variant-numeric: tabular-nums;
}

.craft__right { display: flex; flex-direction: column; gap: clamp(2rem, 4vh, 3rem); }
.craft__portrait {
  position: relative;
  aspect-ratio: 1 / 1; max-width: 520px;
  overflow: hidden; border-radius: var(--radius);
}
.craft__portrait-ph { position: absolute; inset: 0; }
.craft__portrait-ph svg { width: 100%; height: 100%; }
.craft__portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.craft__portrait img, .craft__portrait-ph {
  transform: scale(1.12) translateY(var(--py, 0px));
  will-change: transform;
}
.craft__portrait-frame {
  position: absolute; inset: 0;
  border: 1px solid rgba(236,233,226,0.4);
  pointer-events: none;
}
.craft__portrait-tag {
  position: absolute; left: 0; bottom: 0;
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--coal);
  background: var(--bone);
  padding: 0.9em 1.2em 0.9em 1em;
  border-left: 2px solid var(--ember);
}
.craft__copy { display: flex; flex-direction: column; gap: clamp(1.3rem, 2.6vh, 1.8rem); }
.craft__para {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--ash); max-width: 56ch;
}
.craft__para strong { color: var(--ember); font-weight: 600; }
.craft__facts {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 2rem; border-top: 1px solid var(--line-light);
}
@media (max-width: 640px) {
  .craft__facts { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
  .craft__fact-num { font-size: 1.6rem; }
  .craft__fact-label { font-size: 0.52rem; letter-spacing: 0.1em; max-width: none; }
}
.craft__fact { display: flex; flex-direction: column; gap: 0.5rem; }
.craft__fact-num {
  font-family: var(--f-tech); font-style: normal; font-weight: 600;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.craft__fact-label {
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ash-2); max-width: 20ch;
}

/* ============================================================
   TERRITORY (WebGL terrain + map)
   ============================================================ */
.territory { min-height: 100vh; display: flex; align-items: center; }
.territory__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.territory__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--void) 0%, transparent 20%, transparent 78%, var(--void) 100%),
    radial-gradient(80% 95% at 35% 48%, rgba(14,13,12,0.82) 0%, rgba(14,13,12,0.18) 100%);
}
.territory__inner { position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; }
.territory__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  align-items: center;
}
@media (max-width: 1000px) { .territory__grid { grid-template-columns: 1fr; } }

.territory__map svg { width: 100%; height: auto; }
.territory__topo path {
  stroke: rgba(236,233,226,0.13); stroke-width: 1; fill: none;
}
.territory__border {
  stroke: rgba(236,233,226,0.5); stroke-width: 1.2; fill: rgba(236,233,226,0.02);
}
.territory__dot { fill: var(--ember); }
.territory__pulse {
  fill: none; stroke: var(--ember); stroke-width: 1;
  transform-origin: var(--mx) var(--my);
  animation: map-pulse 2.6s ease-out infinite;
}
.territory__pulse--2 { animation-delay: 1.3s; }
@keyframes map-pulse {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(3.2); opacity: 0; }
}
.territory__leader { stroke: rgba(236,233,226,0.4); stroke-width: 1; stroke-dasharray: 3 3; }
.territory__label {
  fill: var(--bone); font-family: var(--f-tech);
  font-size: 10.5px; letter-spacing: 2.5px; font-weight: 600;
}
.territory__ticks line { stroke: rgba(236,233,226,0.18); stroke-width: 1; }
.territory__town-dot { fill: rgba(236,233,226,0.65); transition: fill 0.3s; }
.territory__town-ring {
  fill: none; stroke: var(--ember); stroke-width: 1;
  opacity: 0; transform: scale(0.5);
  transform-box: fill-box; transform-origin: center;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.territory__town text {
  fill: rgba(236,233,226,0.5); font-family: var(--f-tech);
  font-size: 8.5px; letter-spacing: 1.6px;
  transition: fill 0.3s;
}
.territory__town:hover .territory__town-dot { fill: var(--ember); }
.territory__town:hover .territory__town-ring { opacity: 1; transform: scale(1); }
.territory__town:hover text { fill: var(--bone); }
/* towns cascade in as the map scrolls into view */
.territory__map .territory__town {
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.territory__map.is-in .territory__town { opacity: 1; transform: translateY(0); }
.territory__map.is-in .territory__town:nth-child(1) { transition-delay: 0.15s; }
.territory__map.is-in .territory__town:nth-child(2) { transition-delay: 0.25s; }
.territory__map.is-in .territory__town:nth-child(3) { transition-delay: 0.35s; }
.territory__map.is-in .territory__town:nth-child(4) { transition-delay: 0.45s; }
.territory__map.is-in .territory__town:nth-child(5) { transition-delay: 0.55s; }
.territory__map.is-in .territory__town:nth-child(6) { transition-delay: 0.65s; }
.territory__map.is-in .territory__town:nth-child(7) { transition-delay: 0.75s; }
.territory__compass-ring { fill: none; stroke: rgba(236,233,226,0.4); stroke-width: 1; }
.territory__compass line { stroke: rgba(236,233,226,0.4); stroke-width: 1; }
.territory__compass-needle-n { fill: var(--ember); }
.territory__compass-needle-s { fill: rgba(236,233,226,0.3); }
.territory__compass-pivot { fill: var(--bone); }
.territory__compass text {
  fill: rgba(236,233,226,0.55); font-family: var(--f-tech);
  font-size: 8px; letter-spacing: 1px;
}
.territory__coords-txt {
  fill: rgba(236,233,226,0.3); font-family: var(--f-tech);
  font-size: 8px; letter-spacing: 2px;
}

.territory__para { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--ash); max-width: 48ch; }
.territory__para strong { color: var(--bone); }
.territory__list { margin-top: 2rem; border-top: 1px solid var(--line-light); }
.territory__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line-light);
}
.territory__list span {
  font-family: var(--f-display); font-weight: 700; font-stretch: 106%;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.territory__list em {
  font-style: normal; font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--ash-2); text-align: right;
}
.territory__elev { margin-top: 2.4rem; display: flex; align-items: baseline; gap: 1rem; }
.territory__elev-num {
  font-family: var(--f-tech); font-style: normal; font-weight: 600;
  font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1;
  color: var(--bone); font-variant-numeric: tabular-nums;
}
.territory__elev-unit { font-size: 0.62rem; letter-spacing: 0.3em; color: var(--ash-2); }

/* ============================================================
   BRANDS
   ============================================================ */
.brands { background: var(--paper); padding-bottom: clamp(2.5rem, 5vh, 4rem); }
.brands__rows { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); }
.brand-row {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 1.6rem;
  padding: clamp(1rem, 2.2vh, 1.5rem) clamp(0.5rem, 2vw, 2rem);
  border-bottom: 1px solid var(--line);
  transition: color 0.45s var(--ease-out), padding-left 0.45s var(--ease-out);
  isolation: isolate;
}
.brand-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--coal);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease-punch);
}
.brand-row:hover { color: var(--bone); padding-left: clamp(1.2rem, 3vw, 3rem); }
.brand-row:hover::before { transform: scaleY(1); }
.brand-row__name {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  text-transform: uppercase; line-height: 1;
}
.brand-row__desc {
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ash-2); transition: color 0.45s;
}
.brand-row:hover .brand-row__desc { color: var(--ash); }
.brand-row__arrow {
  font-size: 1.05rem; color: var(--ember);
  transition: transform 0.45s var(--ease-out);
}
.brand-row:hover .brand-row__arrow { transform: translate(4px, -4px); }
@media (max-width: 640px) {
  .brand-row { grid-template-columns: 1fr auto; }
  .brand-row__desc { display: none; }
}

/* ============================================================
   MERCH
   ============================================================ */
.merch { background: var(--paper); padding-top: clamp(2rem, 4vh, 3.5rem); }
.merch .section__head--tight { margin-bottom: clamp(1.7rem, 4vh, 3rem); }
.merch .section__title--sm { font-size: clamp(1.6rem, 3.4vw, 2.7rem); }
.merch__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.05rem, 2.5vw, 2rem);
  max-width: 920px; margin: 0 auto;
  perspective: 1400px;
}
@media (max-width: 700px) { .merch__grid { grid-template-columns: 1fr; max-width: 400px; } }

.merch-card {
  position: relative; overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease-out);
}
.merch-card:hover {
  border-color: var(--coal);
  box-shadow: 0 30px 60px -24px rgba(20, 18, 16, 0.35);
}
.merch-card__photo {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
}
.merch-card__photo-ph { position: absolute; inset: 0; }
.merch-card__photo-ph svg { width: 100%; height: 100%; display: block; }
.merch-card__photo img, .merch-card__photo-ph {
  transform: scale(1.1) translateY(var(--py, 0px));
  will-change: transform;
  transition: transform 0.7s var(--ease-out);
}
.merch-card:hover .merch-card__photo img,
.merch-card:hover .merch-card__photo-ph { transform: scale(1.16) translateY(var(--py, 0px)); }
.merch-card__badge {
  position: absolute; top: 13px; left: 13px;
  font-family: var(--f-tech); font-weight: 600;
  font-size: 0.53rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone); background: var(--ember);
  padding: 0.38em 0.68em; border-radius: var(--radius);
}
.merch-card__body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex; flex-direction: column; gap: 0.9rem;
  flex: 1;
}
.merch-card__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.85rem;
}
.merch-card__name {
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%;
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  text-transform: uppercase; line-height: 1.15;
}
.merch-card__price {
  font-family: var(--f-tech); font-weight: 600; font-size: 0.98rem;
  color: var(--ember); flex-shrink: 0;
}
.merch-card__desc { font-size: 0.78rem; line-height: 1.5; color: var(--ash-2); }
.merch-card__sizes { display: flex; flex-wrap: wrap; gap: 0.42rem; }
.merch-card__size {
  font-family: var(--f-tech); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.46em 0.75em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent; color: var(--ash-2);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.merch-card__size:hover { border-color: var(--coal); color: var(--coal); }
.merch-card__size.is-active {
  background: var(--coal); border-color: var(--coal); color: var(--bone);
}
.merch-card__actions {
  margin-top: auto; padding-top: 0.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.merch-card__buy {
  width: 100%; justify-content: center;
  padding: 0.85em 1.5em; font-size: 0.62rem;
}
.merch-card__note {
  display: block;
  font-size: 0.58rem; letter-spacing: 0.09em; text-align: center;
  color: var(--ash-2); transition: color 0.3s;
}
.merch-card__note.is-flash { color: var(--ember); }
/* once Shopify is connected: "N items in cart — Checkout" becomes a
   live link, errors (sold out, add-to-cart failure) get a color cue */
.merch-card__note--link {
  color: var(--ember); font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.merch-card__note--link:hover { color: var(--coal); }
.merch-card__note--error { color: var(--ember); }

.merch__note {
  text-align: center; margin-top: clamp(2.5rem, 6vh, 4rem);
  font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--ash-2);
}
.merch__note em { font-family: var(--f-tech); font-style: normal; font-weight: 600; font-size: 1em; color: var(--coal); }

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  position: relative; overflow: hidden;
  background: var(--coal); color: var(--bone);
  padding: clamp(7rem, 18vh, 12rem) var(--gutter);
}
.quote__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
}
.quote__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,7,6,0.55) 0%, rgba(8,7,6,0.42) 45%, rgba(8,7,6,0.62) 100%);
}
/* photo replaces the ember particles entirely — no motion behind the quote */
.quote--photo .quote__embers { display: none; }
.quote__embers { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
.quote__fig { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; text-align: center; }
.quote__text {
  font-family: var(--f-tech); font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.quote__text em { color: rgba(236,233,226,0.82); }
.quote__cite {
  margin-top: 2.2rem;
  font-family: var(--f-tech); font-size: 0.68rem;
  letter-spacing: 0.38em; text-transform: uppercase; color: rgba(236,233,226,0.7);
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--paper); }
.testimonials__rail {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  max-width: 1400px; margin: 0 auto;
  perspective: 1400px;
}
@media (max-width: 1000px) { .testimonials__rail { grid-template-columns: 1fr; max-width: 640px; } }
.testimonial {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 2.6vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1.6rem;
  transition: box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out), border-color 0.5s;
  transform-style: preserve-3d;
}
.testimonial:hover {
  box-shadow: 0 24px 48px -18px rgba(20,18,16,0.22);
  border-color: rgba(20,18,16,0.3);
}
.testimonial__mark {
  font-family: var(--f-tech); font-style: normal; font-weight: 700;
  font-size: 3rem; line-height: 0.6;
  color: var(--ember);
  height: 0.45em;
}
.testimonial__body { font-size: 0.95rem; color: var(--ash-2); flex: 1; }
.testimonial__foot {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.testimonial__name {
  font-family: var(--f-display); font-weight: 700; font-stretch: 108%;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.testimonial__meta { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash-2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(7rem, 18vh, 12rem) var(--gutter) clamp(9rem, 22vh, 14rem);
  text-align: center;
}
.contact__ridges {
  position: absolute; left: 0; right: 0; bottom: -2px;
  color: var(--coal-2); pointer-events: none;
}
.contact__ridges svg { width: 100%; height: auto; }
.contact__inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.contact__title {
  font-family: var(--f-tech); font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.05; text-transform: none;
}
.contact__lede {
  max-width: 44ch; margin: 1.8rem auto 0;
  font-size: clamp(0.95rem, 1.4vw, 1.12rem); color: var(--ash);
}
.contact__actions {
  margin-top: clamp(2.2rem, 5vh, 3.4rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
}
.contact__phone {
  font-size: 0.8rem; letter-spacing: 0.12em; color: var(--ash);
  transition: color 0.3s;
}
.contact__phone em { font-style: normal; color: var(--bone); font-variant-numeric: tabular-nums; }
.contact__phone:hover em { color: var(--ember); }
.contact__direct { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.contact__email {
  position: relative;
  font-size: 0.8rem; letter-spacing: 0.12em;
  color: var(--ash); font-weight: 400;
  padding-top: 0.9rem;
  transition: color 0.3s;
}
.contact__email::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 26px; height: 1px; background: var(--line-light);
  transform: translateX(-50%);
}
.contact__email:hover { color: var(--ember); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--void); color: var(--bone);
  padding: clamp(3rem, 7vh, 5rem) var(--gutter) 1.6rem;
  overflow: hidden;
}
.site-footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2.5rem; flex-wrap: wrap;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}
.site-footer__brand { display: flex; align-items: center; gap: 0.8rem; }
.site-footer__brand .site-logo__mark { width: 46px; }
.site-footer__wordmark {
  display: flex; flex-direction: column; line-height: 1.05;
  font-family: var(--f-display); font-weight: 800; font-stretch: 110%;
  font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.site-footer__wordmark small {
  font-family: var(--f-tech); font-weight: 400;
  font-size: 0.52rem; letter-spacing: 0.5em; color: var(--ash-2);
}
.site-footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.site-footer__nav a {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ash); transition: color 0.3s, transform 0.3s;
  width: fit-content;
}
.site-footer__nav a:hover { color: var(--bone); transform: translateX(6px); }
.site-footer__meta {
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ash-2); text-align: right;
}
@media (max-width: 700px) { .site-footer__meta { text-align: left; } }

.site-footer__big {
  border-top: 1px solid var(--line-light);
  padding-top: clamp(1rem, 3vh, 2rem);
  overflow: hidden; line-height: 0.82;
}
.site-footer__big-text {
  display: block;
  font-family: var(--f-display); font-weight: 850; font-stretch: 120%;
  font-size: clamp(3.4rem, 12.5vw, 12.5rem);
  text-transform: uppercase; letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236,233,226,0.22);
  white-space: nowrap; text-align: center;
  transition: -webkit-text-stroke-color 0.6s, color 0.6s;
  will-change: transform;
}
.site-footer__big:hover .site-footer__big-text { color: rgba(236,233,226,0.06); -webkit-text-stroke-color: rgba(236,233,226,0.45); }
@media (max-width: 700px) {
  .site-footer__top { justify-content: center; text-align: center; }
  .site-footer__brand { flex-direction: column; text-align: center; }
  .site-footer__nav { align-items: center; }
  .site-footer__nav a { width: auto; }
  .site-footer__meta { align-items: center; text-align: center; }
  /* negative letter-spacing leaves a trailing sliver of tracking after the
     last glyph that browsers don't agree on trimming — on a centered,
     nowrap line that shows up as a slight rightward drift. Drop it here. */
  /* font-stretch: 120% paints glyphs wider than the browser's centering
     math accounts for on this variable font — the line gets positioned
     as if it were narrower than it actually renders, so it drifts right
     and clips the last letter. Dropping the stretch here fixes it. */
  .site-footer__big-text { font-size: clamp(2rem, 13vw, 3.2rem); letter-spacing: 0; font-stretch: normal; }
}
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding-top: 1.6rem;
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ash-2);
}
.site-footer__credit { color: var(--ash-2); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
  [data-reveal], [data-split-title] .word > span, .split-line { opacity: 1 !important; transform: none !important; }
  .hero__mist, .hero__snow, .quote__embers, .territory__gl { display: none; }
  .preloader { display: none; }
}

/* ============================================================
   TOUCHSCREEN FIX — phones/tablets only (real mouse/desktop is
   untouched). The tilt-card 3D perspective stack (preserve-3d +
   perspective) fights mobile GPU compositing during momentum
   scroll, producing a flicker as cards cross the viewport edge.
   Touch devices never use the mousemove tilt anyway, so the 3D
   stacking context is pure liability there — drop it.
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .services__grid, .testimonials__rail { perspective: none; }
  .service-card, .testimonial {
    transform-style: flat;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  /* The real cause: [data-reveal] replays its fade/slide-out transition
     the instant a card's intersection ratio drops crossing the top edge —
     while the live scroll is simultaneously moving it, the two fight and
     read as a flicker. Fine on desktop's fast wheel scroll; very visible
     on mobile's slow momentum scroll. Once shown, keep these cards put. */
  .service-card[data-reveal], .testimonial[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* backdrop-filter on a fixed, scroll-toggled element is the other classic
     iOS flicker source — every frame of scroll forces a re-blur of whatever
     now sits behind it. Swap it for a plain solid fill on touch; no blur,
     nothing to recompute, flicker gone at the source. */
  .site-header::after,
  .site-header.is-scrolled::after {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(12, 11, 10, 0.9);
  }
}
