/* ===========================================================
   June Apple Web Co. — V2 — "Charged Parchment"
   Perk mechanics: tonal-step depth, rationed june yellow, zero drop shadows.
   One shared stylesheet for every page. Components tagged @component so the
   design-system page (data-specimen markers) can match them 1:1.
   =========================================================== */

/* @component tokens */
:root{
  /* raw palette — spec canon */
  --june:#D4C95E;
  --june-ink:#746F37;   /* deepened june — the ONLY variant allowed as small text on a
                            light surface (principle numerals, open-FAQ icon); pure
                            --june is 1.55:1 on parchment/white and fails AA there.
                            Fills/CTAs/borders always use pure --june. */
  --ink:#14140F;
  --graphite:#5C5C52;   /* deepened from #6E6E64 to clear AA on parchment/white */
  --stone:#919183;      /* borders only */
  --ash:#D2D2C8;
  --parchment:#F5F5EB;
  --white:#FFFFFF;

  --island:#14140F;        /* matches the nav bar — one brand near-black */
  --island-text:#F5F5EB;
  --island-muted:#B7B7A9;
  --island-raised:#24241F;
  --island-deep:#0B0B08;
  --island-border:rgba(245,245,235,.16);

  --r-card:28px;
  --r-pill:12px;   /* slightly squared, matches the tier badges (Dustin) */
  --max:1200px;

  --strip-h:0px;
  --pill-h:74px;
  --nav-gap:14px;
  --nav-h:calc(var(--strip-h) + var(--nav-gap) + var(--pill-h) + var(--nav-gap));

  /* semantic roles — light */
  --bg:var(--parchment);
  --surface:var(--white);
  --inset:#ECECE0;
  --text:var(--ink);
  --muted:var(--graphite);
  --label:var(--graphite);   /* small-caps eyebrow/caption text — same as muted, kept distinct from --stone (borders only) */
  --border:var(--ash);

  color-scheme: light;
}

html.strip-dismissed{ --strip-h:0px; }

html[data-theme="dark"]{
  /* the island stays a step ABOVE the near-black page here, so it keeps the
     warm charcoal rather than following light theme down to --ink */
  --island:#30302A;
  --island-raised:#3A3A33;
  --island-deep:#24241F;
  --bg:#14140F;
  --surface:#1E1E18;
  --inset:#0D0D0A;
  --text:#F5F5EB;
  --muted:#B7B7AA;      /* deepened/lightened from #9A9A8E to clear AA on dark canvas */
  --label:#B7B7AA;
  --border:rgba(210,210,200,.18);
  --june-ink:var(--june);  /* pure june reads 10.83:1 on the near-black dark canvas —
                               no deepening needed once the surface itself is dark. */
  /* --island* tokens are intentionally NOT redefined here — the island panel
     stays the same fixed dark charcoal in both themes. In light mode it is
     the one high-contrast dark moment on a light page; in dark mode it reads
     as a subtle raised step above the canvas. Same instrument, two moods. */

  color-scheme: dark;
}

/* @component reset */
*,*::before,*::after{ box-sizing:border-box; }
html,body{ overflow-x:clip; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 20px); }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  transition:background-color .25s ease, color .25s ease;
}
img{ max-width:100%; height:auto; display:block; }
[class*="grid"] > *{ min-width:0; }
input,textarea,select{ max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
table{ table-layout:fixed; width:100%; }
td,th{ overflow-wrap:anywhere; }

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
}

/* @component skip-link */
.skip-link{
  position:absolute; left:-9999px; top:0;
  background:var(--june); color:var(--ink); padding:12px 20px;
  border-radius:0 0 12px 0; z-index:200;
}
.skip-link:focus{ left:0; }

/* ---------- Type scale (minor third, base 16px) ---------- */
/* 16 / 19.2 / 23 / 27.6 / 33.2 / 39.8 / 47.8 / 57.3 / 68.8 */
.eyebrow{
  font-size:.8rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
}
.section-label{
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:14px;
}
.section-label-on-dark{ color:var(--island-muted); }

.hero-h1{
  font-size:clamp(2.75rem, 4vw + 1.5rem, 5.5rem);
  font-weight:500;
  letter-spacing:-0.03em;
  line-height:1.03;
  margin:20px 0 24px;
}
.section-h2{
  font-size:clamp(1.7rem, 1.4vw + 1.3rem, 2.6rem);
  font-weight:500;
  letter-spacing:-0.02em;
  line-height:1.15;
  margin-bottom:20px;
}
.start-h2{
  font-size:clamp(2rem, 2vw + 1.4rem, 3.4rem);
  font-weight:500;
  letter-spacing:-0.03em;
  line-height:1.08;
  color:var(--island-text);
  max-width:20ch;
  margin-left:auto;
  margin-right:auto;
}

/* @component button */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:var(--r-card);
  padding:15px 28px;
  font-size:1rem;
  font-weight:500;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--june);
  color:var(--ink);
}
.btn-primary:hover{
  transform:translateY(-2px);
  background:var(--ink);
  color:var(--june);
  border-color:var(--ink);
}
.btn-primary:active{ transform:translateY(0); }

.btn-outline{
  background:transparent;
  color:var(--text);
  border-color:var(--border);
}
.btn-outline:hover{
  border-color:var(--text);
  background:var(--surface);
  transform:translateY(-2px);
}
.btn-outline:active{ transform:translateY(0); }

.btn-large{ padding:18px 36px; font-size:1.05rem; }
.btn:focus-visible{ outline:2px solid var(--text); outline-offset:3px; }

/* announce-strip retired 2026-08-18 (Dustin: no top banner). CSS kept inert. */
.announce-strip{
  /* FIXED, like perk.com's real strip: the nav pill's top is calc'd from
     --strip-h, so if this scrolled away the pill would sit stranded 52px
     too low with a phantom gap (the bug Dustin caught). Pinning the strip
     keeps the geometry true at every scroll position; dismissing zeroes
     --strip-h and everything settles up together. */
  position:fixed;
  top:0; left:0; right:0;
  width:100%;
  background:var(--june);
  color:var(--ink);
  z-index:110;
  overflow:hidden;
}
.announce-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:15px 24px;
  min-height:calc(var(--strip-h) - 2px);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  position:relative;
}
.announce-text{
  font-size:.88rem;
  font-weight:500;
  text-align:center;
}
.announce-link{
  text-decoration:underline;
  text-underline-offset:2px;
  font-weight:500;
}
.announce-dismiss{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  background:transparent;
  border:none;
  color:var(--ink);
  font-size:1.1rem;
  line-height:1;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:var(--r-pill);
  cursor:pointer;
  transition:background-color .18s ease;
}
.announce-dismiss:hover{ background:rgba(20,20,15,.1); }
.announce-dismiss:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }
html.strip-dismissed .announce-strip{ display:none; }

