/* ==========================================================================
   Bluestem Digital — site styles
   Palette: Aubergine #482139 · Champagne #B5A078 · White #FFFFFF
   ========================================================================== */

/* --- tokens ---------------------------------------------------------- */
:root {
  --plum:          #482139;
  --plum-900:      #2b1322;
  --plum-800:      #3a1a2e;
  --plum-600:      #5e2c4a;
  --plum-400:      #855d74;

  --champagne:     #b5a078;
  --champagne-300: #d8c9a9;
  --champagne-100: #efe7d9;
  --champagne-700: #7d6e53;   /* darkened from #8d7a56 to clear 4.5:1 on cream */

  --white:         #ffffff;
  --cream:         #faf7f3;
  --cream-200:     #f1ebe4;

  --ink:           #1e1119;
  --body:          #4a3d44;
  --muted:         #7c6b75;
  --line:          #e7dfe3;
  --line-dark:     #6a4459;

  --radius:        4px;
  --radius-lg:     10px;

  --shadow-sm:     0 1px 2px rgba(30, 17, 25, .06), 0 2px 8px rgba(30, 17, 25, .05);
  --shadow-md:     0 4px 12px rgba(30, 17, 25, .08), 0 16px 32px rgba(30, 17, 25, .07);
  --shadow-lg:     0 8px 24px rgba(30, 17, 25, .12), 0 32px 64px rgba(30, 17, 25, .1);

  --font:          'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:          'Roboto Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter:        clamp(20px, 5vw, 56px);
  --maxw:          1240px;
  --section-y:     clamp(64px, 9vw, 128px);
}

/* --- reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: clamp(16px, .55vw + 14.6px, 17.5px);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--champagne); color: var(--plum-900); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--plum); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
  transition: top .18s;
}
.skip-link:focus { top: 12px; }

/* --- type ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-variation-settings: 'wdth' 112;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -.018em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.1vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: -.005em; }

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--champagne-700);
  margin-bottom: 18px;
  display: block;
}
.eyebrow--light { color: var(--champagne-300); }

.lede {
  font-size: clamp(1.06rem, 1.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--body);
  max-width: 62ch;
}
.lede--light { color: rgba(255, 255, 255, .82); }

.rule {
  width: 72px; height: 3px; border: 0;
  background: var(--champagne);
  margin: 0 0 28px;
}

/* --- layout ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--cream { background: var(--cream); }
.section--plum { background: var(--plum); color: rgba(255, 255, 255, .8); }
.section--plum h2, .section--plum h3, .section--plum h4 { color: var(--white); }

.section-head { max-width: 68ch; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head p { margin-top: 18px; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }

/* --- buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font-weight: 700; font-size: .95rem;
  letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .17s, color .17s, border-color .17s, transform .17s, box-shadow .17s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* inline icons carry no intrinsic size — pin them or they blow the button out */
.btn > svg, .header__phone > svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary { background: var(--plum); color: var(--white); border-color: var(--plum); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--plum-800); border-color: var(--plum-800); box-shadow: var(--shadow-md); }

.btn--gold { background: var(--champagne); color: var(--plum-900); border-color: var(--champagne); }
.btn--gold:hover { background: var(--champagne-300); border-color: var(--champagne-300); }

.btn--ghost { background: transparent; color: var(--plum); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--plum); background: var(--white); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .34); }
.btn--ghost-light:hover { border-color: var(--champagne); color: var(--champagne-300); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.arrow { transition: transform .17s; }
.btn:hover .arrow, .textlink:hover .arrow { transform: translateX(4px); }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem;
  color: var(--plum);
  text-decoration: none;
  border-bottom: 2px solid var(--champagne);
  padding-bottom: 2px;
  transition: color .17s, border-color .17s;
}
.textlink:hover { color: var(--plum-600); border-color: var(--plum-600); }
.textlink--light { color: var(--champagne-300); }
.textlink--light:hover { color: var(--white); border-color: var(--white); }

/* --- header ---------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s, background-color .2s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 10px 15px;
  font-size: .93rem; font-weight: 600;
  color: var(--body);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .16s, background-color .16s;
}
.nav a:not(.btn):hover { color: var(--plum); background: var(--cream); }
.nav a[aria-current='page'] { color: var(--plum); font-weight: 700; }
/* the in-nav CTA is for the mobile drawer only */
.nav > .btn { display: none; }

