/* ==========================================================================
   State of Black Wealth in Sacramento — landing page
   Capital Black Chamber of Commerce × The Sacramento Observer
   --------------------------------------------------------------------------
   Plugin build. Differences from the standalone prototype:
     · site header / footer styles removed — the theme supplies its own chrome
     · every selector is scoped under .sbw-page so nothing leaks into the theme
     · design tokens live on .sbw-page, not :root
     · no global html{} rule; smooth scrolling is handled in sbw-landing.js
   WPForms styling lives in sbw-wpforms.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
.sbw-page {
  /* Brand — sampled directly from the sales kit PDF */
  --red: #a60404;
  --red-deep: #6b0303;
  --red-bright: #c40707;
  --blush: #f8eded;
  --ink: #14100f;
  --ink-soft: #4a4344;
  --white: #ffffff;
  --paper: #ffffff;
  --gray-100: #f4f4f4;
  --gray-200: #e7e8ea;
  --rule: rgba(0, 0, 0, 0.12);

  --grad-red: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  --grad-red-soft: linear-gradient(135deg, var(--red-bright) 0%, var(--red-deep) 100%);

  /* Type — Roboto 500 is the live site's body face; Anton carries the
     sales-kit display voice. */
  --font-display: "Anton", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout — Astra's .ast-container is max-width 1240px with 20px padding,
     giving 1200px of usable width. Matched so content aligns with the
     header logo and footer bar. */
  --container: 1240px;
  --gutter: 20px;
  --section-y: clamp(4rem, 9vw, 8rem);
  --cut: clamp(2.5rem, 5vw, 6rem); /* depth of angled section cuts */

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-lift: 0 18px 44px -22px rgba(20, 16, 15, 0.45);
  --shadow-card: 0 2px 0 0 var(--rule);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
.sbw-page,
.sbw-page *,
.sbw-page *::before,
.sbw-page *::after { box-sizing: border-box; }


@media (prefers-reduced-motion: reduce) {
  .sbw-page *, .sbw-page *::before, .sbw-page *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.sbw-page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.sbw-page img { max-width: 100%; height: auto; display: block; }
.sbw-page a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sbw-page a:hover { color: var(--red-deep); }

.sbw-page :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.sbw-page .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.sbw-page .display,
.sbw-page h1,
.sbw-page h2,
.sbw-page h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.94;
  margin: 0;
  text-wrap: balance;
}

.sbw-page h1, .sbw-page .h1 { font-size: clamp(2.75rem, 7.2vw, 5.75rem); }
.sbw-page h2, .sbw-page .h2 { font-size: clamp(2.125rem, 5vw, 3.75rem); }
.sbw-page h3, .sbw-page .h3 { font-size: clamp(1.375rem, 2.1vw, 1.75rem); line-height: 1.06; }

