/* ==========================================================================
   Sasquatch.es
   Layout: full-bleed scenic bands that follow one Pacific Northwest day
   (misty morning sky → fir forest → mountain mist → dusk over the water)
   around a 1200px content column.
   ========================================================================== */

:root {
  /* Brand guide colours */
  --fir: #23452D;          /* Douglas Fir Green: primary */
  --fir-deep: #18301F;
  --fir-ink: #142A1C;      /* headings on light backgrounds */
  --moss: #4F6E58;
  --sage: #DDE7DF;
  --charcoal: #34393D;     /* Dark Charcoal: body text */
  --charcoal-2: #545B60;
  --stone: #8F989C;        /* faded charcoal: mountains, rules */
  --amber: #D97A2A;        /* Amber: one warm accent */
  --ochre: #CC933C;        /* Golden Ochre */
  --brown: #5B2E0F;        /* Forest Brown: "Sasquatch" */
  --sand: #DAAC71;         /* sand from the light fur of the Sasquatch illustration: "es" */

  /* Surfaces */
  --mist: #F1F4EF;
  --mist-2: #E6ECE6;
  --paper: #FBFCFA;
  --field: #EDF1EC;
  --line: rgba(52, 57, 61, 0.14);
  --dusk: #1D2A2C;
  --night-water: #141E23;
  --on-dark: #F1F4EF;
  --on-dark-2: rgba(241, 244, 239, 0.74);
  --error: #A23B16;

  /* Type */
  --font-display: 'Bevan', 'Rockwell Extra Bold', 'Rockwell', 'Roboto Slab', Georgia, serif;
  --font-body: 'Overpass', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Overpass Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem);
  --step-3: clamp(2.05rem, 1.4rem + 2.9vw, 3.5rem);
  --step-5: clamp(3.1rem, 1.6rem + 7.2vw, 7.4rem);

  /* Layout */
  --max: 1200px;
  --gutter: clamp(16px, 4.5vw, 44px);
  --header-h: 68px;
  --section-pad: clamp(76px, 10vw, 136px);
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-card: 0 1px 2px rgba(20, 42, 28, 0.06), 0 22px 44px -26px rgba(20, 42, 28, 0.42);

  color-scheme: light;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px);
  background: #C8D5D2; /* the top of the sky, for any space a viewer adds above the page */
}

body {
  margin: 0;
  /* the page starts in the hero's misty sky, so nothing behind the header can show as plain white */
  background: linear-gradient(180deg, #C8D5D2 0, #D8E1DD 220px, #E7EBE4 480px, var(--mist) 760px) no-repeat, var(--mist);
  color: var(--charcoal);
  font: 400 var(--step-0)/1.65 var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--fir); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: calc(env(safe-area-inset-top, 0px) + 10px);
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--amber);
  color: #241404;
  font-weight: 700;
  text-decoration: none;
  /* fully above the screen, including any safe-area inset a phone app adds at the top */
  transform: translateY(calc(-100% - 20px - env(safe-area-inset-top, 0px)));
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------------------------------------------------------------- type */
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  font: 600 0.76rem/1.3 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 11px;
  height: 15px;
  margin-top: 0.5px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 15'%3E%3Cpath d='M5.5 0 9 5H7l3 4H8l3 4H6.3v2H4.7v-2H0l3-4H1l3-4H2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 15'%3E%3Cpath d='M5.5 0 9 5H7l3 4H8l3 4H6.3v2H4.7v-2H0l3-4H1l3-4H2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

h2 {
  margin: 0 0 20px;
  font: 400 var(--step-3)/1.06 var(--font-display);
  letter-spacing: -0.005em;
  color: var(--fir);
}

.lede {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--charcoal-2);
}

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }

.fir-icon {
  display: inline-block;
  flex: none;
  width: 11px;
  height: 15px;
  margin-right: 10px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 15'%3E%3Cpath d='M5.5 0 9 5H7l3 4H8l3 4H6.3v2H4.7v-2H0l3-4H1l3-4H2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 15'%3E%3Cpath d='M5.5 0 9 5H7l3 4H8l3 4H6.3v2H4.7v-2H0l3-4H1l3-4H2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 0.85em 1.4em 0.75em;
  border: 2px solid transparent;
  border-radius: 10px;
  font: 700 1rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-small { min-height: 42px; padding: 0.7em 1.05em 0.6em; font-size: 0.92rem; }

.btn-primary {
  background: var(--fir);
  color: var(--paper);
  box-shadow: 0 12px 26px -14px rgba(20, 42, 28, 0.9);
}
.btn-primary:hover { background: var(--fir-deep); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(251, 252, 250, 0.55);
  border-color: rgba(35, 69, 45, 0.28);
  color: var(--fir);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--fir); transform: translateY(-2px); }

