/* Tallowfield Heating, Plumbing & Electric (a made-up trades company, redesigned by Undefault).
   Owner 2026-11-07: direction A's brand (the red one: signal red, cream, navy, a copper detail;
   Big Shoulders Display and Atkinson Hyperlegible; the phone number as a headline) with
   direction B's first screen (four triage buttons that are step one of booking) and its
   narrowing price range. */

@font-face {
  font-family: 'Big Shoulders Display';
  src: url('/demos/tallowfield/after/fonts/big-shoulders-display-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  src: url('/demos/tallowfield/after/fonts/atkinson-hyperlegible-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  src: url('/demos/tallowfield/after/fonts/atkinson-hyperlegible-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d7261e;
  --red-deep: #b51d16;
  --cream: #fff4e2;
  --cream-deep: #f6e6cb;
  --navy: #0e1b33;
  --navy-soft: #24324d;
  --copper: #c8743a;
  --ink: #0e1b33;
  --muted: #4a5368;
  --line: #e2cfae;
  --display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --text: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
img,
picture {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}
p {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.on-red :focus-visible,
.hero :focus-visible {
  outline-color: var(--cream);
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--cream);
}
.skip:focus {
  top: 12px;
}
.num {
  font-variant-numeric: tabular-nums;
}
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}
.button:hover {
  background: var(--navy-soft);
}
.button:active {
  transform: translateY(1px);
}
.button.red {
  background: var(--red);
  color: var(--cream);
}
.button.red:hover {
  background: var(--red-deep);
}
.button.cream {
  background: var(--cream);
  color: var(--navy);
}
.button.ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.demo-tag {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Season bar and header ---------- */
.season {
  background: var(--navy);
  color: var(--cream);
  font-size: 0.93rem;
}
.season-in {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 0;
}
.season-in::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--copper);
}
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--red);
  color: var(--cream);
  transition: box-shadow 0.2s;
}
.top.solid {
  box-shadow: 0 2px 0 var(--red-deep);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.wordmark {
  font: 800 1.9rem/1 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
}
.top nav a {
  text-decoration: none;
}
.top nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.top-phone {
  font: 800 1.45rem/1 var(--display);
  letter-spacing: 0.02em;
}
.top .button {
  min-height: 42px;
  padding: 0 18px;
}

/* ---------- Hero: the red one, the number, and step one of booking ---------- */
.hero {
  background: var(--red);
  color: var(--cream);
  padding: 28px 0 56px;
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.kicker {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin-top: 12px;
  font: 800 clamp(3rem, 6.2vw, 5.6rem) / 0.9 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.big-phone {
  display: inline-flex;
  flex-direction: column;
  margin-top: 20px;
  text-decoration: none;
}
.big-phone .digits {
  font: 800 clamp(2.6rem, 5vw, 4.4rem) / 0.95 var(--display);
  letter-spacing: 0.02em;
  border-bottom: 4px solid var(--copper);
  padding-bottom: 4px;
}
.big-phone .who {
  margin-top: 8px;
  font-weight: 700;
}
.big-phone:hover .digits {
  border-bottom-color: var(--cream);
}
.triage-title {
  margin-top: 26px;
  font: 800 1.6rem/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.triage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.triage a,
.triage button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 12px 18px;
  border: 0;
  border-radius: 4px;
  background: var(--cream);
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s;
}
.triage a:hover,
.triage button:hover {
  box-shadow: 0 0 0 3px var(--navy);
}
.triage a:active,
.triage button:active {
  transform: scale(0.985);
}
.triage svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--red);
}
.triage b {
  display: block;
  font: 800 1.45rem/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.triage small {
  display: block;
  margin-top: 3px;
  font-size: 0.88rem;
  color: var(--muted);
}
.gas {
  margin-top: 14px;
  font-weight: 700;
}
.gas::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--cream);
  vertical-align: 1px;
}
.hero-fig {
  margin: 0;
  padding: 12px;
  background: var(--cream);
  border-radius: 2px;
}
.hero-fig img {
  width: 100%;
  height: auto;
}
.proof {
  display: flex;
  justify-content: space-between;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 12px 4px 2px;
  color: var(--navy);
}
.proof b {
  font: 800 1.35rem/1.1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.proof a {
  font-weight: 700;
}

/* Phones: Call and Book stay in reach once the hero's number scrolls away. */
.dock {
  display: none;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}
.section h2 {
  font: 800 clamp(2.4rem, 4.6vw, 4rem) / 0.95 var(--display);
  text-transform: uppercase;
}
.section-lede {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--muted);
}
.rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin: 36px 0 0;
}
.rates div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 20px;
  padding: 18px 0;
  border-top: 2px solid var(--navy);
}
.rates dt {
  font-weight: 700;
}
.rates dd {
  display: contents;
  margin: 0;
}
.rates dd b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font: 800 2rem/1 var(--display);
  color: var(--red);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.rates dd span {
  grid-column: 1;
  font-size: 0.95rem;
  color: var(--muted);
}
.fine {
  margin-top: 22px;
  font-size: 0.93rem;
  color: var(--muted);
}