/* Section headings run red throughout the sales kit */
.sbw-section h2,
.sponsor-hero h2 { color: var(--red); }
.sbw-section--dark h2 { color: #fff; }

/* Sentence-case headings (the kit uses Poppins Bold for a few of these) */
.h-soft {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(1.0625rem, 0.95rem + 0.55vw, 1.375rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.sbw-page p { margin: 0 0 1.15em; }
.sbw-page p:last-child { margin-bottom: 0; }

.text-red { color: var(--red); }
.text-white { color: #fff; }

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.sbw-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sbw-section {
  position: relative;
  padding-block: var(--section-y);
}

.sbw-section--tight { padding-block: clamp(2.5rem, 6vw, 5rem); }
.sbw-section--blush { background: var(--blush); }
.sbw-section--dark { background: var(--grad-red); color: #fff; }
.sbw-section--dark .lede { color: rgba(255, 255, 255, 0.88); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-media { grid-template-columns: 0.85fr 1.15fr; }
  .split--media-first > .split__media { order: -1; }
}

/* Class doubled deliberately: .stack owns the rhythm between its children, so
   it must out-specify the single-class rules declared later in this file that
   reset `margin` on typographic elements (.lede, .hero__sub, and friends).
   Without this, any child whose own rule zeroes margin loses its stack gap. */
.stack.stack > * + * { margin-top: var(--stack-gap, 1.5rem); }

/* --------------------------------------------------------------------------
   5. Signature motifs
   -------------------------------------------------------------------------- */

/* 5a. Chevron run — the ▶▶▶▶ mark used throughout the kit ---------------- */
.chev-run {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--red);
  font-size: 1.5rem; /* controls overall size; children scale in em */
  line-height: 1;
  flex: none;
}
.chev-run > i {
  display: block;
  width: 0.62em;
  height: 0.7em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.chev-run > i:nth-child(2) { height: 0.8em; }
.chev-run > i:nth-child(3) { height: 0.9em; }
.chev-run > i:nth-child(4) { height: 1em; }
.chev-run--flip { transform: scaleX(-1); }
.chev-run--white { color: #fff; }
.chev-run--lg { font-size: clamp(1.75rem, 3vw, 2.75rem); }
.chev-run--sm { font-size: 1.05rem; }

/* 5b. Pointed hexagon badge with double chevron ------------------------- */
.hex {
  --hex-size: 4.5rem;
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  inline-size: var(--hex-size);
  block-size: calc(var(--hex-size) * 0.88);
  background: var(--grad-red);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.hex::after {
  content: "";
  inline-size: 42%;
  block-size: 42%;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M4 4l8 8-8 8M13 4l8 8-8 8'/%3E%3C/svg%3E");
}
.hex--xs { --hex-size: 1.6rem; }
.hex--xs::after { inline-size: 52%; block-size: 52%; }
.hex--sm { --hex-size: 2.75rem; }
.hex--lg { --hex-size: clamp(5rem, 8vw, 7rem); }

/* Ringed hexagon — the outlined double-hex from the “Areas of Focus” page */
.hex-ring {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: clamp(5.5rem, 9vw, 7.5rem);
  aspect-ratio: 1 / 0.9;
  background: var(--red);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.hex-ring::before {
  content: "";
  position: absolute;
  inset: 11%;
  background: var(--white);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.hex-ring::after {
  content: "";
  position: absolute;
  inset: 20%;
  background: var(--red-deep);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.hex-ring > .hex-ring__glyph {
  position: relative;
  z-index: 1;
  inline-size: 30%;
  block-size: 30%;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='square'%3E%3Cpath d='M4 4l8 8-8 8M13 4l8 8-8 8'/%3E%3C/svg%3E");
}

/* 5b-ii. Circular chevron badge — used for the “Addressing Key Areas”
   cards, which the kit sets in circles rather than hexagons. */
.chev-circle {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 3.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-red);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--red);
}
.chev-circle::after {
  content: "";
  inline-size: 46%;
  block-size: 46%;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='square'%3E%3Cpath d='M4 4l8 8-8 8M13 4l8 8-8 8'/%3E%3C/svg%3E");
}
.chev-circle--lg { inline-size: 4.25rem; }

/* 5c. Circular check badge — “Your Investment” tiles ------------------- */
.check-badge {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: 4.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--red);
}
.check-badge::after {
  content: "";
  inline-size: 44%;
  block-size: 44%;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='square'%3E%3Cpath d='M4 12.5l5.5 5.5L20 6.5'/%3E%3C/svg%3E");
}

/* 5d. Eyebrow banner — red parallelogram label with a notched tail ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1;
}
.eyebrow--white { color: #fff; }

/* Solid banner variant: white text on red, angled right edge */
.banner {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem clamp(2.5rem, 4vw, 3.5rem) 0.7rem clamp(1.25rem, 3vw, 2rem);
  background: var(--grad-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + 0.6vw, 1.625rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.15em) 100%, 0 100%);
}
.banner--soft {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
}

/* 5e. Diagonal stripe field & halftone dots ---------------------------- */
.stripes {
  background-image: repeating-linear-gradient(
    135deg,
    var(--white) 0 12px,
    transparent 12px 32px
  );
}
.dot-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--blush) 30%, transparent 31%);
  background-size: 24px 24px;
}
.dot-field--fade {
  -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 70%);
  mask-image: linear-gradient(to bottom right, #000, transparent 70%);
}

/* Striped red corner wedge — the motif from the kit's “Why You Should Be A
   Part Of This Critical Event” page: a red diagonal block cut through with
   white 45° lines. Decorative; sits behind content. */
.stripe-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  inline-size: clamp(9rem, 26vw, 24rem);
  block-size: clamp(9rem, 22vw, 20rem);
  background: var(--grad-red);
  clip-path: polygon(38% 0, 100% 0, 100% 100%);
  pointer-events: none;
}
.stripe-corner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    var(--white) 0 10px,
    transparent 10px 30px
  );
  -webkit-mask-image: linear-gradient(to bottom left, #000 0 30%, transparent 75%);
  mask-image: linear-gradient(to bottom left, #000 0 30%, transparent 75%);
}
.stripe-corner--bl {
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  clip-path: polygon(0 0, 62% 100%, 0 100%);
}
.stripe-corner--bl::after {
  -webkit-mask-image: linear-gradient(to top right, #000 0 30%, transparent 75%);
  mask-image: linear-gradient(to top right, #000 0 30%, transparent 75%);
}
@media (max-width: 767px) {
  .stripe-corner { display: none; }
}
.sbw-section > .sbw-container { position: relative; z-index: 1; }

/* 5f. Angled section cuts ---------------------------------------------- */
.cut-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.cut-top { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
.cut-both {
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}

/* Thin diagonal accent bar used between sections */
.diag-rule {
  height: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--grad-red);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.diag-rule--flip { clip-path: polygon(0 0, 100% 100%, 0 100%); }

/* 5g. Chevron-clipped media frame -------------------------------------- */
.chev-frame {
  position: relative;
  isolation: isolate;
}
/* A fixed crop keeps the two columns of a .split balanced regardless of the
   source photo's orientation. */
.chev-frame__shape {
  clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
  inline-size: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
/* offset red plate behind the media */
.chev-frame::before {
  content: "";
  position: absolute;
  inset: 6% -4% -6% 4%;
  z-index: -1;
  background: var(--grad-red);
  clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
}

/* Hexagon-clipped photo (used on the sponsorship pages of the kit) */
.hex-photo {
  position: relative;
  isolation: isolate;
  padding: clamp(8px, 1vw, 14px);
  background: var(--white);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-photo > img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
/* `.sbw-page .btn` (not bare `.btn`): the base rule's `color` must out-specify
   `.sbw-page a { color: var(--red) }` above, or every anchor-tag button whose
   --btn-fg isn't red (primary, on-dark, outline-light) renders with red text
   instead of its intended fg colour — invisible on a solid red background. */
.sbw-page .btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-bd: var(--red);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.9rem;
  border: 2px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25; /* explicit, so labels that wrap to two lines stay tight */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    transform 0.18s var(--ease), border-color 0.18s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.85rem), calc(100% - 0.85rem) 100%, 0 100%);
}
.sbw-page .btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.sbw-page .btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-deep); --btn-bd: var(--red-deep); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--red); --btn-bd: var(--red); }
.btn--ghost:hover { --btn-bg: var(--red); --btn-fg: #fff; }

.btn--on-dark { --btn-bg: #fff; --btn-fg: var(--red-deep); --btn-bd: #fff; }
.btn--on-dark:hover { --btn-bg: transparent; --btn-fg: #fff; }

.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.7); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--red-deep); --btn-bd: #fff; }

.btn--lg { min-height: 3.75rem; padding: 1.05rem 2.4rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: 0;
  align-items: stretch;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 0.95fr 1.05fr; }
}

/* --- left: layered chevron visual --- */
.hero__visual {
  position: relative;
  min-height: clamp(20rem, 46vw, 38rem);
  background: var(--grad-red);
  overflow: hidden;
}
/* Layered chevron stack, reading left to right:
   red field → white chevron plate → red chevron → photo chevron.
   Each layer uses the same arrow polygon at a tighter inset, so the
   layer beneath survives as an outline. */
.hero__chev {
  --arrow: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%);
  position: absolute;
  clip-path: var(--arrow);
}
/* white plate */
.hero__chev--outer {
  inset: -1% 2% -1% -26%;
  z-index: 1;
  background: var(--white);
}
/* red chevron carved out of the white plate */
.hero__chev--inner {
  inset: 7% 9% 7% -20%;
  z-index: 2;
  background: var(--grad-red);
}
.hero__photo {
  position: absolute;
  inset: 12% 15% 12% -12%;
  z-index: 3;
  background: var(--red-deep);
  clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%);
}
.hero__photo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 52% 40%;
}
/* diagonal red band across the lower third, echoing the kit cover */
.hero__band {
  position: absolute;
  z-index: 3;
  inset: auto -10% -12% -10%;
  height: 34%;
  background: var(--grad-red);
  clip-path: polygon(0 62%, 100% 0, 100% 100%, 0 100%);
}
.hero__band--top {
  inset: -12% -10% auto -10%;
  height: 26%;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 100%);
}