.btn-outline { background: transparent; border-color: var(--fir); color: var(--fir); }
.btn-outline:hover { background: var(--fir); color: var(--paper); }

.btn-amber {
  background: var(--amber);
  color: #241404;
  box-shadow: 0 14px 28px -14px rgba(217, 122, 42, 0.9);
}
.btn-amber:hover { background: #E38A3D; transform: translateY(-2px); }
.btn-amber[disabled] { cursor: progress; opacity: 0.75; transform: none; }

.btn-outline-light { background: transparent; border-color: var(--fir); color: var(--fir); }
.btn-outline-light:hover { background: var(--fir); color: var(--paper); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  /* a fir-green frosted bar from the start; a touch more solid once you scroll */
  background: rgba(31, 62, 41, 0.86);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.07), 0 10px 28px -20px rgba(8, 20, 12, 0.7);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
          backdrop-filter: blur(12px) saturate(1.3);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(27, 54, 36, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  border-radius: 10px;
}
.brand-logo {
  width: 46px;
  height: 46px;
  flex: none;
  transition: transform 0.45s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-9deg) scale(1.06); }

.brand-word {
  font: 400 1.32rem/1 var(--font-display);
  letter-spacing: -0.005em;
  color: var(--brown);
  white-space: nowrap;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.brand-word .es { color: var(--sand); }
.site-header .brand-word { color: #EADCC6; }
.js .site-header:not(.show-word) .brand-word { opacity: 0; transform: translateX(-8px); }

.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 8px 0 6px;
  color: rgba(241, 244, 239, 0.88);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}
.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-menu a:not(.btn):hover::after,
.nav-menu a[aria-current="true"]::after { transform: scaleX(1); }
.nav-menu a:not(.btn):hover,
.nav-menu a[aria-current="true"] { color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px 0 10px;
  border: 1.5px solid rgba(241, 244, 239, 0.32);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-dark);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    top: calc(100% - 4px);
    right: max(var(--gutter), env(safe-area-inset-right, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(280px, calc(100vw - 2 * var(--gutter)));
    padding: 10px;
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 24px 50px -20px rgba(20, 42, 28, 0.45), 0 0 0 1px var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .menu-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
  }
  .nav-menu a:not(.btn) { display: block; padding: 12px 14px; border-radius: 10px; color: var(--charcoal); }
  .nav-menu a:not(.btn):hover,
  .nav-menu a[aria-current="true"] { color: var(--fir); }
  .nav-menu a:not(.btn)::after { left: 14px; right: auto; width: 18px; bottom: 8px; }
  .nav-menu a:not(.btn):hover { background: var(--mist); }
  .nav-cta { margin-top: 6px; }
  .nav-cta .btn { width: 100%; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  --scene-w: max(100%, 1100px);
  --scene-shift: -50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: clamp(640px, 94vh, 980px);
  min-height: clamp(640px, 94svh, 980px);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(28px, 7vh, 88px));
  padding-bottom: calc(var(--scene-w) * 0.375 * 0.52);
  background:
    radial-gradient(90% 55% at 42% 74%, rgba(246, 226, 186, 0.62), rgba(246, 226, 186, 0) 62%),
    linear-gradient(180deg, #C8D5D2 0%, #D8E1DD 28%, #E7EBE4 54%, #F2EEE2 74%, #EFEBDF 100%);
}

.hero-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sun {
  position: absolute;
  left: 40%;
  top: 66%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 246, 225, 0.95), rgba(250, 231, 192, 0.55) 18%, rgba(244, 222, 180, 0.18) 46%, rgba(244, 222, 180, 0) 72%);
  animation: sun-breathe 9s ease-in-out infinite alternate;
}
@keyframes sun-breathe { to { transform: translate(-50%, -50%) scale(1.05); opacity: 0.85; } }

.cloud {
  position: absolute;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(251, 252, 250, 0.5), rgba(251, 252, 250, 0.18) 55%, rgba(251, 252, 250, 0));
  animation: cloud-drift 120s linear infinite;
}
.cloud-a { top: 12%; left: -40%; width: 52vw; animation-delay: -40s; }
.cloud-b { top: 26%; left: -40%; width: 40vw; height: 80px; opacity: 0.8; animation-duration: 160s; animation-delay: -95s; }
@keyframes cloud-drift { to { transform: translateX(170vw); } }

/* Gulls: the wing shape itself is animated in the SVG (raise, bend at the wrist, push down,
   then glide); CSS only carries each bird across the sky */