@media (max-width:640px){
  .announce-inner{ padding:13px 52px 13px 20px; gap:10px; }
  .announce-text{ font-size:.78rem; }
}

/* @component site-header */
/* Header / nav — floating pill (Perk's signature mechanic) */
.site-header{
  position:fixed;
  left:32px;
  right:32px;
  top:calc(var(--strip-h) + var(--nav-gap));
  z-index:100;
  background:var(--parchment);
  border-radius:var(--r-pill);
  border:1px solid var(--ash);
  transition:top .2s ease;
}
html[data-theme="dark"] .site-header{ background:var(--surface); border-color:var(--border); }

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height:var(--pill-h);
  padding:0 12px 0 28px;
}
.logo{
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:500;
  font-size:1.05rem;
  letter-spacing:-0.01em;
  white-space:nowrap;
  flex:none;
}
.logo img{ height:26px; width:auto; flex:none; }
.logo-mark{ color:var(--muted); font-weight:400; }

.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:32px;
  flex:1;
}
.nav-link{
  position:relative;
  font-size:.95rem;
  font-weight:500;
  color:var(--text);
  padding-bottom:4px;
  white-space:nowrap;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:var(--june);
  transition:width .22s ease;
}
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-current::after{ width:100%; }

.header-ctas{
  display:flex;
  align-items:center;
  gap:10px;
  flex:none;
}
/* The nav CTA needs its own specificity so `.btn` alone can't be overridden
   by a later `.nav a` rule elsewhere in a page's markup. */
.header-ctas a.btn.btn-nav-pill{
  padding:10px 18px;
  font-size:.85rem;
  border-radius:var(--r-pill);
  white-space:nowrap;
}

