/* ==========================================================================
   justinmybutt.com — "House Lights Down" design system
   A premium comedy-brand domain, presented as a theater marquee.
   Palette : house plum-black / playbill cream / marquee amber / lipstick pink
   Type    : Alfa Slab One (display) + Karla (body) + Space Mono (utility)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* 60% — the darkened house */
  --house: #17101f;
  --house-deep: #100b16;
  --velvet: #241733;
  --velvet-soft: #2f1d42;

  /* 30% — playbill paper */
  --playbill: #f6eedf;
  --playbill-warm: #ece0c9;
  --playbill-ink: #201526;

  /* 10% — the lights */
  --bulb: #ffc247;
  --bulb-hot: #ffd97a;
  --lipstick: #ff3e6c;
  --lipstick-deep: #e42555;

  /* Derived */
  --cream-60: rgba(246, 238, 223, 0.66);
  --cream-30: rgba(246, 238, 223, 0.28);
  --cream-12: rgba(246, 238, 223, 0.12);
  --ink-60: rgba(32, 21, 38, 0.68);
  --ink-15: rgba(32, 21, 38, 0.15);

  /* Type */
  --font-display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --font-utility: "Space Mono", "SFMono-Regular", Consolas, monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.16vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.11rem);
  --step-1: clamp(1.2rem, 1.13rem + 0.36vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.36rem + 0.7vw, 2rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.8rem + 3vw, 4.4rem);

  /* Space + shape */
  --shell: min(1180px, calc(100% - 40px));
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --pad-block: clamp(3.5rem, 8vw, 7rem);
  --radius: 18px;
  --radius-sm: 10px;
  --ring: 0 0 0 3px rgba(255, 194, 71, 0.55);
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--playbill);
  background-color: var(--house);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; }

ul[class],
ol[class] { list-style: none; padding: 0; }

a { color: inherit; }

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

::selection {
  background: var(--bulb);
  color: var(--house);
}

/* --------------------------------------------------------------------------
   3. Domain for sale banner
   -------------------------------------------------------------------------- */
.domain-sale-banner {
  position: relative;
  z-index: 9999;
  width: 100%;
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 194, 71, 0.38), transparent 36%),
    linear-gradient(100deg, #100b16 0%, #1d1229 58%, #38173a 100%);
  border-bottom: 1px solid rgba(255, 194, 71, 0.26);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
  font-family: var(--font-body);
}

.domain-sale-banner__content {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.domain-sale-banner__text {
  display: grid;
  gap: 4px;
  line-height: 1.35;
}

.domain-sale-banner__text strong {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.domain-sale-banner__text span {
  color: rgba(246, 238, 223, 0.74);
  font-size: 0.92rem;
}

.domain-sale-banner__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  color: #17101f;
  background: var(--bulb);
  border: 1px solid var(--bulb-hot);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(255, 194, 71, 0.26);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.domain-sale-banner__button:hover,
.domain-sale-banner__button:focus-visible {
  background: var(--bulb-hot);
  box-shadow: 0 10px 26px rgba(255, 194, 71, 0.4);
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 680px) {
  .domain-sale-banner__content {
    min-height: auto;
    padding: 14px 0;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .domain-sale-banner__button { width: 100%; }
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10000;
  padding: 10px 18px;
  color: var(--house);
  background: var(--bulb);
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus { top: 0; }

.section { padding-block: var(--pad-block); }

.section--paper {
  color: var(--playbill-ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 194, 71, 0.16), transparent 45%),
    var(--playbill);
}

.section--velvet {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255, 62, 108, 0.14), transparent 55%),
    var(--velvet);
}

.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-utility);
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bulb);
  box-shadow: 0 0 12px rgba(255, 194, 71, 0.9);
}

.section--paper .eyebrow { color: #7a4a1d; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
}

h2 { font-size: var(--step-3); }

h3 { font-size: var(--step-1); line-height: 1.2; }

.lede {
  max-width: 62ch;
  font-size: var(--step-1);
  line-height: 1.55;
}

.section--paper .lede { color: var(--ink-60); }

.section-head { max-width: 66ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }

.section-head h2 + .lede { margin-top: 18px; }