/* --- right: copy --- */
.hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter);
  position: relative;
}
@media (min-width: 900px) {
  .hero__body { padding-inline: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
  .hero__body::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--blush) 30%, transparent 31%);
    background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(to top left, #000, transparent 55%);
    mask-image: linear-gradient(to top left, #000, transparent 55%);
    pointer-events: none;
  }
  .hero__body > * { position: relative; z-index: 1; }
}

.hero__date {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  align-self: flex-start;
}
.hero__date-chip {
  padding: 0.55rem 1.6rem 0.55rem 1.1rem;
  background: var(--grad-red);
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1.0625rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1em) 100%, 0 100%);
}

.hero__title { color: var(--red); }
.hero__rule {
  height: 3px;
  background: var(--ink);
  border: 0;
  margin: 0.25rem 0 0;
  max-width: 30rem;
}
.hero__sub {
  font-weight: 700;
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.4375rem);
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.01em;
  max-width: 34ch;
  margin: 0;
}
.hero__presented {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.hero__presented span { display: block; color: var(--ink-soft); letter-spacing: 0.18em; margin-bottom: 0.35rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.hero__meta dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.15rem;
}
.hero__meta dd { margin: 0; font-weight: 700; }

/* Second line under a dd — the time range and the city. Block-level so it
   wraps onto its own line without a <br>, and lighter than the bold dd above
   it so each cell reads as headline + qualifier rather than two equal facts. */
.hero__meta-sub {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   9. Key-area cards ("Addressing Key Areas")
   -------------------------------------------------------------------------- */
.card-row {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 720px) { .card-row--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .card-row--2 { grid-template-columns: repeat(2, 1fr); } }

.icon-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
}
.icon-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.4rem;
  line-height: 1;
}
.icon-card__text { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   10. Value tiles ("Your Investment in a More Equitable Sacramento")
   -------------------------------------------------------------------------- */
.value-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (min-width: 760px) { .value-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.value-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.value-tile__plate {
  margin-top: -2.25rem;
  padding: 3rem 1rem 1.4rem;
  width: 100%;
  background: var(--grad-red);
  color: #fff;
  font-weight: 600;
  font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.25;
  min-height: 8.5rem;
  display: grid;
  place-items: center;
}
.value-tile .check-badge { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   11. Areas of focus — staggered hexagon grid
   -------------------------------------------------------------------------- */
.focus-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
@media (min-width: 1000px) {
  .focus-grid { grid-template-columns: repeat(4, 1fr); }
  /* subtle vertical stagger, echoing the kit's alternating hex heights */
  .focus-item:nth-child(even) { margin-top: clamp(1.5rem, 3vw, 3rem); }
}

.focus-item { display: flex; flex-direction: column; gap: 1rem; }
.focus-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  text-transform: uppercase;
  color: var(--red-deep);
  line-height: 1.05;
  margin: 0;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--red);
}
.focus-item__text { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   12. Sponsorship intro + tier cards
   -------------------------------------------------------------------------- */
.sponsor-hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.sponsor-hero__stripes {
  position: absolute;
  inset: 0 0 auto auto;
  width: 42%;
  height: 100%;
  background: var(--grad-red);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}
.sponsor-hero__stripes::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0 10px,
    transparent 10px 30px
  );
  -webkit-mask-image: linear-gradient(to bottom left, #000 0 25%, transparent 60%);
  mask-image: linear-gradient(to bottom left, #000 0 25%, transparent 60%);
}

/* Own subhead rather than borrowing .hero__sub — that rule's `margin: 0` is
   declared after .stack and was cancelling the stack's heading gap. */
.sponsor-hero__sub {
  max-width: 32ch;
  font-weight: 700;
  font-size: clamp(1rem, 0.95rem + 0.45vw, 1.4375rem);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--red);
}
.sponsor-hero__title { font-size: clamp(2.25rem, 6.5vw, 4.75rem); }
.sponsor-hero .hex-photo { aspect-ratio: 1 / 1.1; }

/* --- Mobile / tablet ---
   The wedge is a full-height 42% overlay on desktop, which on a narrow screen
   sits directly on top of the copy. Below the two-column breakpoint it becomes
   a full-width striped band across the foot of the section instead: same
   motif, no collision. */
@media (max-width: 899px) {
  .sponsor-hero { padding-bottom: calc(var(--section-y) + clamp(3rem, 12vw, 5rem)); }

  .sponsor-hero__stripes {
    inset: auto 0 0 0;
    width: 100%;
    height: clamp(6rem, 20vw, 9.5rem);
    clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%);
  }
  .sponsor-hero__stripes::after {
    -webkit-mask-image: linear-gradient(to left, #000 0 35%, transparent 92%);
    mask-image: linear-gradient(to left, #000 0 35%, transparent 92%);
  }

  /* Keep the hexagon from swallowing the viewport */
  .sponsor-hero .hex-photo {
    max-width: min(20rem, 78vw);
    margin-inline: auto;
  }
}

/* Equal-width, full-bleed buttons read tidier than two ragged ones */
@media (max-width: 559px) {
  .sponsor-hero .btn-group { display: grid; gap: 0.75rem; }
  .sponsor-hero .btn-group > .btn { width: 100%; }
}

/* --- Tier picker -----------------------------------------------------------
   Four narrow columns forced ugly hyphenation and, because the tiers carry
   7/4/3/3 benefits, equal-height cards left huge dead gaps. Instead: compact
   chips carry the comparison (name + price, side by side), and the selected
   tier's benefits get the full content width — which also mirrors the sales
   kit, where every tier had a page of its own.
   Without JS no panel is hidden, so all four read as stacked sections. */

.tier-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
}
@media (min-width: 860px) { .tier-chips { grid-template-columns: repeat(4, 1fr); } }

.tier-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(0.9rem, 1.6vw, 1.35rem) clamp(1rem, 2vw, 1.3rem);
  border: 2px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.9rem), calc(100% - 0.9rem) 100%, 0 100%);
}
/* `color` stated explicitly (not just inherited from the base rule): the
   theme's global `button:hover, button:focus { color: #fff }` (Astra)
   otherwise wins this property in the hover state, since nothing here was
   contesting it — turning the card's own text white against its own white
   background. */