.day {
  background: var(--navy);
  color: var(--cream);
}
.day .section-lede {
  color: #c9cfdc;
}
.day-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: 36px;
}
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgb(255 244 226 / 0.2);
}
.timeline time {
  font: 800 1.35rem/1.1 var(--display);
  color: #f0a873;
  font-variant-numeric: tabular-nums;
}
.day-fig {
  margin: 0;
}
.day-fig img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.day-fig figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #c9cfdc;
}

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: 32px;
  align-items: start;
}
.districts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.districts button {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.districts button[aria-pressed='true'] {
  background: var(--navy);
  color: var(--cream);
}
.district-note {
  padding: 22px 24px;
  background: var(--cream-deep);
  border-left: 0;
  border-radius: 4px;
}
.district-note h3 {
  font: 800 1.8rem/1 var(--display);
  text-transform: uppercase;
}
.district-note p {
  margin-top: 8px;
}

.family-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: 32px;
}
.family-grid > div > p + p,
.family-grid blockquote {
  margin-top: 18px;
}
blockquote {
  margin: 0;
  padding: 22px 24px;
  background: var(--cream-deep);
  border-radius: 4px;
  font-size: 1.1rem;
}
blockquote footer {
  margin-top: 10px;
  font-size: 0.93rem;
  font-weight: 700;
}
.crew {
  margin: 0;
  padding: 0;
  list-style: none;
}
.crew li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 2px solid var(--navy);
}
.crew span {
  color: var(--muted);
  text-align: right;
}

.sos {
  background: var(--red);
  color: var(--cream);
}
.sos h2 {
  max-width: 16ch;
}
.sos p {
  margin-top: 14px;
  max-width: 52ch;
}
.sos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.foot {
  padding: 40px 0 48px;
  background: var(--navy);
  color: #d9deea;
  font-size: 0.95rem;
}
.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px 48px;
}
.foot-name {
  font: 800 1.6rem/1 var(--display);
  text-transform: uppercase;
  color: var(--cream);
}
.foot-in > div > p + p {
  margin-top: 8px;
}
.foot-hours {
  margin: 0;
}
.foot-hours dt {
  margin-top: 10px;
}
.foot-hours dt:first-child {
  margin-top: 0;
}
.foot-hours dd {
  margin: 2px 0 0;
  font-weight: 700;
  color: var(--cream);
}
.foot-demo {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgb(255 244 226 / 0.2);
}

/* ---------- Booking page ---------- */
.flow-head {
  background: var(--red);
  color: var(--cream);
  padding: 26px 0 30px;
}
.flow-head-in {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
}
.flow-head h1 {
  font: 800 clamp(2.6rem, 5vw, 4.2rem) / 0.92 var(--display);
  text-transform: uppercase;
}
.flow-head .big-phone {
  margin-top: 0;
}
.flow-head .big-phone .digits {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.trail {
  display: flex;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.trail li {
  flex: 1;
}
.trail button {
  width: 100%;
  padding: 8px 0 0;
  border: 0;
  border-top: 4px solid rgb(255 244 226 / 0.35);
  background: none;
  color: rgb(255 244 226 / 0.8);
  text-align: left;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
}
.trail button:disabled {
  cursor: default;
}
.trail button[data-done] {
  border-top-color: var(--cream);
  color: var(--cream);
}
.trail button[aria-current='step'] {
  border-top-color: var(--navy);
  color: var(--cream);
}
.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  margin-block: 32px 72px;
  align-items: start;
}
.panel h2 {
  font: 800 2.3rem/0.95 var(--display);
  text-transform: uppercase;
}
.panel h2:focus {
  outline: none;
}
.panel-lede {
  margin-top: 8px;
  color: var(--muted);
}
.enter-fwd {
  animation: in-fwd 0.3s var(--ease);
}
.enter-back {
  animation: in-back 0.3s var(--ease);
}
@keyframes in-fwd {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
}
@keyframes in-back {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
}
.panel .triage {
  margin-top: 18px;
}
.panel .triage a,
.panel .triage button {
  background: var(--red);
  color: var(--cream);
}
.panel .triage svg {
  color: var(--cream);
}
.panel .triage small {
  color: var(--cream);
}
.panel .triage a:hover,
.panel .triage button:hover {
  box-shadow: 0 0 0 3px var(--navy);
}
.panel .gas {
  color: var(--navy);
}
.panel .gas::before {
  background: var(--red);
}
.result-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.result-head img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.alert {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--cream);
}
.alert p + p,
.alert p + .button {
  margin-top: 10px;
}
.alert .button {
  min-height: 46px;
}
.causes {
  margin: 16px 0 0;
  font-size: 0.95rem;
  padding-left: 1.1em;
}
.causes li {
  margin-top: 4px;
}
.causes li.out {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--red);
}

