/* Clint's Fencing | Theme: Cedar & Steel
   Light-dominant. Sun-bleached cedar #efe3cb, post ink #241c12, cedar accent #b06a2c.
   Display: Bebas Neue. Accent words: Georgia italic. Body: system stack. */

:root {
  --cedar: #efe3cb;
  --cedar-deep: #e6d5b4;
  --cedar-wash: #f5eddb;
  --ink: #241c12;
  --ink-soft: #4a3d2b;
  --accent: #b06a2c;
  --accent-deep: #96591f;
  --slat-a: #e2cfa9;
  --slat-b: #d9c096;
  --line: rgba(36, 28, 18, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cedar);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(2.6rem, 5vw, 4.5rem); }

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

img { max-width: 100%; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cedar);
  padding: 0.75rem 1.25rem; z-index: 200;
}
.skip:focus { left: 0; }

.serif-accent {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--accent);
}

.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}
.container-narrow { width: min(820px, 100% - 3rem); }

.band { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.band-light { background: var(--cedar); }
.band-wash { background: var(--cedar-wash); }
.band-ink { background: var(--ink); color: var(--cedar); }
.band-cta { background: var(--accent); color: var(--ink); }

.ink-h { color: var(--cedar); }
.ink-h .serif-accent { color: #f0d9b5; }
.lede-light { color: rgba(239, 227, 203, 0.78); }

.eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1.1rem;
}
.eyebrow-light { color: #f0d9b5; }

/* Post-cap marker: a fence post with its cap, the site motif */
.postcap {
  position: relative; display: inline-block;
  width: 12px; height: 18px; flex: none;
  background: var(--accent);
}
.postcap::before {
  content: ""; position: absolute;
  left: -3px; right: -3px; top: -6px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 7px solid var(--accent-deep);
}
.postcap-light { background: #f0d9b5; }
.postcap-light::before { border-bottom-color: var(--cedar); }

.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 60ch; }
.section-head h2 { margin-bottom: 1rem; }
.lede { font-size: 1.06rem; color: var(--ink-soft); max-width: 56ch; }
.lede.lede-light { color: rgba(239, 227, 203, 0.78); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(239, 227, 203, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1200px, 100% - 3rem); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.85rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { display: flex; gap: 3px; align-items: flex-end; }
.brand-slat { width: 7px; background: var(--accent); border-radius: 1px; }
.brand-slat:nth-child(1) { height: 22px; }
.brand-slat:nth-child(2) { height: 30px; background: var(--ink); }
.brand-slat:nth-child(3) { height: 26px; }
.brand-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem; letter-spacing: 0.04em; line-height: 1;
}
.brand-name em { font-family: Georgia, serif; font-style: italic; color: var(--accent); font-size: 1.15rem; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-size: 0.86rem; font-weight: 600;
  color: var(--ink-soft); padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease-out, border-color 160ms ease-out;
}
.site-nav a:hover { color: var(--ink); border-color: var(--accent); }
.header-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: var(--cedar);
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 0.6rem 1.1rem; border-radius: 5px;
  transition: transform 160ms ease-out, background 160ms ease-out;
}
.header-call:hover { background: var(--accent); transform: translateY(-2px); }
.phone-glyph { flex: none; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: clip;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4.5rem, 8vw, 6rem);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(176, 106, 44, 0.22), transparent 60%),
    radial-gradient(800px 500px at -10% 100%, rgba(176, 106, 44, 0.12), transparent 60%),
    var(--cedar);
}
.hero-slats {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 46px,
    rgba(176, 106, 44, 0.07) 46px 48px,
    transparent 48px 128px
  );
}
.hero-slats::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 128px,
    rgba(36, 28, 18, 0.10) 128px 138px,
    rgba(36, 28, 18, 0.03) 138px 144px,
    transparent 144px 260px
  );
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 1;
  width: min(1200px, 100% - 3rem); margin-inline: auto;
}
.hero-title {
  font-size: clamp(3.4rem, 11vw, 9rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  margin: 0 0 1.4rem;
}
.hero-title .mask {
  display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em;
}
.hero-title .mask > span { display: inline-block; will-change: transform; }
.hero-title .serif-accent { font-size: 0.82em; }
.hero-sub { font-size: 1.12rem; max-width: 52ch; color: var(--ink-soft); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 0.95rem 1.7rem; border-radius: 5px;
  transition: transform 170ms ease-out, background 170ms ease-out, color 170ms ease-out, box-shadow 170ms ease-out;
  position: relative; overflow: hidden;
  min-height: 44px;
}
.btn-primary { background: var(--accent); color: #fff8ea; box-shadow: 0 8px 24px rgba(176, 106, 44, 0.35); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform 500ms var(--ease);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(176, 106, 44, 0.45); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cedar); transform: translateY(-3px); }
.btn-ink { background: var(--ink); color: var(--cedar); }
.btn-ink:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(36, 28, 18, 0.35); }
.btn-ghost-ink { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-ink:hover { background: var(--ink); color: var(--accent); transform: translateY(-3px); }

.trust-row {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.7rem 2rem;
  font-size: 0.95rem; color: var(--ink-soft);
}
.trust-row li { display: flex; align-items: center; gap: 0.45rem; }
.trust-row strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .star-dim { color: rgba(176, 106, 44, 0.35); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  display: block; padding: 0.5rem; z-index: 1;
}
.scroll-post { display: block; width: 10px; height: 26px; background: var(--ink); border-radius: 2px; position: relative; }
.scroll-post::before {
  content: ""; position: absolute; left: -2px; right: -2px; top: -5px;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-bottom: 6px solid var(--ink);
}

/* ============ SLAT DIVIDERS (section transition 1) ============ */
.slat-divider {
  position: absolute; top: -1px; left: 0; right: 0;
  height: clamp(34px, 5vw, 58px);
  display: flex; gap: 5px; justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}
.slat-divider span {
  flex: 1 1 0; min-width: 0;
  transform: scaleY(0); transform-origin: top;
  transition: transform 520ms var(--ease);
}
.slat-divider span:nth-child(odd) { background: var(--slat-a); }
.slat-divider span:nth-child(even) { background: var(--slat-b); }
.slat-divider span:nth-child(3n) { background: var(--accent); opacity: 0.55; }
.slat-divider.in span { transform: scaleY(1); }
.slat-divider-tall span { flex-basis: 34px; }
.slat-divider-ink span:nth-child(odd) { background: #3a2d1c; }
.slat-divider-ink span:nth-child(even) { background: #2e2417; }
.slat-divider-ink span:nth-child(3n) { background: var(--accent); opacity: 0.7; }
.slat-divider-cta span:nth-child(odd) { background: rgba(36, 28, 18, 0.85); }
.slat-divider-cta span:nth-child(even) { background: rgba(36, 28, 18, 0.5); }
.slat-divider-cta span:nth-child(3n) { background: var(--ink); opacity: 0.9; }

/* ============ SERVICE ROWS ============ */
.service-rows { list-style: none; margin: 0; padding: 0; }
.service-row {
  display: grid; grid-template-columns: auto 1fr;
  gap: 1.2rem 2rem; align-items: start;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
  transition: transform 180ms ease-out, background 180ms ease-out;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { transform: translateX(10px); }
.service-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.6rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.service-body h3 {
  font-size: 1.9rem; letter-spacing: 0.03em; margin-bottom: 0.4rem;
}
.service-body p { color: var(--ink-soft); max-width: 62ch; }
.service-row:nth-child(even) .service-body { padding-left: clamp(0rem, 6vw, 6rem); }

/* ============ ANATOMY ============ */
.anatomy {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.anatomy-scene {
  position: relative; height: 420px;
  background: linear-gradient(180deg, var(--cedar-deep) 0 62%, #c9ae7f 62% 64%, #8a6a42 64% 100%);
  border-radius: 14px; overflow: clip;
  box-shadow: 0 24px 60px rgba(36, 28, 18, 0.18);
}
.anatomy-scene > div { position: absolute; }
.anatomy-ground { display: none; }
.anatomy-footing {
  left: 34%; bottom: 8%; width: 12%; height: 30%;
  background: #a89880; border-radius: 4px;
}
.footing-back { left: 65.5%; }
.anatomy-post {
  left: 34.5%; bottom: 30%; width: 11%; height: 46%;
  background: linear-gradient(90deg, #a9793f, #c08b4c 60%, #a9793f);
  border-radius: 2px;
}
.anatomy-post span { display: none; }
.anatomy-post.post-back { left: 66%; bottom: 30%; }
.anatomy-rails { inset: auto; position: absolute; left: 20%; right: 12%; bottom: 56%; height: 16%; }
.anatomy-rail {
  position: absolute; left: 0; right: 0; height: 26%;
  background: linear-gradient(180deg, #b98a4e, #9c6f38);
  border-radius: 2px;
}
.anatomy-rail:first-child { top: 8%; }
.anatomy-rail:last-child { bottom: 8%; }
.anatomy-rotboard {
  left: 16%; right: 8%; bottom: 40.5%; height: 4.5%;
  background: linear-gradient(180deg, #8a5a2b, #74491f);
  border-radius: 2px;
}
.anatomy-pickets { left: 16%; right: 8%; bottom: 45%; height: 31%; display: flex; gap: 4px; }
.anatomy-pickets span {
  flex: 1; background: linear-gradient(90deg, #d9b078, #e8c48c 55%, #d9b078);
  border-radius: 2px 2px 0 0;
  box-shadow: inset -1px 0 0 rgba(36, 28, 18, 0.15);
}
.anatomy-cap {
  left: 33%; bottom: 74.5%; width: 15%; height: 3.5%;
  background: var(--ink); border-radius: 2px;
}
.anatomy-cap::before {
  content: ""; position: absolute; left: -6px; right: -6px; top: -12px;
  border-left: 14px solid transparent; border-right: 14px solid transparent;
  border-bottom: 13px solid var(--ink);
}
.anatomy-cap span { display: none; }
.anatomy-note { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.anatomy-note:last-child { border-bottom: 1px solid var(--line); }
.anatomy-note dt {
  font-family: "Bebas Neue", sans-serif; font-size: 1.5rem; letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.anatomy-note dd { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* ============ REVIEWS (dark band) ============ */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.stat {
  border: 1px solid rgba(239, 227, 203, 0.22);
  border-radius: 12px; padding: 1.8rem 1.4rem;
  text-align: left;
  transition: transform 180ms ease-out, border-color 180ms ease-out;
}
.stat:hover { transform: translateY(-5px); border-color: var(--accent); }
.stat-num {
  display: block; font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 6vw, 5rem); line-height: 1;
  color: #f0d9b5; font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(239, 227, 203, 0.7); }

.proof-cards {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.proof-card {
  margin: 0; padding: 1.8rem;
  background: rgba(239, 227, 203, 0.06);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  transition: transform 180ms ease-out, background 180ms ease-out;
}
.proof-card:hover { transform: translateY(-4px); background: rgba(239, 227, 203, 0.1); }
.proof-card:first-child { grid-row: span 1; }
.proof-card blockquote {
  margin: 0 0 0.9rem; font-family: Georgia, serif; font-style: italic;
  font-size: 1.25rem; line-height: 1.45; color: var(--cedar);
}
.proof-card figcaption { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(239, 227, 203, 0.6); }

.mid-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem; padding: 1.8rem 2rem;
  border: 1px dashed rgba(239, 227, 203, 0.35); border-radius: 12px;
}
.mid-cta p { font-family: "Bebas Neue", sans-serif; font-size: 1.7rem; letter-spacing: 0.04em; }

/* ============ PROCESS (stake markers: transition 2) ============ */
.process-timeline { list-style: none; margin: 0; padding: 0; }
.process-step {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 1.8rem; align-items: start;
  padding: 2rem 0; border-top: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.stake { display: block; width: 34px; height: 74px; position: relative; margin: 0 auto; }
.stake-body {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  width: 22px; height: 64px; background: var(--ink); border-radius: 2px;
}
.stake-cap {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 34px; height: 12px; background: var(--accent); border-radius: 2px;
}
.process-step .stake { transform: translateY(-70px); opacity: 0; transition: transform 560ms var(--ease), opacity 300ms ease-out; }
.process-step.in .stake { transform: translateY(0); opacity: 1; }
.process-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); }
.process-body h3 { font-size: 2rem; letter-spacing: 0.03em; margin: 0.4rem 0 0.5rem; }
.process-body p { color: var(--ink-soft); max-width: 60ch; }

/* ============ TOWN BOARD ============ */
.town-board {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem;
}
.town-board li {
  display: flex; align-items: center; gap: 0.8rem;
  min-width: 0;
  background: var(--cedar); border: 1px solid var(--line);
  border-radius: 8px; padding: 1.1rem 1.2rem;
  font-family: "Bebas Neue", sans-serif; font-size: 1.45rem; letter-spacing: 0.05em;
  transition: transform 170ms ease-out, border-color 170ms ease-out;
}
.town-board li:hover { transform: translateY(-4px); border-color: var(--accent); }

/* ============ FAQ ============ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; padding: 1.35rem 0.25rem; cursor: pointer;
  font-family: "Bebas Neue", sans-serif; font-size: 1.55rem; letter-spacing: 0.04em;
  color: var(--ink); text-align: left; min-height: 44px;
}
.faq-x { position: relative; width: 18px; height: 18px; flex: none; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; background: var(--accent);
  left: 0; top: 8px; width: 18px; height: 2px;
  transition: transform 220ms var(--ease);
}
.faq-x::after { transform: rotate(90deg); }
.faq-item.open .faq-x::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 320ms var(--ease); }
.js .faq-item:not(.open) .faq-a { grid-template-rows: 0fr; }
.faq-a p { overflow: hidden; margin: 0; padding: 0 0.25rem; color: var(--ink-soft); max-width: 62ch; }
.faq-item.open .faq-a p { padding-bottom: 1.4rem; }

/* ============ FINAL CTA ============ */
.band-cta { padding-bottom: clamp(5rem, 10vw, 8.5rem); }
.final-cta { text-align: left; max-width: 900px; }
.final-cta h2 { font-size: clamp(3rem, 7vw, 5.5rem); margin-bottom: 1.6rem; }
.final-phone {
  display: inline-block; text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 9vw, 7rem); line-height: 1;
  letter-spacing: 0.02em; color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.8rem;
  transition: transform 170ms ease-out;
}
.final-phone:hover { transform: scale(1.03); }
.final-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.4rem; }
.final-note { color: rgba(36, 28, 18, 0.75); font-size: 0.95rem; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(239, 227, 203, 0.75); padding: 3rem 0 5.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; gap: 0.9rem; align-items: center; }
.footer-name { font-family: "Bebas Neue", sans-serif; font-size: 1.6rem; letter-spacing: 0.04em; color: var(--cedar); }
.footer-sub { font-size: 0.9rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; text-align: right; font-size: 0.95rem; }
.footer-contact li { margin-bottom: 0.35rem; }
.footer-contact a { color: var(--cedar); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: #f0d9b5; text-decoration: underline; }
.footer-fine { width: min(1200px, 100% - 3rem); margin: 2.2rem auto 0; font-size: 0.78rem; color: rgba(239, 227, 203, 0.45); border-top: 1px solid rgba(239,227,203,0.15); padding-top: 1.2rem; }

/* ============ MOBILE CALL BAR ============ */
.mobile-call-bar { display: none; }

/* ============ REVEAL (JS-added hidden states only) ============ */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ============ HERO ENTRANCE ============ */
.js [data-hero="eyebrow"] { opacity: 0; transition: opacity 500ms ease-out; }
.js .hero.play [data-hero="eyebrow"] { opacity: 1; }
.js .hero-title .mask > span { transform: translateY(112%); }
.js .hero.play .hero-title .mask > span { animation: rise 0.72s var(--ease) forwards; }
.js .hero.play [data-hero="w2"] { animation-delay: 70ms; }
.js .hero.play [data-hero="w3"] { animation-delay: 140ms; }
@keyframes rise { to { transform: translateY(0); } }
.js [data-hero="sub"], .js [data-hero="cta"], .js [data-hero="trust"] {
  opacity: 0; transform: translateY(14px);
  transition: opacity 550ms var(--ease), transform 550ms var(--ease);
}
.js .hero.play [data-hero="sub"] { opacity: 1; transform: none; transition-delay: 260ms; }
.js .hero.play [data-hero="cta"] { opacity: 1; transform: none; transition-delay: 380ms; }
.js .hero.play [data-hero="trust"] { opacity: 1; transform: none; transition-delay: 500ms; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .brand-name { font-size: 1.4rem; }
  .header-call { padding: 0.55rem 0.85rem; font-size: 0.88rem; }
  .anatomy { grid-template-columns: 1fr; }
  .anatomy-scene { height: 340px; }
  .proof-cards { grid-template-columns: 1fr; }
  .town-board { grid-template-columns: repeat(2, 1fr); }
  .town-board li { font-size: 1.25rem; padding: 0.95rem 1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:last-child { grid-column: 1 / -1; }
  .service-row:hover { transform: translateX(6px); }
  .service-row:nth-child(even) .service-body { padding-left: 0; }
  .process-step { grid-template-columns: 46px 1fr; gap: 1.1rem; }
  .mobile-call-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(36, 28, 18, 0.96);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(239, 227, 203, 0.2);
  }
  .mobile-call-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    background: var(--accent); color: #fff8ea;
    text-decoration: none; font-weight: 800; font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    padding: 0.85rem; border-radius: 6px; min-height: 48px;
  }
  .footer-contact { text-align: left; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .mid-cta .btn { width: 100%; justify-content: center; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-hero="sub"], .js [data-hero="cta"], .js [data-hero="trust"],
  .js [data-hero="eyebrow"] { opacity: 1 !important; transform: none !important; }
  .js .hero-title .mask > span { transform: none !important; }
  .slat-divider span { transform: scaleY(1) !important; }
  .process-step .stake { transform: none !important; opacity: 1 !important; }
}
