/* Black Bottom marketing site — shared styles.
   Brand ramp is the same 5 colors as AppColors in lib/src/theme.dart (and
   the Squarespace site this replaces). Type follows that Squarespace site:
   Young Serif for display, Bitter for everything else.
   Deliberately a single light theme: this is the brand's primary
   presentation, so every color is painted explicitly rather than
   following the visitor's OS theme. */

:root {
  --cream:      #F6F3EC;
  --cream-deep: #ECE4DA;
  --tan:        #B9A590;
  --brown:      #574C3F;
  --espresso:   #36302A;
  /* One step past espresso, for the footer, so it separates from a dark
     section directly above it. Not in the app ramp — marketing only. */
  --ink:        #26211D;

  --font-display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Bitter', Georgia, 'Times New Roman', serif;

  --radius: 0.4rem;
  --measure: 66ch;
  --gutter: clamp(16px, 2.5vw, 28px);
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400; /* Young Serif ships a single weight */
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Sticky nav would otherwise cover the top of every in-page jump target. */
[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--espresso); color: var(--cream);
  padding: 12px 18px; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }
.hero :focus-visible, .section-dark :focus-visible, .page-head :focus-visible,
.nav :focus-visible, footer :focus-visible { outline-color: var(--tan); }
/* Except inside the cream cards that sit on dark sections. */
.hero-waitlist :focus-visible, .form-card :focus-visible { outline-color: var(--brown); }

.wrap {
  width: 100%; max-width: 1220px; margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.wrap-narrow { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brown);
}
.hero .eyebrow, .section-dark .eyebrow { color: var(--tan); }

/* ---------- Nav ---------- */
/* Dark on every page: on the home page it runs straight into the hero,
   on sub-pages into the dark page header. */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--espresso);
  border-bottom: 1px solid rgba(185, 165, 144, 0.18);
}
.nav-inner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  min-height: var(--nav-h); padding-block: 12px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
/* logo-wordmark(-cream).png is the wordmark cropped out of the square
   app-icon tile, with the background knocked out — the full tile renders
   the wordmark at ~20% of its height, which is illegible at nav/footer
   sizes. The cream copy is the same file recolored for dark backgrounds. */
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; font-size: 0.95rem; color: var(--cream-deep);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-links a:hover { border-bottom-color: var(--tan); color: var(--cream); }
.nav-links a.nav-cta {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 8px 16px; border: none; border-radius: var(--radius);
  background: var(--tan); color: var(--espresso); font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--cream); color: var(--espresso); }

/* Hamburger — hidden above the breakpoint, where the links sit inline. */
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none; padding: 0;
  background: transparent; border: 1px solid rgba(185, 165, 144, 0.5);
  border-radius: var(--radius); cursor: pointer;
}
.nav-toggle:hover { background: rgba(246, 243, 236, 0.06); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px;
  background: var(--cream); border-radius: 1px;
}
.nav-toggle span { position: relative; transition: background-color 0.18s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  transition: transform 0.22s ease, top 0.22s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* Open: the three bars collapse into an X. */
.nav[data-open="true"] .nav-toggle span { background: transparent; }
.nav[data-open="true"] .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav[data-open="true"] .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 4px;
    border-top: 1px solid rgba(185, 165, 144, 0.25);
  }
  .nav[data-open="true"] .nav-links { display: flex; }
  .nav-links a {
    display: flex; align-items: center;
    min-height: 48px; padding: 12px 2px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(185, 165, 144, 0.18);
  }
  /* The divider border is structural here, so hover shifts color instead. */
  .nav-links a:hover { border-bottom-color: rgba(185, 165, 144, 0.18); }
  .nav-links a.nav-cta {
    justify-content: center; min-height: 48px;
    margin-block: 14px 16px; border-bottom: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0.95em 1.7em;
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-arrow::after { content: '\2192'; transition: transform 0.18s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

.btn-primary { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn-primary:hover { background: var(--brown); border-color: var(--brown); }
.btn-accent { background: var(--tan); color: var(--espresso); border-color: var(--tan); }
.btn-accent:hover { background: var(--cream); border-color: var(--cream); }
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-ghost:hover { background: var(--cream-deep); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(246, 243, 236, 0.55); }
.btn-outline-light:hover { border-color: var(--cream); background: rgba(246, 243, 236, 0.07); }
.btn-on-dark { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.btn-on-dark:hover { background: var(--cream-deep); border-color: var(--cream-deep); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
/* Video background (see .hero-media) under an espresso scrim. The scrim is
   heaviest on the left, behind the headline, so text contrast holds even
   when a bright frame (the café's pendant lamps) passes behind it. */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--espresso);
  color: var(--cream);
  min-height: min(880px, calc(100svh - var(--nav-h)));
  display: flex; align-items: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px);
}
.hero > .wrap { width: 100%; }

.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  background: var(--espresso);
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(54, 48, 42, 0.92) 0%,
      rgba(54, 48, 42, 0.84) 55%,
      rgba(54, 48, 42, 0.5) 100%),
    linear-gradient(0deg, rgba(54, 48, 42, 0.55), transparent 35%);
}
@media (max-width: 980px) {
  /* Stacked: text spans the full width, so the scrim is even. */
  .hero-media::after { background: rgba(54, 48, 42, 0.82); }
}