.muted { color: var(--cream-60); }

.section--paper .muted { color: var(--ink-60); }

/* --------------------------------------------------------------------------
   5. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(23, 16, 31, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand__mark {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
}

.brand__name em {
  font-style: normal;
  color: var(--bulb);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  color: var(--playbill);
  background: transparent;
  border: 1px solid var(--cream-30);
  border-radius: 999px;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  background: var(--bulb);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--bulb);
  transition: transform 180ms ease;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  margin: 0;
}

.nav__link {
  position: relative;
  padding-block: 6px;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--bulb);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__link[aria-current="page"] { color: var(--bulb); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--house);
  background: var(--playbill);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.nav__cta:hover,
.nav__cta:focus-visible {
  background: var(--bulb);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 18px var(--gutter) 26px;
    background: var(--house-deep);
    border-bottom: 1px solid var(--cream-12);
  }

  .nav.is-open { display: block; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item { border-bottom: 1px solid var(--cream-12); }

  .nav__link {
    display: block;
    padding-block: 15px;
    font-size: 1.05rem;
  }

  .nav__item--cta { border-bottom: 0; padding-top: 18px; }

  .nav__cta { width: 100%; justify-content: center; min-height: 50px; }
}

/* --------------------------------------------------------------------------
   6. SIGNATURE — the marquee
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 194, 71, 0.2), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 62, 108, 0.14), transparent 70%),
    var(--house);
}

/* Stage curtain: vertical velvet folds behind everything */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.035) 0 2px,
    transparent 2px 26px,
    rgba(0, 0, 0, 0.22) 26px 30px,
    transparent 30px 54px
  );
  opacity: 0.75;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.marquee {
  position: relative;
  width: min(880px, 100%);
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.1rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, var(--velvet-soft) 0%, var(--velvet) 48%, #1b1128 100%);
  border: 2px solid rgba(255, 194, 71, 0.5);
  border-radius: 22px;
  box-shadow:
    0 0 0 8px rgba(23, 16, 31, 0.9),
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Bulb frame: four rails of lights running the marquee perimeter */
.marquee__bulbs {
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  pointer-events: none;
}

.marquee__rail {
  position: absolute;
  background-image: radial-gradient(circle, var(--bulb-hot) 0 2.1px, rgba(255, 194, 71, 0.28) 2.1px 3.4px, transparent 3.6px);
  background-repeat: repeat-x;
  background-size: 26px 12px;
  background-position: center;
  filter: drop-shadow(0 0 6px rgba(255, 194, 71, 0.75));
  animation: bulb-chase 2.4s steps(2) infinite;
}

.marquee__rail--top { top: -6px; left: 14px; right: 14px; height: 12px; }
.marquee__rail--bottom { bottom: -6px; left: 14px; right: 14px; height: 12px; animation-delay: 1.2s; }

.marquee__rail--left,
.marquee__rail--right {
  top: 14px;
  bottom: 14px;
  width: 12px;
  background-repeat: repeat-y;
  background-size: 12px 26px;
}

.marquee__rail--left { left: -6px; animation-delay: 0.6s; }
.marquee__rail--right { right: -6px; animation-delay: 1.8s; }

@keyframes bulb-chase {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.34; }
}

.marquee__slot {
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 18px;
  color: var(--lipstick);
  border: 1px solid rgba(255, 62, 108, 0.45);
  border-radius: 999px;
  font-family: var(--font-utility);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.marquee__word {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 8.2vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--playbill);
  text-shadow:
    0 0 26px rgba(255, 194, 71, 0.4),
    0 4px 0 rgba(0, 0, 0, 0.35);
  overflow-wrap: anywhere;
}

.marquee__word span { color: var(--bulb); }

.marquee__board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin-top: clamp(1.4rem, 3vw, 2rem);
  background: rgba(246, 238, 223, 0.16);
  border: 1px solid rgba(246, 238, 223, 0.16);
  border-radius: 12px;
  overflow: hidden;
}

.marquee__cell {
  padding: 14px 12px;
  background: rgba(16, 11, 22, 0.82);
}

.marquee__cell dt {
  font-family: var(--font-utility);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 238, 223, 0.5);
}

