/* ==========================================================================
   Crack at Bixby Village — site.css
   Brand tokens are fixed. Do not substitute values.
   Contrast (WCAG): cream/char 15.9 · ember/char 4.61 · char/ember 4.61
   ash/char 4.79 · cream/fairway 6.6 · fairway/cream 6.6 · ember/cream 3.45
   (ember on cream = large text only)
   ========================================================================== */

/* ---- Fonts: self-hosted, latin subset ----------------------------------- */
@font-face {
  font-family: "Archivo Black";
  src: url("/assets/fonts/archivo-black-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-400-600.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks, so the swap to the web fonts moves nothing. */
@font-face {
  font-family: "Archivo Black Fallback";
  src: local("Arial Black"), local("ArialMT-Black"), local("Arial-Black");
  font-weight: 700;
  size-adjust: 99.99%;
  ascent-override: 87.81%;
  descent-override: 21%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400;
  size-adjust: 106.8%;
  ascent-override: 90.7%;
  descent-override: 22.58%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600;
  size-adjust: 99.27%;
  ascent-override: 97.59%;
  descent-override: 24.3%;
  line-gap-override: 0%;
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --char: #17130F;
  --cream: #F4EDE1;
  --ember: #D9541F;
  --fairway: #3F5A3A;
  --ash: #8A8078;

  --font-display: "Archivo Black", "Archivo Black Fallback", "Arial Black", sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --h1: clamp(2.75rem, 7vw, 6rem);
  --h2: clamp(2.25rem, 5vw, 4rem);
  --body: 1.0625rem;
  --measure: 62ch;

  --section-pad: 56px;
  --gutter: 20px;
  --gap: 24px;
  --max: 1240px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --reveal-dur: 560ms;
  --stagger: 90ms;
  --rise: 24px;

  --rule: rgba(244, 237, 225, .2); /* cream at 20%: hairlines on dark */
}
@media (min-width: 768px) {
  :root { --section-pad: 96px; --gutter: 40px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 48px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--char);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--char);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }

h1, h2, h3, p, ul, ol, dl, dd, figure, address, blockquote { margin: 0; }
p { max-width: var(--measure); }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg, iframe { display: block; max-width: 100%; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }

/* Focus: an ember ring with a char halo reads on every surface, ember included. */
:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--char);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ember);
  color: var(--char);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad); }

.s-char    { background: var(--char);    color: var(--cream); }
.s-cream   { background: var(--cream);   color: var(--char); }
.s-fairway { background: var(--fairway); color: var(--cream); }
.s-ember   { background: var(--ember);   color: var(--char); }

/* ---- Type ---------------------------------------------------------------- */
.eyebrow {
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.s-char .eyebrow    { color: var(--ember); }
.s-cream .eyebrow   { color: var(--fairway); }
.s-fairway .eyebrow { color: var(--cream); }
.s-ember .eyebrow   { color: var(--char); }

.h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

/* ---- Buttons & links --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.btn__arrow { display: inline-block; transition: transform 320ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ember { background: var(--ember); color: var(--char); }
.btn--ember:hover { background: var(--cream); }

.btn--line { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--line:hover { background: var(--cream); color: var(--char); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}
.link-arrow:hover .btn__arrow { transform: translateX(4px); }

/* ---- Motion ------------------------------------------------------------- */
/* Hero: plays on load, CSS only. */
@keyframes rise {
  from { opacity: 0; transform: translateY(var(--rise)); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.rise {
  animation: rise var(--reveal-dur) var(--ease) both;
  animation-delay: calc(var(--i, 0) * var(--stagger) + 80ms);
}

/* Scroll reveals: site.js adds .reveal-pending only to elements that start
   below the fold, so without JavaScript nothing is ever hidden. */
.reveal-pending {
  opacity: 0;
  transform: translateY(var(--rise));
}
.reveal-pending.is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease);
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .rise { animation-name: fade; }
  .hero__photo img { animation: none; }
  .reveal-pending { transform: none; }
  .reveal-pending.is-in { transition: opacity var(--reveal-dur) var(--ease); transition-delay: 0ms; }
  .btn__arrow, .btn { transition: none; }
}

/* ---- Photo slots --------------------------------------------------------
   Each slot names its shot in data-photo. Drop an <img> inside and it fills. */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--char);
}
.photo picture,
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.photo img { object-fit: cover; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}
.wordmark__svg { display: block; width: auto; height: 22px; }
@media (max-width: 419px) {
  .wordmark__svg { height: 19px; }
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cream);
  transition: color 200ms var(--ease);
}
.nav__list a:hover { color: var(--ember); }
.nav__list .nav__cta {
  margin-left: 8px;
  padding-inline: 14px;
  border: 2px solid var(--ember);
}
.nav__list .nav__cta:hover { background: var(--ember); color: var(--char); }
@media (max-width: 419px) {
  .nav__optional { display: none; }
}