.bird {
  position: absolute;
  left: 62%;
  width: 24px;
  height: auto;
  aspect-ratio: 24 / 15;
  overflow: visible;
  fill: none;
  stroke: rgba(52, 57, 61, 0.58);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: bird-fly 32s linear infinite;
}
.bird-a { top: 40%; animation-delay: -6s; }
.bird-b { top: 43%; width: 18px; animation-duration: 38s; animation-delay: -9s; }
.bird-c { top: 38.5%; width: 15px; animation-duration: 41s; animation-delay: -13s; }
@keyframes bird-fly {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: 1; }
  50% { transform: translate(18vw, -16px); }
  100% { transform: translate(40vw, 6px); opacity: 1; }
}

.hero-scene {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: var(--scene-w);
  aspect-ratio: 8 / 3;
  transform: translateX(var(--scene-shift));
  pointer-events: none;
}
.hero-scene .layer { position: absolute; inset: 0; will-change: transform; }
.hero-scene .layer > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.js .hero-scene .layer > img {
  animation: layer-rise 1.6s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 110ms);
}
@keyframes layer-rise { from { opacity: 0; transform: translateY(70px); } }
/* the far mountains are the page's largest paint: visible from the first frame, they only rise */
.js .hero-scene .layer:first-child > img { animation-name: layer-lift; }
@keyframes layer-lift { from { transform: translateY(70px); } }

.map-label {
  position: absolute;
  font: 600 clamp(9px, 0.72vw, 11px)/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.label-rainier {
  left: 69.2%;
  top: 17.6%;
  padding-left: 30px;
  color: rgba(52, 57, 61, 0.66);
  transform: translateY(-50%);
}
.label-rainier::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: currentColor;
}
.label-sound { left: 27%; top: 90.5%; color: rgba(241, 244, 239, 0.82); }
.js .map-label { animation: fade-in 1s var(--ease) 1.6s backwards; }
@keyframes fade-in { from { opacity: 0; } }

.fog {
  position: absolute;
  left: -12%;
  width: 124%;
  background: radial-gradient(closest-side, rgba(244, 246, 241, 0.92), rgba(244, 246, 241, 0)) 0 0 / 34% 100% repeat-x;
  animation: fog-drift 36s ease-in-out infinite alternate;
}
.fog-a { top: 61.5%; height: 10%; }
.fog-b { top: 69.5%; height: 8%; opacity: 0.8; animation-duration: 47s; animation-direction: alternate-reverse; }
/* low mist on the waterline: softens the far shore and lets the walking Sasquatch stand out */
.fog-shore {
  top: 70.4%;
  height: 8.2%;
  background:
    radial-gradient(closest-side, rgba(242, 245, 240, 0.9), rgba(242, 245, 240, 0.3) 62%, rgba(242, 245, 240, 0)) 0 0 / 23% 100% repeat-x,
    linear-gradient(180deg, rgba(242, 245, 240, 0), rgba(242, 245, 240, 0.6) 72%, rgba(242, 245, 240, 0.3));
  animation-duration: 54s;
}
@keyframes fog-drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }

.glints {
  position: absolute;
  left: 0;
  right: 0;
  top: 78.6%;
  height: 21%;
  overflow: hidden;
  opacity: 0.6;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.glints::before,
.glints::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% + 400px);
  background: url("../assets/img/scene/glints.svg") 0 0 / 400px 120px repeat;
  animation: glint-drift 30s linear infinite;
}
.glints::after {
  background-position: 170px 48px;
  animation: glint-drift 44s linear infinite reverse, glint-flicker 2.8s ease-in-out infinite alternate;
}
@keyframes glint-drift { to { transform: translateX(-400px); } }
@keyframes glint-flicker { from { opacity: 0.2; } to { opacity: 0.9; } }