.tier-chip:hover { border-color: var(--red); color: var(--ink); transform: translateY(-3px); }
/* Astra darkens button backgrounds on hover. Keep the chip's supporting
   labels legible against that darker state without changing the selected
   tier's white-flag/red-text treatment. */
.tier-chip:not(.is-active):hover .tier-chip__rank,
.tier-chip:not(.is-active):hover .tier-chip__cue { color: #fff; }

.tier-chip.is-active {
  background: var(--grad-red);
  border-color: var(--red-deep);
  color: #fff;
  transform: none;
}
/* No downward pointer on the active chip: the chip's own corner-notch
   clip-path would clip it. The solid red fill already reads as selected. */

.tier-chip__flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.3rem 0.7rem;
  background: var(--red);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(0.7rem 0, 100% 0, 100% 100%, 0 100%);
}
.tier-chip.is-active .tier-chip__flag { background: var(--white); color: var(--red); }

.tier-chip__rank {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tier-chip.is-active .tier-chip__rank { color: rgba(255, 255, 255, 0.8); }

.tier-chip__name {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--red);
}
.tier-chip.is-active .tier-chip__name { color: #fff; }

.tier-chip__price {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  line-height: 1;
  color: var(--ink);
  margin-top: 0.15rem;
}
.tier-chip.is-active .tier-chip__price { color: #fff; }

.tier-chip__cue {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tier-chip.is-active .tier-chip__cue { color: rgba(255, 255, 255, 0.85); }

/* --- Revealed panel --- */
.tier-panels { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }

.tier-panel {
  display: grid;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--white);
}
.tier-panel + .tier-panel { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }
.tier-panel[hidden] { display: none; }
@media (min-width: 860px) {
  .tier-panel { grid-template-columns: minmax(16rem, 22rem) 1fr; }
}
.js .tier-panel + .tier-panel { margin-top: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .tier-panel { animation: tier-reveal 0.4s var(--ease) both; }
}
@keyframes tier-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.tier-panel__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--grad-red);
  color: #fff;
  overflow: hidden;
}
/* diagonal stripe wash, echoing the kit's tier pages */
.tier-panel__aside::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.13) 0 9px,
    transparent 9px 26px
  );
  pointer-events: none;
}
.tier-panel__aside > * { position: relative; z-index: 1; }