.header__cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--mono); font-size: .9rem; font-weight: 500;
  color: var(--plum); text-decoration: none;
  white-space: nowrap;
  /* on phones this collapses to just the icon — keep a thumb-sized hit area */
  min-height: 44px; min-width: 44px;
}
.header__phone:hover { color: var(--plum-600); }
.header__cta .btn { padding: 12px 22px; font-size: .9rem; }

.burger {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 46px; height: 46px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 20px; height: 2px; background: var(--plum);
  position: relative; transition: background-color .16s;
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--plum); transition: transform .2s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: flex; }
  .header__cta .btn, .header__phone span { display: none; }
  .nav {
    position: fixed; inset: 78px 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav > .btn { display: inline-flex; margin-top: 18px; justify-content: center; border-bottom: 0; }
}

/* --- hero ------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; background: var(--plum-900); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    /* the barn interior footage is already dark — keep the scrim light enough
       that the pens still read behind the headline */
    linear-gradient(to right, rgba(43, 19, 34, .88) 0%, rgba(43, 19, 34, .64) 44%, rgba(43, 19, 34, .26) 76%, rgba(43, 19, 34, .14) 100%),
    linear-gradient(to top, rgba(43, 19, 34, .66) 0%, transparent 50%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(90px, 15vw, 190px);
  max-width: 44rem;
}
.hero h1 { color: var(--white); }
.hero h1 em {
  font-style: normal;
  color: var(--champagne);
  display: block;
}
.hero .lede { margin-top: 26px; }

.hero--sub .hero__inner { padding-block: clamp(70px, 10vw, 118px); max-width: 52rem; }
.hero--sub h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }

/* --- stat band ------------------------------------------------------- */
.stats {
  background: var(--plum);
  border-top: 4px solid var(--champagne);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 1px;
  background: var(--line-dark);
}
.stat { background: var(--plum); padding: clamp(26px, 3.4vw, 42px) clamp(18px, 2.4vw, 32px); }
.stat__num {
  font-size: clamp(2.1rem, 3.9vw, 3.15rem);
  font-weight: 800;
  font-variation-settings: 'wdth' 112;
  line-height: 1;
  color: var(--champagne);
  letter-spacing: -.028em;
  display: flex; align-items: baseline; gap: 5px;
}
.stat__num sup {
  font-size: .4em; font-weight: 700; color: var(--champagne-300);
  letter-spacing: 0; top: -.2em; position: relative;
}
.stat__unit {
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--champagne-300);
  margin-top: 12px;
}
.stat__label {
  margin-top: 7px;
  font-size: .93rem; font-weight: 600; line-height: 1.35;
  color: rgba(255, 255, 255, .84);
}

/* --- cards ----------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--champagne); }
.card h3 { margin-bottom: 12px; }
.card.step h3 { font-size: 1.05rem; letter-spacing: -.005em; }
.card p { margin-bottom: 18px; }
.card .textlink { margin-top: auto; align-self: flex-start; }

.card__icon {
  width: 46px; height: 46px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--champagne-100);
  border-radius: var(--radius);
  color: var(--plum);
}
.card__icon svg { width: 24px; height: 24px; }

.card--dark { background: var(--plum-800); border-color: var(--line-dark); color: rgba(255, 255, 255, .78); }
.card--dark .card__icon { background: rgba(181, 160, 120, .18); color: var(--champagne); }

/* numbered step cards */
.step { position: relative; padding-top: 8px; }
.step__num {
  font-family: var(--mono);
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  color: var(--champagne-700);
  display: block; margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--champagne);
}
.step h3 { margin-bottom: 9px; font-size: 1.05rem; letter-spacing: -.005em; }
.step p { font-size: .96rem; }
.section--plum .step__num { color: var(--champagne); }

