/* ==========================================================================
   Coyote Brands — site styles
   Palette: espresso #412016 + warm neutrals pulled from the brand shoot
   Type:    Advercase (display, add files to /assets/fonts) → falls back to
            Instrument Sans set tight like the Local Social carousels.
            Instrument Serif italic for small accents ("by", asides).
   ========================================================================== */

@font-face {
  font-family: "Advercase";
  src: url("../fonts/Advercase.woff2") format("woff2"),
       url("../fonts/Advercase.woff") format("woff");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  /* color */
  --espresso: #412016;
  --espresso-deep: #2a140d;
  --cocoa: #5a3324;
  --clay: #a8694a;        /* the paper backdrop */
  --latte: #c9a888;
  --sand: #e6d9c6;
  --oat: #efe6d8;
  --cream: #f0eee1;       /* matches the Local Social wordmark */
  --paper: #f8f5ee;

  --ink: var(--espresso);
  --ink-soft: #6b4a3c;
  --on-dark: var(--cream);
  --on-dark-soft: rgba(240, 238, 225, 0.72);
  --line: rgba(65, 32, 22, 0.16);
  --line-dark: rgba(240, 238, 225, 0.18);

  /* type */
  --font-display: "Advercase", "Instrument Sans", system-ui, sans-serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --fs-hero: clamp(3.1rem, 8.4vw, 8.5rem);
  --fs-h2: clamp(2.4rem, 5.6vw, 5.4rem);
  --fs-h3: clamp(1.6rem, 2.6vw, 2.4rem);
  --fs-lead: clamp(1.15rem, 1.5vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius-lg: clamp(24px, 3vw, 44px);
  --radius: 22px;
  --radius-sm: 14px;
  --section-y: clamp(88px, 12vw, 176px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.03em; line-height: 1.05; font-family: var(--font-display); font-weight: 600; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.serif-i { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 36ch; }
.muted { color: var(--ink-soft); }
.mark {
  background: linear-gradient(transparent 52%, rgba(201, 168, 136, 0.55) 52%, rgba(201, 168, 136, 0.55) 96%, transparent 96%);
  padding: 0 0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.on-dark .mark { background: linear-gradient(transparent 52%, rgba(168, 105, 74, 0.65) 52%, rgba(168, 105, 74, 0.65) 96%, transparent 96%); }
.asterisk { display: inline-block; width: 1em; height: 1em; }

/* "by COYOTE BRANDS" lockup from the carousels */
.byline { display: inline-flex; align-items: baseline; gap: 0.5em; }
.byline .serif-i { font-size: 1.25em; }
.byline .eyebrow { letter-spacing: 0.38em; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--espresso); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: 0.75em;
  padding: 0.95em 1.15em 0.95em 1.6em;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.btn .arrow {
  display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%;
  background: var(--fg); color: var(--bg);
  transition: transform 0.4s var(--ease);
}
.btn .arrow svg { width: 0.95em; height: 0.95em; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn--cream { --bg: var(--cream); --fg: var(--espresso); }
.btn--clay { --bg: var(--clay); --fg: var(--cream); }
.btn--ghost { background: transparent; color: currentColor; padding-left: 0; letter-spacing: 0.2em; }
.btn--ghost .arrow { color: inherit; background: currentColor; }
.btn--ghost .arrow svg { color: var(--paper); }
.on-dark .btn--ghost .arrow svg { color: var(--espresso); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--cream);
  transition: background 0.4s, color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(248, 245, 238, 0.88); color: var(--espresso); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.logo { display: block; width: 150px; flex-shrink: 0; }
.logo img { width: 100%; }
.logo .logo-dark { display: none; }
.site-header.is-solid .logo .logo-light { display: none; }
.site-header.is-solid .logo .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a { text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; position: relative; }
.nav > a:not(.btn)::after, .nav .has-sub > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav > a:not(.btn):hover::after, .nav .has-sub:hover > button::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { font-size: 0.72rem; padding: 0.7em 0.8em 0.7em 1.3em; }
.site-header:not(.is-solid) .nav .btn { --bg: var(--cream); --fg: var(--espresso); }

.has-sub { position: relative; }
.has-sub > button { background: none; border: 0; padding: 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; position: relative; display: inline-flex; align-items: center; gap: 6px; }
.has-sub > button svg { width: 10px; height: 10px; transition: transform 0.3s; }
.sub {
  position: absolute; top: calc(100% + 18px); left: 50%; translate: -50% 0;
  min-width: 260px; padding: 10px; border-radius: var(--radius);
  background: var(--paper); color: var(--espresso);
  box-shadow: 0 24px 60px -20px rgba(42, 20, 13, 0.35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.sub::before { content: ""; position: absolute; inset: -18px 0 auto 0; height: 18px; }
.sub a { display: block; padding: 12px 14px; border-radius: 10px; letter-spacing: 0.12em; }
.sub a:hover { background: var(--oat); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > button svg, .has-sub.is-open > button svg { transform: rotate(180deg); }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; position: relative; z-index: 60; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 96px var(--gutter) 40px;
    background: var(--espresso); color: var(--cream);
    clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease);
    overflow-y: auto;
  }
  .menu-open .nav { clip-path: inset(0 0 0 0); }
  .menu-open .site-header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .site-header .logo .logo-light { display: block; }
  .menu-open .site-header .logo .logo-dark { display: none; }
  .nav > a:not(.btn), .has-sub > button { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -0.04em; text-transform: none; font-weight: 600; line-height: 1.2; }
  .nav > a:not(.btn)::after, .has-sub > button::after { display: none; }
  .has-sub > button svg { width: 16px; height: 16px; }
  .sub { position: static; translate: none; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; color: var(--on-dark-soft); padding: 0 0 8px; display: none; min-width: 0; }
  .has-sub.is-open .sub { display: block; }
  .sub a { padding: 8px 0; font-size: 0.85rem; }
  .sub a:hover { background: none; color: var(--cream); }
  .nav .btn { margin-top: 24px; font-size: 0.8rem; --bg: var(--cream); --fg: var(--espresso); }
}

/* ---------- floating CTA ---------- */
.float-cta {
  position: fixed; right: var(--gutter); bottom: 22px; z-index: 40;
  box-shadow: 0 18px 40px -14px rgba(42, 20, 13, 0.55);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- layered sections ----------
   Most sections scroll normally. Only the hero (.layer--first) and a section marked .layer--pin
   stay pinned while the next section slides up over them (about one or two moments per page). */
/* every section is positioned so later sections always paint on top of pinned ones */
main > section, main > div, .site-footer { position: relative; }
.layer { overflow: clip; }
.layer--first, .layer--pin {
  position: sticky;            /* top is set in JS so tall layers pin at their bottom edge */
  top: 0;
}
.layer--first + .layer, .layer--first + section, .layer--pin + .layer, .layer--pin + section {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -30px 60px -30px rgba(42, 20, 13, 0.45);
}
.layer > .layer-dim { position: absolute; inset: 0; background: #1c0c06; opacity: 0; pointer-events: none; z-index: 5; transition: opacity 0.1s linear; }

.bg-espresso { background: var(--espresso); color: var(--on-dark); }
.bg-deep { background: var(--espresso-deep); color: var(--on-dark); }
.bg-paper { background: var(--paper); }
.bg-oat { background: var(--oat); }
.bg-sand { background: var(--sand); }
.bg-clay { background: var(--clay); color: var(--cream); }
.on-dark { color: var(--on-dark); }
.on-dark .muted, .bg-espresso .muted, .bg-deep .muted, .bg-clay .muted { color: var(--on-dark-soft); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: end; color: var(--cream); isolation: isolate; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero picture img { object-position: 40% 35%; transform: scale(1.06); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none; }
.hero-video.is-playing { opacity: 1; }
.hero-video--tall { display: none; }
@media (max-width: 699px) {
  .hero-video--wide { display: none; }
  .hero-video--tall { display: block; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 12, 6, 0.55) 0%, rgba(28, 12, 6, 0.12) 30%, rgba(28, 12, 6, 0.25) 55%, rgba(28, 12, 6, 0.82) 100%),
    rgba(65, 32, 22, 0.18);
}
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: 0.16; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(40px, 7vw, 88px); display: grid; gap: clamp(22px, 3vw, 36px); }
.hero h1.eyebrow { opacity: 0.9; }
.hero-title { font-size: var(--fs-hero); max-width: 11ch; }
.hero-title .serif-i { font-size: 1.04em; letter-spacing: -0.02em; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.hero-foot p { max-width: 40ch; margin: 0; color: var(--on-dark-soft); font-size: var(--fs-lead); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero .spark { position: absolute; right: var(--gutter); top: 42%; width: 34px; color: var(--cream); opacity: 0.9; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.services-list { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.86; }
.services-list li { display: inline-flex; align-items: center; gap: 22px; }
.services-list li + li::before { content: "✳"; font-size: 0.9em; letter-spacing: 0; }

/* ---------- intro ---------- */
.intro { padding-block: var(--section-y) calc(var(--section-y) * 0.7); }
.intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro-statement { font-size: clamp(2.1rem, 4.6vw, 4.4rem); }
.intro-statement .serif-i { color: var(--clay); }
.intro-copy { margin-top: clamp(28px, 3vw, 40px); display: grid; gap: 22px; max-width: 46ch; }
.intro-copy p { margin: 0; color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.55; }
.intro-copy .btn { justify-self: start; }
.collage { position: relative; aspect-ratio: 4 / 5; }
.collage figure { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(42, 20, 13, 0.5); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { inset: 0 18% 14% 0; }
.collage .c2 { width: 52%; aspect-ratio: 1; right: 0; bottom: 0; border: 8px solid var(--paper); border-radius: calc(var(--radius) + 8px); }
.collage .sticker { position: absolute; left: -22px; bottom: 9%; width: 120px; height: 120px; z-index: 2; color: var(--espresso); }
.collage .sticker text { font-size: 10px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; fill: currentColor; font-family: var(--font-sans); }
.collage .sticker .rot { transform-origin: 60px 60px; animation: spin 22s linear infinite; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 36s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.035em; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.8em; padding-right: 0.8em; }
.marquee-track span i { font-style: normal; color: var(--clay); font-size: 0.7em; }
.marquee-track .serif-i { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- service stack (cards pile up while you scroll) ---------- */
.services-head { padding-top: var(--section-y); padding-bottom: clamp(40px, 5vw, 72px); display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.services-head .h2 { max-width: 12ch; }
.services-head p { max-width: 38ch; margin: 0; }
.stack { display: grid; gap: 0; padding-bottom: var(--section-y); }
.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 18px + var(--i, 0) * 22px);
  min-height: min(76vh, 720px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 7vh;
  transform-origin: 50% 0;
  box-shadow: 0 -16px 50px -24px rgba(42, 20, 13, 0.45);
  will-change: transform;
}
.stack-card:last-child { margin-bottom: 0; }
.stack-card .media { position: relative; overflow: hidden; }
.stack-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack-card .body { padding: clamp(32px, 4.5vw, 72px); display: flex; flex-direction: column; gap: 22px; }
.stack-card .num { display: flex; justify-content: space-between; align-items: center; }
.stack-card .num b { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.6rem; }
.stack-card h3 { font-size: clamp(2.2rem, 4.2vw, 4rem); margin-top: auto; }
.stack-card p { margin: 0; max-width: 44ch; font-size: 1.06rem; }
.stack-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-card li { padding: 7px 14px; border-radius: 999px; border: 1px solid currentColor; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.stack-card .localsocial { width: 190px; }
.stack-card .localsocial img { width: 100%; }
.stack-card .localsocial .byline { margin-top: 8px; font-size: 0.75rem; }
.stack-card .body .btn { align-self: flex-start; margin-top: 6px; }
/* "Coming soon" pill for services that aren't open yet */
.soon {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: var(--espresso); color: var(--cream);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.soon i { width: 7px; height: 7px; border-radius: 50%; background: var(--latte); box-shadow: 0 0 0 0 rgba(201, 168, 136, 0.7); animation: soon-pulse 2s infinite; }
@keyframes soon-pulse { 70% { box-shadow: 0 0 0 8px rgba(201, 168, 136, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 168, 136, 0); } }

/* ---------- film (brand video + slow-mo loops) ---------- */
.film { padding-block: var(--section-y); }
.film-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.film-head .h2 { max-width: 12ch; }
.film-head > p { max-width: 38ch; margin: 0; }
.film-loops { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(12px, 1.6vw, 22px); }
.film-loops figure { margin: 0; }
.film-loops video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); display: block; background: var(--cocoa); }
.film-loops figcaption, .rail figcaption { color: var(--on-dark-soft); }
.film-loops figcaption { padding-top: 12px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.rail .frame video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
@media (max-width: 700px) {
  .film-loops { grid-template-columns: 1fr; }
}

/* ---------- sound familiar (tilted cards) ---------- */
.familiar { padding-block: var(--section-y); text-align: center; position: relative; }
.familiar .h2 { margin-inline: auto; max-width: 14ch; }
.familiar .intro-line { margin: 0 auto 18px; }
.pile { position: relative; max-width: 940px; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pile .note {
  text-align: left; padding: 28px 30px 30px; border-radius: var(--radius);
  background: var(--paper); color: var(--espresso);
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.6);
  /* --x / --rx / --o are set by site.js from scroll position: cards slide in from the sides
     scrolling down and back out scrolling up */
  transform: translateX(var(--x, 0px)) translateY(var(--y, 0)) rotate(calc(var(--r, 0deg) + var(--rx, 0deg)));
  opacity: var(--o, 1);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.25s linear;
  will-change: transform;
}
.pile .note:nth-child(1) { --r: -4deg; background: var(--oat); }
.pile .note:nth-child(2) { --r: 3deg; --y: 26px; background: var(--sand); }
.pile .note:nth-child(3) { --r: 2.5deg; background: var(--latte); }
.pile .note:nth-child(4) { --r: -3deg; --y: 18px; background: var(--cream); }
.pile .note h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 10px; }
.pile .note p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }
.familiar .answer { margin: clamp(56px, 7vw, 96px) auto 0; max-width: 30ch; font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-family: var(--font-display); letter-spacing: -0.035em; line-height: 1.15; }
.familiar .answer + .btn { margin-top: 32px; }

/* ---------- founder ---------- */
.founder { padding-block: var(--section-y); }
.founder-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.founder-photos { position: relative; aspect-ratio: 4 / 5.2; }
.founder-photos figure { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius); }
.founder-photos figure img { width: 100%; height: 100%; object-fit: cover; }
.founder-photos .f1 { inset: 0 16% 8% 0; }
.founder-photos .f2 { width: 48%; aspect-ratio: 3 / 2; right: 0; bottom: 0; border: 8px solid var(--oat); border-radius: calc(var(--radius) + 8px); }
.founder h2 { font-size: clamp(3rem, 7vw, 6.4rem); }
.founder h2 .serif-i { color: var(--clay); }
.founder .copy { margin-top: 28px; display: grid; gap: 18px; max-width: 52ch; color: var(--ink-soft); }
.founder .copy p { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 36px; border-top: 1px solid var(--line); }
.stats div { padding: 22px 18px 0 0; }
.stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.2rem); letter-spacing: -0.05em; line-height: 1; margin-bottom: 8px; font-weight: 600; }
.stats span { font-size: 0.9rem; line-height: 1.4; display: block; color: var(--ink-soft); }

.team { margin-top: clamp(72px, 9vw, 130px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.team figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.team figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.team h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 10px 0 18px; }
.team p { color: var(--ink-soft); max-width: 44ch; }

/* ---------- work gallery ---------- */
.work { padding-block: var(--section-y); }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.work-head .h2 { max-width: 13ch; }
.work-controls { display: flex; gap: 10px; }
.work-controls button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; color: var(--cream); display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.work-controls button:hover { background: var(--cream); color: var(--espresso); }
.work-controls svg { width: 18px; height: 18px; }
.rail {
  display: flex; gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), (100% - var(--max)) / 2);
  scroll-padding-inline: max(var(--gutter), (100% - var(--max)) / 2);
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail figure { margin: 0; flex: 0 0 auto; width: clamp(250px, 28vw, 380px); scroll-snap-align: start; }
.rail figure.wide { width: clamp(300px, 44vw, 620px); }
.rail .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cocoa); }
.rail figure.wide .frame { aspect-ratio: 3 / 2.5; }
.rail .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.rail figure:hover .frame img { transform: scale(1.04); }
.rail figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--on-dark-soft); }

/* ---------- testimonials ---------- */
.reviews { padding-block: var(--section-y); }
.reviews-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px; margin-bottom: clamp(40px, 5vw, 70px); }
.stars { display: inline-flex; gap: 4px; color: var(--clay); }
.stars svg { width: 18px; height: 18px; }
.quote-feature { font-family: var(--font-display); font-size: clamp(1.9rem, 3.8vw, 3.5rem); letter-spacing: -0.04em; line-height: 1.08; max-width: 22ch; margin: 0 0 22px; font-weight: 600; }
.quote-feature::before { content: "“"; }
.quote-feature::after { content: "”"; }
.cite { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: clamp(48px, 6vw, 80px); }
.quotes blockquote { margin: 0; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: var(--paper); display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.quotes blockquote:nth-child(2) { background: var(--oat); }
.quotes blockquote:nth-child(3) { background: var(--espresso); color: var(--cream); }
.quotes blockquote:nth-child(3) .cite { color: var(--on-dark-soft); }
.quotes blockquote:nth-child(3) .mark { background: linear-gradient(transparent 52%, rgba(168, 105, 74, 0.75) 52%, rgba(168, 105, 74, 0.75) 96%, transparent 96%); }
.quotes blockquote p { margin: 0; font-size: 1.12rem; line-height: 1.55; }
.quotes blockquote:first-child { grid-row: span 2; }
.quotes blockquote:first-child p { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.4; letter-spacing: -0.01em; }

/* ---------- marketing map ---------- */
.map { padding-block: var(--section-y); }
.map-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); color: var(--espresso); }
.map-card .media { min-height: 420px; position: relative; }
.map-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-card .body { padding: clamp(32px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.map-card h2 { font-size: clamp(2.4rem, 4.2vw, 4rem); }
.map-card h2 .serif-i { color: var(--clay); }
.map-card p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.map-card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- final CTA + calendar ---------- */
.book { padding-block: var(--section-y) calc(var(--section-y) * 0.8); }
.book-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.book h2 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.book h2 .serif-i { color: var(--latte); }
.book .lead { margin-top: 24px; color: var(--on-dark-soft); }
.book-photo { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-width: 460px; }
.book-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.calendar { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(10px, 1.4vw, 18px); min-height: 640px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.calendar iframe { width: 100%; min-height: 620px; border: 0; border-radius: calc(var(--radius-lg) - 10px); display: block; }
.calendar-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 0.85rem; color: var(--on-dark-soft); }
.calendar-note svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- footer ---------- */
.site-footer { padding-top: clamp(64px, 8vw, 110px); padding-bottom: 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-logo { width: min(340px, 80%); }
.footer-about { margin-top: 24px; max-width: 44ch; color: var(--on-dark-soft); font-size: 0.95rem; }
.footer-col h3 { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: var(--latte); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--on-dark-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--cream); transition: background 0.3s, color 0.3s; }
.socials a:hover { background: var(--cream); color: var(--espresso); }
.socials svg { width: 18px; height: 18px; }
/* Instagram strip */
.insta { margin: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.insta-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 32px); }
.insta-head .eyebrow { color: var(--latte); margin-bottom: 10px; }
.insta-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.insta-head h2 .serif-i { color: var(--latte); }
.insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.insta-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--cocoa); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.insta-tile::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(42, 20, 13, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0eee1' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23f0eee1' stroke='none'/%3E%3C/svg%3E") center / 30px no-repeat;
  opacity: 0; transition: opacity 0.35s;
}
.insta-tile:hover img, .insta-tile:focus-visible img { transform: scale(1.06); }
.insta-tile:hover::after, .insta-tile:focus-visible::after { opacity: 1; }
.insta-tile .reel { position: absolute; top: 10px; right: 10px; z-index: 1; width: 20px; height: 20px; color: var(--cream); filter: drop-shadow(0 1px 4px rgba(0,0,0,.5)); }
@media (max-width: 760px) { .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: var(--on-dark-soft); }
.footer-bottom a { color: inherit; }

/* ---------- modal (Marketing Map) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(28, 12, 6, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.4s; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: min(920px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  background: var(--paper); border-radius: var(--radius-lg);
  opacity: 0; transform: translateY(30px) scale(0.98); transition: opacity 0.4s, transform 0.6s var(--ease);
}
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-media { position: relative; min-height: 280px; }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: clamp(28px, 4vw, 52px); display: grid; gap: 16px; align-content: start; }
.modal-body h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.modal-body h2 .serif-i { color: var(--clay); }
.modal-body p { margin: 0; color: var(--ink-soft); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--espresso); color: var(--cream); display: grid; place-items: center; }
.modal-close svg { width: 16px; height: 16px; }
.embed-slot { min-height: 260px; border-radius: var(--radius-sm); border: 1.5px dashed var(--latte); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-soft); font-size: 0.9rem; }
.embed-slot iframe { width: 100%; border: 0; }
.embed-slot:has(iframe) { border: 0; padding: 0; display: block; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
/* the mask gets extra room (cancelled by negative margins) so descenders like the "g" in
   "good" and italic overhangs aren't clipped */
.split-line { display: block; overflow: hidden; padding: 0.06em 0.12em 0.2em 0; margin: -0.06em -0.12em -0.2em 0; }
.split-line > span { display: block; transform: translateY(130%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .intro-grid, .founder-grid, .book-grid, .team, .map-card { grid-template-columns: minmax(0, 1fr); }
  .collage { max-width: 520px; width: 100%; margin-inline: auto; }
  .founder-photos { max-width: 520px; width: 100%; }
  .stack-card { grid-template-columns: minmax(0, 1fr); min-height: 0; top: calc(var(--header-h) + 8px + var(--i, 0) * 14px); margin-bottom: 4vh; }
  .stack-card .media { aspect-ratio: 16 / 10; order: -1; }
  .stack-card h3 { margin-top: 0; }  .map-card .media { min-height: 280px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-media { min-height: 180px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .quotes { grid-template-columns: 1fr; }
  .quotes blockquote:first-child { grid-row: auto; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .logo { width: 124px; }
  .hero-title { max-width: 9ch; }
  .hero .spark { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .pile { grid-template-columns: 1fr; gap: 14px; }
  .pile .note { --y: 0 !important; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stats div { padding: 18px 0; }
  .reviews-head { grid-template-columns: 1fr; }
  .collage .sticker { width: 96px; height: 96px; left: -8px; }
  .float-cta { left: 16px; right: 16px; justify-content: space-between; bottom: 14px; }
  .calendar { min-height: 0; padding: 6px; }
  .footer-top { grid-template-columns: 1fr; }
  .stack-card .media { aspect-ratio: 16 / 9; }
  .stack-card .body { padding: 26px 22px 28px; gap: 16px; }
  .stack-card ul { display: none; }
  .stack-card .localsocial { width: 130px; }
  .btn { white-space: normal; text-align: left; }
  .embed-slot { margin-inline: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .split-line > span { opacity: 1; transform: none; }
  .layer--first, .layer--pin, .stack-card { position: relative; top: auto !important; }
  .hero-video { display: none !important; }
}

/* =====================================================================
   INNER PAGES (about, services, contact, resources, legal)
   ===================================================================== */

/* ---------- page hero: shorter photo hero ---------- */
.hero--page { min-height: min(88svh, 900px); }
.hero--page .hero-title { font-size: clamp(2.8rem, 7.2vw, 7.4rem); max-width: 14ch; }
.hero--page picture img { object-position: var(--pos, 50% 40%); }
.hero--page .hero-foot p { max-width: 44ch; }
/* legal and small pages: no photo, espresso panel */
.hero--plain { min-height: 0; background: var(--espresso); }
.hero--plain::after, .hero--plain .hero-grain { display: none; }
.hero--plain .hero-inner { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(48px, 7vw, 96px); }
.hero--plain .hero-title { font-size: clamp(2.6rem, 6vw, 5.6rem); }

/* ---------- generic section + headings ---------- */
.sec { padding-block: var(--section-y); }
.sec--tight { padding-block: calc(var(--section-y) * 0.62); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .h2 { max-width: 15ch; }
.sec-head > p { max-width: 42ch; margin: 0; font-size: var(--fs-lead); line-height: 1.5; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .h2 { margin-inline: auto; }
.h2 .serif-i, .h-accent .serif-i { color: var(--clay); }
.bg-espresso .h2 .serif-i, .bg-deep .h2 .serif-i { color: var(--latte); }
.bg-clay .h2 .serif-i { color: var(--espresso); }
.prose { display: grid; gap: 18px; max-width: 58ch; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.65; }
.prose p { margin: 0; }
.on-dark .prose, .bg-espresso .prose, .bg-deep .prose { color: var(--on-dark-soft); }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.split2--top { align-items: start; }
.photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 3 / 2; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }

/* ---------- check lists ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; font-size: 1.06rem; line-height: 1.5; }
.checks li::before {
  content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--espresso) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%23f0eee1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  margin-top: -2px;
}
.on-dark .checks li::before, .bg-espresso .checks li::before, .bg-deep .checks li::before { background-color: var(--clay); }
.checks--x li::before { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23c9a888' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; border: 1.5px solid var(--latte); }

/* ---------- for you / not for you ---------- */
.fit { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; }
.fit > div { border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 56px); display: grid; gap: 24px; align-content: start; }
.fit h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.035em; line-height: 1.08; }
.fit .yes { background: var(--paper); }
.fit .no { background: var(--espresso); color: var(--cream); transform: rotate(1.5deg); }
.fit .no p { color: var(--on-dark-soft); margin: 0; }

/* ---------- price tag ---------- */
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 24px 16px; border-radius: 999px; background: var(--cream); color: var(--espresso); width: fit-content; }
.price b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.04em; line-height: 1; }
.price span { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.bg-paper .price, .bg-cream .price { background: var(--oat); }
.fine { font-size: 0.88rem; line-height: 1.55; opacity: 0.8; max-width: 60ch; margin: 0; }

/* ---------- feature cards (three across, gently tilted) ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.features article { border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); display: grid; gap: 14px; align-content: start; background: var(--paper); color: var(--espresso); box-shadow: 0 30px 50px -34px rgba(42, 20, 13, 0.55); transition: transform 0.6s var(--ease); }
.features article:nth-child(1) { transform: rotate(-1.4deg); }
.features article:nth-child(2) { transform: rotate(1deg) translateY(18px); background: var(--oat); }
.features article:nth-child(3) { transform: rotate(-0.6deg); background: var(--sand); }
.features article:hover { transform: rotate(0) translateY(-4px); }
.features .tag { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--clay); }
.features h3 { font-family: var(--font-display); font-size: clamp(1.45rem, 2.1vw, 1.9rem); letter-spacing: -0.035em; line-height: 1.08; }
.features p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

/* ---------- offer panels (one per package) ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.offer-num { font-family: var(--font-serif); font-style: italic; font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: 0.8; color: var(--clay); display: block; margin-bottom: 18px; }
.bg-clay .offer-num { color: var(--cream); }
.bg-espresso .offer-num, .bg-deep .offer-num { color: var(--latte); }
.offer h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
.offer .side { display: grid; gap: 22px; align-content: start; }
.offer .side .lead { max-width: 40ch; margin: 0; }
.offer-body { display: grid; gap: 28px; }

/* ---------- process steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; background: rgba(255, 255, 255, 0.35); }
.on-dark .steps li, .bg-espresso .steps li, .bg-deep .steps li { border-color: var(--line-dark); background: rgba(240, 238, 225, 0.04); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; font-size: 1.7rem; color: var(--clay); }
.on-dark .steps li::before, .bg-espresso .steps li::before { color: var(--latte); }
.steps h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); letter-spacing: -0.03em; line-height: 1.12; }
.steps p { margin: 0; line-height: 1.6; opacity: 0.82; }

/* ---------- big quote band ---------- */
.quote-band { text-align: center; display: grid; justify-items: center; gap: 26px; }
.quote-band .quote-feature { max-width: 24ch; margin: 0; }
.quote-band p.more { max-width: 60ch; margin: 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; margin-inline: auto; border-top: 1px solid var(--line); counter-reset: q; }
.faq details { border-bottom: 1px solid var(--line); counter-increment: q; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr 40px; gap: 18px; align-items: center; padding: 26px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -0.025em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: counter(q, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.1em; color: var(--clay); letter-spacing: 0; min-width: 1.8em; }
.faq summary::after { content: ""; width: 40px; height: 40px; border-radius: 50%; background: var(--espresso) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%23f0eee1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 56px 28px calc(1.8em + 18px); color: var(--ink-soft); line-height: 1.65; max-width: 70ch; }
.faq .a p { margin: 0 0 10px; }

/* ---------- favourite places + little facts (about) ---------- */
.places { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; max-width: 980px; margin-inline: auto; }
.places li { list-style: none; padding: 16px 28px; border-radius: 999px; background: var(--cream); color: var(--espresso); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.9rem); letter-spacing: -0.035em; box-shadow: 0 20px 40px -26px rgba(42, 20, 13, 0.7); transform: rotate(var(--r, 0deg)); transition: transform 0.5s var(--ease); }
.places li:nth-child(5n+1) { --r: -3deg; }
.places li:nth-child(5n+2) { --r: 2deg; background: var(--sand); }
.places li:nth-child(5n+3) { --r: -1deg; background: var(--espresso); color: var(--cream); }
.places li:nth-child(5n+4) { --r: 3deg; background: var(--oat); }
.places li:nth-child(5n+5) { --r: -2deg; }
.places li:hover { transform: rotate(0) scale(1.04); }
.places { padding: 0; margin-top: 0; margin-bottom: 0; }
.places .serif-i { font-weight: 400; }

/* ---------- linked service cards ---------- */
.svc-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-links a { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; background: var(--paper); color: var(--espresso); transition: transform 0.5s var(--ease); }
.svc-links a:hover { transform: translateY(-6px); }
.svc-links .frame { aspect-ratio: 4 / 3.4; overflow: hidden; }
.svc-links .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-links a:hover .frame img { transform: scale(1.05); }
.svc-links .txt { padding: 24px 26px 28px; display: grid; gap: 8px; }
.svc-links h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.035em; line-height: 1.08; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.svc-links h3 .arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--espresso); color: var(--cream); display: grid; place-items: center; flex-shrink: 0; transition: transform 0.4s var(--ease); }
.svc-links h3 .arrow svg { width: 15px; height: 15px; }
.svc-links a:hover h3 .arrow { transform: rotate(-45deg); }
.svc-links p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }

/* ---------- mockup / photo gallery tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tiles figure { margin: 0; }
.tiles .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cocoa); }
.tiles .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1s var(--ease); }
.tiles figure:hover .frame img { transform: scale(1.04); }
.tiles figure:nth-child(even) { margin-top: 40px; }
.tiles figcaption { padding-top: 12px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; opacity: 0.72; }

/* ---------- resources ---------- */
.res { display: grid; gap: 18px; }
.res article { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding: clamp(30px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--paper); }
.res article:nth-child(2) { background: var(--oat); }
.res article:nth-child(3) { background: var(--sand); }
.res .offer-num { font-size: clamp(3rem, 5vw, 4.6rem); margin: 0; }
.res h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.res .copy { display: grid; gap: 16px; color: var(--ink-soft); line-height: 1.65; }
.res .copy p { margin: 0; }
.res .side { display: grid; gap: 22px; align-content: start; }
.res .checks li { font-size: 0.98rem; }
.disclosure { margin-top: 28px; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-card { display: grid; gap: 10px; margin-top: 32px; padding: 26px 28px; border-radius: var(--radius); background: var(--paper); }
.contact-card a { color: var(--espresso); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.03em; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-card span { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.form-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(10px, 1.4vw, 18px); min-height: 640px; }
.form-card iframe { width: 100%; min-height: 828px; border: 0; display: block; }
.book .socials a { color: var(--cream); }

/* ---------- legal policy text (Termageddon embed) ---------- */
.policy { max-width: 820px; margin-inline: auto; color: var(--ink-soft); line-height: 1.7; }
.policy h1, .policy h2, .policy h3 { color: var(--espresso); font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.15; margin: 1.6em 0 0.6em; }
.policy h1 { font-size: 2rem; }
.policy h2 { font-size: 1.5rem; }
.policy h3 { font-size: 1.2rem; }
.policy a { color: var(--clay); }
.policy table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.policy td, .policy th { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }

/* ---------- reels (social page) ---------- */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 22vw, 290px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
.reels figure { margin: 0; scroll-snap-align: start; }
.reels .frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--cocoa); }
.reels video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reels figure:nth-child(odd) .frame { transform: rotate(-1.2deg); }
.reels figure:nth-child(even) .frame { transform: rotate(1.2deg) translateY(16px); }
.reels figcaption { padding-top: 26px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--on-dark-soft); }

/* ---------- inner page responsive ---------- */
@media (max-width: 960px) {
  .split2, .offer, .contact-grid, .fit { grid-template-columns: minmax(0, 1fr); }
  .features, .svc-links, .steps { grid-template-columns: minmax(0, 1fr); }
  .features article:nth-child(n) { transform: none; }
  .fit .no { transform: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res article { grid-template-columns: minmax(0, 1fr); }
  .split2 .photo--tall { max-width: 520px; }
}
@media (max-width: 640px) {
  .hero--page { min-height: 86svh; }
  .hero--page .hero-title { max-width: 11ch; }
  .tiles figure:nth-child(even) { margin-top: 24px; }
  .faq summary { grid-template-columns: auto 1fr 34px; gap: 12px; padding: 20px 0; }
  .faq summary::after { width: 34px; height: 34px; }
  .faq .a { padding: 0 0 22px 0; }
  .places li { padding: 12px 20px; }
  .price { border-radius: var(--radius); }
  .form-card { padding: 4px; }
}
@media (min-width: 961px) {
  .offer .side { position: sticky; top: calc(var(--header-h) + 32px); }
}
.offer .side > .btn, .res .side > .btn, .prose + .btn { justify-self: start; }
.reel-tile { display: block; width: 100%; padding: 0; border: 0; background: var(--cocoa); cursor: pointer; }
.reel-tile .sound { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(42, 20, 13, 0.6); color: var(--cream); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.3s, transform 0.3s var(--ease); }
.reel-tile .sound svg { width: 18px; height: 18px; }
.reel-tile .sound .on { display: none; }
.reel-tile.is-loud .sound { background: var(--cream); color: var(--espresso); }
.reel-tile.is-loud .sound .on { display: block; }
.reel-tile.is-loud .sound .off { display: none; }
.reel-tile:hover .sound { transform: scale(1.08); }
.reels figcaption { display: flex; justify-content: space-between; gap: 10px; }
.reels figcaption span:last-child { opacity: 0.7; text-align: right; }
.reels-wrap .reels { padding-top: 6px; }
@media (max-width: 640px) { .reels { grid-auto-columns: 62vw; } }
.reels figcaption { flex-direction: column; gap: 4px; }
.reels figcaption span:last-child { text-align: left; }
@media (max-width: 960px) { .contact-photo { display: none; } }

/* ---------- results / stats (social page) ---------- */
.results { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 8px; align-content: start; }
.stat--chart { grid-row: span 2; background: var(--espresso); color: var(--cream); align-content: stretch; grid-template-rows: auto auto auto 1fr auto; }
.stat--dark { background: var(--clay); color: var(--cream); }
.stat-label { margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.72; }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4.4vw, 4rem); letter-spacing: -0.05em; line-height: 1; }
.stat--chart .stat-num { font-size: clamp(3rem, 6vw, 5.6rem); }
.stat-up { display: inline-flex; width: fit-content; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(168, 105, 74, 0.16); color: var(--clay); font-size: 0.85rem; font-weight: 600; }
.stat-up::before { content: "↑"; }
.stat--chart .stat-up { background: rgba(240, 238, 225, 0.12); color: var(--latte); }
.stat-note { font-size: 0.92rem; line-height: 1.45; opacity: 0.78; }
.stat-chart { width: 100%; height: 100%; min-height: 150px; color: var(--latte); margin-top: 14px; display: block; }
.stat-axis { display: flex; justify-content: space-between; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
@media (max-width: 960px) {
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat--chart { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 420px) { .stat-num { font-size: 2.2rem; } }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--3 figure:nth-child(even) { margin-top: 0; }
.tiles--3 figure:nth-child(3n+2) { margin-top: 40px; }
@media (max-width: 960px) {
  .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--3 figure:nth-child(3n+2) { margin-top: 0; }
  .tiles--3 figure:nth-child(even) { margin-top: 24px; }
}
/* feature cards keep contrast when they sit on a matching light background */
.bg-paper .features article:nth-child(1) { background: var(--oat); }
.bg-paper .features article:nth-child(2) { background: var(--sand); }
.bg-paper .features article:nth-child(3) { background: #fff; }
.bg-sand .features article:nth-child(3) { background: var(--oat); }
.bg-sand .features article:nth-child(1) { background: var(--paper); }

/* ---------- split-screen scroll: left side stays put while the right side scrolls ---------- */
.split-scroll { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.split-scroll__pin { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px; justify-items: start; }
.split-scroll__pin .h2 { margin: 0; }
.split-scroll__pin p { margin: 0; max-width: 42ch; }
.split-scroll__pin .photo { width: 100%; height: clamp(180px, 30vh, 320px); }
.split-scroll .steps { grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 22px); }
.split-scroll .steps li { min-height: clamp(180px, 24vh, 240px); align-content: center; padding: clamp(30px, 3.6vw, 52px); }
.split-scroll .steps h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
@media (max-width: 960px) {
  .split-scroll { grid-template-columns: minmax(0, 1fr); }
  .split-scroll__pin { position: static; }
  .split-scroll .steps li { min-height: 0; }
}
@media (min-width: 961px) and (max-height: 780px) { .split-scroll__pin .photo { display: none; } }

/* =========================================================
   LocalSocial promos (partials/ls_*.html) and the /localsocial page
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ls-eyebrow { margin: 0 0 18px; font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -0.01em; color: var(--clay); }
.ls-price { font-size: 0.95rem; color: var(--ink-soft); }
.ls-price b { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); letter-spacing: -0.03em; margin-right: 4px; }
.on-dark .ls-price, .bg-espresso .ls-price { color: var(--on-dark-soft); }
.on-dark .ls-price b, .bg-espresso .ls-price b { color: var(--cream); }

/* --- 1. giant headline with a laptop overlapping it --- */
.ls-laptop .sec { text-align: center; }
.ls-giant {
  margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.2rem, 12.5vw, 12.5rem); line-height: 0.84; letter-spacing: -0.055em; color: var(--ink);
}
.ls-giant span { display: block; }
.laptop { position: relative; z-index: 2; display: block; width: min(1040px, 92%); margin: clamp(-64px, -5vw, -24px) auto 0; text-decoration: none; transition: transform 0.6s var(--ease); }
.laptop:hover { transform: translateY(-6px); }
.laptop-screen {
  display: block; aspect-ratio: 16 / 10; padding: clamp(8px, 1.6%, 18px); border-radius: clamp(12px, 2vw, 26px) clamp(12px, 2vw, 26px) 6px 6px;
  background: linear-gradient(180deg, #f2f1ee, #e3e2df); border: 1px solid #d6d4d0;
  box-shadow: 0 30px 60px -36px rgba(42, 20, 13, 0.55);
}
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 4px; background: #201b18; }
.laptop-base {
  display: block; height: clamp(12px, 1.8vw, 22px); width: 112%; margin-left: -6%;
  border-radius: 2px 2px 40px 40px / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #f4f3f0 0%, #dcdad6 70%, #c9c6c1 100%);
  box-shadow: 0 22px 30px -18px rgba(42, 20, 13, 0.45);
  position: relative;
}
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; transform: translateX(-50%); border-radius: 0 0 12px 12px; background: #d2d0cc; }
.ls-laptop-copy { max-width: 58ch; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; justify-items: center; gap: 22px; }
.ls-laptop-copy p { margin: 0; font-size: var(--fs-lead); line-height: 1.55; }
.ls-logo { width: clamp(170px, 18vw, 230px); height: auto; }

/* --- 2. full-bleed photo with a card and a round badge --- */
.ls-card { position: relative; padding-block: clamp(80px, 11vw, 160px); isolation: isolate; color: var(--ink); }
.ls-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.ls-card-box {
  position: relative; max-width: 900px; margin: 0 auto; text-align: center;
  background: var(--paper); border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 104px) clamp(26px, 7vw, 110px);
  box-shadow: 0 40px 80px -40px rgba(28, 12, 6, 0.6); display: grid; justify-items: center;
}
.ls-card-box h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); margin: 0 0 22px; }
.ls-card-box > p:not(.ls-eyebrow) { margin: 0 0 30px; max-width: 54ch; font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); }
.ls-badge {
  position: absolute; top: clamp(-70px, -5vw, -40px); right: clamp(-70px, -4vw, -16px);
  width: clamp(120px, 13vw, 176px); aspect-ratio: 1; border-radius: 50%; background: var(--sand);
  display: grid; place-content: center; text-align: center; gap: 4px; transform: rotate(8deg);
  box-shadow: 0 18px 40px -20px rgba(28, 12, 6, 0.55);
}
.ls-badge b { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -0.05em; line-height: 0.9; }
.ls-badge span { font-size: clamp(0.72rem, 0.9vw, 0.86rem); font-weight: 700; line-height: 1.15; max-width: 10ch; margin: 0 auto; }