.nav-menu-toggle{
  display:none;
  flex:none;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:none;
  border-radius:var(--r-pill);
  cursor:pointer;
  flex-direction:column;
  gap:5px;
}
.nav-menu-bar{
  display:block;
  width:20px;
  height:2px;
  background:var(--text);
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-menu-toggle[aria-expanded="true"] .nav-menu-bar:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-menu-toggle[aria-expanded="true"] .nav-menu-bar:nth-child(2){ opacity:0; }
.nav-menu-toggle[aria-expanded="true"] .nav-menu-bar:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* @component nav-mobile */
.nav-mobile-panel{
  display:none;
  flex-direction:column;
  gap:4px;
  padding:12px;
  border-top:1px solid var(--border);
}
.nav-mobile-link{
  padding:12px 16px;
  border-radius:16px;
  font-size:.95rem;
  font-weight:500;
  color:var(--text);
}
.nav-mobile-link:hover{ background:var(--bg); }
.nav-mobile-panel.is-open{ display:flex; }

@media (max-width:900px){
  .nav{ display:none; }
  .header-ctas .btn-outline{ display:none; }
  .nav-menu-toggle{ display:flex; }
  .header-inner{ padding:0 10px 0 22px; }
  .logo{ font-size:.95rem; }
}
@media (max-width:640px){
  .site-header{ left:16px; right:16px; }
  .header-ctas a.btn.btn-nav-pill{ padding:9px 15px; font-size:.8rem; }
}
@media (max-width:480px){
  /* Wordmark + primary CTA + hamburger must all fit the collapsed pill
     (spec: "Under 900px: wordmark + primary CTA + hamburger"). At this
     width the full wordmark text no longer fits alongside both — drop to
     icon-only, keep an accessible name via aria-label on the anchor. */
  .logo .logo-text{ display:none; }
  .header-inner{ padding:0 8px 0 14px; gap:10px; }
  .header-ctas a.btn.btn-nav-pill{ padding:8px 13px; font-size:.75rem; }
  .nav-menu-toggle{ width:40px; height:40px; }
}

/* @component section-rhythm */
.section{ padding:96px 0; overflow:hidden; }
@media (max-width:768px){ .section{ padding:64px 0; } }
.page-hero{
  padding:calc(var(--nav-h) + 64px) 0 72px;
  background:var(--bg);
  transition:padding-top .2s ease;
  overflow:hidden;
}
.page-hero-inner{ max-width:900px; margin:0 auto; text-align:center; }
.page-hero .eyebrow{ margin-bottom:16px; }
.page-hero h1{
  font-size:clamp(2.4rem, 3vw + 1.4rem, 4.2rem);
  font-weight:500;
  letter-spacing:-0.03em;
  line-height:1.06;
  margin-bottom:20px;
}
.page-hero-sub{ font-size:1.1rem; color:var(--muted); max-width:56ch; margin:0 auto; }

/* @component hero */
.hero{
  padding:calc(var(--nav-h) + 64px) 0 96px;
  background:var(--bg);
  transition:padding-top .2s ease;
  overflow:hidden;
}
.hero-inner{
  max-width:900px;
  margin:0 auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hero-sub{
  font-size:1.15rem;
  color:var(--muted);
  max-width:52ch;
  margin:0 0 36px;
}
.hero-ctas{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
  margin-bottom:24px;
}
.hero-price{
  font-size:.9rem;
  color:var(--muted);
  margin-bottom:56px;
}
.hero-price a{
  color:var(--text);
  font-weight:500;
  border-bottom:1px solid var(--stone);
}
.hero-price a:hover{ border-color:var(--text); }

/* @component device-frame */
/*
   Pure-CSS browser chrome + phone bezel for client-site captures. No image
   frames — the bezel IS the chrome. Two variants: device-frame-desktop
   (browser window) and device-frame-mobile (phone). Both size purely from
   CSS so any capture aspect ratio drops in cleanly. */
.device-frame{
  width:100%;
  border-radius:var(--r-card);
  background:var(--surface);
  border:1px solid var(--border);
  overflow:hidden;
}
.device-frame-desktop{ max-width:960px; }
.device-frame-chrome{
  display:flex;
  align-items:center;
  gap:8px;
  padding:14px 18px;
  border-bottom:1px solid var(--border);
  background:var(--bg);
}
.device-dot{
  width:9px; height:9px;
  border-radius:50%;
  background:var(--border);
}
.device-url{
  margin-left:12px;
  font-size:.78rem;
  color:var(--label);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.device-frame-body{
  position:relative;
  width:100%;
  aspect-ratio:1440/900;
  overflow:hidden;
  background:var(--bg);
}
.device-frame-body img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
}

/* Phone bezel — rounded aluminum-style frame with a notch, no image assets */
.device-frame-mobile{
  max-width:220px;
  margin:0 auto;
  border-radius:36px;
  border:6px solid var(--island);
  background:var(--island);
  padding:0;
}
html[data-theme="dark"] .device-frame-mobile{ border-color:var(--island-raised); background:var(--island-raised); }
.device-frame-mobile .device-frame-body{
  aspect-ratio:390/844;
  border-radius:26px;
}
.device-frame-mobile .device-notch{
  position:absolute;
  top:0; left:50%;
  transform:translateX(-50%);
  width:38%;
  height:22px;
  background:var(--island);
  border-radius:0 0 14px 14px;
  z-index:2;
}
html[data-theme="dark"] .device-frame-mobile .device-notch{ background:var(--island-raised); }

/* Overlapped pairing — desktop frame primary, mobile frame tucked over the
   bottom-right corner. Used on the work page's client cards. */
.device-frame-pair{
  position:relative;
  margin-bottom:56px;   /* the phone bezel hangs 14% below the desktop frame —
                           without clearance it sits on the card's link line */
}
.device-frame-pair .device-frame-mobile{
  position:absolute;
  right:-6%;
  bottom:-14%;
  width:26%;
  max-width:150px;
  z-index:3;
}
@media (max-width:640px){
  .device-frame-pair .device-frame-mobile{ display:none; }
}

/* @component hero-cycler */
/*
   Browser-chrome frame cycling 3–4 client-site captures. Timed JS class
   toggle drives the crossfade (a CSS `transition`, not a scroll-triggered
   keyframe) so it is LCP-safe; reduced motion collapses to a static first
   frame; pausable on hover/focus. Retained for the design-system live
   specimen (main.js wires any [data-cycler] it finds) — the homepage no
   longer uses it; see @component film-frame below for its replacement. */
.hero-visual{ width:100%; max-width:960px; }
.cycler-slide{
  opacity:0;
  transition:opacity .6s ease;
}
.cycler-slide.is-active{ opacity:1; }
.hero-visual:hover .device-frame-body,
.hero-visual:focus-within .device-frame-body{ outline:none; }
@media (prefers-reduced-motion:reduce){
  .cycler-slide{ transition:none; }
}

/* @component film-frame */
/*
   The homepage's product visual: the 30-second pitch film, not a capture
   cycler. Framed smaller than a full device-frame on purpose — this is a
   film screening in the hero, not another browser window. */
.hero-film{
  width:100%;
  max-width:860px;
  margin:0 auto;
}
.hero-film-eyebrow{ margin-bottom:12px; }
.hero-film-h2{ margin-bottom:28px; }
.film-frame{
  width:100%;
  border-radius:var(--r-card);
  border:1px solid var(--border);
  overflow:hidden;
  background:var(--surface);
}
.film-frame video{
  width:100%;
  display:block;
  aspect-ratio:16/9;
  background:var(--bg);
}

/* ---------- The Promise (accent panel — one of the rationed June Yellow moments) ---------- */
.promise{
  background:var(--june);
  padding:80px 0;
}
.promise .section-label{ color:var(--ink); opacity:.65; }
.promise-statement{
  font-size:clamp(1.5rem, 1.6vw + 1rem, 2.4rem);
  font-weight:500;
  letter-spacing:-0.02em;
  line-height:1.25;
  color:var(--ink);
  max-width:22ch;
}

/* ---------- Who we are ---------- */
/* @component who-text (index — copy-only split, no portrait; the founder
   portrait lives on About only, see .who-panel below) */
.who-grid-text{
  display:grid;
  grid-template-columns:.85fr 1.3fr;
  gap:64px;
  align-items:start;
}
.who-head .section-h2{ margin-bottom:0; }
@media (max-width:900px){
  .who-grid-text{ grid-template-columns:1fr; gap:20px; }
}

.who-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:64px;
  align-items:start;
}
.who-p{
  color:var(--muted);
  font-size:1.05rem;
  max-width:56ch;
  margin-bottom:18px;
}
.who-p-close{
  color:var(--text);
  font-weight:500;
}
/* @component who-panel (About only) — capped to a sensible card size, not a
   column-filling monolith. */
.who-panel{ max-width:320px;
  background:var(--island);
  color:var(--island-text);
  border-radius:var(--r-card);
  padding:0;
  position:sticky;
  top:calc(var(--nav-h) + 24px);
  overflow:hidden;
}
.who-panel img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 22%;   /* keep the face, trim the torso */
}
.who-panel-portrait{
  width:100%;
  aspect-ratio:3/4;   /* portrait orientation, per Dustin */
  overflow:hidden;
}
.who-panel-portrait img{ width:100%; height:100%; object-fit:cover; }
.who-panel-body{ padding:18px 22px 20px; }
.who-panel-tag{
  display:inline-block;
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--june);
  border:1px solid rgba(212,201,94,.35);
  border-radius:var(--r-pill);
  padding:6px 14px;
  margin-bottom:20px;
}
.who-panel-name{
  font-size:1.4rem;
  font-weight:500;
  margin-bottom:6px;
}
.who-panel-role{
  color:var(--island-muted);
  font-size:.92rem;
  line-height:1.5;
}

@media (max-width:900px){
  .who-grid{ grid-template-columns:1fr; }
  .who-panel{ max-width:320px; position:static; max-width:360px; margin:0 auto; }
}

/* @component deck */
/*
   Sticky-stacking proof deck — the demo of the demo. Each card carries a
   .deck-card-head (number pill + client name, one line) as its first child
   so that content sits in the top ~56px of the card — the part still
   visible in the sliver once a later card pins over it. The 72px stacking
   increment (below) is sized to clear that header zone with margin, so the
   name never gets cut mid-text. */
.proof{ overflow:visible; }
.deck-track{
  position:relative;
  padding-top:8px;
  padding-bottom:32px;   /* the stack resolves, the page moves on */
}
.section.proof{ padding-bottom:24px; }
.deck-card{
  position:sticky;
  background:var(--surface);
  border:1px solid var(--ash);
  border-radius:var(--r-card);
  padding:28px 40px 34px;
  margin-bottom:380px;
  display:flex;
  flex-direction:column;
  gap:0;
}
html[data-theme="dark"] .deck-card{ border-color:var(--border); }
.deck-card:last-child{ margin-bottom:0; }
.deck-card:nth-child(1){ top:calc(var(--nav-h) + 28px); z-index:1; }
.deck-card:nth-child(2){ top:calc(var(--nav-h) + 100px); z-index:2; }
.deck-card:nth-child(3){ top:calc(var(--nav-h) + 172px); z-index:3; }
.deck-card:nth-child(4){ top:calc(var(--nav-h) + 244px); z-index:4; }

/* Always the top of the card — number pill + client name, one line, so it
   survives in the pinned sliver no matter how thin the reveal. */