/* ---- 1. Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 108px;
  padding-bottom: clamp(44px, 8vh, 88px);
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__photo img {
  object-position: 72% 50%;
  animation: hero-settle 2.8s var(--ease) both;
}
@keyframes hero-settle {
  from { transform: scale(1.07); }
  to   { transform: none; }
}
/* Scrim: the headline sits on dark at the left and bottom; the flattop and
   the smoke stay visible on the right. */
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 19, 15, .96) 0%, rgba(23, 19, 15, .93) 50%, rgba(23, 19, 15, .9) 61%, rgba(23, 19, 15, .42) 74%, rgba(23, 19, 15, .08) 88%, rgba(23, 19, 15, 0) 100%),
    linear-gradient(180deg, rgba(23, 19, 15, .72) 0%, rgba(23, 19, 15, 0) 18%, rgba(23, 19, 15, 0) 46%, rgba(23, 19, 15, .74) 76%, rgba(23, 19, 15, .95) 100%);
}
@media (max-width: 767px) {
  .hero__photo img { object-position: 62% 30%; }
  .hero__photo::after {
    background: linear-gradient(180deg, rgba(23, 19, 15, .84) 0%, rgba(23, 19, 15, .76) 36%, rgba(23, 19, 15, .88) 60%, rgba(23, 19, 15, .96) 100%);
  }
}
.hero__eyebrow { margin-bottom: 24px; }
/* Over the illustration, small ember text can't hold 4.5:1 (ember on pure char
   is only 4.61), so the hero eyebrow is cream. */
.hero .hero__eyebrow { color: var(--cream); }
.hero__title {
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.02em;
}
.hero__title > span { display: block; text-wrap: balance; }
.hero__title .hero__title-em { color: var(--ember); margin-top: .12em; }

.hero__foot {
  display: grid;
  gap: 28px;
  margin-top: clamp(28px, 4.5vh, 52px);
  align-items: start;
}
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; }
}
.hero__story {
  max-width: 46ch;
  padding-top: 22px;
  border-top: 2px solid var(--cream);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.55;
}
.hero__visit {
  padding-top: 22px;
  border-top: 2px solid var(--ember);
}
.hero__visit p + p { margin-top: 2px; }
.hero__hours { font-weight: 600; }
.hero__visit .btn { margin-top: 22px; }