/* --- split / feature rows ------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 760px) { .split--reverse > :first-child { order: 0; } }

.split__body h2 { margin-bottom: 20px; }
.split__body p + p { margin-top: 16px; }

.shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-200);
}
.shot img { width: 100%; }
.shot--framed { border: 1px solid var(--line); }

figure.shot figcaption {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  padding: 12px 16px; background: var(--white);
  border-top: 1px solid var(--line);
}

/* --- spec list ------------------------------------------------------- */
.specs { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.specs li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.specs dt, .specs .k {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  flex-shrink: 0;
}
.specs .v { font-weight: 700; color: var(--ink); text-align: right; }
.specs__link {
  color: inherit; text-decoration: none;
  /* padded so the phone/email rows are tappable, not 16px of text */
  display: inline-block; padding: 6px 0; word-break: break-word;
}
.specs__link:hover { color: var(--plum-600); text-decoration: underline; }
.section--plum .specs { border-color: var(--line-dark); }
.section--plum .specs li { border-color: var(--line-dark); }
.section--plum .specs .k { color: var(--champagne-300); }
.section--plum .specs .v { color: var(--white); }

/* --- logo wall ------------------------------------------------------- */
.logowall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: 8px;
  /* no container fill: a short last row leaves plum, not an empty box */
}
.logowall__cell {
  background: #4e2740;               /* a shade off the section so tiles read */
  /* a fixed height (not aspect-ratio) keeps every row level regardless of how
     tall or wide the individual barn logo happens to be */
  height: clamp(74px, 7.4vw, 88px);
  display: flex; align-items: center; justify-content: center;
  padding: 8px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  transition: background-color .2s, border-color .2s;
}
.logowall__cell:hover { background: var(--plum-600); border-color: rgba(181, 160, 120, .5); }
.logowall__cell img {
  /* every barn logo is pre-padded to one canvas, so contain-fit is uniform */
  width: 100%; height: 100%;
  object-fit: contain;
  filter: saturate(.9);
  transition: filter .2s, transform .2s;
}
.logowall__cell:hover img { filter: saturate(1); transform: scale(1.04); }
.logowall__cell--text {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--champagne-300);
  text-align: center; line-height: 1.5;
}

/* --- network table --------------------------------------------------- */
.state-group + .state-group { margin-top: clamp(44px, 5vw, 68px); }
.state-group__head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 2px solid var(--plum);
}
.state-group__head h3 { font-size: 1.15rem; }
.state-group__count {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}

.barn {
  display: grid;
  grid-template-columns: 136px minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: 20px; align-items: center;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color .16s;
}
.barn:hover { background: var(--cream); }
.barn__logo {
  /* 136 x 52 ~= the 400x150 canvas every logo is padded to, so the art fills
     the tile instead of letterboxing inside it */
  height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--plum);
  border-radius: var(--radius);
  overflow: hidden;
}
/* px cap rather than a percentage — percentage heights are unreliable for an
   image inside a fixed-height grid item, and tall logos were spilling the row */
.barn__logo img { width: 100%; height: 100%; object-fit: contain; }
.barn__logo--empty {
  background: var(--cream-200);
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
}
.barn__name { font-weight: 700; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.barn__city { font-family: var(--mono); font-size: .86rem; color: var(--muted); }
.barn__tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }

@media (max-width: 720px) {
  .barn {
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-areas: 'logo name' 'logo city' 'tags tags';
    gap: 4px 16px; padding: 18px 10px;
  }
  .barn__logo { grid-area: logo; height: 34px; align-self: start; }
  .barn__name { grid-area: name; }
  .barn__city { grid-area: city; }
  .barn__tags { grid-area: tags; justify-content: flex-start; margin-top: 12px; }
}

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--body);
  white-space: nowrap;
}
.tag--stream { border-color: var(--plum); color: var(--plum); background: #f7f2f5; }
.tag--tv { border-color: var(--champagne-700); color: var(--champagne-700); background: #fbf8f2; }
.tag--soon { border-style: dashed; color: var(--muted); }

/* --- creative gallery ------------------------------------------------ */
.creative { display: grid; gap: clamp(16px, 2vw, 26px); }
.creative--stream { grid-template-columns: 1fr; }
.creative--tv { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.creative figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.section--plum .creative figure { border-color: var(--line-dark); }

/* device mock for ringside tv */
.tvmock {
  background: var(--plum-900);
  border-radius: 10px;
  padding: 11px 11px 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.tvmock img { border-radius: 3px; width: 100%; }
.tvmock::after {
  content: ''; position: absolute; bottom: 9px; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 3px; border-radius: 2px;
  background: var(--champagne);
  opacity: .7;
}

/* --- callout band ---------------------------------------------------- */
.cta-band {
  background: var(--plum);
  color: rgba(255, 255, 255, .84);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(1100px 400px at 88% 8%, rgba(181, 160, 120, .2), transparent 62%);
}
.cta-band__inner { position: relative; display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr auto; gap: 56px; } }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 16px; max-width: 54ch; }
.cta-band .btn-row { margin-top: 0; }
@media (max-width: 899px) { .cta-band .btn-row { margin-top: 4px; } }

.callbox {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  background: rgba(255, 255, 255, .05);
  text-align: center;
}
.callbox__label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--champagne-300);
}
.callbox__num {
  display: block; margin-top: 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800;
  font-variation-settings: 'wdth' 110;
  color: var(--white); text-decoration: none;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.callbox__num:hover { color: var(--champagne); }
.callbox__mail {
  display: inline-block; margin-top: 10px;
  padding: 10px 4px;
  font-family: var(--mono); font-size: .85rem;
  color: var(--champagne-300); text-decoration: none;
  border-bottom: 1px solid rgba(181, 160, 120, .4);
  word-break: break-word;
}
.callbox__mail:hover { color: var(--white); border-color: var(--white); }

/* --- platforms strip -------------------------------------------------- */
.platforms {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(20px, 4vw, 52px);
  justify-content: center;
}
.platform {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 1.02rem;
  color: var(--body);
}
.platform svg { width: 26px; height: 26px; flex-shrink: 0; }
.platform img { height: 26px; width: auto; }

/* --- form ------------------------------------------------------------ */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.field .req { color: var(--plum); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  width: 100%;
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(72, 33, 57, .12);
}
.form__note { font-size: .88rem; color: var(--muted); }
.form__status {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: .94rem; font-weight: 600;
  display: none;
}
.form__status.is-visible { display: block; }
.form__status--ok { background: #f2f7f2; border: 1px solid #cfe3cf; color: #2c5730; }
.form__status--err { background: #fdf3f4; border: 1px solid #f0d2d6; color: #8a2630; }

/* --- faq ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 44px 22px 0;
  font-weight: 700; font-size: 1.06rem; color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--champagne-700);
  border-bottom: 2px solid var(--champagne-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 44px 24px 0; }
.faq details > div p + p { margin-top: 14px; }

/* --- footer ---------------------------------------------------------- */
.footer {
  background: var(--plum-900);
  color: rgba(255, 255, 255, .6);
  padding-block: clamp(50px, 6vw, 76px) 34px;
  font-size: .92rem;
}
.footer__grid {
  display: grid; gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand img { height: 42px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 32ch; font-size: .9rem; }
.footer h2 {
  color: var(--champagne-300);
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.footer a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  /* padded so each row is a comfortable tap target, not a 16px line of text */
  display: inline-block; padding: 9px 0; min-height: 24px;
}
.footer a:hover { color: var(--champagne); }
.footer__bottom {
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .82rem; color: rgba(255, 255, 255, .47);
}

/* --- reveal animation ------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* --- print ----------------------------------------------------------- */
@media print {
  .header, .footer, .cta-band, .hero__media, video { display: none !important; }
  body { color: #000; }
}

/* --- hero video pause control (WCAG 2.2.2) --------------------------- */
.hero__videobtn {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(43, 19, 34, .62);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  opacity: .55;
  transition: opacity .18s, background-color .18s, border-color .18s;
}
.hero__videobtn:hover, .hero__videobtn:focus-visible { opacity: 1; background: var(--plum); border-color: var(--champagne); }
.hero__videobtn svg { width: 18px; height: 18px; }
.hero__videobtn .icon-play { display: none; }
.hero__videobtn[aria-pressed='true'] .icon-pause { display: none; }
.hero__videobtn[aria-pressed='true'] .icon-play { display: block; }
/* nothing to pause when there is no video behind it */
.hero--sub .hero__videobtn, .hero--flat .hero__videobtn { display: none; }

/* a legal page has no background image — keep the plum but drop the scrim */
.hero--flat { background: var(--plum); }
.hero--flat::after { display: none; }
.hero--flat .hero__inner { padding-block: clamp(56px, 8vw, 92px); }

/* --- stat substantiation note ---------------------------------------- */
.stat-note {
  margin-top: 22px;
  font-size: .82rem; line-height: 1.55;
  color: rgba(255, 255, 255, .62);
  max-width: 78ch;
}

/* --- form consent ---------------------------------------------------- */
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.consent input[type='checkbox'] {
  width: 24px; height: 24px; margin-top: 1px;   /* WCAG 2.5.8 target size */
  accent-color: var(--plum);
  flex-shrink: 0; cursor: pointer;
}
.consent label {
  font-size: .86rem; line-height: 1.55; color: var(--body);
  font-family: var(--font); letter-spacing: normal; text-transform: none;
  cursor: pointer;
}
.consent .textlink { font-size: inherit; font-weight: 600; }

/* --- legal pages ------------------------------------------------------ */
.legal h2 {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  margin: 40px 0 14px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 9px; }
.legal li { padding-left: 4px; }
.legal__meta {
  font-family: var(--mono); font-size: .78rem;
  color: var(--muted); letter-spacing: .04em;
}
.legal .todo {
  background: #fff4cf;
  border-bottom: 2px solid #d9a400;
  padding: 1px 6px;
  font-family: var(--mono); font-size: .86em; font-weight: 500;
  color: #6b4e00;
}

/* --- footer legal ----------------------------------------------------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__legal a { padding: 7px 0; min-height: 24px; color: rgba(255, 255, 255, .62); }
.footer__legal a:hover { color: var(--champagne); }
.footer__disclaimer {
  margin-top: 18px;
  font-size: .74rem; line-height: 1.6;
  color: rgba(255, 255, 255, .42);
  max-width: 92ch;
}

/* --- livestream clips ------------------------------------------------ */
.clips {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.clip { margin: 0; }
.clip__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--plum-900);
  border: 1px solid var(--line-dark);
  aspect-ratio: 16 / 9;
}
.clip__frame video { width: 100%; height: 100%; object-fit: cover; }
.clip__btn {
  position: absolute; right: 10px; bottom: 10px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(43, 19, 34, .66);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  opacity: .6;
  transition: opacity .18s, background-color .18s, border-color .18s;
}
.clip__btn:hover, .clip__btn:focus-visible { opacity: 1; background: var(--plum); border-color: var(--champagne); }
.clip__btn svg { width: 16px; height: 16px; }
.clip__btn .icon-play { display: none; }
.clip__btn[aria-pressed='true'] .icon-pause { display: none; }
.clip__btn[aria-pressed='true'] .icon-play { display: block; }
.clip figcaption {
  margin-top: 12px;
  font-size: .9rem; line-height: 1.45;
  color: rgba(255, 255, 255, .72);
}
.clip figcaption strong { display: block; color: var(--white); font-weight: 700; }

/* --- callout ---------------------------------------------------------- */
.callout {
  margin-top: clamp(24px, 3vw, 36px);
  display: grid; gap: 20px;
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: clamp(24px, 3vw, 34px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--champagne);
  border-radius: var(--radius-lg);
}
.callout .card__icon { margin-bottom: 0; }
.callout h3 { margin-bottom: 8px; font-size: 1.12rem; }
.callout p { font-size: .96rem; }
@media (max-width: 560px) { .callout { grid-template-columns: 1fr; } }

/* --- sale frequency on the network table ----------------------------- */
.barn__freq {
  display: inline-block;
  margin-left: 8px; padding: 2px 7px;
  border-radius: 3px;
  background: var(--cream-200);
  color: var(--body);
  font-size: .78rem; letter-spacing: .04em;
  white-space: nowrap;
}
@media (max-width: 720px) { .barn__freq { margin-left: 0; margin-top: 4px; } }

/* honeypot: off-screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- social links ----------------------------------------------------- */
.social { display: flex; gap: 10px; margin-top: 22px; }
.social__link {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: rgba(255, 255, 255, .72);
  padding: 0; min-height: 40px;
  transition: color .17s, border-color .17s, background-color .17s;
}
.social__link:hover, .social__link:focus-visible {
  color: var(--plum-900);
  background: var(--champagne);
  border-color: var(--champagne);
}
.social__link svg { width: 17px; height: 17px; }

/* --- per-field form errors (Formspree returns errors[].field) --------- */
.field__error {
  margin-top: 7px;
  font-size: .85rem; line-height: 1.4;
  color: #8a2630;
  font-weight: 600;
}
.field__error::before { content: '\26A0\FE0E'; margin-right: 6px; }
.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: #b3434f;
  box-shadow: 0 0 0 3px rgba(179, 67, 79, .14);
}

/* a button that reads as a link, for the in-status email fallback */
.linkbtn {
  background: none; border: 0; padding: 0;
  font: inherit; font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.linkbtn:hover { text-decoration-thickness: 2px; }

/* --- small utilities (so no inline style attribute is needed, which lets
       the Content-Security-Policy drop 'unsafe-inline' for styles) -------- */
.btn-row--center { justify-content: center; }
.section-head--center { text-align: center; margin-inline: auto; }
.rule--legal { margin: 44px 0 28px; }
.form__note--center { text-align: center; margin-top: 28px; }
.creative__head { margin-bottom: 20px; font-size: 1.1rem; }
.u-mt-sm { margin-top: 16px; }
.u-mt-lg { margin-top: 40px; }
.split--spaced { margin-bottom: clamp(48px, 7vw, 96px); }
.split--top { align-items: start; }
.creative--spaced { margin-bottom: clamp(40px, 5vw, 64px); }