.deck-card-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}
.deck-card-head .deck-index{ margin-bottom:0; flex-shrink:0; }
.deck-card-head .proof-name{ margin-bottom:0; font-size:1.05rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.deck-card-grid{
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:32px;
  align-items:center;
}
.deck-index{
  font-size:12px;
  font-weight:500;
  letter-spacing:.1em;
  color:var(--ink);
  background:var(--june);
  padding:4px 10px;
  border-radius:var(--r-pill);
  display:inline-block;
}
.proof-tag{
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--label);
  margin-bottom:14px;
}
.proof-name{
  font-size:1.4rem;
  font-weight:500;
  letter-spacing:-0.01em;
}
.proof-desc{ color:var(--muted); font-size:.98rem; margin-bottom:18px; }
.proof-link{
  font-size:.88rem;
  font-weight:500;
  color:var(--text);
  border-bottom:1px solid var(--stone);
  display:inline-block;
  width:fit-content;
}
.proof-link:hover{ border-color:var(--text); }

@media (max-width:820px){
  .deck-card-grid{ grid-template-columns:1fr; }
}

/* Degrade to a plain stacked list: reduced motion, or narrow viewports (<700px) */
@media (max-width:700px){
  .deck-track{ padding-bottom:0; display:flex; flex-direction:column; gap:20px; }
  .deck-card{ position:static; margin-bottom:0; padding:26px 24px 30px; }
}
@media (prefers-reduced-motion:reduce){
  .deck-track{ padding-bottom:0; display:flex; flex-direction:column; gap:20px; }
  .deck-card{ position:static; margin-bottom:0; }
}

/* @component testimonial-carousel */
/*
   Verbatim quotes, arrows + dots, crossfade. Fixed-height track so the
   layout never jumps between slides of different lengths. */
.testimonial-carousel{
  margin:8px auto 0;   /* full wrap width — three square cards side by side */
}
/* replaced: 3-up slider (track rules live below) */

.testimonial-slide blockquote{
  margin:0 0 24px;
  font-size:1.2rem;
  line-height:1.5;
  color:var(--text);
}
.testimonial-slide figcaption{ display:flex; flex-direction:column; gap:2px; }
.testimonial-name{ font-weight:500; }
.testimonial-role{ color:var(--muted); font-size:.88rem; }

.testimonial-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin-top:28px;
}
.testimonial-arrow{
  background:transparent;
  border:1px solid var(--border);
  border-radius:var(--r-pill);
  width:40px; height:40px;
  color:var(--text);
  cursor:pointer;
  font-size:1.1rem;
  line-height:1;
  transition:border-color .18s ease, color .18s ease, background-color .18s ease;
}
.testimonial-arrow:hover{ border-color:var(--june); background:var(--june); color:var(--ink); }
.testimonial-arrow:focus-visible{ outline:2px solid var(--june); outline-offset:2px; }
.testimonial-dots{ display:flex; gap:9px; }
.testimonial-dot{
  width:8px; height:8px;
  border-radius:50%;
  background:var(--border);
  border:none;
  cursor:pointer;
  padding:0;
  transition:background-color .18s ease, transform .18s ease;
}
.testimonial-dot.is-active{ background:var(--june); transform:scale(1.3); }
.testimonial-dot:focus-visible{ outline:2px solid var(--june); outline-offset:2px; }



/* Optional 2x2 grid presentation of the same testimonials, for pages that
   don't want the carousel competing with a nearby deck. */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
  margin-top:8px;
}
@media (max-width:700px){ .testimonial-grid{ grid-template-columns:1fr; } }
.testimonial-card{
  margin:0;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  padding:32px;
}
.testimonial-card blockquote{ margin:0 0 24px; font-size:1.05rem; line-height:1.55; color:var(--text); }
.testimonial-card figcaption{ display:flex; flex-direction:column; gap:2px; }

/* @component faq-accordion */
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-item:last-child{ border-bottom:none; }
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:transparent;
  border:none;
  padding:22px 4px;
  text-align:left;
  font-size:1.02rem;
  font-weight:500;
  color:var(--text);
  cursor:pointer;
}
.faq-question:focus-visible{ outline:2px solid var(--june); outline-offset:-2px; }
.faq-icon{
  flex:none;
  color:var(--label);
  font-weight:400;
  font-size:1.2rem;
  transition:transform .22s ease, color .22s ease;
}
.faq-question[aria-expanded="true"] .faq-icon{ transform:rotate(45deg); color:var(--june-ink); }
.faq-answer{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .25s ease; }
.faq-answer > div{ overflow:hidden; min-height:0; }
.faq-answer p{ font-size:.96rem; color:var(--muted); line-height:1.6; padding:0 4px; margin:0; }
.faq-item.is-open .faq-answer{ grid-template-rows:1fr; }
.faq-item.is-open .faq-answer p{ padding:0 4px 22px; }

/* @component tier-cards */
/*
   Three 28px cards; middle tier emphasized with a June Yellow index pill,
   never a full yellow wash. Spec-table-style inclusion lists. */
.tier-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  align-items:stretch;
}
@media (max-width:900px){ .tier-grid{ grid-template-columns:1fr; max-width:480px; margin:0 auto; } }
.tier-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  padding:36px 32px;
  display:flex;
  flex-direction:column;
}
.tier-card.is-recommended{ border-color:var(--june); }
.tier-badge{
  display:inline-flex;
  align-self:flex-start;
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink);
  background:var(--june);
  padding:7px 14px;
  border-radius:10px;
  margin-bottom:16px;
}
.tier-name{
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--label);
  margin-bottom:10px;
}
.tier-card h3{ font-size:1.35rem; font-weight:500; letter-spacing:-0.01em; margin-bottom:10px; }
.tier-desc{ color:var(--muted); font-size:.92rem; line-height:1.55; margin-bottom:24px; }
.tier-price{ display:flex; align-items:baseline; gap:8px; margin-bottom:26px; }
.tier-price .num{ font-size:2.2rem; font-weight:500; letter-spacing:-0.02em; }
.tier-price .suffix{ font-size:.85rem; color:var(--muted); }
.tier-feature-label{ font-size:.7rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--label); margin-bottom:14px; }
.tier-card ul{ display:flex; flex-direction:column; gap:11px; margin-bottom:28px; flex:1; }
.tier-card li{ font-size:.92rem; color:var(--text); padding-left:22px; position:relative; line-height:1.4; }
.tier-card li::before{
  content:"";
  position:absolute; left:0; top:.5em;
  width:8px; height:8px;
  border-radius:2px;
  background:var(--june);
}
.tier-cta{ margin-top:auto; }
.tier-cta .btn{ width:100%; }

/* @component form */
/*
   Floating-label fields. Backgrounds sit one tonal step above the section
   bg so fields read as inputs without a shadow. */