/* ---- 2. Today's special -------------------------------------------------- */
.special { padding-block: clamp(40px, 6vw, 76px); }
.special__inner {
  display: grid;
  gap: 14px 48px;
}
@media (min-width: 900px) {
  .special__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: baseline; }
}
.special__label .eyebrow { margin-bottom: 6px; }
.special__day { font-size: .9375rem; font-weight: 600; }
.special__text {
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.02em;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.special.is-long .special__text {
  max-width: 34ch;
  font-size: clamp(1.375rem, 2.6vw, 2.25rem);
  line-height: 1.08;
}

/* ---- 3. Burgers ----------------------------------------------------------- */
.burgers__head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
@media (min-width: 900px) {
  .burgers__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 64px; }
}
.burgers__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--char);
}
.burger {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  padding-block: 16px;
  border-bottom: 2px solid var(--char);
}
.burger__photo {
  grid-row: 1 / span 2;
  aspect-ratio: 1;
  background-image: repeating-linear-gradient(0deg, transparent 0 13px, rgba(244, 237, 225, .06) 13px 15px);
}
.burger__num {
  position: absolute;
  z-index: 1;
  left: 7px;
  bottom: 3px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ember);
}
.burger__name {
  align-self: end;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.1vw, 1.875rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.015em;
}
.burger__desc {
  align-self: start;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .burgers__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px var(--gap);
    border-top: 0;
  }
  .burger {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    padding: 0;
    border-bottom: 0;
  }
  .burger__photo {
    grid-row: auto;
    aspect-ratio: 1;
    margin-bottom: 20px;
    background-image: repeating-linear-gradient(0deg, transparent 0 22px, rgba(244, 237, 225, .06) 22px 24px);
  }
  .burger__num { left: 16px; top: 10px; bottom: auto; font-size: clamp(3rem, 5vw, 4.5rem); }
  .burger__name { padding-top: 16px; border-top: 2px solid var(--char); }
}
@media (min-width: 1100px) {
  .burgers__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- 4. Sides ------------------------------------------------------------ */
.sides__grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .sides__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 56px 80px; }
  .sides__head { grid-row: 1 / span 3; align-self: start; position: sticky; top: 48px; }
}
.sides__head .lede { margin-top: 20px; }
.sides__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--cream);
}
.sides__list li {
  padding-block: 18px;
  border-bottom: 1px solid rgba(244, 237, 225, .35);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.drinks {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .drinks { grid-column: 2; }
}
.drinks__title {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.drinks__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.drinks__list li {
  padding: 8px 14px;
  border: 1px solid rgba(244, 237, 225, .5);
  font-size: 1rem;
}
.sides__cta { margin-top: 8px; }
@media (min-width: 900px) {
  .sides__cta { grid-column: 2; margin-top: 0; }
}

/* ---- 5. Press ------------------------------------------------------------ */
.press__list {
  margin: clamp(32px, 4.5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--char);
}
.press__item { border-bottom: 1px solid var(--char); }
.press__link {
  display: grid;
  gap: 6px;
  padding-block: 22px;
  text-decoration: none;
}
@media (min-width: 900px) {
  .press__go { justify-self: end; }
  .press__link {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 5.5rem;
    align-items: baseline;
    gap: 40px;
    padding-block: 30px;
  }
}
.press__outlet {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
  transition: color 220ms var(--ease), transform 320ms var(--ease);
}
.press__what { font-size: 1.0625rem; }
.press__go {
  justify-self: start;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}
.press__link:hover .press__outlet { color: var(--ember); transform: translateX(6px); }
.press__link:hover .btn__arrow { transform: translate(3px, -3px); }

/* ---- 6. Visit ------------------------------------------------------------ */
.visit__grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 960px) {
  .visit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px 88px; }
}
.visit__intro .lede { margin-top: 20px; }
.visit__where {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.visit__address {
  font-size: 1.1875rem;
  line-height: 1.45;
}
.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 559px) {
  .visit__actions .btn { flex: 1 1 100%; }
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.hours caption {
  padding-bottom: 14px;
  text-align: left;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
}
.hours th,
.hours td {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  font-weight: 400;
  vertical-align: baseline;
}
.hours tr:first-child th,
.hours tr:first-child td { border-top: 2px solid var(--cream); }
.hours th { font-weight: 600; }
.hours td { text-align: right; }
.hours .is-closed {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ember);
}
.today-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  background: var(--ember);
  color: var(--char);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.map {
  position: relative;
  margin-top: 40px;
  aspect-ratio: 4 / 3;
  background: var(--fairway);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Focus inside the map's iframe never matches :focus-visible here, so site.js
   flags .has-focus on the frame and it gets the same ember ring. */
.map:focus-within,
.map.has-focus {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--char);
}
.map iframe:focus { outline: none; }