/* The resident Sasquatch: a jointed rig (js/sasquatch-rig.js) strolling the far shore */
.walker {
  --rig-near: #172A1F;
  --rig-far: #3B5A47;
  position: absolute;
  left: 46%;
  bottom: 12.6%;          /* the rig's ground line (svg centre) sits on the shoreline at 22.2% */
  height: 19.2%;
  aspect-ratio: 170 / 420;
  transform: translateX(-50%);
}
.walker svg { width: 100%; height: 100%; overflow: visible; }
.walker .walker-refl { opacity: 0.22; filter: url(#rig-soften); }
.js .walker { animation: fade-in 1.2s var(--ease) 1.4s backwards; }
.rig-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero-content {
  z-index: 3;
  will-change: transform, opacity;
}
.hero-content > * { max-width: 640px; }
.js .hero-content > * {
  animation: rise 1s var(--ease) backwards;
  animation-delay: calc(var(--d, 0) * 110ms + 350ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-eyebrow { color: #3E5A47; }

.wordmark {
  margin: 0 0 clamp(14px, 2.2vw, 24px);
  max-width: none;
  font: 400 var(--step-5)/0.98 var(--font-display);
  font-size: clamp(2.2rem, calc((100vw - 2 * var(--gutter)) / 7.6), 7.4rem);
  letter-spacing: -0.015em;
  color: var(--brown);
  white-space: nowrap;
}
.wordmark .wm-a,
.wordmark .wm-b { display: inline-block; }
.wordmark .wm-b { color: var(--sand); }
.js .hero-content > .wordmark { animation: none; }
.js .wordmark .wm-a { animation: wm-rise 1.1s var(--ease) 0.15s backwards; }
.js .wordmark .wm-b { animation: wm-stomp 0.9s cubic-bezier(0.3, 1.5, 0.5, 1) 0.75s backwards; }
@keyframes wm-rise { from { opacity: 0; transform: translateY(0.35em); clip-path: inset(0 0 100% 0); } to { clip-path: inset(-20% -5% -30% -5%); } }
@keyframes wm-stomp { from { opacity: 0; transform: translateY(-0.6em) rotate(-8deg); } }

.hero-tagline {
  margin: 0 0 14px;
  font: 800 clamp(1.35rem, 1rem + 1.5vw, 2.05rem)/1.22 var(--font-body);
  letter-spacing: -0.01em;
  color: var(--fir-ink);
}
.hero-lede {
  margin: 0 0 28px;
  max-width: 54ch;
  font-size: var(--step-1);
  line-height: 1.6;
  color: #424A4E;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-fog {
  position: absolute;
  inset: auto 0 -1px;
  z-index: 2;
  height: clamp(44px, 5vw, 80px);
  background: linear-gradient(180deg, rgba(241, 244, 239, 0), rgba(241, 244, 239, 0.75) 60%, var(--mist));
  pointer-events: none;
}

@media (max-width: 820px) {
  .hero { --scene-shift: -60%; padding-bottom: calc(var(--scene-w) * 0.375 * 0.5); }
  .label-rainier { display: none; }
}
@media (max-width: 1100px) {
  .bird { display: none; }
}
@media (max-width: 520px) {
  .hero { --scene-w: 1000px; --scene-shift: -61%; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------- footprint trail */
main { position: relative; display: block; }
.trail {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.print {
  position: absolute;
  width: 12px;
  height: 22px;
  margin: -11px 0 0 -6px;
  background: var(--brown);
  opacity: 0;
  transform: rotate(var(--r, 180deg)) scaleX(var(--f, 1));
  -webkit-mask: url("../assets/img/footprint.svg") center / contain no-repeat;
          mask: url("../assets/img/footprint.svg") center / contain no-repeat;
}
.print.is-stamped {
  opacity: var(--o, 0.12);
  animation: stamp 0.7s var(--ease) backwards;
}
@keyframes stamp {
  0% { opacity: 0; transform: rotate(var(--r, 180deg)) scaleX(var(--f, 1)) scale(1.9); }
  55% { opacity: calc(var(--o, 0.13) * 2.2); }
}

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding-block: var(--section-pad); }

/* why */
.why {
  background: var(--mist);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: calc(var(--section-pad) + clamp(90px, 12vw, 210px));
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature h3 {
  margin: 0 0 8px;
  font: 800 1.2rem/1.25 var(--font-body);
  color: var(--fir-ink);
}
.feature p { margin: 0; color: var(--charcoal-2); }
/* the speed guarantee, with a score ring like the one PageSpeed Insights shows */
@property --score { syntax: "<percentage>"; inherits: false; initial-value: 93%; }
.feature .feature-score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--fir-ink);
}
.score-ring {
  --score: 93%;
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--mist) 78%, transparent 80% 100%),
    conic-gradient(var(--fir) 0 var(--score), rgba(35, 69, 45, 0.14) 0);
  font: 700 0.82rem/1 var(--font-mono);
  color: var(--fir);
}
.feature.reveal-play .score-ring { animation: score-fill 1.4s var(--ease) 0.35s backwards; }
@keyframes score-fill { from { --score: 0%; } }
.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--fir);
  transition: transform 0.45s var(--ease), background-color 0.3s, color 0.3s;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature:hover .feature-icon { background: var(--fir); color: var(--mist); transform: rotate(-6deg) translateY(-3px); }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { position: static; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
}

/* pricing */
.pricing {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--fir) 0%, #1F3F29 100%);
  color: var(--on-dark);
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: calc(clamp(56px, 7vw, 96px) + clamp(80px, 11vw, 190px));
}
.pricing h2 { color: var(--paper); }
.pricing .lede { color: var(--on-dark-2); }
.pricing .eyebrow { color: #A9C4B0; }
.pricing .section-head { margin-inline: auto; text-align: center; }
.pricing .section-head .eyebrow { justify-content: center; }
.pricing .section-head .lede { margin-inline: auto; }

.divider {
  position: absolute;
  left: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 100%;
  pointer-events: none;
}
.divider-trees { bottom: calc(100% - 2px); height: clamp(90px, 12vw, 210px); }
.divider-peaks { bottom: -2px; height: clamp(80px, 11vw, 190px); }
.divider-dusk { bottom: calc(100% - 2px); height: clamp(80px, 10vw, 180px); }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
  max-width: 960px;
  margin-inline: auto;
}
.care-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  max-width: 960px;
  margin: clamp(44px, 5vw, 64px) auto 22px;
  padding-top: 24px;
  border-top: 1.5px dashed rgba(241, 244, 239, 0.22);
}
.care-title { margin: 0; font: 800 1.3rem/1.25 var(--font-body); color: var(--paper); }
.care-head p { margin: 0; color: var(--on-dark-2); }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: 18px;
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.plan.is-tilting {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  transition: transform 0.12s linear, box-shadow 0.5s var(--ease);
  box-shadow: 0 44px 70px -34px rgba(0, 0, 0, 0.7);
}
.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.plan.is-tilting::after { opacity: 1; }
.plan-featured { box-shadow: 0 0 0 3px var(--ochre), 0 34px 60px -34px rgba(0, 0, 0, 0.6); }
.plan-featured.is-tilting { box-shadow: 0 0 0 3px var(--ochre), 0 44px 70px -34px rgba(0, 0, 0, 0.7); }

.plan-tag {
  align-self: flex-start;
  margin: 0 0 18px;
  padding: 6px 10px 5px;
  border-radius: 6px;
  background: var(--sage);
  color: var(--fir);
  font: 700 0.7rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan-featured .plan-tag { background: #F6E6CC; color: #7A4410; }
.plan-name { margin: 0; font: 800 1.35rem/1.2 var(--font-body); color: var(--fir-ink); }
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 4px;
  margin: 14px 0 12px;
  color: var(--fir);
  font-variant-numeric: tabular-nums;
}
.plan-price .cur { align-self: flex-start; margin-top: 0.35em; font: 400 1.5rem/1 var(--font-display); }
.plan-price .amt { font: 400 clamp(2.7rem, 2rem + 2.2vw, 3.5rem)/1 var(--font-display); letter-spacing: -0.01em; }
.plan-price .per {
  margin-left: 8px;
  font: 600 0.74rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-2);
}
.plan-desc { margin: 0 0 20px; color: var(--charcoal-2); }
.plan-list {
  display: grid;
  gap: 11px;
  margin: 0 0 28px;
  padding: 20px 0 0;
  border-top: 1.5px dashed rgba(52, 57, 61, 0.18);
  list-style: none;
}
.plan-list li { position: relative; padding-left: 32px; line-height: 1.45; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.05em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6l4.4-5' fill='none' stroke='%2323452D' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-list li.no { color: #6A7176; }
.plan-list li.less { color: var(--charcoal-2); }
.plan-list li.less::before {
  background: #F6E6CC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.4v7.2M3.2 6.8 6 9.6l2.8-2.8' fill='none' stroke='%237A4410' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-list li.no::before {
  background: #ECEDEA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.2 6h5.6' fill='none' stroke='%236A7176' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-terms {
  align-self: flex-start;
  margin: -10px 0 24px;
  padding: 6px 10px 5px;
  border-radius: 6px;
  background: #F6E6CC;
  color: #7A4410;
  font: 700 0.72rem/1.2 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan-cta { margin-top: auto; width: 100%; }

.pricing-note {
  margin: clamp(32px, 4vw, 48px) 0 0;
  font-weight: 700;
  color: var(--on-dark);
  text-align: center;
  text-wrap: balance;
}

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

/* work */
.work { background: var(--mist); padding-top: clamp(40px, 6vw, 80px); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.work-card { position: relative; min-width: 0; }
.work-card h3 { margin: 18px 0 2px; font: 800 1.12rem/1.3 var(--font-body); color: var(--fir-ink); }
.work-card p { margin: 0; color: var(--charcoal-2); font-size: 0.95rem; }
.work-link { color: inherit; text-decoration: none; }
.work-link::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: 14px; }
.work-card:hover .work-link { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.work-link:focus-visible { outline: none; }
.work-link:focus-visible::after { outline: 3px solid var(--amber); outline-offset: 4px; }
.work-url {
  display: block;
  margin-top: 3px;
  font: 600 0.74rem/1.4 var(--font-mono);
  letter-spacing: 0.03em;
  color: #4F6E58;
  overflow-wrap: anywhere;
}

.cam {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 50% 0%, #4A6656 0%, #2B4034 45%, #172219 100%);
  box-shadow: var(--shadow-card);
  color: rgba(214, 236, 206, 0.86);
  text-decoration: none;
}
.cam::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: repeating-linear-gradient(180deg, rgba(214, 236, 206, 0.05) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
  pointer-events: none;
}
.cam::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(110% 90% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}
.cam-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover .cam-shot { transform: scale(1.04); }
/* real screenshots: lighter scanlines and vignette, labels on dark chips so they read on any page */
.cam.has-shot::before { opacity: 0.4; }
.cam.has-shot::after { background: radial-gradient(120% 95% at 50% 40%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.26) 100%); }
/* both labels sit top-right, over the menu links rather than the site's logo */
.cam.has-shot .cam-ui { display: flex; justify-content: flex-end; align-items: flex-start; gap: 6px; }
.cam.has-shot .cam-ui > span {
  padding: 5px 7px 4px;
  border-radius: 5px;
  background: rgba(10, 18, 13, 0.64);
  color: rgba(226, 240, 220, 0.94);
}
.cam-trees {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 0;
  height: 60%;
  background: #2A4234;
  -webkit-mask: url("../assets/img/scene/divider-trees.svg") 50% 100% / cover no-repeat;
          mask: url("../assets/img/scene/divider-trees.svg") 50% 100% / cover no-repeat;
}
.cam-walker {
  --rig-near: #0B140E;
  --rig-far: #1B2D22;
  position: absolute;
  left: 0;
  bottom: 4%;
  z-index: 1;
  height: 46%;
  aspect-ratio: 170 / 220;
  overflow: visible;
  filter: blur(0.8px);
  transform: translateX(-120%);
}
.cam-ui {
  position: absolute;
  inset: 12px 14px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cam-ui .rec { display: inline-flex; align-items: center; gap: 7px; }
.cam-ui .rec::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: rec-blink 1.4s steps(1) infinite;
}
@keyframes rec-blink { 50% { opacity: 0.15; } }
.cam-ui .cam-id { grid-column: 2; text-align: right; }
.cam-ui .cam-meta { grid-row: 3; grid-column: 1 / -1; }
.cam-corners {
  position: absolute;
  inset: 8px;
  z-index: 4;
  --c: rgba(214, 236, 206, 0.7);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 16px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 16px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 16px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 16px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 16px no-repeat;
  opacity: 0.55;
  transition: inset 0.5s var(--ease), opacity 0.5s;
}
.work-card:hover .cam-corners { inset: 16px; opacity: 1; }

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 340px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    scrollbar-width: thin;
  }
  .work-card { scroll-snap-align: start; }
}

/* about */
.about {
  background: var(--mist-2);
  padding-bottom: calc(var(--section-pad) + clamp(80px, 10vw, 180px));
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.about-figure { position: sticky; top: calc(var(--header-h) + 40px); margin: 0; }
/* Portrait: a clean rounded photo on an offset fir-green block */
.about-portrait {
  position: relative;
  isolation: isolate;
  margin: 0 18px 18px 0;
}
.about-portrait::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: 22px;
  background: var(--fir);
  transition: transform 0.6s var(--ease);
}
.about-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 22px 40px -26px rgba(20, 42, 28, 0.6);
  transition: transform 0.6s var(--ease);
}
.about-figure:hover .about-photo { transform: translate(-4px, -4px); }
.about-figure:hover .about-portrait::before { transform: translate(3px, 3px); }
.about-copy > p:not(.eyebrow):not(.lede) { max-width: 62ch; margin: 0 0 16px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0;
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(52, 57, 61, 0.06);
}
.stat dd { margin: 0; font: 400 clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem)/1 var(--font-display); color: var(--fir); font-variant-numeric: tabular-nums; }
.stat dt { font-weight: 600; font-size: 0.84rem; line-height: 1.35; color: var(--charcoal-2); }