/* The showpiece: the price range narrows as you answer. */
.range {
  margin-top: 26px;
  padding: 20px 22px 22px;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px var(--line);
}
.range-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 16px;
}
.range-top h3 {
  font: 800 1.5rem/1 var(--display);
  text-transform: uppercase;
}
.range-value {
  font: 800 2.2rem/1 var(--display);
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.range-track {
  position: relative;
  height: 14px;
  margin-top: 16px;
  border-radius: 7px;
  background: var(--cream-deep);
}
.range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--lo, 0) * 100%);
  right: calc((1 - var(--hi, 1)) * 100%);
  min-width: 14px;
  border-radius: 7px;
  background: var(--red);
  transition: left 0.25s var(--ease), right 0.25s var(--ease);
}
.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.questions {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.question p {
  font-weight: 700;
  font-size: 0.97rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.chip {
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
}
.chip[aria-pressed='true'] {
  background: var(--navy);
  color: var(--cream);
}
.because {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}
.because li {
  padding: 6px 0 6px 18px;
  border-top: 1px solid var(--line);
  position: relative;
}
.because li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
}

.windows-block {
  margin-top: 30px;
}
.windows-block h3 {
  font: 800 1.7rem/1 var(--display);
  text-transform: uppercase;
}
.wdays {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.wday {
  flex: none;
  min-width: 88px;
  min-height: 52px;
  padding: 6px 10px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.wday[aria-pressed='true'] {
  background: var(--navy);
  color: var(--cream);
}
.windows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.window {
  display: grid;
  gap: 2px;
  min-height: 64px;
  padding: 10px 14px;
  border: 0;
  border-radius: 4px;
  background: var(--cream-deep);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px transparent;
}
.window b {
  font: 800 1.35rem/1 var(--display);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.window small {
  font-size: 0.85rem;
  color: var(--muted);
}
.window:hover:not(:disabled) {
  box-shadow: inset 0 0 0 2px var(--navy);
}
.window:disabled {
  opacity: 0.45;
  cursor: default;
}
.window[aria-pressed='true'] {
  background: var(--navy);
  color: var(--cream);
}
.window[aria-pressed='true'] small {
  color: var(--cream);
}

.describe {
  margin-top: 34px;
  padding: 22px 24px;
  border-radius: 4px;
  background: var(--cream-deep);
}
.describe h2,
.describe h3 {
  font: 800 1.6rem/1 var(--display);
  text-transform: uppercase;
}
.describe > p {
  margin-top: 6px;
  color: var(--muted);
}
.describe label {
  display: block;
  margin-top: 14px;
  font-weight: 700;
}
.describe textarea {
  width: 100%;
  min-height: 84px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  background: #fff;
  resize: vertical;
}
.ask-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.tries {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.try {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: transparent;
  font-size: 0.9rem;
  cursor: pointer;
}
.answer {
  margin-top: 14px;
}
.answer-empty {
  color: var(--muted);
  font-size: 0.95rem;
}
.verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.verdict h4 {
  margin: 0;
  font: 800 1.45rem/1 var(--display);
  text-transform: uppercase;
}
.level {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--cream);
}
.level-now {
  background: var(--red);
}
.reading {
  margin: 12px 0 0;
}
.reading dt {
  margin-top: 10px;
  font-weight: 700;
}
.reading dd {
  margin: 2px 0 0;
}
.reading .wait {
  opacity: 0;
}
.reading dt,
.reading dd {
  transition: opacity 0.3s;
}
.answer-act {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.thinking {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}
.thinking i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  animation: blink 1s infinite;
}
.thinking i:nth-child(2) {
  animation-delay: 0.15s;
}
.thinking i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes blink {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-top: 20px;
}
.field.wide {
  grid-column: 1 / -1;
}
.field label {
  display: block;
  font-weight: 700;
}
.field input {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  padding: 0 14px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  background: #fff;
}
.field input[aria-invalid='true'] {
  border-color: var(--red);
}
.hint {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--muted);
}
.err {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red-deep);
}
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 24px;
}
.link-back {
  border: 0;
  background: none;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.ticket {
  position: sticky;
  top: 92px;
  padding: 22px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 4px;
}
.ticket h2 {
  font: 800 1.6rem/1 var(--display);
  text-transform: uppercase;
}
.ticket dl {
  margin: 14px 0 0;
}
.ticket dl div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgb(255 244 226 / 0.2);
}
.ticket dt {
  font-size: 0.88rem;
  color: #c9cfdc;
}
.ticket dd {
  margin: 0;
  font-weight: 700;
}
.ticket dd.empty {
  font-weight: 400;
  color: #c9cfdc;
}
.ticket-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--copper);
}
.ticket-price strong {
  font: 800 2rem/1 var(--display);
  font-variant-numeric: tabular-nums;
}
.ticket-note {
  margin-top: 10px;
  font-size: 0.88rem;
  color: #c9cfdc;
}
.done-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  color: var(--red);
}
.done-panel p + p {
  margin-top: 12px;
}