.facts {
  display: grid;
  margin-top: 40px;
  border-top: 2px solid var(--cream);
}
.facts > div {
  display: grid;
  gap: 4px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 560px) {
  .facts > div { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 16px; }
}
.facts dt { font-weight: 600; color: var(--ember); }
.facts dd { margin: 0; }

/* ---- 7. Free side -------------------------------------------------------- */
.free__grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .free__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
}
.free__head .lede { margin-top: 20px; }

/* Opt-in form (shared markup with /join; /join carries its own copy of these rules) */
.optin { display: grid; gap: 22px; max-width: 34rem; }
.optin__label {
  display: block;
  margin-bottom: 8px;
  font-size: .9375rem;
  font-weight: 600;
}
.optin__phone {
  width: 100%;
  min-height: 60px;
  padding: 12px 16px;
  border: 2px solid var(--char);
  border-radius: 0;
  background: var(--cream);
  color: var(--char);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.optin__hp { display: none; }
.optin__consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}
.optin__check {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border: 2px solid var(--char);
  border-radius: 0;
  background: var(--cream);
  cursor: pointer;
}
.optin__check::before {
  content: "";
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--cream);
  border-bottom: 3px solid var(--cream);
  transform: translateY(-2px) rotate(-45deg);
  opacity: 0;
}
.optin__check:checked { background: var(--char); }
.optin__check:checked::before { opacity: 1; }
.optin__consent-text { font-size: .875rem; line-height: 1.5; }
.optin__submit {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 0;
  background: var(--char);
  color: var(--cream);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), opacity 220ms var(--ease);
}
.optin__submit:hover:not(:disabled) { background: var(--cream); color: var(--char); }
.optin__submit:disabled {
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(23, 19, 15, .4);
  color: rgba(23, 19, 15, .6);
  cursor: not-allowed;
}
.optin__hint,
.optin__status { min-height: 1.5em; font-size: .9375rem; font-weight: 600; }
.optin__hint:empty,
.optin__status:empty { display: none; }
.optin__done { outline: none; }
.optin__done-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.02em;
}
.optin__done-text { margin-top: 12px; font-size: 1.1875rem; font-weight: 600; }

/* ---- Legal pages (privacy, terms) --------------------------------------- */
.site-header--solid {
  position: static;
  background: var(--char);
}
.legal { padding-block: var(--section-pad); }
.legal__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.02em;
}
.legal__updated {
  margin-top: 14px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--fairway);
}
.legal__lede {
  margin-top: 28px;
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}
.legal h2 {
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.legal p { margin-top: 14px; }
.legal ul { margin-top: 14px; padding-left: 1.15em; max-width: var(--measure); }
.legal li { margin-top: 8px; }
.legal a { text-decoration: underline; text-decoration-thickness: 2px; }
.legal a:hover { color: var(--fairway); }
.legal strong { font-weight: 600; }
.legal__back { margin-top: 56px; }

.legal__foot { padding-block: 32px; }
.legal__foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.legal__foot-links { font-size: .9375rem; color: var(--ash); }
.legal__foot-links a { color: var(--cream); text-decoration: none; }
.legal__foot-links a:hover { text-decoration: underline; }

/* Links under each sign-up form (carriers want them beside the opt-in) */
.optin__legal { margin-top: -6px; font-size: .8125rem; line-height: 1.5; }
.optin__legal a { text-decoration: underline; text-decoration-thickness: 1.5px; }

/* ---- 8. Footer ------------------------------------------------------------ */
.site-footer {
  padding-top: var(--section-pad);
  padding-bottom: 32px;
  overflow: hidden;
}
/* The full lockup, edge to edge: CRACK on the ember flattop plate. */
.footer__lockup {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  padding-top: 28px;
  border-top: 2px solid var(--cream);
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer__label {
  margin-bottom: 6px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ash);
}
.footer__value { font-size: 1.0625rem; line-height: 1.5; }
.footer__value a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.footer__value a:hover { color: var(--ember); text-decoration: underline; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.footer__legal { font-size: .875rem; color: var(--ash); }
.powered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 2px solid var(--cream);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}
.powered::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ember);
}
.powered strong { font-weight: 600; letter-spacing: .01em; }
