/* Talking Road Trip website. Tokens from the brand pack: Outback at dusk, flat, 8–12px corners, no shadows. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ochre: #C8552A;
  --ironbark: #2B2622;
  --cream: #F6EFE4;
  --eucalypt: #5E7F6A;
  --saltbush: #9FB8AD;
  --fireweed: #D9A441;
  /* Muted text a shade darker than Eucalypt, so small text still passes contrast on Cream. */
  --muted: #554c44;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cream); color: var(--ironbark); font: 17px/1.6 var(--body); -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; font-optical-sizing: auto; }
p { margin: 0; }
a { color: inherit; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--cream); padding: 10px 14px; border-radius: 8px; }

.mark { width: 36px; height: 36px; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 22px/1 var(--display); text-decoration: none; min-height: 44px; }
.top { padding: 20px 24px; }
.top-over { position: absolute; inset: 0 0 auto; z-index: 2; color: var(--cream); }

/* The hero is the one loud thing on the site: a full-bleed coast with the tagline on it. */
.hero { position: relative; min-height: min(92svh, 900px); display: flex; align-items: flex-end; color: var(--cream); background: var(--ironbark); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--ironbark) 8%, rgb(43 38 34 / 0.7) 42%, rgb(43 38 34 / 0.05) 75%); }
.hero-text { position: relative; padding: 140px 0 72px; display: grid; gap: 22px; }
.hero h1 { font-size: clamp(54px, 10vw, 128px); max-width: 9ch; }
.lede { font-size: clamp(18px, 2.2vw, 22px); max-width: 34ch; }
.hero .lede { color: rgb(246 239 228 / 0.92); }
.store { font-weight: 600; }
.hero-credit { position: absolute; right: 16px; bottom: 10px; font-size: 12px; color: rgb(246 239 228 / 0.75); }

/* What the phone actually shows, so the idea lands without reading. */
.alert { display: flex; gap: 12px; align-items: flex-start; max-width: 420px; padding: 14px 16px; border-radius: 12px; background: var(--cream); color: var(--ironbark); font-size: 15px; line-height: 1.4; }
.alert strong { display: block; font-size: 16px; }

.band { padding: 96px 0 0; }
.band h2 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 14px; }
.section-lede { color: var(--muted); margin-bottom: 28px; font-size: 19px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; gap: 32px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 600 56px/1 var(--display); color: var(--ochre); margin-bottom: 12px; }
.steps h3 { font-size: 26px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.roads { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.road { display: flex; gap: 16px; align-items: center; padding: 10px; border: 1px solid var(--saltbush); border-radius: 12px; text-decoration: none; min-height: 44px; transition: border-color 200ms ease-out, background 200ms ease-out; }
.road:hover { border-color: var(--ochre); background: #fbf6ee; }
.road img, .road-blank { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; flex: none; background: var(--saltbush); }
.road-text { display: grid; gap: 2px; }
.road-name { font: 600 22px/1.15 var(--display); }
.road-summary { color: var(--muted); font-size: 15px; line-height: 1.45; }
.road-meta { font-size: 14px; font-weight: 600; }

.prices { display: grid; gap: 12px; margin-top: 28px; }
.price { border: 1px solid var(--saltbush); border-radius: 12px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.price h3 { font-size: 24px; }
.amount { font: 600 40px/1 var(--display); }
.amount span { font: 500 16px var(--body); }
.price-main { background: var(--ironbark); color: var(--cream); border-color: var(--ironbark); }
.small { font-size: 15px; color: var(--muted); margin-top: 18px; max-width: 60ch; }

.faq { margin: 24px 0 0; max-width: 64ch; }
.faq dt { font: 600 22px/1.25 var(--display); margin-top: 26px; }
.faq dd { margin: 6px 0 0; color: var(--muted); }

.page { padding: 24px 0 24px; }
.page h1 { font-size: clamp(40px, 7vw, 76px); margin: 8px 0 18px; max-width: 16ch; }
.page h2 { font-size: clamp(28px, 4vw, 38px); margin: 56px 0 8px; }
.crumb { font-weight: 600; font-size: 15px; }
.road-hero { margin: 32px 0 20px; }
.road-hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; }
.road-hero figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.stops { padding: 0; list-style: none; counter-reset: stop; display: grid; gap: 0; max-width: 70ch; }
.stops li { counter-increment: stop; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--saltbush); }
.stops li::before { content: counter(stop); grid-row: span 2; font: 600 22px/1.2 var(--display); color: var(--ochre); }
.stops h3 { font-size: 21px; }
.stops p { color: var(--muted); }
.prose { max-width: 68ch; }
.prose h2 { font-size: 26px; margin: 36px 0 6px; }
.prose p { color: var(--muted); }
.updated { color: var(--muted); font-size: 15px; }

.foot { margin-top: 120px; background: var(--ironbark); color: var(--saltbush); padding: 56px 0 64px; }
.foot .brand { color: var(--cream); }
.foot-grid { display: grid; gap: 32px; }
.foot-ack { margin-top: 16px; max-width: 60ch; font-size: 15px; }
.foot nav { display: grid; gap: 4px; align-content: start; }
.foot nav a { color: var(--cream); min-height: 44px; display: flex; align-items: center; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .roads { grid-template-columns: 1fr 1fr; }
  .road img, .road-blank { width: 112px; height: 112px; }
  .prices { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 2fr 1fr; }
}

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