.tier-panel__rank {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.tier-panel__name {
  margin: 0;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  color: #fff;
  max-width: 11ch;
}
.tier-panel__price {
  margin: 0.35rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.tier-panel__amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  line-height: 0.9;
  color: #fff;
}
.tier-panel__price small {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.tier-panel__count {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.5rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  width: 100%;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
/* margin-top only — never touch the button's own padding, or the label
   stops being vertically centred. */
.tier-panel__cta { margin-top: auto; }
@media (max-width: 859px) {
  .tier-panel__cta { width: 100%; }
}

.tier-panel__body { padding: clamp(1.75rem, 3vw, 2.5rem); }

.tier-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
  align-content: start; /* never distribute free space between rows */
}
/* Two columns via multicol rather than grid: a list should read DOWN a
   column, and multicol balances 7 items as 4+3 on its own. */
@media (min-width: 1080px) {
  .tier-benefits {
    display: block;
    columns: 2;
    column-gap: clamp(1.75rem, 3vw, 2.75rem);
  }
  .tier-benefits > .tier-benefit {
    break-inside: avoid;
    margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
  }
  .tier-benefits > .tier-benefit:last-child { margin-bottom: 0; }
}

.tier-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.tier-benefit .hex { margin-top: 0.28rem; }
.tier-benefit__text { text-wrap: pretty; }

/* Individual ticket panel */
.ticket-panel {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--grad-red);
  color: #fff;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.25rem), calc(100% - 2.25rem) 100%, 0 100%);
}
@media (min-width: 860px) {
  .ticket-panel { grid-template-columns: 1fr auto; }
}
.ticket-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 45%;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0 10px,
    transparent 10px 28px
  );
  pointer-events: none;
}
.ticket-panel > * { position: relative; z-index: 1; }
/* What the $200 covers — worth calling out, so it gets the chevron treatment
   and a rule above it rather than sitting inside the body copy. */