.form{ display:flex; flex-direction:column; gap:20px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:640px){ .form-row{ grid-template-columns:1fr; } }
.field{ position:relative; }
.field input,
.field select,
.field textarea{
  width:100%;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  padding:22px 18px 10px;
  font-family:inherit;
  font-size:.98rem;
  color:var(--text);
  transition:border-color .18s ease;
}
.field textarea{ min-height:140px; resize:vertical; }
.field select{ appearance:none; background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position:calc(100% - 22px) 26px, calc(100% - 16px) 26px; background-size:6px 6px; background-repeat:no-repeat; }
.field input:focus,
.field select:focus,
.field textarea:focus{ outline:none; border-color:var(--june); }
.field label{
  position:absolute;
  left:18px; top:18px;
  font-size:.98rem;
  color:var(--label);
  pointer-events:none;
  transition:transform .15s ease, font-size .15s ease, color .15s ease, top .15s ease;
  transform-origin:left top;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label{
  top:9px;
  font-size:.7rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
}
.field.is-select label{ top:9px; font-size:.7rem; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.form-submit{ margin-top:4px; }
.form-note{ font-size:.82rem; color:var(--label); margin-top:14px; max-width:52ch; }

/* @component island */
/*
   Reusable dark closing-CTA panel. Second rationed June Yellow moment lives
   in its CTA, not in the panel fill. */
.island{
  background:var(--island);
  color:var(--island-text);
  border-radius:var(--r-card);
  max-width:calc(var(--max) - 48px);
  margin:0 auto;
  padding:20px;
  text-align:center;
  display:flex;
  justify-content:center;
}
@media (max-width:600px){ .island{ padding:clamp(3rem,10vw,4rem) 20px; } }
.island-inner{ max-width:640px; padding:0; margin:0; display:flex; flex-direction:column; align-items:center; }
.island-sub{ color:var(--island-muted); font-size:1.02rem; max-width:52ch; margin:14px auto 26px; }
.island-note{ margin-top:20px; font-size:.85rem; color:var(--island-muted); }
.island-fine{ margin:44px auto 0; padding-top:32px; border-top:1px solid var(--island-border); font-size:.9rem; color:var(--island-muted); max-width:52ch; text-align:center; }
.island-fine a{ color:var(--june); font-weight:500; }
.island .btn-outline{ border-color:var(--island-border); color:var(--island-text); }
.island .btn-outline:hover{ background:var(--island-raised); border-color:var(--island-muted); }

/* ---------- Footer ---------- */
.site-footer{
  background:var(--bg);
  border-top:1px solid var(--border);
  padding:72px 0 0;
}
.footer-inner{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:56px;
}
@media (max-width:800px){ .footer-inner{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .footer-inner{ grid-template-columns:1fr; } }
.footer-logo{ display:flex; align-items:center; gap:8px; font-weight:500; font-size:1.05rem; margin-bottom:14px; }
.footer-tagline{ color:var(--muted); font-size:.9rem; max-width:32ch; }
.footer-col-title{
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--label);
  margin-bottom:16px;
}
.footer-link{ display:block; color:var(--muted); font-size:.92rem; padding:5px 0; }
.footer-link:hover{ color:var(--text); }
.footer-link-static{ padding:5px 0; }
.footer-bottom{ border-top:1px solid var(--border); padding:22px 0; color:var(--label); font-size:.82rem; }

/* @component theme-toggle */
.theme-toggle{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:200;
  width:52px;
  height:52px;
  border-radius:var(--r-pill);
  background:var(--surface);
  border:1px solid var(--border);
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background-color .2s ease, border-color .2s ease, transform .18s ease;
}
.theme-toggle:hover{ transform:translateY(-2px); border-color:var(--stone); }
.theme-toggle:focus-visible{ outline:2px solid var(--june); outline-offset:3px; }
.icon-sun,.icon-moon{ display:none; }
/* Light mode is default: show moon (click -> dark) */
html[data-theme="light"] .icon-moon{ display:block; }
html[data-theme="dark"] .icon-sun{ display:block; }

/* @component view-toggle */
/*
   Sliding WEBSITE ⇄ DESIGN SYSTEM switch, bottom-left on every page. The
   knob slides on click, then main.js navigates after the transition — same
   pattern as the Kimbrell build, minus its box-shadow (depth here comes
   from the border + the raised-vs-inset tonal step instead). */
.view-toggle{
  position:fixed;
  left:24px;
  bottom:24px;
  z-index:200;
  display:inline-flex;
  align-items:center;
  padding:4px;
  border-radius:var(--r-pill);
  background:var(--surface);
  border:1px solid var(--border);
  cursor:pointer;
  user-select:none;
  isolation:isolate;
}
.view-toggle:focus-visible{ outline:2px solid var(--june); outline-offset:3px; }
.view-toggle .knob{
  border-radius:8px;   /* inner radius: container 12px minus its 4px inset */
  position:absolute;
  top:4px;
  left:4px;
  height:calc(100% - 8px);
  background:var(--june);
  z-index:-1;
  transition:transform .28s cubic-bezier(.4,0,.2,1), width .28s cubic-bezier(.4,0,.2,1);
}
.view-toggle span{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 15px;
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
  color:var(--muted);
  transition:color .28s ease;
}
.view-toggle span.on{ color:var(--ink); }
@media (prefers-reduced-motion:reduce){ .view-toggle .knob{ border-radius:8px; transition:none; } }
@media (max-width:480px){
  .view-toggle{ left:16px; bottom:16px; }
  .view-toggle span{ padding:8px 11px; font-size:.62rem; }
  .theme-toggle{ right:16px; bottom:16px; width:46px; height:46px; }
}

/* @component quote-pull */
/*
   Centered pull-quote, plain (no yellow wash) — used on about.html's "The
   Studio" moment so the page's rationed yellow stays with the principle
   numerals instead. */
.quote-pull{ padding:12px 0 8px; }
.quote-pull-inner{ max-width:760px; margin:0 auto; text-align:center; }
.quote-pull-text{
  font-size:clamp(1.35rem, 1.6vw + 1rem, 2.1rem);
  font-weight:500;
  letter-spacing:-0.02em;
  line-height:1.35;
  color:var(--text);
}

/* @component principles-grid */
.principles-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:24px; }
@media (max-width:820px){ .principles-grid{ grid-template-columns:1fr; } }
.principle-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  padding:34px 32px;
}
.principle-num{
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.08em;
  color:var(--june-ink);
  display:block;
  margin-bottom:16px;
}
.principle-card h3{ font-size:1.15rem; font-weight:500; letter-spacing:-0.01em; margin-bottom:10px; }
.principle-card p{ color:var(--muted); font-size:.95rem; line-height:1.6; }