.marquee__cell dd {
  margin: 4px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--playbill);
}

.hero__pitch {
  max-width: 58ch;
  color: var(--cream-60);
  font-size: var(--step-1);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero__footnote {
  font-family: var(--font-utility);
  font-size: var(--step--1);
  color: rgba(246, 238, 223, 0.45);
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.btn--primary {
  color: #ffffff;
  background: var(--lipstick);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(255, 62, 108, 0.32);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--lipstick-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(255, 62, 108, 0.44);
}

.btn--ghost {
  color: var(--playbill);
  background: transparent;
  border-color: var(--cream-30);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--cream-12);
  border-color: var(--bulb);
  color: var(--bulb);
  transform: translateY(-2px);
}

.btn--ink {
  color: var(--house);
  background: var(--playbill-ink);
  color: var(--playbill);
}

.btn--ink:hover,
.btn--ink:focus-visible {
  background: var(--velvet);
  transform: translateY(-2px);
}

.btn--bulb {
  color: var(--house);
  background: var(--bulb);
  box-shadow: 0 14px 32px rgba(255, 194, 71, 0.28);
}

.btn--bulb:hover,
.btn--bulb:focus-visible {
  background: var(--bulb-hot);
  transform: translateY(-2px);
}

.btn--wide { width: 100%; }

/* --------------------------------------------------------------------------
   8. Cards, lists, stub
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: rgba(246, 238, 223, 0.04);
  border: 1px solid var(--cream-12);
  border-radius: var(--radius);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 194, 71, 0.42);
  background: rgba(246, 238, 223, 0.07);
}

.card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: var(--bulb);
}

.card h3 { margin-bottom: 10px; }

.card p { color: var(--cream-60); }

.section--paper .card {
  background: #ffffff;
  border-color: rgba(32, 21, 38, 0.12);
  box-shadow: 0 2px 0 rgba(32, 21, 38, 0.06);
}

.section--paper .card:hover {
  border-color: rgba(255, 62, 108, 0.4);
  background: #ffffff;
}

.section--paper .card p { color: var(--ink-60); }

.section--paper .card__icon { color: var(--lipstick); }

/* Ticket stub — the offer card */
.stub {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  color: var(--playbill-ink);
  background: var(--playbill);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* perforation between the two halves */
.stub::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: calc(55.5% - 1px);
  width: 2px;
  background-image: linear-gradient(var(--ink-15) 55%, transparent 0);
  background-size: 2px 12px;
}

.stub__no {
  font-family: var(--font-utility);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a4a1d;
}

.stub h2 { margin: 12px 0 14px; font-size: var(--step-2); }

.stub p { color: var(--ink-60); }

.stub__side { display: grid; gap: 14px; justify-items: start; }

.stub__price {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1;
}

@media (max-width: 780px) {
  .stub { grid-template-columns: 1fr; }
  .stub::before {
    top: auto;
    left: 18px;
    right: 18px;
    bottom: auto;
    width: auto;
    height: 2px;
    background-image: linear-gradient(90deg, var(--ink-15) 55%, transparent 0);
    background-size: 12px 2px;
    display: none;
  }
  .stub__side { justify-items: stretch; }
  .stub__side .btn { width: 100%; }
}

/* Checklist */
.checks { display: grid; gap: 12px; }

/* Positioned marker rather than a grid cell, so list items can contain
   inline markup without it being blockified into its own track. */
.checks li {
  position: relative;
  padding-left: 34px;
  line-height: 1.55;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bulb);
  box-shadow: inset 0 0 0 4px rgba(23, 16, 31, 0.85), 0 0 10px rgba(255, 194, 71, 0.6);
}

.section--paper .checks li::before {
  box-shadow: inset 0 0 0 4px var(--playbill), 0 0 0 1px rgba(122, 74, 29, 0.35);
}

/* Ordered process — steps genuinely happen in sequence */
.steps { counter-reset: step; display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
  border-bottom: 1px solid var(--cream-12);
}

.section--paper .step { border-bottom-color: rgba(32, 21, 38, 0.12); }

.step:last-child { border-bottom: 0; padding-bottom: 0; }

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--bulb);
  color: var(--bulb);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.step h3 { margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   9. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }

.faq__item {
  padding: 4px 20px;
  background: rgba(246, 238, 223, 0.04);
  border: 1px solid var(--cream-12);
  border-radius: var(--radius-sm);
}

.section--paper .faq__item {
  background: #ffffff;
  border-color: rgba(32, 21, 38, 0.12);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-utility);
  font-size: 1.4rem;
  color: var(--bulb);
  transition: transform 200ms ease;
}

.section--paper .faq__item summary::after { color: var(--lipstick); }

.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p { padding-bottom: 20px; color: var(--cream-60); max-width: 70ch; }

.section--paper .faq__item p { color: var(--ink-60); }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 18px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: rgba(246, 238, 223, 0.04);
  border: 1px solid var(--cream-12);
  border-radius: var(--radius);
}

.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.field { display: grid; gap: 8px; }

.field label {
  font-family: var(--font-utility);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 238, 223, 0.62);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--playbill);
  background: rgba(16, 11, 22, 0.7);
  border: 1px solid var(--cream-30);
  border-radius: var(--radius-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bulb);
  box-shadow: var(--ring);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(246, 238, 223, 0.34); }

.field__error {
  min-height: 1.1em;
  color: var(--lipstick);
  font-size: 0.85rem;
}

.field--invalid input,
.field--invalid textarea { border-color: var(--lipstick); }

.form__note {
  font-size: 0.88rem;
  color: rgba(246, 238, 223, 0.5);
}

.form__status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 194, 71, 0.5);
  background: rgba(255, 194, 71, 0.12);
  color: var(--bulb-hot);
  font-weight: 600;
}

.form__status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   11. Contact list
   -------------------------------------------------------------------------- */
.contact-list { display: grid; gap: 22px; }

.contact-list dt {
  font-family: var(--font-utility);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 238, 223, 0.5);
  margin-bottom: 4px;
}

.contact-list dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-list a { text-decoration-color: var(--bulb); text-underline-offset: 4px; }

.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.copy-btn {
  padding: 8px 16px;
  color: var(--bulb);
  background: transparent;
  border: 1px solid rgba(255, 194, 71, 0.45);
  border-radius: 999px;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.copy-btn:hover { background: var(--bulb); color: var(--house); }

/* On cream surfaces amber-on-cream fails contrast — switch to ink. */
.stub .copy-btn,
.section--paper .copy-btn {
  color: var(--playbill-ink);
  border-color: rgba(32, 21, 38, 0.35);
}

.stub .copy-btn:hover,
.section--paper .copy-btn:hover {
  background: var(--playbill-ink);
  color: var(--playbill);
  border-color: var(--playbill-ink);
}

/* --------------------------------------------------------------------------
   12. Split feature (image + copy)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4rem);
}

.split--top { align-items: start; }

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.split__media img { width: 100%; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  background: var(--house-deep);
  border-top: 1px solid var(--cream-12);
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--cream-12);
}

.site-footer h4 {
  margin-bottom: 12px;
  font-family: var(--font-utility);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 238, 223, 0.5);
}

.site-footer ul { display: grid; gap: 9px; }

.site-footer a { color: var(--cream-60); text-decoration: none; transition: color 160ms ease; }

.site-footer a:hover { color: var(--bulb); }

.site-footer__blurb { max-width: 42ch; color: var(--cream-60); font-size: 0.95rem; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 1.5rem;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  color: rgba(246, 238, 223, 0.42);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   14. 404
   -------------------------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 18vw, 11rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--bulb);
  text-shadow: 0 0 40px rgba(255, 194, 71, 0.28);
}

.error-page h1 { margin: 18px 0 14px; font-size: var(--step-3); }

.error-page p { max-width: 52ch; margin-inline: auto; color: var(--cream-60); }

.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

/* --------------------------------------------------------------------------
   15. Motion
   -------------------------------------------------------------------------- */
/* Scoped to .js so that if JavaScript never runs, nothing stays hidden. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .marquee__rail { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   16. Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 34px; }

.text-center { text-align: center; }

.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

@media print {
  .domain-sale-banner,
  .site-header,
  .site-footer { display: none; }
  body { color: #000; background: #fff; }
}