.ticket-panel__includes {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.ticket-panel__includes .chev-run { align-self: center; }

.ticket-panel__price {
  /* Must reset: the base `p { margin-bottom: 1.15em }` is em-based, and at this
     element's display size that resolved to an ~81px gap under the price. */
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  line-height: 0.9;
  color: #fff;
}
.ticket-panel__price small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   13. Contact / close
   -------------------------------------------------------------------------- */
.contact-card {
  display: grid;
  gap: 0.35rem;
}
.contact-card__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  color: var(--red);
  margin: 0;
  letter-spacing: -0.01em;
}
.contact-card__role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.35rem;
}
.contact-card a { font-weight: 600; word-break: break-word; }

/* --------------------------------------------------------------------------
   15. Sticky mobile CTA bar
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem var(--gutter);
  background: rgba(20, 16, 15, 0.95);
  backdrop-filter: blur(6px);
  transform: translateY(110%);
  transition: transform 0.28s var(--ease);
}
.sticky-cta[data-visible="true"] { transform: translateY(0); }
.sticky-cta .btn { flex: 1 1 auto; min-height: 3rem; font-size: 0.8125rem; padding-inline: 0.9rem; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* --------------------------------------------------------------------------
   16. Scroll-in reveal (progressive enhancement)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .js .reveal[data-inview="true"] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. Print
   -------------------------------------------------------------------------- */