/* @component work-grid */
/*
   Static (non-sticky) grid presentation of client-site cards, distinct from
   the homepage's sticky-stacking deck so the two pages don't compete for the
   same visual trick. */
.work-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:28px; }
@media (max-width:820px){ .work-grid{ grid-template-columns:1fr; } }
/* A lone trailing card in an odd-count grid spans full width instead of
   leaving an orphaned half-empty row (caught in QA: 4EMC DJ Services). */

.work-grid > .work-card:last-child:nth-child(odd) .work-card-desc,
.work-grid > .work-card:last-child:nth-child(odd) .work-card-note{ max-width:60ch; }
.work-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  padding:32px 32px 36px;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.work-card.is-text-only{ justify-content:center; min-height:200px; }
.work-card-tag{ font-size:.68rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--label); }
.work-card-name{ font-size:1.25rem; font-weight:500; letter-spacing:-0.01em; }
.work-card-desc{ color:var(--muted); font-size:.94rem; line-height:1.55; }
.work-card-link{ font-size:.86rem; font-weight:500; color:var(--text); border-bottom:1px solid var(--stone); width:fit-content; }
.work-card-link:hover{ border-color:var(--text); }
.work-card-note{ font-size:.86rem; color:var(--label); font-style:italic; }

/* @component stats-grid */
.stats-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:32px; padding-top:32px; border-top:1px solid var(--border); }
@media (max-width:820px){ .stats-grid{ grid-template-columns:repeat(2, 1fr); } }
.stat-num{ font-size:clamp(2rem, 2.4vw + 1rem, 2.8rem); font-weight:500; letter-spacing:-0.02em; color:var(--text); display:block; margin-bottom:10px; }
.stat-label{ color:var(--muted); font-size:.88rem; line-height:1.45; }

/* what-we-build helpers
   Small layout utilities specific to the tiers/care/FAQ page so no page ever
   needs an inline style attribute. */
.section-sub{ font-size:1.05rem; color:var(--muted); max-width:64ch; margin:0 0 40px; }
.subsection-title{ font-size:1.02rem; font-weight:500; letter-spacing:-0.01em; margin-bottom:20px; }
.tier-grid-single{ grid-template-columns:1fr; max-width:380px; margin-bottom:56px; }
.care-plans-note{ text-align:center; margin-top:36px; color:var(--muted); font-size:.92rem; max-width:64ch; margin-left:auto; margin-right:auto; }
.care-plans-note a{ color:var(--text); font-weight:500; border-bottom:1px solid var(--stone); }
.care-plans-note a:hover{ border-color:var(--text); }
.text-center{ text-align:center; }
.scope-card{ max-width:760px; margin:0 auto; }
.scope-card h3{ margin-bottom:14px; }
.scope-card p{ color:var(--muted); font-size:.98rem; line-height:1.6; margin-bottom:14px; }
.scope-card p:last-child{ margin-bottom:0; }

/* contact helpers */
.contact-wrap{ max-width:640px; }
.contact-info-strip{
  margin-top:56px;
  padding-top:40px;
  border-top:1px solid var(--border);
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}
@media (max-width:640px){ .contact-info-strip{ grid-template-columns:1fr; gap:28px; } }
.contact-info-strip .footer-link{ padding:0; }
.contact-info-body{ margin:0; }

/* ---------- Guard rails ---------- */
section{ overflow:hidden; }

/* tighten the seam between a page hero and its first section */
.page-hero + .section{ padding-top:36px; }


/* @component proof-tabs */
/* One card, four tabs — replaced the sticky deck at Dustin's direction
   (the scroll cost outweighed the trick). Active tab = June Yellow pill. */
