/* Bark at the Moon — mockup design system
   Tattoo-flash palette: ink, cream, gold, red, teal */

:root {
  --ink: #15121c;
  --night: #201a31;
  --night-2: #2a2140;
  --cream: #f4ecdc;
  --paper: #fbf7ee;
  --gold: #f0b13c;
  --red: #d94350;
  /* --red is the brand red, but it never clears 4.5:1 against any background on
     this site, so it is only safe for large display text and for graphics.
     Small text needs one of these two instead; darkening alone can't serve both
     light and dark sections, hence the pair. */
  --red-deep: #c22e3b;  /* small text on paper/cream/white, and as a fill under white text */
  --red-lite: #e86b76;  /* small text on ink/night/night-2 */
  /* --gold is only 1.6-1.9:1 on cream/white, so it can't be used for text on a
     light surface even though it's fine on the dark sections. */
  --gold-deep: #8a5f00;
  --blue: #1573af;   /* carried over from the current site's accent */
  --teal: #3aa79a;
  --text-dark: #2a2433;
  --muted: #7d7668;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.marker { font-family: "Permanent Marker", cursive; }

a { color: inherit; }

img { max-width: 100%; }

/* ── announcement bar ─────────────────────────── */
.topbar {
  background: var(--red-deep);
  color: var(--cream);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
}
.topbar a { color: #fff; text-underline-offset: 3px; }

/* ── header ───────────────────────────────────── */
header {
  background: var(--ink);
  border-bottom: 1px solid #2e2740;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.logo svg { display: block; }
.logo-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 0.9;
}
.logo-name small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.1em;   /* tracked in tight so the longer line sits flush under the wordmark */
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav a.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.85;
}
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--gold); opacity: 1; }

/* ── buttons ──────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 10px 26px 8px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.btn:hover { transform: rotate(-1.5deg) scale(1.03); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 4px 4px 0 rgba(0,0,0,0.45); }
.btn-red { background: var(--red-deep); color: #fff; box-shadow: 4px 4px 0 rgba(0,0,0,0.45); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-sm { font-size: 16px; padding: 7px 18px 5px; }

/* ── hero ─────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1.5px 1.5px at 12% 25%, rgba(244,236,220,.9) 50%, transparent 51%),
    radial-gradient(2px 2px at 28% 12%, rgba(244,236,220,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 30%, rgba(244,236,220,.6) 50%, transparent 51%),
    radial-gradient(2px 2px at 63% 8%, rgba(244,236,220,.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85% 40%, rgba(244,236,220,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 72% 22%, rgba(244,236,220,.5) 50%, transparent 51%),
    radial-gradient(2px 2px at 8% 60%, rgba(244,236,220,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 92% 70%, rgba(244,236,220,.6) 50%, transparent 51%),
    linear-gradient(180deg, var(--ink) 0%, var(--night) 60%, var(--night-2) 100%);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 84px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-copy { flex: 1; }
/* art column gets the wider share so a real photo reads at a decent size */
.hero-art { flex: 1.2; text-align: center; position: relative; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 84px);
  color: var(--cream);
  margin-bottom: 16px;
}
.hero h1 .hl { color: var(--gold); }
.hero h1 .hl-red { color: var(--red); }

.hero .sub {
  font-size: 18px;
  max-width: 520px;
  color: #cfc8ba;
  margin-bottom: 28px;
}
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.awoo {
  position: absolute;
  /* transform/filter on the hero art makes it its own paint layer, which buries
     an auto-z-index marker. z-index keeps the scribble on top. */
  z-index: 2;
  top: -22px;
  right: 4%;
  transform: rotate(12deg);
  color: var(--red-lite);
  font-size: 22px;
}

/* moon */
.moon-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  transform: rotate(-2deg);
  filter:
    drop-shadow(0 0 30px rgba(244,236,220,0.25))
    drop-shadow(0 0 100px rgba(240,177,60,0.15));
}

/* ── sections ─────────────────────────────────── */
section { padding: 64px 0; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

.section-light { background: var(--paper); color: var(--text-dark); }

/* tattoo flash sheet tiled behind a section, faint like an old stencil */
.flash-bg { position: relative; }
.flash-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/flash-bg.png") repeat;
  background-size: 380px 380px;
  opacity: 0.07;
  pointer-events: none;
}
.flash-bg > .wrap { position: relative; }

/* tattoo-parlor lettering for select headlines */
.tattoo-font, h2.title.tattoo-font {
  font-family: "Rye", "Bebas Neue", serif;
  font-size: clamp(22px, 3.4vw, 36px);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.section-cream { background: var(--cream); color: var(--text-dark); }
.section-dark { background: var(--night); }
.section-ink { background: var(--ink); }

.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin-bottom: 8px;
}
.section-dark .kicker, .section-ink .kicker { color: var(--gold); }
/* ...except inside a light card, which is a light surface wherever it sits. */
.card .kicker, .quote-card .kicker, .form-card .kicker { color: var(--red-deep); }