/* ---------- Narrow screens ---------- */
@media (max-width: 960px) {
  .hero-in,
  .day-grid,
  .area-grid,
  .family-grid,
  .flow-grid,
  .foot-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .rates {
    grid-template-columns: minmax(0, 1fr);
  }
  .ticket {
    position: static;
    order: -1;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1rem;
  }
  .season {
    font-size: 0.85rem;
  }
  .season-in {
    min-height: 32px;
  }
  .top-in {
    min-height: 54px;
    gap: 12px;
  }
  .wordmark {
    font-size: 1.55rem;
  }
  .top nav a:not(.top-phone):not(.button) {
    display: none;
  }
  .top-phone {
    display: none;
  }
  .top .button {
    min-height: 38px;
    padding: 0 14px;
  }
  .hero {
    padding: 14px 0 0;
  }
  .kicker {
    font-size: 0.85rem;
  }
  .hero h1 {
    margin-top: 6px;
    font-size: 2.65rem;
  }
  .big-phone {
    display: flex;
    margin-top: 12px;
  }
  .big-phone .digits {
    font-size: 2.55rem;
  }
  .big-phone .who {
    margin-top: 4px;
    font-size: 0.93rem;
  }
  .triage-title {
    margin-top: 16px;
    font-size: 1.3rem;
  }
  .triage {
    gap: 8px;
    margin-top: 8px;
  }
  .triage a,
  .triage button {
    min-height: 64px;
    padding: 10px 12px;
    gap: 10px;
  }
  .triage svg {
    width: 24px;
    height: 24px;
  }
  .triage b {
    font-size: 1.2rem;
  }
  .triage small {
    display: none;
  }
  .gas {
    margin-top: 10px;
    font-size: 0.9rem;
  }
  .hero-fig {
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 0 12px;
  }
  .proof {
    padding: 10px var(--gutter) 0;
  }
  .dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--cream);
    box-shadow: 0 -2px 0 var(--navy);
    transform: translateY(110%);
    transition: transform 0.25s var(--ease);
  }
  .dock.on {
    transform: none;
  }
  .rates dd b {
    font-size: 1.6rem;
  }
  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .foot {
    padding-bottom: 96px;
  }
  .flow-head {
    padding: 18px 0 20px;
  }
  .trail button {
    font-size: 0.8rem;
  }
  .flow-grid {
    margin-top: 16px;
  }
  .result-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .result-head img {
    height: 150px;
    object-fit: cover;
  }
  .fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .ticket {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 12px;
    padding: 12px 16px;
  }
  .ticket h2,
  .ticket dl,
  .ticket-note,
  .ticket-price span {
    display: none;
  }
  .ticket .ticket-line {
    display: block;
    margin: 0;
  }
  .ticket-price {
    border-top: 0;
    padding-top: 0;
  }
  .ticket-price strong {
    font-size: 1.5rem;
  }
}
.ticket-line {
  display: none;
  font-size: 0.93rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.alert.urgent {
  background: var(--red-deep);
}
.alert.urgent .button.red {
  background: var(--cream);
  color: var(--red-deep);
}