.proof-tabs{ margin-top:8px; }
.proof-tab-bar{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
.proof-tab{
  display:inline-flex; align-items:center; gap:9px;
  padding:11px 18px; border-radius:var(--r-pill);
  border:1px solid var(--border); background:var(--surface);
  color:var(--muted); font-size:.92rem; font-weight:500; cursor:pointer;
  transition:background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.proof-tab .proof-tab-num{ font-size:.72rem; letter-spacing:.06em; opacity:.7; }
.proof-tab:hover{ border-color:var(--muted); color:var(--text); }
.proof-tab.is-active{ background:var(--june); border-color:var(--june); color:#14140F; }
.proof-tab.is-active .proof-tab-num{ opacity:1; }
.proof-panel{ display:none; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-card); padding:clamp(24px,3.4vw,44px); }
.proof-panel.is-active{ display:block; }
@media (max-width:640px){ .proof-tab{ padding:9px 13px; font-size:.84rem; } }


/* stage eyebrows pop june — deepened tone in light (raw #D4C95E is 1.7:1 on
   white), true yellow in dark */
.how-it-works .tier-name{ color:var(--june-ink); }
html[data-theme="dark"] .how-it-works .tier-name{ color:var(--june); }

/* nav CTA hover: full-bleed ink with June Yellow text */

/* about principles: full-bleed hover fill */
.principle-card{ transition:background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.principle-card:hover{
  background:var(--island); border-color:var(--island);
  transform:translateY(-2px);
}
.principle-card:hover h3{ color:var(--island-text); }
.principle-card:hover p{ color:var(--island-muted); }
.principle-card:hover .principle-num{ color:var(--june); }

/* promise: centered saying with a june divider bar */
.promise-wrap{ text-align:center; }
.promise-wrap .section-label{ justify-content:center; }
.promise-bar{ display:block; width:56px; height:4px; border-radius:2px;
  background:#14140F; opacity:.55; margin:18px auto 26px; }
.promise-statement{ margin-inline:auto; }



/* testimonial grid cards: roomy, nothing clipped, nothing moving */
.testimonial-card{ padding:34px 36px; display:flex; flex-direction:column; gap:20px; justify-content:space-between; }
.testimonial-card blockquote{ margin:0; font-size:1.02rem; line-height:1.6; }

/* island: shorter now that everything below the CTA is gone */
.island-inner{ padding-block:clamp(3rem,5.5vw,4.5rem); }

/* featured tier (The Essential, The Apple): visibly the one to look at */
.tier-card.is-recommended{
  border:2px solid var(--june);
  background:var(--surface);
  padding-top:40px; padding-bottom:40px;
}
@media (min-width:821px){
  .tier-card.is-recommended{ margin-top:-16px; margin-bottom:-16px; }
}
.tier-badge-neutral{
  background:var(--ink);
  border:1px solid var(--ink);
  color:var(--white);
  transition:background-color .18s ease, color .18s ease, border-color .18s ease;
}
.tier-badge-neutral:hover{
  background:var(--june);
  border-color:var(--june);
  color:var(--ink);
}

/* care plans: all four visible together on desktop and tablet */
.care-grid{ grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px; }
@media (max-width:1023px){ .care-grid .tier-card{ padding:24px 20px; } .care-grid .tier-price .num{ font-size:1.7rem; } }
@media (max-width:767px){ .care-grid{ grid-template-columns:1fr; } }


/* real brand lockup from the live site */
.nav-logo-img, .logo img.nav-logo-img{ height:50px; width:auto; display:block; max-height:none; }
@media (max-width:520px){ .nav-logo-img, .logo img.nav-logo-img{ height:42px; } }
.footer-logo-img, .footer-logo img.footer-logo-img, .footer-logo picture img{ height:150px; width:auto; display:block; max-height:none; }   /* CLS-scale footer mark */
.footer-logo-dark{ display:none; }
html[data-theme="dark"] .footer-logo-light{ display:none; }
html[data-theme="dark"] .footer-logo-dark{ display:block; }

/* 1+13. closing island: much shorter, every page */
.island-inner{ padding-block:clamp(2rem,2.8vw,2.6rem); }
.section.start-cta{ padding-block:56px; }
.start-h2{ font-size:clamp(1.9rem,2.6vw,2.6rem); }

/* 2. promise text spreads wider */
.promise-statement{ max-width:980px; }

/* 3. Perk-style segmented tab control: one white pill container */
.proof-tab-bar{
  display:inline-flex; gap:4px; flex-wrap:wrap;
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-pill); padding:5px; margin-bottom:22px;
}
.proof-tab{ border:none; background:transparent; padding:10px 16px; }
.proof-tab:hover{ color:var(--text); }
.proof-tab.is-active{ background:var(--june); color:#14140F; }

/* 8. principle numbers big, like the LIB card style */
.principle-card{ position:relative; }
.principle-card .principle-num{
  position:absolute; top:18px; right:24px;
  font-size:3.4rem; font-weight:600; letter-spacing:-0.02em; line-height:1;
}
.principle-card h3{ padding-right:90px; }

/* 9. phones slightly less rounded */
.device-frame-mobile{ border-radius:16px; }
.device-frame-mobile .device-frame-body,
.device-frame-mobile img{ border-radius:10px; }

/* 11. work stats centered */
.stats-grid{ text-align:center; }

/* 12. pricing scope note: slim centered prose, not a floating card */
.scope-section{ padding-block:48px; }
.scope-section .wrap > *{ text-align:center; }
.scope-card{ background:transparent; border:none; padding:0; max-width:70ch; margin:0 auto; }


/* live-site-style center carousel, translated to Charged Parchment */
.t-carousel{ overflow:hidden; position:relative; padding:12px 0 0; }
.t-track{ display:flex; gap:24px; align-items:stretch; transition:transform 380ms cubic-bezier(.4,0,.2,1); }
.t-slide{
  flex:0 0 46%;
  margin:0; padding:34px 36px 30px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-card);
  opacity:.45; transition:opacity 320ms ease, background 320ms ease;
  display:flex; flex-direction:column; gap:22px;
}
.t-slide.is-active{ opacity:1; background:color-mix(in srgb, var(--june) 14%, var(--surface)); border-color:color-mix(in srgb, var(--june) 45%, var(--border)); }
.t-quotemark{ font-size:3rem; line-height:.6; color:var(--june-ink); font-weight:600; }
html[data-theme="dark"] .t-quotemark{ color:var(--june); }
.t-slide blockquote{ margin:0; font-size:1.04rem; line-height:1.6; }
.t-slide figcaption{ display:flex; align-items:center; gap:14px; margin-top:auto; }
.t-avatar{
  width:44px; height:44px; border-radius:50%; flex:none;
  display:grid; place-items:center; font-weight:600;
  background:var(--june); color:#14140F;
}
.t-meta{ display:flex; flex-direction:column; gap:1px; }
.t-controls{ display:flex; align-items:center; justify-content:center; gap:18px; margin-top:28px; }
.t-arrow{
  width:44px; height:44px; border-radius:var(--r-pill);
  border:1px solid var(--border); background:var(--surface); color:var(--text);
  font-size:1.3rem; line-height:1; cursor:pointer;
  transition:border-color 160ms ease, background 160ms ease;
}
.t-arrow:hover{ border-color:var(--muted); }
.t-dots{ display:flex; gap:8px; align-items:center; }
.t-dot{ width:8px; height:8px; border-radius:999px; background:var(--border); transition:all 240ms ease; }
.t-dot.is-active{ width:26px; background:var(--june-ink); }
html[data-theme="dark"] .t-dot.is-active{ background:var(--june); }
.t-sub{ margin-top:-6px; }
@media (max-width:900px){ .t-slide{ flex-basis:72%; } }
@media (max-width:640px){ .t-slide{ flex-basis:88%; padding:26px 24px; } }
@media (prefers-reduced-motion:reduce){ .t-track{ transition:none; } }


/* testimonial cards are white in light theme; active reads via border */
.t-slide{ background:var(--white); }
.t-slide.is-active{ background:var(--white); border-color:color-mix(in srgb, var(--june) 55%, var(--border)); border-width:2px; }
html[data-theme="dark"] .t-slide{ background:var(--surface); }
html[data-theme="dark"] .t-slide.is-active{ background:color-mix(in srgb, var(--june) 14%, var(--surface)); border-width:1px; }


.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.footer-tag{ color:var(--muted); }

.btn, .btn-outline{ border-radius:var(--r-pill); }


/* ==========================================================================
   INVERTED NAV — the system rule (2026-08-18, Dustin)
   The floating nav is always the opposite of the page behind it:
   ink bar on the light theme, paper bar on the dark theme. This is what
   gives the bar its own layer -- matched colours read at 1.00:1 and the
   hairline border was only ever a patch for that.
   Light: ink nav  16.84:1 against the page, yellow CTA 10.83:1 on it.
   Dark:  paper nav 18.47:1 against the page.
   ========================================================================== */

/* --- light theme: ink nav --- */
.site-header{ background:var(--ink); border-color:transparent; }
.nav-link{ color:var(--parchment); }
.nav-menu-bar{ background:var(--parchment); }
.btn-nav-pill{ background:var(--june); color:var(--ink); }
.btn-nav-pill:hover{ background:#E4DA76; color:var(--ink); }
.nav-mobile-panel{ background:var(--ink); border-color:rgba(245,245,235,.18); }
.nav-mobile-link{ color:var(--parchment); }

/* --- dark theme: paper nav --- */
html[data-theme="dark"] .site-header{ background:var(--parchment); border-color:transparent; }
html[data-theme="dark"] .nav-link{ color:var(--ink); }
html[data-theme="dark"] .nav-menu-bar{ background:var(--ink); }
html[data-theme="dark"] .btn-nav-pill{
  background:var(--june); color:var(--ink);
  border:1px solid rgba(20,20,15,.20);   /* june on paper is a weak edge on its own */
}
html[data-theme="dark"] .btn-nav-pill:hover{ background:#C7BC4E; color:var(--ink); }
html[data-theme="dark"] .nav-mobile-panel{ background:var(--parchment); border-color:var(--ash); }
html[data-theme="dark"] .nav-mobile-link{ color:var(--ink); }

/* logo follows the BAR, not the theme.
   Written at .logo-img weight: `.logo img.nav-logo-img{display:block}` above
   out-specifies a bare class, which rendered BOTH lockups side by side. */
.logo .nav-logo-ondark{ display:block; }
.logo img.nav-logo-onlight{ display:none; }
html[data-theme="dark"] .logo .nav-logo-ondark{ display:none; }
html[data-theme="dark"] .logo img.nav-logo-onlight{ display:block; }

/* ===========================================================
   PARTNER + FUNNEL — rebuilt onto Charged Parchment (2026-08-26)
   New components needed for the two legacy pages. Everything else on
   those pages reuses tier-grid/tier-card, care-grid, quote-pull,
   testimonial-card, stats-grid, island and proof-tab verbatim.
   =========================================================== */

/* @component split-grid */
/* Generic responsive two-column split — text+visual or text+text rows that
   don't need a dedicated component (SEO definition, GBP/CRM feature rows). */
.split-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.split-grid.split-grid-uneven{ grid-template-columns:.9fr 1.1fr; }
@media (max-width:900px){ .split-grid{ grid-template-columns:1fr; gap:32px; } }

/* @component media-frame */
/* Plain rounded photo box — no browser chrome — for the two stock/lifestyle
   images funnel.html already ships (frame-desk, frame-cafe). */
.media-frame{
  border-radius:var(--r-card);
  border:1px solid var(--border);
  overflow:hidden;
  background:var(--surface);
  aspect-ratio:4/3;
}
.media-frame img{ width:100%; height:100%; object-fit:cover; }

/* @component dark-panel */
/* Inline dark callout — one rationed dark moment inside a section, distinct
   from the closing .island (which is always a full-width CTA). Used for the
   SEO growth chart and the Partner Split panel. */
.dark-panel{
  background:var(--island);
  color:var(--island-text);
  border-radius:var(--r-card);
  padding:clamp(28px,3.6vw,44px);
  margin-top:32px;
}
.dark-panel h3{ color:var(--island-text); font-size:1.1rem; font-weight:500; margin-bottom:6px; }
.dark-panel h4{ color:var(--island-text); font-size:.98rem; font-weight:500; margin-bottom:8px; }
.dark-panel > p,
.dark-panel-sub{ color:var(--island-muted); font-size:.9rem; line-height:1.6; margin-bottom:22px; }
.dark-panel-label{ font-size:.72rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--june); margin-bottom:14px; display:block; }
.dark-panel-cell p{ color:var(--island-muted); font-size:.88rem; line-height:1.6; margin:0; }
.dark-panel-note{ margin:24px 0 0; font-size:.82rem; line-height:1.6; color:var(--island-muted); max-width:74ch; }

/* @component receive-chips */
/* Checkmark pill row — "you receive" summaries on funnel.html's chapters. */
.receive-chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.receive-chip{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-pill);
  padding:9px 16px; font-size:.86rem; font-weight:500; color:var(--text);
}
.receive-chip::before{ content:"✓"; color:var(--june-ink); font-weight:700; font-size:.8rem; }
html[data-theme="dark"] .receive-chip::before{ color:var(--june); }

/* @component film-grid (partner.html) */
/* A grid of short product films — distinct from the single hero .film-frame.
   Regular cards run 3-up; a featured card (the overview + closing films)
   spans full width and reuses .deck-card-grid for its internal split. */
.film-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
@media (max-width:900px){ .film-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .film-grid{ grid-template-columns:1fr; } }
.film-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-card);
  overflow:hidden; display:flex; flex-direction:column;
}
.film-card .film-frame{ border:none; border-radius:0; border-bottom:1px solid var(--border); }
.film-card-body{ padding:22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.film-card-num{ font-size:.7rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--label); margin-bottom:10px; }
.film-card-body h3{ font-size:1.1rem; font-weight:500; letter-spacing:-0.01em; margin-bottom:8px; }
.film-card-body p{ color:var(--muted); font-size:.88rem; line-height:1.55; margin-bottom:14px; }
.film-meta{ display:flex; gap:8px; align-items:center; font-size:.7rem; font-weight:500; letter-spacing:.06em; text-transform:uppercase; color:var(--label); margin-top:auto; }
.film-card--featured{ grid-column:1/-1; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-card); padding:clamp(20px,2.6vw,32px); }
.film-card--featured .deck-card-grid{ grid-template-columns:1.2fr 1fr; }
.film-card--featured .film-frame{ border:1px solid var(--border); border-radius:var(--r-card); }
.film-card--featured .film-card-num{ color:var(--june-ink); }
html[data-theme="dark"] .film-card--featured .film-card-num{ color:var(--june); }
.film-card-disclosure{ margin-top:16px !important; padding-top:14px; border-top:1px solid var(--border); font-size:.78rem !important; color:var(--label) !important; }
@media (max-width:820px){ .film-card--featured .deck-card-grid{ grid-template-columns:1fr; } }