/* Two columns: the thesis on the left, the one action that actually works
   pre-launch (the waitlist) on the right. Stacks below the breakpoint,
   copy first. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
/* Over moving footage, cream reads more reliably than tan at eyebrow size. */
.hero-copy .eyebrow { color: var(--cream-deep); }
/* Sized so each phrase of the triad holds one line at every width:
   "Black Communities" is ~10em wide in Young Serif. */
.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  line-height: 1.04;
}
@media (max-width: 980px) { .hero h1 { font-size: clamp(2.15rem, 8.6vw, 4.4rem); } }
.hero h1 span { display: block; }
.hero h1 span:nth-child(3) { color: var(--tan); }
.hero .lede {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  max-width: 46ch; color: var(--cream-deep);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Kit waitlist form ----------
   The hero's right column is Kit's embedded form itself (index.html,
   data-uid 66bd7d28d0), heading and all — its look is set in Kit. This only
   sizes it to the column and lifts it off the video like a card. */
.hero-waitlist { width: 100%; }
.hero-waitlist .formkit-form {
  max-width: none !important; margin: 0 !important;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
@media (max-width: 980px) { .hero-waitlist { max-width: 440px; } }

/* Pause/play for the background video — bottom-right of the hero. */
.video-toggle {
  position: absolute; right: var(--gutter); bottom: 18px; z-index: 1;
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  background: rgba(54, 48, 42, 0.6);
  border: 1px solid rgba(246, 243, 236, 0.4);
  color: var(--cream);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.video-toggle[hidden] { display: none; }
.video-toggle:hover { background: rgba(54, 48, 42, 0.85); border-color: var(--cream); }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[data-paused="true"] .i-play { display: block; }
.video-toggle[data-paused="true"] .i-pause { display: none; }

/* ---------- Marquee ---------- */
/* Decorative (aria-hidden): it repeats the h1. The track holds the phrase
   set twice so the -50% loop is seamless. Static under reduced motion. */
.marquee {
  background: var(--tan); color: var(--espresso);
  overflow: hidden; white-space: nowrap;
  padding-block: 16px;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center;
}
.marquee-track span::after {
  content: '\2726'; font-size: 0.6em; margin-inline: 0.9em; color: var(--brown);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section shell ---------- */
.section { padding-block: clamp(64px, 10vw, 120px); }
.section-dark { background: var(--espresso); color: var(--cream); }
.section-deep { background: var(--cream-deep); }

.section-title { font-size: clamp(2rem, 5vw, 3.2rem); }
.section-head {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px); max-width: 40rem;
}
.section-head.wide { max-width: var(--measure); }
.section-head .sub { color: var(--brown); font-size: 1.08rem; max-width: var(--measure); }
.section-dark .section-head .sub { color: var(--cream-deep); }

/* ---------- Audience sections (customers / business) ---------- */
.biz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .biz-grid { grid-template-columns: 1fr; } }
.biz-copy { display: flex; flex-direction: column; gap: 18px; max-width: var(--measure); }
.biz-copy p { color: var(--brown); font-size: 1.05rem; }
.section-dark .biz-copy p { color: var(--cream-deep); }
.biz-copy .section-head { margin-bottom: 10px; max-width: none; }
.biz-cta { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* Customer features: icon tiles. */
.tile-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
@media (max-width: 560px) { .tile-grid { grid-template-columns: 1fr; } }
.tile {
  background: var(--cream-deep); border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.tile:hover { transform: translateY(-2px); background: #E6DCCF; }
.tile svg {
  width: 26px; height: 26px; flex: none;
  stroke: var(--brown); fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.tile h3 { font-size: 1.22rem; }
.tile p { font-size: 0.95rem; color: var(--brown); }

/* Business features: numbered list in a panel. */
.num-panel {
  border: 1px solid rgba(185, 165, 144, 0.35);
  border-radius: var(--radius);
  background: rgba(246, 243, 236, 0.03);
  padding: clamp(10px, 2vw, 18px) clamp(20px, 3vw, 36px);
}
.num-panel .panel-label { display: block; padding-block: 18px 6px; }
.num-list { list-style: none; margin: 0; padding: 0; counter-reset: num; }
.num-list li {
  counter-increment: num;
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline;
  padding-block: 20px; border-top: 1px solid rgba(185, 165, 144, 0.22);
  font-size: 1.04rem; color: var(--cream-deep);
}
.num-list li:first-child { border-top: none; }
.num-list li::before {
  content: counter(num, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.6rem; color: var(--tan); line-height: 1;
}

/* ---------- Store buttons ---------- */
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-store {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: 1px;
  min-height: 54px; padding: 9px 22px;
  text-decoration: none; border-radius: var(--radius);
  border: 1.5px solid var(--espresso); background: var(--espresso); color: var(--cream);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.btn-store:hover { background: var(--brown); border-color: var(--brown); }
.btn-store .small {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8;
}
.btn-store .big { font-size: 1.02rem; font-weight: 600; line-height: 1.15; }
.section-dark .btn-store { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.section-dark .btn-store:hover { background: var(--cream-deep); border-color: var(--cream-deep); }

/* Pre-launch state. The app isn't in either store yet, so these are
   deliberately NOT links — an outlined, non-interactive card that reads as
   information rather than a button that does nothing when tapped. Swap back
   to <a class="btn-store"> with real store URLs on launch day. */
.btn-store.is-soon {
  background: transparent;
  color: var(--brown);
  border: 1.5px dashed var(--tan);
  cursor: default;
}
.btn-store.is-soon:hover { background: transparent; border-color: var(--tan); }
.section-dark .btn-store.is-soon {
  background: transparent;
  color: var(--cream-deep);
  border-color: var(--tan);
}
.section-dark .btn-store.is-soon:hover { background: transparent; }

.store-note { font-size: 0.88rem; color: var(--brown); }
.store-note a { color: var(--espresso); font-weight: 600; text-underline-offset: 3px; }
.section-dark .store-note { color: var(--tan); }

/* ---------- Who we are ---------- */
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
@media (max-width: 900px) { .three-col { grid-template-columns: 1fr; } }
.pillar {
  background: var(--cream-deep); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  border-top: 4px solid var(--tan);
}
.pillar .num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--brown); }
.pillar h3 { font-size: 1.55rem; }
.pillar p { color: var(--brown); font-size: 0.98rem; }

/* ---------- History ---------- */
.history-quote {
  margin: 0 0 clamp(44px, 6vw, 72px);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.6vw, 3.4rem);
  line-height: 1.12; letter-spacing: -0.02em;
  max-width: 22ch; text-wrap: balance;
  position: relative; padding-top: 0.55em;
  color: var(--cream);
}
.history-quote::before {
  content: '\201C';
  position: absolute; top: -0.2em; left: -0.04em;
  font-size: 2.6em; line-height: 1; color: var(--tan);
}

.fact-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(185, 165, 144, 0.3);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.fact { padding: 28px clamp(16px, 2.5vw, 28px); display: flex; flex-direction: column; gap: 8px; }
.fact + .fact { border-left: 1px solid rgba(185, 165, 144, 0.3); }
.fact:first-child { padding-left: 0; }
.fact .big { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.05; color: var(--tan); }
.fact .small { font-size: 0.95rem; color: var(--cream-deep); }
@media (max-width: 760px) {
  .fact-row { grid-template-columns: 1fr; }
  .fact { padding-inline: 0; }
  .fact + .fact { border-left: none; border-top: 1px solid rgba(185, 165, 144, 0.3); }
}

.history-item {
  display: grid; grid-template-columns: 180px 1fr; gap: clamp(20px, 4vw, 56px);
  padding-block: 34px; border-top: 1px solid rgba(185, 165, 144, 0.22);
}
.history-item:first-of-type { border-top: none; padding-top: 4px; }
.history-item h3 {
  font-size: clamp(2.2rem, 5.4vw, 3.4rem);
  color: var(--tan); line-height: 1;
}
.history-item p { color: var(--cream-deep); max-width: var(--measure); }
@media (max-width: 760px) { .history-item { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }
.member {
  background: var(--cream); border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px);
  display: grid; grid-template-columns: 168px 1fr; gap: clamp(18px, 2.6vw, 28px);
  align-items: start;
}
@media (max-width: 520px) { .member { grid-template-columns: 1fr; } }
.member-photo {
  width: 100%; max-width: 220px; height: auto; aspect-ratio: 1;
  object-fit: cover; border-radius: var(--radius);
}
.member-body { display: flex; flex-direction: column; gap: 12px; }
.member h3 { font-size: 1.6rem; }
.member .role { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown); margin-top: 6px; }
.member p { color: var(--brown); font-size: 0.97rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-grid .section-head { position: sticky; top: calc(var(--nav-h) + 24px); margin-bottom: 0; }
@media (max-width: 860px) { .faq-grid .section-head { position: static; } }
.faq-grid .section-head a { color: var(--espresso); text-underline-offset: 3px; }

.faq { counter-reset: faq; border-top: 1px solid var(--tan); }
.faq details { border-bottom: 1px solid var(--tan); counter-increment: faq; }
.faq summary {
  cursor: pointer; list-style: none; padding-block: 24px;
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--brown);
}
.faq summary::after {
  content: '+'; font-family: var(--font-body);
  font-size: 1.6rem; color: var(--brown); line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px 56px; color: var(--brown); max-width: var(--measure); }
@media (max-width: 520px) { .faq details p { padding-left: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .section-head { max-width: 34ch; }
.contact-direct { margin-top: 10px; color: var(--cream-deep); font-size: 0.98rem; }
.contact-direct a { color: var(--cream); text-underline-offset: 3px; }
.form-card {
  background: var(--cream); color: var(--espresso);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.form-card form.bb-form { max-width: none; }

/* ---------- Page header (sub-pages) ---------- */
.page-head {
  background:
    radial-gradient(ellipse 60% 80% at 92% 0%, rgba(185, 165, 144, 0.16), transparent 70%),
    var(--espresso);
  color: var(--cream);
  padding-block: clamp(48px, 9vw, 92px);
}
.page-head h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
.page-head .eyebrow { margin-bottom: 14px; display: block; color: var(--tan); }
.page-head p { margin-top: 18px; color: var(--cream-deep); max-width: var(--measure); }
.page-head .updated { margin-top: 14px; font-size: 0.86rem; color: var(--tan); }
.page-head a { color: var(--cream); }

/* ---------- Long-form / legal prose ---------- */
.prose { padding-block: clamp(44px, 7vw, 76px); }
.prose h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-top: 52px; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--tan);
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 {
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0;
  margin-top: 26px; margin-bottom: 8px; color: var(--brown);
}
.prose p { margin-bottom: 16px; max-width: var(--measure); color: var(--espresso); }
.prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; max-width: var(--measure); }
.prose ul li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
}
.prose ul li::before {
  content: '\2014'; position: absolute; left: 0; color: var(--brown);
}
.prose a { color: var(--brown); text-underline-offset: 3px; }
.prose a:hover { color: var(--espresso); }
.prose .callout {
  background: var(--cream-deep); border-left: 4px solid var(--tan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin-bottom: 20px; max-width: var(--measure);
}
.prose .callout p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-wrap { padding-block: clamp(44px, 7vw, 76px); }
form.bb-form { display: flex; flex-direction: column; gap: 20px; max-width: 580px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--brown); }
.field .hint { font-size: 0.84rem; color: var(--brown); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--espresso);
  background: #fff; border: 1.5px solid var(--tan); border-radius: var(--radius);
  padding: 12px 14px; width: 100%; min-height: 48px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brown); box-shadow: 0 0 0 3px rgba(185, 165, 144, 0.35);
}
.field .error { font-size: 0.84rem; color: #B00020; }
.required { color: var(--brown); }
.bb-form .btn { align-self: flex-start; }

.form-status { font-size: 0.95rem; padding: 14px 16px; border-radius: var(--radius); }
.form-status.ok { background: var(--cream-deep); border-left: 3px solid var(--brown); }
.form-status.bad { background: #FBEAEA; border-left: 3px solid #B00020; }
.form-note { font-size: 0.88rem; color: var(--brown); max-width: 580px; }
.form-note a { color: var(--espresso); text-underline-offset: 3px; }

/* Honeypot. Deliberately NOT display:none — some bots skip hidden fields
   but will happily fill one that is merely positioned off-screen. Real
   users can't reach it: no tab stop, no label association, aria-hidden. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--cream-deep); padding-block: clamp(56px, 8vw, 80px) 36px; }
.foot-grid { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
/* align-self matters: in a flex column the default `stretch` overrides
   `width: auto` and distorts the image to the container's full width. */
.foot-brand img { height: 40px; width: auto; align-self: flex-start; }
.foot-brand p { font-size: 0.95rem; color: var(--cream-deep); max-width: 30ch; }
.foot-links { display: flex; gap: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col .eyebrow { margin-bottom: 4px; color: var(--tan); }
.foot-col a { font-size: 0.94rem; text-decoration: none; color: var(--cream-deep); }
.foot-col a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(185, 165, 144, 0.25);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.86rem; color: var(--tan);
}