.about-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.list-title {
  margin: 0 0 14px;
  font: 700 0.74rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}
.creds { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.creds li { position: relative; padding-left: 20px; line-height: 1.45; }
.creds li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--ochre);
  transform: rotate(45deg);
}
.profile-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  color: var(--fir);
  text-decoration: underline;
  text-decoration-color: rgba(217, 122, 42, 0.7);
  text-decoration-thickness: 2px;
}
.profile-link:hover { color: var(--fir-deep); text-decoration-color: var(--amber); }
.toolbox { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.toolbox li {
  padding: 7px 12px 6px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.2;
  color: var(--fir-ink);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { position: static; width: min(300px, 80%); margin-inline: auto; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-lists { grid-template-columns: 1fr; }
}

/* contact: evening over the water */
.contact {
  /* viewport units (not %) so the same length works for widths, heights and offsets */
  --dusk-w: max(100vw, 900px);
  --dusk-h: calc(var(--dusk-w) * 0.2167);
  --moon-x: 0.42;
  background: linear-gradient(180deg, var(--dusk) 0%, #22323A 50%, #2C3D43 100%);
  color: var(--on-dark);
  padding-top: clamp(48px, 6vw, 90px);
  padding-bottom: calc(var(--dusk-h) * 0.82);
}
.contact h2 { color: var(--paper); }
.contact .lede { color: var(--on-dark-2); }
.contact .eyebrow { color: #A9C4B0; }

.night-sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.stars {
  position: absolute;
  inset: 0;
  background: url("../assets/img/scene/stars.svg") 0 0 / 600px 600px repeat;
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 45%, transparent 88%);
          mask: linear-gradient(180deg, #000 0%, #000 45%, transparent 88%);
}
.stars-a { opacity: 0.75; animation: twinkle 6s ease-in-out infinite alternate; }
.stars-b { background-position: 280px 190px; background-size: 520px 520px; animation: twinkle 4.4s ease-in-out -2s infinite alternate-reverse; }
@keyframes twinkle { from { opacity: 0.2; } to { opacity: 0.85; } }
.moon {
  position: absolute;
  left: calc(50% + (var(--moon-x) - 0.5) * var(--dusk-w));
  bottom: calc(var(--dusk-h) * 0.5);
  width: clamp(46px, 4.6vw, 72px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 36% 34%, #FFFBEF 0%, #F2EAD0 52%, #DCD0AA 100%);
  box-shadow: 0 0 46px 12px rgba(237, 230, 204, 0.22), 0 0 140px 50px rgba(237, 230, 204, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.basecamps { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.basecamp {
  padding: 16px 18px 14px;
  border-radius: 14px;
  background: rgba(241, 244, 239, 0.06);
  box-shadow: inset 0 0 0 1px rgba(241, 244, 239, 0.12);
}
.basecamp-name { margin: 0 0 4px; font-weight: 800; color: var(--paper); }
.basecamp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  margin: 0;
  font: 500 0.8rem/1.5 var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--on-dark-2);
}
.clock { color: #E7B56E; font-weight: 700; font-variant-numeric: tabular-nums; }

.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; }
.email-label {
  font: 700 0.72rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A9C4B0;
}
.email-link {
  color: var(--paper);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration-color: rgba(217, 122, 42, 0.7);
  text-decoration-thickness: 2px;
  user-select: all;
}
.copy-btn {
  min-height: 36px;
  padding: 0 12px;
  border: 1.5px solid rgba(241, 244, 239, 0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--on-dark);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.copy-btn:hover { background: rgba(241, 244, 239, 0.1); border-color: rgba(241, 244, 239, 0.6); }

.contact-form {
  position: relative;
  padding: clamp(22px, 3.2vw, 36px);
  border-radius: 20px;
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.65);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.field label,
.field legend {
  padding: 0;
  font-weight: 800;
  font-size: 0.93rem;
  color: var(--fir-ink);
}
.field legend { margin-bottom: 10px; }
.optional { font-weight: 500; color: var(--charcoal-2); }
.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px 11px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: var(--field);
  color: var(--charcoal);
  line-height: 1.4;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder,
.field textarea::placeholder { color: #80888C; }
.field input:hover,
.field textarea:hover { border-color: #C9D3CA; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fir);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 69, 45, 0.14);
}
.field [aria-invalid="true"] { border-color: var(--error); background: #FCF5F2; }
.field-error { margin: 0; color: var(--error); font-size: 0.86rem; font-weight: 600; }
.field-error:empty { display: none; }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)); gap: 8px; }
.choice { position: relative; display: block; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px 9px;
  border-radius: 10px;
  background: #F4F6F3;
  box-shadow: inset 0 0 0 1.5px #D3DBD4;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.15;
  color: var(--fir-ink);
  transition: box-shadow 0.2s, background-color 0.2s, transform 0.2s var(--ease);
}
.choice small { font: 600 0.7rem/1 var(--font-mono); letter-spacing: 0.06em; color: var(--charcoal-2); }
.choice:hover span { box-shadow: inset 0 0 0 1.5px var(--moss); }
.choice input:checked + span {
  background: #E2ECE4;
  box-shadow: inset 0 0 0 2px var(--fir);
}
.choice input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.choice.is-picked span { animation: pick 0.6s var(--ease); }
@keyframes pick { 40% { transform: scale(1.06); } }

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

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.form-privacy { margin: 0; font-size: 0.86rem; color: var(--charcoal-2); }
.btn-print {
  width: 12px;
  height: 21px;
  background: currentColor;
  transform: rotate(90deg);
  -webkit-mask: url("../assets/img/footprint.svg") center / contain no-repeat;
          mask: url("../assets/img/footprint.svg") center / contain no-repeat;
  transition: transform 0.35s var(--ease);
}
.btn-amber:hover .btn-print { transform: rotate(90deg) translateY(-5px); }
.btn-amber.is-busy .btn-print { animation: busy-step 0.5s ease-in-out infinite alternate; }
@keyframes busy-step { to { transform: rotate(90deg) translateY(-6px) scaleX(-1); } }

.form-status { margin: 14px 0 0; font-weight: 600; font-size: 0.93rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status.is-info { color: var(--fir); }

.form-done { padding: clamp(20px, 4vw, 40px) 8px; text-align: center; }
.done-title { margin: 18px 0 8px; font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--font-display); color: var(--fir); }
.done-title:focus { outline: none; }
.done-text { margin: 0 auto 22px; max-width: 40ch; color: var(--charcoal-2); }
.done-prints { display: inline-flex; gap: 10px; align-items: flex-end; height: 56px; }
.done-prints span {
  width: 18px;
  height: 32px;
  background: var(--brown);
  -webkit-mask: url("../assets/img/footprint.svg") center / contain no-repeat;
          mask: url("../assets/img/footprint.svg") center / contain no-repeat;
  animation: done-stamp 0.5s var(--ease) backwards;
}
.done-prints span:nth-child(1) { transform: scaleX(-1); margin-bottom: 0; animation-delay: 0.05s; }
.done-prints span:nth-child(2) { margin-bottom: 18px; animation-delay: 0.3s; }
.done-prints span:nth-child(3) { transform: scaleX(-1); margin-bottom: 36px; animation-delay: 0.55s; }
@keyframes done-stamp { from { opacity: 0; scale: 1.8; } }

.dusk-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.dusk-scene {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--dusk-w);
  aspect-ratio: 2400 / 520;
  transform: translateX(-50%);
  pointer-events: none;
}
.dusk-scene img { width: 100%; height: 100%; max-width: none; }
.dusk-watcher {
  position: absolute;
  left: 36.5%;
  bottom: 27.3%;
  height: 9%;
  aspect-ratio: 127.2 / 180;
  background: #0F1914;
  -webkit-mask: url("../assets/img/sasquatch-silhouette.svg") center bottom / contain no-repeat;
          mask: url("../assets/img/sasquatch-silhouette.svg") center bottom / contain no-repeat;
}
.eyes {
  position: absolute;
  left: 81%;
  bottom: 31%;
  width: 9px;
  height: 3px;
  background:
    radial-gradient(circle, #F2B45B 0 1.3px, transparent 1.6px) 0 0 / 3px 3px no-repeat,
    radial-gradient(circle, #F2B45B 0 1.3px, transparent 1.6px) 6px 0 / 3px 3px no-repeat;
  filter: drop-shadow(0 0 3px rgba(242, 180, 91, 0.9));
  opacity: 0;
  animation: eyes 11s ease-in-out infinite 3s;
}
@keyframes eyes {
  0%, 52% { opacity: 0; transform: scaleY(1); }
  56% { opacity: 1; }
  70% { opacity: 1; transform: scaleY(1); }
  71% { transform: scaleY(0.1); }
  73% { transform: scaleY(1); }
  86% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  position: relative;
  background: var(--night-water);
  color: rgba(241, 244, 239, 0.62);
  font-size: 0.8rem;
  line-height: 1.5;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 22px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  padding-block: 16px calc(18px + env(safe-area-inset-bottom, 0px));
}
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.footer-copy { display: inline-flex; flex-wrap: wrap; gap: 0 10px; }
.footer-copy > span + span::before { content: "/"; margin-right: 10px; opacity: 0.45; }
.footer-brand img { width: 22px; height: 22px; }
.site-footer .brand-word { font-size: 0.92rem; color: #EADCC6; }
.site-footer .brand-word .es { color: var(--sand); }
.to-top { color: rgba(241, 244, 239, 0.8); font-weight: 700; text-decoration: none; }
.to-top:hover { color: var(--paper); text-decoration: underline; }

/* ---------------------------------------------------------------- scroll reveals
   Content is visible at rest. When an element is about to scroll into view,
   js/main.js adds .reveal-play and it rises into place. */
.reveal-play {
  animation: reveal-up 0.95s var(--ease) backwards;
  animation-delay: calc(var(--stagger, 0) * 120ms);
}
@keyframes reveal-up { from { opacity: 0; transform: translateY(30px); } }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0 0.16em; margin: -0.06em 0 -0.16em; }
.wi { display: inline-block; }
[data-reveal="words"].reveal-play { animation: none; }
[data-reveal="words"].reveal-play .wi {
  animation: word-up 0.85s var(--ease) backwards;
  animation-delay: calc(var(--wi, 0) * 70ms);
}
@keyframes word-up { from { transform: translateY(112%); } }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .cloud, .bird, .eyes, .cam-walker { display: none; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .site-header, .hero-scene, .hero-sky, .trail, .night-sky, .dusk-scene, .divider, .contact-form { display: none !important; }
  .hero, .pricing, .contact { background: none; color: #000; }
  .pricing h2, .contact h2, .pricing .lede, .contact .lede { color: #000; }
}