/* @component brand-logos (funnel.html) */
/* Client logo strip — proof-we-use-what-we-sell, restrained tonal card. */
.brand-logos{
  display:grid; grid-template-columns:repeat(7, 1fr); gap:24px;
  align-items:center; justify-items:center;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-card);
  padding:32px 28px;
}
.brand-logos img{ max-height:36px; width:auto; }
html[data-theme="dark"] .brand-logos img{ filter:brightness(0) invert(1); opacity:.82; }
@media (max-width:900px){ .brand-logos{ grid-template-columns:repeat(4, 1fr); gap:28px 20px; } }
@media (max-width:560px){ .brand-logos{ grid-template-columns:repeat(3, 1fr); gap:24px 16px; padding:26px 20px; } }

/* grid-count helper variants (alongside the existing .tier-grid-single) */
.tier-grid-5{ grid-template-columns:repeat(5, 1fr); }
@media (max-width:1023px){ .tier-grid-5{ grid-template-columns:repeat(3, 1fr); } }
@media (max-width:640px){ .tier-grid-5{ grid-template-columns:1fr; max-width:420px; margin:0 auto; } }
.stats-grid.cols-3{ grid-template-columns:repeat(3, 1fr); }
@media (max-width:820px){ .stats-grid.cols-3{ grid-template-columns:1fr; } }