/* --- 3. scrolling giant headline + numbered list --- */
.ls-results .sec { padding-bottom: var(--section-y); }
.ls-marquee { overflow: hidden; margin: clamp(8px, 2vw, 20px) 0 clamp(48px, 6vw, 88px); }
.ls-marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ls-marquee-track span {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(3.4rem, 10vw, 10rem); line-height: 1; letter-spacing: -0.05em; padding-right: 0.25em;
}
.ls-list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: clamp(26px, 3.4vw, 44px); counter-reset: ls; }
.ls-list li { counter-increment: ls; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.35; letter-spacing: -0.015em; }
.ls-list li::before {
  content: counter(ls); width: clamp(58px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1;
  background: var(--oat); color: var(--ink);
}
.ls-list li:nth-child(5n+2)::before { background: var(--clay); color: var(--cream); }
.ls-list li:nth-child(5n+3)::before { background: var(--sand); }
.ls-list li:nth-child(5n+4)::before { background: var(--espresso); color: var(--cream); }
.ls-list li:nth-child(5n+5)::before { background: var(--latte); }
.ls-list b { font-weight: 700; }

/* --- /localsocial page --- */
.ls-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.ls-calc .field { margin-bottom: 30px; }
.ls-calc label { display: flex; justify-content: space-between; gap: 20px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ls-calc output { white-space: nowrap; }
.ls-calc .hint { margin: 10px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.ls-calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 12px 0 0; background: transparent; cursor: pointer; --p: 0%; }
.ls-calc input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(to right, var(--espresso) 0 var(--p), var(--sand) var(--p) 100%); }
.ls-calc input[type=range]::-moz-range-track { height: 10px; border-radius: 999px; background: var(--sand); }
.ls-calc input[type=range]::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--espresso); }
.ls-calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: var(--espresso); border: 3px solid var(--paper); box-shadow: 0 2px 8px rgba(42, 20, 13, 0.3); }
.ls-calc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--espresso); border: 3px solid var(--paper); }
.ls-calc input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--latte); outline-offset: 2px; }
.ls-calc-card { background: var(--espresso); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(32px, 4.4vw, 56px); position: sticky; top: calc(var(--header-h) + 32px); }
.ls-calc-card .kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-soft); }
.ls-calc-card .big { font-family: var(--font-display); font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin: 12px 0 26px; }
.ls-calc-card .row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.ls-calc-card .row b { text-align: right; }
.ls-calc-card .fine { margin: 22px 0 0; font-size: 0.84rem; line-height: 1.55; color: var(--on-dark-soft); }
.ls-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.ls-quotes figure { margin: 0; padding: clamp(30px, 3.6vw, 48px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.45); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.ls-quotes blockquote { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; letter-spacing: -0.01em; }
.ls-quotes figcaption { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.ls-join { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ls-join .form-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(12px, 2vw, 24px); min-height: 560px; }
.ls-join .form-card iframe { width: 100%; min-height: 545px; border: 0; }

@media (max-width: 960px) {
  .ls-calc, .ls-join, .ls-quotes { grid-template-columns: minmax(0, 1fr); }
  .ls-calc-card { position: static; }
  .laptop { width: 100%; }
  .laptop-base { width: 108%; margin-left: -4%; }
}
@media (max-width: 699px) {
  .ls-badge { top: -54px; right: -6px; }
  .ls-card-box { padding-top: 76px; }
  .ls-list li { grid-template-columns: 52px 1fr; gap: 18px; font-size: 1.12rem; }
  .ls-list li::before { width: 52px; font-size: 1.6rem; }
}

/* ---------- LocalSocial doors countdown (data-open / data-close on .countdown) ---------- */
.countdown { display: grid; gap: 12px; justify-items: inherit; }
.countdown .countdown-label { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.countdown-clock { display: flex; gap: clamp(8px, 1.4vw, 14px); }
.countdown-clock span { display: grid; justify-items: center; gap: 6px; min-width: clamp(62px, 6.4vw, 84px); padding: 12px 8px 10px; border-radius: var(--radius-sm); background: var(--oat); }
.countdown-clock b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.countdown-clock i { font-style: normal; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.countdown .countdown-note { margin: 0; font-size: 0.86rem; opacity: 0.75; }
.hero .countdown-clock span, .on-dark .countdown-clock span { background: rgba(240, 238, 225, 0.12); backdrop-filter: blur(6px); color: var(--cream); }
.countdown.is-closed .countdown-clock { display: none; }
.ls-card-box .countdown { justify-items: center; margin: 0 0 28px; }
.hero-foot .countdown { margin-bottom: 18px; }
@media (max-width: 699px) { .countdown-clock span { min-width: 0; flex: 1; } .countdown-clock { width: 100%; } }

/* =========================================================
   /localsocial only: pops of color + playful details (body.page-localsocial).
   Keep these scoped so the rest of the Coyote Brands site stays neutral.
   ========================================================= */
.page-localsocial { --ls-butter: #fbef86; --ls-tangerine: #f2541b; --ls-tangerine-deep: #d9430f; }

/* floating, tilted pills */
.ls-pills { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ls-pill {
  position: absolute; left: var(--x); top: var(--y); z-index: 3;
  padding: clamp(10px, 1.1vw, 15px) clamp(20px, 2.2vw, 32px); border-radius: 999px;
  font-family: var(--font-sans); font-weight: 700; font-size: clamp(0.78rem, 1.15vw, 1.1rem);
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 14px 28px -12px rgba(28, 12, 6, 0.55);
  transform: rotate(var(--r, 0deg)); animation: lsBob 6s ease-in-out infinite; animation-delay: var(--t, 0s);
}
.ls-pill--butter { background: var(--ls-butter); color: var(--espresso-deep); }
.ls-pill--tangerine { background: var(--ls-tangerine); color: #fff8ef; }
.ls-pill--cream { background: var(--cream); color: var(--espresso-deep); }
@keyframes lsBob {
  0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
  50% { transform: rotate(calc(var(--r, 0deg) * -0.6)) translateY(-10px); }
}
.ls-stickered { position: relative; overflow: visible; }
.ls-stickered img { border-radius: var(--radius-lg); }

/* hero */
.page-localsocial .hero .btn--cream { background: var(--ls-butter); color: var(--espresso-deep); }
.page-localsocial .hero .countdown-clock span { background: var(--ls-butter); color: var(--espresso-deep); backdrop-filter: none; }
.page-localsocial .hero .serif-i { color: var(--ls-butter); }

/* marquees */
.page-localsocial .marquee-track span i { color: var(--ls-tangerine); }
.page-localsocial .ls-marquee-track span { color: var(--ls-tangerine); }
.page-localsocial .ls-eyebrow { color: var(--ls-tangerine); }

/* numbered list */
.page-localsocial .ls-list li::before { background: var(--ls-butter); color: var(--espresso-deep); transition: transform 0.4s var(--ease); }
.page-localsocial .ls-list li:nth-child(5n+2)::before { background: var(--ls-tangerine); color: #fff8ef; }
.page-localsocial .ls-list li:nth-child(5n+3)::before { background: var(--oat); color: var(--espresso-deep); }
.page-localsocial .ls-list li:nth-child(5n+4)::before { background: var(--espresso); color: var(--ls-butter); }
.page-localsocial .ls-list li:nth-child(5n+5)::before { background: var(--ls-tangerine); color: #fff8ef; }
.page-localsocial .ls-list li:hover::before { transform: rotate(-12deg) scale(1.08); }

/* buttons: tangerine on hover, butter on dark */
.page-localsocial .btn:not(.btn--cream):not(.btn--ghost):hover { background: var(--ls-tangerine); color: #fff8ef; }
.page-localsocial .on-dark .btn:not(.btn--ghost) { background: var(--ls-butter); color: var(--espresso-deep); }

/* how it works */
.page-localsocial .split-scroll .steps li::before { color: var(--ls-tangerine); font-size: 2.2rem; }
.page-localsocial .split-scroll .steps li { transition: transform 0.5s var(--ease), background 0.4s; }
.page-localsocial .split-scroll .steps li:hover { transform: rotate(-1deg) translateX(6px); background: rgba(251, 239, 134, 0.45); }

/* what you'll learn: colorful tilted cards */
.page-localsocial .features article:nth-child(6n+1) { background: var(--ls-butter); }
.page-localsocial .features article:nth-child(6n+2) { background: var(--paper); }
.page-localsocial .features article:nth-child(6n+3) { background: var(--ls-tangerine); color: #fff8ef; }
.page-localsocial .features article:nth-child(6n+4) { background: var(--paper); transform: rotate(1.2deg); }
.page-localsocial .features article:nth-child(6n+5) { background: var(--espresso); color: var(--cream); transform: rotate(-1deg) translateY(14px); }
.page-localsocial .features article:nth-child(6n+6) { background: var(--ls-butter); transform: rotate(0.8deg); }
.page-localsocial .features article:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); }

/* calculator */
.page-localsocial .ls-calc-card .big { color: var(--ls-butter); }
.page-localsocial .ls-calc input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--ls-tangerine) 0 var(--p), var(--sand) var(--p) 100%); }
.page-localsocial .ls-calc input[type=range]::-moz-range-progress { background: var(--ls-tangerine); }

/* quotes */
.page-localsocial .ls-quotes figure:nth-child(1) { background: var(--ls-butter); border-color: transparent; transform: rotate(-1deg); }
.page-localsocial .ls-quotes figure:nth-child(2) { background: var(--paper); border: 2px solid var(--ls-tangerine); transform: rotate(0.8deg) translateY(14px); }

/* pricing card: tangerine badge that spins slowly */
.page-localsocial .ls-badge { background: var(--ls-tangerine); color: #fff8ef; animation: lsWobble 7s ease-in-out infinite; }
@keyframes lsWobble { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(-6deg) scale(1.05); } }
.page-localsocial .ls-card-box .countdown-clock span { background: var(--ls-butter); }

/* join section */
.page-localsocial #join .countdown-clock span { background: var(--ls-butter); color: var(--espresso-deep); backdrop-filter: none; }
.ls-join-head { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.ls-spin { width: clamp(88px, 8vw, 116px); height: auto; flex: none; }
.ls-spin circle { fill: var(--ls-tangerine); }
.ls-spin text { font-size: 10px; font-weight: 700; text-transform: uppercase; fill: #fff8ef; font-family: var(--font-sans); }
.ls-spin path { stroke: var(--ls-butter); fill: none; }
.ls-spin .rot { transform-origin: 60px 60px; animation: spin 18s linear infinite; }

@media (max-width: 699px) {
  .ls-pill { font-size: 0.7rem; padding: 8px 14px; }
  .hero .ls-pill--cream { display: none; }
  .hero .ls-pill--butter { --x: 5% !important; --y: 16% !important; }
  .hero .ls-pill--tangerine { --x: 46% !important; --y: 27% !important; }
  .ls-stickered .ls-pill--tangerine { --x: -2% !important; }
  .ls-stickered .ls-pill--butter { --x: 38% !important; }
}
@media (prefers-reduced-motion: reduce) { .ls-pill, .page-localsocial .ls-badge { animation: none; } }
@media (max-width: 1099px) { .hero .ls-pills { display: none; } }

/* ---------- video + quote split (Brandi testimonial on the social page) ---------- */
.vq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); align-items: center; max-width: 1180px; margin: 0 auto; }
.vq-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: 0 40px 70px -44px rgba(42, 20, 13, 0.55); }
.vq-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vq-copy { margin: 0; display: grid; gap: 26px; justify-items: start; }
.vq-eyebrow { margin: 0; font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -0.01em; color: var(--clay); }
.vq-copy blockquote { margin: 0; display: grid; gap: 26px; }
.vq-copy h2 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.02; }
.vq-copy blockquote p { margin: 0; max-width: 46ch; font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.75; color: var(--ink-soft); }
.vq-copy figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hl { background: linear-gradient(transparent 8%, var(--sand) 8%, var(--sand) 96%, transparent 96%); padding: 0 0.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (max-width: 860px) {
  .vq { grid-template-columns: minmax(0, 1fr); }
  .vq-media { max-width: 480px; }
}

/* contact: "what happens next" copy under the service area */
.contact-next { max-width: 62ch; margin: 40px auto 0; text-align: left; color: var(--ink-soft); line-height: 1.7; }
.contact-next p + p { margin-top: 1em; }
.contact-next a, .muted a, .faq .a a { color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.on-dark .muted a { color: var(--cream); }

/* contact form on espresso: no cream card, so the white form text shows */
#message .form-card { background: transparent; padding: 0; }

/* case study chart legend */
.stat-legend { display: flex; gap: 18px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; margin-top: 10px; }
.stat-legend span { display: inline-flex; align-items: center; gap: 8px; }
.stat-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.vq-copy .prose a, .prose a { color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.stat-chart--bars { height: calc(100% - 26px); margin-bottom: 12px; }

/* =========================================================
   /links (Instagram link in bio): standalone, phone-first
   ========================================================= */
.page-links { background: var(--espresso); color: var(--cream); }
.lnk { min-height: 100svh; display: flex; justify-content: center; padding: clamp(36px, 7vw, 72px) 16px 56px; }
.lnk-col { width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lnk-logo img { width: 170px; height: auto; display: block; }
.lnk-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; margin-top: 26px; border: 3px solid rgba(240, 238, 225, 0.25); }
.lnk-title { margin: 18px 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.035em; line-height: 1.1; }
.lnk-sub { margin: 0 0 26px; color: var(--on-dark-soft); line-height: 1.5; max-width: 32ch; }
.lnk-feature { width: 100%; background: rgba(240, 238, 225, 0.07); border: 1px solid rgba(240, 238, 225, 0.16); border-radius: var(--radius-lg); padding: 24px 20px 20px; display: grid; gap: 14px; justify-items: center; }
.lnk-ls-logo { width: 150px; height: auto; }
.lnk-feature > p { margin: 0; color: var(--on-dark-soft); font-size: 0.95rem; line-height: 1.5; }
.lnk-feature .countdown { margin: 0; }
.lnk-list { width: 100%; display: grid; gap: 12px; margin-top: 14px; }
.lnk-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 17px 18px 17px 22px; border-radius: 999px; background: rgba(240, 238, 225, 0.1); color: var(--cream); text-decoration: none; font-weight: 600; font-size: 0.98rem; text-align: left; transition: background 0.25s, transform 0.25s var(--ease); }
.lnk-btn:hover, .lnk-btn:focus-visible { background: rgba(240, 238, 225, 0.18); transform: translateY(-2px); }
.lnk-btn .arrow { flex: none; }
.lnk-btn--cream { background: var(--cream); color: var(--espresso); }
.lnk-btn--cream:hover, .lnk-btn--cream:focus-visible { background: #fff; }
.lnk-social { display: flex; gap: 14px; margin-top: 30px; }
.lnk-social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(240, 238, 225, 0.1); color: var(--cream); }
.lnk-social svg { width: 20px; height: 20px; }
.lnk-site { margin-top: 18px; color: var(--on-dark-soft); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.lnk-btn .arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--espresso); }
.lnk-btn .arrow svg { width: 14px; height: 14px; }
.lnk-btn--cream .arrow { background: var(--espresso); color: var(--cream); }
.page-links .countdown-clock span { background: var(--cream); color: var(--espresso); }
.page-links .countdown-clock b, .page-links .countdown-clock i { color: var(--espresso); }
.page-links .countdown-label, .page-links .countdown-note { color: var(--on-dark-soft); }

/* /links: the LocalSocial card borrows LocalSocial's colors + floating pills (this card only) */
.lnk { overflow-x: clip; }
.lnk-feature { --ls-butter: #fbef86; --ls-tangerine: #f2541b; position: relative; margin-top: 10px; padding: 42px 20px 22px; background: var(--ls-butter); color: var(--espresso-deep); border: 0; transform: rotate(-1.2deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.lnk-feature .ls-pill { left: var(--x); top: var(--y); font-size: 0.68rem; padding: 8px 14px; }
.lnk-feature .ls-pill--cream { left: auto; background: var(--espresso); color: var(--ls-butter); }
.lnk-spin { position: absolute; top: -26px; right: -14px; width: 84px; z-index: 3; }
.lnk-feature > p { color: var(--espresso); }
.lnk-feature > p b { background: var(--ls-tangerine); color: #fff8ef; padding: 1px 7px; border-radius: 6px; white-space: nowrap; }
.lnk-ls-kicker { margin: -6px 0 0 !important; font-weight: 700; font-size: 0.72rem !important; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ls-tangerine) !important; }
.page-links .lnk-feature .countdown-label, .page-links .lnk-feature .countdown-note { color: var(--espresso); }
.page-links .lnk-feature .countdown-clock span { background: var(--espresso); }
.page-links .lnk-feature .countdown-clock b { color: var(--ls-butter); }
.page-links .lnk-feature .countdown-clock i { color: var(--cream); }
.lnk-feature .lnk-btn--cream { background: var(--ls-tangerine); color: #fff8ef; }
.lnk-feature .lnk-btn--cream:hover, .lnk-feature .lnk-btn--cream:focus-visible { background: #d9430f; }
.lnk-feature .lnk-btn--cream .arrow { background: #fff8ef; color: var(--ls-tangerine); }
@media (prefers-reduced-motion: reduce) { .lnk-feature .ls-pill { animation: none; } .lnk-spin .rot { animation: none; } }
.lnk-feature .ls-pill--cream { top: auto; }
.lnk-feature + .lnk-list { margin-top: 30px; }

/* /links LocalSocial card, toned down (she found butter + tangerine too bright):
   cream card, espresso countdown + button, color only in the small pills and sticker */
.lnk-feature { background: var(--cream); color: var(--espresso); transform: rotate(-1deg); }
.lnk-feature > p b { background: var(--ls-butter); color: var(--espresso-deep); }
.lnk-ls-kicker { color: var(--clay) !important; }
.page-links .lnk-feature .countdown-clock span { background: var(--espresso); }
.page-links .lnk-feature .countdown-clock b { color: var(--cream); }
.page-links .lnk-feature .countdown-clock i { color: var(--latte); }
.lnk-feature .lnk-btn--cream { background: var(--espresso); color: var(--cream); }
.lnk-feature .lnk-btn--cream:hover, .lnk-feature .lnk-btn--cream:focus-visible { background: var(--espresso-deep); }
.lnk-feature .lnk-btn--cream .arrow { background: var(--ls-butter); color: var(--espresso); }
.lnk-feature .ls-pill--tangerine { background: var(--ls-butter); color: var(--espresso-deep); }
.lnk-feature .ls-pill--cream { background: var(--clay); color: var(--cream); }
.lnk-spin circle { fill: var(--espresso); }
.lnk-spin text { fill: var(--cream); }
.lnk-spin path { stroke: var(--ls-butter); }

/* /links: discovery call calendar right on the page */
.lnk-book { width: 100%; margin-top: 44px; scroll-margin-top: 20px; }
.lnk-book-title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.03em; }
.lnk-book > p { margin: 0 auto 16px; color: var(--on-dark-soft); font-size: 0.92rem; line-height: 1.5; max-width: 34ch; }
.lnk-book .calendar { padding: 6px; min-height: 560px; }
.lnk-book .calendar iframe { min-height: 560px; }
.lnk-book + .lnk-list { margin-top: 22px; }