@media print {
  /* Chrome, decoration, and the interactive form all come off the page;
     what's left is a clean sponsorship one-sheet. */
  .sticky-cta,
  #register,
  .dot-field,
  .stripe-corner,
  .diag-rule,
  .footer-transition,
  .hero__chev,
  .hero__band,
  .sponsor-hero__stripes { display: none !important; }

  .sbw-page { color: #000; background: #fff; font-size: 11pt; }
  .hero__visual { background: none; min-height: 0; }
  .hero__grid { display: block; }
  .sbw-section { padding-block: 1.5rem; break-inside: avoid; }
  .sbw-section--blush { background: none; }

  /* Keep each priced card whole on one sheet */
  .tier {
    break-inside: avoid;
    border: 1px solid #999;
    box-shadow: none;
    transform: none;
  }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .tier__head { clip-path: none; }
  .ticket-panel { clip-path: none; break-inside: avoid; }
  .btn { display: none; }

  /* Expose destinations for the links that survive */
  a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}

/* --------------------------------------------------------------------------
   18. Registration section (WPForms host)
   --------------------------------------------------------------------------
   The form itself is styled in sbw-wpforms.css. This section only builds the
   shell it sits in: the heading block and the framed panel around the form. */
.sbw-page .sbw-register {
  position: relative;
  background: var(--blush);
  padding-block: var(--section-y);
  /* No overflow:hidden here (unlike other sections in this file): the
     decorative wedge below is bounded to the top-right corner well within
     this section's height, so it never needs clipping — and `overflow`
     other than `visible` on an ancestor breaks `position: sticky` on the
     order-summary sidebar nested inside (sbw-wpforms.css §20). */
}
/* diagonal stripe wedge in the top-right corner, matching the kit */
.sbw-page .sbw-register::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  inline-size: clamp(8rem, 24vw, 20rem);
  block-size: clamp(8rem, 20vw, 16rem);
  background: var(--grad-red);
  clip-path: polygon(40% 0, 100% 0, 100% 100%);
  pointer-events: none;
}
.sbw-page .sbw-register::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  inline-size: clamp(8rem, 24vw, 20rem);
  block-size: clamp(8rem, 20vw, 16rem);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0 9px,
    transparent 9px 26px
  );
  clip-path: polygon(40% 0, 100% 0, 100% 100%);
  -webkit-mask-image: linear-gradient(to bottom left, #000 0 30%, transparent 78%);
  mask-image: linear-gradient(to bottom left, #000 0 30%, transparent 78%);
  pointer-events: none;
}
@media (max-width: 767px) {
  .sbw-page .sbw-register::before,
  .sbw-page .sbw-register::after { display: none; }
}

.sbw-page .sbw-register > .sbw-container { position: relative; z-index: 2; }

.sbw-page .sbw-register__head {
  max-width: 52ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.sbw-page .sbw-register__head h2 { margin-bottom: 1rem; }

/* White plate behind the form, with the house corner notch */
.sbw-page .sbw-register__form {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(1.5rem, 4vw, 3rem);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 2.25rem),
    calc(100% - 2.25rem) 100%,
    0 100%
  );
}

/* --------------------------------------------------------------------------
   19. Editor-only setup notice
   --------------------------------------------------------------------------
   Rendered by the plugin when no WPForms form is connected. Visible only to
   users who can edit posts — never to visitors. */
.sbw-page .sbw-setup-notice {
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--blush);
  border-left: 4px solid var(--red);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.sbw-page .sbw-setup-notice strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.sbw-page .sbw-setup-notice code {
  padding: 0.15em 0.4em;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.9em;
}