h2.title { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 14px; }
.lede { font-size: 17px; max-width: 640px; margin-bottom: 32px; }
.section-light .lede, .section-cream .lede { color: #574f43; }
.section-dark .lede, .section-ink .lede { color: #cfc8ba; }

/* ── sticker cards ────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  color: var(--text-dark);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 6px 6px 0 var(--ink);
}
.card:nth-child(even) { transform: rotate(0.6deg); }
.card:nth-child(odd) { transform: rotate(-0.6deg); }
.card h3 { font-size: 24px; margin: 10px 0 6px; }
.card p { font-size: 14.5px; color: #574f43; }
.card .price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  color: var(--red-deep);
  margin-top: 10px;
}
.card .icon { width: 34px; height: 34px; }

.card-dark {
  background: var(--night-2);
  color: var(--cream);
  border-color: #000;
  box-shadow: 6px 6px 0 #000;
}
.card-dark p { color: #cfc8ba; }

/* ── reviews ──────────────────────────────────── */
/* wider tracks than .cards so six quotes land as a clean 3x2, not 4+2.
   min() keeps a single card from overflowing narrow phones. */
.cards-reviews { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

/* ---- service cards: photo header, expanded detail, price pinned to the bottom ---- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 26px;
}
.svc {
  background: #fff;
  color: var(--text-dark);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc:nth-child(even) { transform: rotate(0.4deg); }
.svc:nth-child(odd)  { transform: rotate(-0.4deg); }

/* fixed 16:10 box so the grid stays even whether the slot holds a photo or an icon */
.svc-media {
  aspect-ratio: 16 / 10;
  border-bottom: 2px solid var(--ink);
  background: var(--night-2);
  display: grid;
  place-items: center;
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-media svg { width: 76px; height: 76px; }

.svc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 25px; margin: 0 0 6px; }
.svc-body > p { font-size: 14.5px; color: #574f43; margin-bottom: 13px; }
.svc-who {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin-bottom: 9px;
}
.svc-what { list-style: none; font-size: 13.5px; color: #574f43; margin: 0 0 16px; }
.svc-what li { position: relative; padding-left: 17px; margin-bottom: 5px; line-height: 1.5; }
.svc-what li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.svc .price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 21px;
  line-height: 1.3;
  color: var(--red-deep);
  margin-top: auto;
}
.svc-note { font-size: 12px; color: #7b7365; margin-top: 5px; }

.rating-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 4px 0 34px;
}
.rating-score {
  font-family: "Bebas Neue", sans-serif;
  font-size: 54px;
  line-height: 1;
  color: var(--gold-deep);
}
.rating-stars { color: var(--gold-deep); font-size: 22px; letter-spacing: 3px; }
.rating-meta { font-size: 14px; color: #574f43; }
.rating-meta a { color: var(--red-deep); font-weight: 600; }

.quote-card {
  background: #fff;
  color: var(--text-dark);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 22px 24px 20px;
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
}
.quote-card:nth-child(even) { transform: rotate(0.5deg); }
.quote-card:nth-child(odd) { transform: rotate(-0.5deg); }
.quote-card .stars { color: var(--gold-deep); font-size: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  font-size: 14.5px;
  line-height: 1.65;
  color: #574f43;
  margin: 10px 0 16px;
  flex: 1;
}
.quote-card .who {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.quote-card .what {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.reviews-foot { text-align: center; margin-top: 30px; font-size: 13px; color: #574f43; }
.reviews-foot a { color: var(--red-deep); font-weight: 600; }

/* ── the "no" list ────────────────────────────── */
.nolist { list-style: none; margin: 24px 0; }
.nolist li {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(30px, 4.5vw, 46px);
  letter-spacing: 0.04em;
  color: var(--cream);
  position: relative;
  display: table;
  padding: 2px 6px;
  margin-bottom: 6px;
}
.nolist li::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px; top: 52%;
  height: 5px;
  background: var(--red);
  transform: rotate(-1.6deg);
  border-radius: 3px;
}
.not-ever {
  font-family: "Permanent Marker", cursive;
  font-size: 26px;
  color: var(--gold);
  transform: rotate(-2deg);
  display: inline-block;
  margin-top: 8px;
}

/* ── badges / patches ─────────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.badge {
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  letter-spacing: 0.02em;
  background: rgba(240,177,60,0.07);
}
.badge.badge-light {
  border-color: var(--text-dark);
  color: var(--text-dark);
  background: #fff;
  box-shadow: 3px 3px 0 var(--text-dark);
}

/* ── misc ─────────────────────────────────────── */
.split { display: flex; gap: 48px; align-items: flex-start; }
.split > div { flex: 1; }

.pawline {
  display: flex; gap: 18px; justify-content: center;
  padding: 18px 0; opacity: 0.5;
}

blockquote.pull {
  font-family: "Permanent Marker", cursive;
  font-size: 24px;
  color: var(--red);
  transform: rotate(-1deg);
  margin: 24px 0;
  max-width: 560px;
}

.notice {
  border: 2px dashed var(--red);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 15px;
  max-width: 640px;
}

/* ── forms (waitlist) ─────────────────────────── */
.form-card {
  background: var(--paper);
  color: var(--text-dark);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.5);
  padding: 32px;
  max-width: 560px;
}
.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 16px 0 5px;
  color: var(--text-dark);
}
.form-card input[type="text"], .form-card input[type="email"],
.form-card input[type="tel"], .form-card textarea, .form-card select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 2px solid var(--text-dark);
  border-radius: 6px;
  background: #fff;
}
.form-card textarea { min-height: 80px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.checks label {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0; text-transform: none; letter-spacing: 0;
  font-size: 14px; font-weight: 600;
  border: 2px solid var(--text-dark);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  background: #fff;
}
/* The interests group is a fieldset so screen readers announce the question
   with each checkbox. legend inherits the label styling by hand because it
   doesn't pick up .form-card label. */
.form-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-card legend {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 16px 0 5px;
  padding: 0;
  color: var(--text-dark);
}

.form-hint { font-size: 13px; color: #6b6455; margin: 4px 0 0; }

/* Consent block. --muted fails 4.5:1 on --paper, so the fine print uses #6b6455. */
.consent { margin-top: 20px; padding-top: 16px; border-top: 1px solid #ded5c4; }
.consent label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  cursor: pointer;
}
.consent input[type="checkbox"] { margin-top: 2px; flex: 0 0 auto; width: 16px; height: 16px; }
.consent .fine-print { font-size: 12px; line-height: 1.55; color: #6b6455; margin: 0; }
.consent .fine-print a { color: var(--red-deep); font-weight: 600; }

.form-card .btn { margin-top: 24px; }

.steps { counter-reset: step; list-style: none; margin-top: 24px; }
.steps li {
  counter-increment: step;
  display: flex; gap: 16px; align-items: baseline;
  margin-bottom: 18px; font-size: 15.5px;
}
.steps li::before {
  content: counter(step);
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; top: 6px;
}

/* ── real assets: photos & cert emblems ───────── */
.hero-logo {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  border: 3px solid var(--cream);
  box-shadow: 12px 12px 0 rgba(240,177,60,0.85), 0 16px 50px rgba(0,0,0,0.5);
  transform: rotate(-2deg);
}

/* real photo in the hero. cream frame so it holds its edge against the night sky,
   red offset block to match the .photo-frame treatment further down the page */
.hero-photo {
  width: 100%;
  max-width: 560px;
  height: auto;
  border: 5px solid var(--cream);
  border-radius: 14px;
  transform: rotate(-1.5deg);
  box-shadow: 10px 10px 0 var(--red), 0 20px 44px rgba(0,0,0,0.5);
}

/* transparent-cut badge logo — no frame, just a moonlit glow */
.hero-badge {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter:
    drop-shadow(0 0 34px rgba(244,236,220,0.22))
    drop-shadow(0 0 90px rgba(240,177,60,0.16))
    drop-shadow(0 14px 26px rgba(0,0,0,0.45));
}

.photo-frame {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--red);
  transform: rotate(-1deg);
  margin-bottom: 18px;
}
.photo-frame.tilt-r { transform: rotate(1deg); box-shadow: 8px 8px 0 var(--blue); }

.cert-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.cert {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 14px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.45);
}
.cert:nth-child(even) { transform: rotate(0.8deg); }
.cert:nth-child(odd) { transform: rotate(-0.8deg); }
.cert img { max-height: 88px; max-width: 100%; object-fit: contain; }

.local-carousel {
  overflow: hidden;
  max-width: 820px;
  margin: 30px auto 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.local-track {
  display: flex;
  width: max-content;
  animation: local-marquee 28s linear infinite;
}
.local-carousel:hover .local-track { animation-play-state: paused; }
.local-track a {
  display: block;
  flex-shrink: 0;
  margin-right: 56px;
  transition: transform 0.15s ease;
}
.local-track a:hover { transform: scale(1.05) rotate(-2deg); }
.local-track img {
  height: 180px; width: 180px;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 50%;
  padding: 16px;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
  display: block;
}
@keyframes local-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}
@media (prefers-reduced-motion: reduce) {
  .local-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 22px; }
  .local-track a { margin-right: 0; }
  .local-track a:nth-child(n+5) { display: none; }
  .local-carousel { mask-image: none; -webkit-mask-image: none; }
}

/* ── footer ───────────────────────────────────── */
footer {
  background: #0e0b14;
  border-top: 1px solid #2e2740;
  padding: 42px 0;
  font-size: 14px;
  color: #a59d8e;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
footer h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
footer a { color: #a59d8e; }
.fine { margin-top: 26px; text-align: center; width: 100%; font-size: 12px; color: #8a8272; }

/* Legal row sits above the copyright line, full-width across the footer flex. */
.footer-legal {
  width: 100%;
  order: 90;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #2e2740;
  text-align: center;
  font-size: 13px;
}
.footer-legal a { color: #bdb4a3; text-decoration: underline; }
.footer-legal a:hover { color: var(--cream); }
.footer-legal .sep { color: #8a8272; margin: 0 8px; }
.fine { order: 99; }

@media (max-width: 820px) {
  /* nav collapses to a centered two-row stack */
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    padding: 12px 16px;
  }
  .logo { margin-right: 0; flex-basis: 100%; justify-content: center; }
  .logo img { width: 52px !important; }
  .logo-name { font-size: 22px; }
  .logo-name small { font-size: 8px; letter-spacing: 0.06em; }
  .nav a.nav-link { font-size: 13px; }
  .btn-sm { font-size: 14px; padding: 6px 14px 4px; }

  .topbar { font-size: 12.5px; padding: 7px 12px; }

  .hero-inner {
    /* copy first on phones. the art used to lead here, which pushed the
       headline and the waitlist button below the fold. */
    flex-direction: column;
    text-align: center;
    padding: 40px 20px 52px;
    gap: 36px;
  }
  .hero .cta-row { justify-content: center; }
  .hero .sub { margin-left: auto; margin-right: auto; font-size: 16px; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); }
  .eyebrow { font-size: 11px; }
  .hero-copy > div[style] { justify-content: center !important; }

  .hero-logo { max-width: min(400px, 88vw); }
  .hero-photo { max-width: min(460px, 92vw); }
  .hero-badge { max-width: min(430px, 90vw); }
  .moon-img { width: min(300px, 82vw); height: auto; }
  .awoo { top: -26px; right: 8%; font-size: 18px; }

  section { padding: 44px 0; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .split { flex-direction: column; gap: 32px; }

  h2.title { font-size: clamp(30px, 8vw, 44px); }
  .lede { font-size: 15.5px; }

  .card { padding: 20px; }
  .form-card { padding: 22px 18px; max-width: none; }

  blockquote.pull { font-size: 20px; }
  .nolist li { font-size: clamp(26px, 8vw, 38px); }
  .not-ever { font-size: 22px; }

  footer .wrap { flex-direction: column; gap: 22px; text-align: center; }
  .fine { margin-top: 8px; }

  .local-track img { height: 120px; width: 120px; padding: 10px; }
  .local-track a { margin-right: 34px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(34px, 12vw, 44px); }
  .checks { gap: 8px; }
  .checks label { font-size: 13px; padding: 6px 11px; }
  .cert-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cert { min-height: 90px; padding: 10px; }
  .cert img { max-height: 70px; }
  .local-strip img { height: 74px; width: 74px; }
  .steps li::before { min-width: 34px; height: 34px; font-size: 22px; }
}

/* ── keyboard access ──────────────────────────── */

/* Skip link: off-screen until focused, then pinned top-left. Uses translateY
   rather than display:none so it stays in the tab order. */
.skip-link {
  position: absolute;
  z-index: 999;
  top: 0;
  left: 8px;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

/* The default focus ring is nearly invisible on the dark sections. Gold reads
   on every background this site uses. :focus-visible so it only shows for
   keyboard users, not on mouse clicks. */
/* main is only focusable so the skip link can land focus on it; it should
   never draw a ring of its own. */
main:focus, main:focus-visible { outline: none; }

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

/* ── legal pages ──────────────────────────────── */
.legal { max-width: 760px; }
.legal h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
  letter-spacing: 0.03em;
  margin: 34px 0 10px;
}
.legal h2:first-of-type { margin-top: 22px; }
.legal h3 { font-size: 18px; margin: 20px 0 6px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: #574f43; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--red-deep); font-weight: 600; }
.legal .updated { font-size: 13px; color: #6b6455; margin-bottom: 6px; }
.legal address { font-style: normal; }
