/* The homepage (docs/HOME-SPEC.md). Phones first; composed at 1366 on a 12-column, 1240 px grid. */

.home { display: block; }

/* ---- Intro: the words, the place line and the Minute Map, all in the first screen ---------------------------------- */

.intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 24px; }
.intro h1 { margin-top: 6px; }
.summary { margin-top: 14px; font-size: 20px; max-width: 34em; }
.summary-long { display: none; }
@media (min-width: 768px) { .summary-long { display: inline; } .summary-short { display: none; } }

.place-label { display: block; font-size: var(--label); font-weight: 600; margin-bottom: 8px; }
.place-row { display: flex; flex-wrap: wrap; gap: 10px; }
.place-zip { width: 6.2ch; min-width: 128px; height: 48px; padding: 0 14px; border: 2px solid var(--char); border-radius: 6px; background: var(--white); font-size: 24px; font-weight: 700; letter-spacing: .04em; }
.place-zip:focus-visible { outline: 2px solid var(--char); outline-offset: 2px; }
.place-zip[aria-invalid="true"] { border-color: var(--ember-deep); }
.place-try { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: var(--label); color: var(--smoke); }
.place-try > span { flex-basis: 100%; }
.zip-chip { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--char); font: inherit; font-weight: 700; cursor: pointer; }
.zip-chip:hover { border-color: var(--smoke); }
.zip-chip:focus-visible { outline: 2px solid var(--char); outline-offset: 2px; }
.place-note { margin-top: 8px; font-size: var(--label); color: var(--smoke); }
.place-msg { margin-top: 6px; font-size: var(--label); font-weight: 600; color: var(--ember-deep); }
.place-msg:empty { display: none; }
.place-msg.ok { color: var(--char); font-weight: 500; }

@media (min-width: 1024px) {
  .intro { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 24px; padding-top: 28px; align-items: start; grid-template-rows: auto auto 1fr; }
  .intro-words { grid-column: 1 / span 5; grid-row: 1; }
  .place { grid-column: 1 / span 5; grid-row: 2; }
  .mm-list { grid-column: 1 / span 5; grid-row: 3; }
  .mm-map { grid-column: 6 / span 7; grid-row: 1 / span 3; padding-left: 12px; }
  .summary { font-size: 21px; }
}

/* ---- The pickup shelf and its heat twin (it opens the Trip Test) ------------------------------------------------- */

.tt-open { display: grid; gap: 24px; margin-bottom: 40px; }
.tt-lede { margin-top: 14px; }
.shelf { margin: 0 calc(-1 * var(--edge)); }
.shelf-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #CFC7BC; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.shelf-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shelf-heat { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--seam)) 0 0); }
.seam { position: absolute; top: 0; bottom: 0; left: clamp(22px, var(--seam), calc(100% - 22px)); width: 44px; margin-left: -22px; cursor: ew-resize; display: flex; align-items: center; justify-content: center; outline: none; }
.seam::before { content: ""; position: absolute; top: 0; bottom: 0; left: 21px; width: 2px; background: var(--white); opacity: 0; }
.has-heat .seam::before { opacity: 1; }
.seam-grip { position: relative; width: 36px; height: 44px; border-radius: 6px; background: var(--white); box-shadow: var(--raise); }
.seam-grip::before,
.seam-grip::after { content: ""; position: absolute; top: 15px; width: 0; height: 0; border: 7px solid transparent; }
.seam-grip::before { left: 2px; border-right-color: var(--char); }
.seam-grip::after { right: 2px; border-left-color: var(--char); }
.seam:focus-visible .seam-grip { outline: 2px solid var(--char); outline-offset: 2px; }
.shelf-tag { position: absolute; left: 12px; top: 12px; background: var(--char); color: var(--white); font-size: 17px; font-weight: 600; line-height: 1; padding: 6px 8px; border-radius: 4px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.has-heat .shelf-tag { opacity: 1; }
.shelf-rail { list-style: none; margin: 0; padding: 10px var(--edge) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shelf-rail li { border-top: 2px solid var(--char); padding-top: 6px; line-height: 1.25; }
.shelf-rail b { display: block; font-size: 17px; font-weight: 800; }
.shelf-rail span { display: block; font-size: 16px; color: var(--smoke); }
.shelf figcaption { margin-top: 10px; padding: 0 var(--edge); font-size: var(--label); color: var(--smoke); line-height: 1.45; }

@media (min-width: 1024px) {
  .tt-open { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; margin-bottom: 56px; }
  .tt-open .part-head { grid-column: 1 / span 5; margin: 0; }
  .shelf { grid-column: 6 / span 7; margin: 0; }
  .shelf-frame { border-radius: 4px; }
  .shelf-rail, .shelf figcaption { padding-inline: 0; }
  .shelf-rail { gap: var(--gutter); }
}

/* ---- The parts ---------------------------------------------------------------------------------------------------- */

.part { margin-top: 72px; }
.part-head { margin-bottom: 24px; max-width: 46em; }
.part-sub { margin-top: 8px; color: var(--smoke); }
@media (min-width: 1024px) {
  .part { margin-top: 112px; }
  .part-head { margin-bottom: 32px; }
}

legend,
.tt-min label { padding: 0; font-size: var(--label); font-weight: 600; color: var(--smoke); margin-bottom: 8px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* ---- Minute Map ----------------------------------------------------------------------------------------------------- */

.mm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 8px; }
.mm-head h2 { font-size: 24px; }
.mm-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.mm-where { font-size: var(--label); font-weight: 600; margin-bottom: 8px; }
.mm-where.out { color: var(--ember-deep); font-weight: 500; }
.mm-ctl .seg { display: inline-grid; min-width: 200px; }
.mm-crave { margin-top: 16px; }
.crave-row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--edge); padding: 2px 2px 8px; margin: -2px calc(-1 * var(--edge)) 0; padding-left: var(--edge); padding-right: var(--edge); scrollbar-width: thin; }
.crave-row input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.crave-row label { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: var(--label); font-weight: 600; cursor: pointer; white-space: nowrap; }
.crave-row label:hover { border-color: var(--smoke); }
.crave-row input:checked + label { background: var(--char); border-color: var(--char); color: var(--white); }
.crave-row input:focus-visible + label { outline: 2px solid var(--char); outline-offset: 2px; }
.crave-row .i { width: 22px; height: 22px; }

.mm-open { display: flex; align-items: center; }
.mm-open input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.mm-open label { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: var(--label); font-weight: 600; cursor: pointer; }
.mm-open label::before { content: ""; width: 24px; height: 24px; border: 2px solid var(--char); border-radius: 4px; background: var(--white); flex: none; }
.mm-open input:checked + label::before { background: var(--char); }
.mm-open input:checked + label::after { content: ""; position: absolute; left: 8px; top: 50%; width: 8px; height: 13px; margin-top: -9px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.mm-open input:focus-visible + label::before { outline: 2px solid var(--char); outline-offset: 2px; }

@media (min-width: 700px) {
  .crave-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px; }
}

.mm-stage { position: relative; aspect-ratio: 1; background: var(--rice); border-radius: 6px; }
.mm-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.mm-wait { position: absolute; left: 20px; right: 20px; top: 50%; transform: translateY(-50%); text-align: center; color: var(--smoke); font-size: var(--label); }
.js .mm-wait { visibility: hidden; }
.mm-wait.show { visibility: visible; }
.mm-dek { margin-top: 14px; font-size: var(--label); }
.mm-count { margin-top: 6px; font-size: var(--label); color: var(--smoke); }
.mm-count:empty { display: none; }
.mm-key { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: var(--label); color: var(--smoke); }
.mm-key li { display: inline-flex; align-items: center; gap: 8px; }
.key-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--smoke); flex: none; }
.key-closed { background: var(--white); border: 2px solid var(--smoke); }
.key-soon { background: var(--white); border: 3px solid var(--ember-deep); }
.key-unknown { background: transparent; border: 2px dashed var(--smoke); }
/* The key under the map: what the band colours are. */
.mm-heatkey { margin-top: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; align-items: start; font-size: var(--label); color: var(--smoke); }
.mm-heatkey:empty { display: none; }
.hk-bar { display: inline-flex; width: 132px; height: 14px; margin-top: 6px; border-radius: 3px; overflow: hidden; }
.hk-bar i { flex: 1 1 0; }
@media (max-width: 599px) { .mm-heatkey { grid-template-columns: minmax(0, 1fr); } .hk-bar { width: 100%; margin-top: 0; } }

@media (max-width: 1023px) {
  .mm-map { margin-top: 6px; }
  .mm-list { margin-top: 10px; }
}

/* Phones: the map comes straight after the title, with the ZIP line under it (source order keeps the ZIP line first). */
@media (max-width: 599px) {
  .intro { row-gap: 0; }
  .mm-map { display: contents; }
  .mm-head { order: 1; margin-top: 18px; }
  .mm-controls { gap: 10px 14px; }
  .mm-ctl .seg { min-width: 0; }
  .mm-ctl .seg label { padding: 0 10px; }
  .mm-only { display: none; }
  .mm-where { order: 2; }
  .mm-stage { order: 3; }
  .mm-heatkey { order: 4; }
  .place { order: 5; margin-top: 24px; }
  .mm-crave { order: 6; margin-top: 24px; }
  .mm-dek { order: 7; }
  .mm-count { order: 8; }
  .mm-key { order: 9; }
  .mm-list { order: 10; margin-top: 28px; }
}
@media (max-width: 599px) {
  .mm-stage { margin: 0 calc(-1 * var(--edge) + 8px); border-radius: 0; }
}

/* The map's own drawing */
.mm-ring { fill: none; stroke: var(--smoke); stroke-opacity: .32; stroke-width: 1; }
.mm-ring-edge { stroke-opacity: .75; stroke-width: 1.5; }
.mm-svg.heat .mm-ring { stroke: var(--white); stroke-opacity: .8; stroke-width: 1.25; }
.mm-svg.heat .mm-ring-edge { stroke: var(--char); stroke-opacity: .7; stroke-width: 1.5; }
.mm-svg.heat .mm-ring-label { fill: var(--char); stroke: var(--white); }
.mm-ring-label { fill: var(--smoke); font-weight: 600; paint-order: stroke; stroke: var(--rice); stroke-width: 5px; stroke-linejoin: round; }
.mm-north { fill: var(--smoke); font-weight: 700; }
.mm-you { fill: var(--ember); stroke: var(--white); stroke-width: 2; }
.mm-dot { cursor: pointer; }
.mm-dot .i { stroke-width: 2; }
.mm-dot circle.ring { fill: none; }
.mm-dot.on circle.hit { stroke: var(--char); stroke-width: 3; }
.mm-ringdraw { animation: mm-ring .9s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes mm-ring { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }

.mm-list h3 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--char); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { border-bottom: 1px solid var(--line); }
.row-btn { width: 100%; display: grid; grid-template-columns: 32px 1fr auto; align-items: start; column-gap: 14px; padding: 14px 4px 14px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--char); }
.row-btn:hover .row-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.row-btn:focus-visible { outline: 2px solid var(--char); outline-offset: 2px; }
.row-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.row-dot .i { width: 20px; height: 20px; }
.row-name { display: block; font-size: 19px; font-weight: 700; line-height: 1.3; }
.row-meta { display: block; font-size: var(--label); color: var(--smoke); line-height: 1.4; margin-top: 2px; }
.row-status { display: block; font-size: var(--label); font-weight: 600; line-height: 1.4; margin-top: 2px; }
.row-status.soon { color: var(--ember-deep); }
.row-status .tel, .ln-meta .tel { white-space: nowrap; }
.row-status.closed, .row-status.unknown { color: var(--smoke); font-weight: 500; }
.row-min { text-align: right; line-height: 1; padding-top: 2px; white-space: nowrap; }
.row-min b { font-size: 34px; font-weight: 900; letter-spacing: -0.02em; }
.row-min small { display: block; font-size: 16px; color: var(--smoke); font-weight: 500; margin-top: 6px; }
.row-min .u { font-size: 17px; font-weight: 700; margin-left: 3px; }
/* A narrow phone: the name and kind beside the minutes, the hours line under both, at the full width. */
@media (max-width: 479px) {
  .row-mid { display: contents; }
  .row-dot { grid-row: 1 / span 3; }
  .row-name { grid-column: 2; grid-row: 1; }
  .row-meta { grid-column: 2; grid-row: 2; }
  .row-status { grid-column: 2 / -1; grid-row: 3; }
  .row-min { grid-column: 3; grid-row: 1 / span 2; }
}
.rows > li.on { background: var(--rice); box-shadow: -8px 0 0 var(--rice), 8px 0 0 var(--rice); }
.row-more { padding: 4px 0 18px 46px; font-size: var(--label); line-height: 1.5; }
.row-more p + p { margin-top: 6px; }
.row-more .acts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0; }
.row-more .acts a { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.row-more .src { color: var(--smoke); }
.mm-showall { margin-top: 16px; }
.mm-how { margin-top: 16px; font-size: var(--label); color: var(--smoke); }
.mm-empty { padding: 18px 0; color: var(--smoke); font-size: var(--label); }


/* ---- Trip Test ---------------------------------------------------------------------------------------------------- */

.tt { background: var(--rice); padding: 56px 0 64px; }
.tt-grid { display: grid; gap: 28px; }
.tt-in { display: grid; gap: 24px; align-content: start; }
.food-grid { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--edge); margin: 0 calc(-1 * var(--edge)); padding: 2px var(--edge) 8px; scrollbar-width: thin; }
.food-grid input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.food-grid label { flex: none; scroll-snap-align: start; width: 96px; min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; }
.food-grid label .i { width: 28px; height: 28px; }
.food-grid label:hover { border-color: var(--smoke); }
.food-grid input:checked + label { background: var(--char); border-color: var(--char); color: var(--white); }
.food-grid input:focus-visible + label { outline: 2px solid var(--char); outline-offset: 2px; }

.tt-min { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
.tt-min label { grid-column: 1; margin: 0; }
.tt-min-val { grid-column: 2; font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.tt-min input { grid-column: 1 / -1; margin-top: 14px; }
.tt-min-axis { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 16px; color: var(--smoke); margin-top: 2px; padding: 0 4px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--char) 0 var(--fill, 25%), #D3CABE var(--fill, 25%) 100%); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #D3CABE; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--char); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--white); border: 2px solid var(--char); box-shadow: var(--raise); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 2px solid var(--char); box-shadow: var(--raise); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--char); outline-offset: 2px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--char); outline-offset: 2px; }

.tt-ctl .seg { display: grid; width: 100%; }
.seg-3 label { padding: 0 6px; font-size: 16px; }
.seg-2line label { flex-direction: column; gap: 0; min-height: 56px; line-height: 1.2; }
.seg-2line label .num { font-weight: 800; }

.tt-out { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px 20px; }
.tt-wait { color: var(--smoke); font-size: var(--label); }
.tt-title { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: end; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tt-food { position: relative; width: 76px; height: 92px; color: var(--char); }
.tt-food .i { position: absolute; left: 6px; bottom: 0; width: 64px; height: 64px; stroke-width: 2; }
.tt-steam { position: absolute; left: 0; top: 0; width: 76px; height: 40px; overflow: visible; }
.tt-steam path { fill: none; stroke: var(--smoke); stroke-width: 2; stroke-linecap: round; }
.tt-title h3 { font-size: 22px; line-height: 1.25; }
.tt-title p { font-size: var(--label); color: var(--smoke); margin-top: 4px; }
.tt-answers { list-style: none; margin: 0; padding: 0; display: grid; }
.tt-answers li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; align-items: baseline; }
.tt-answers li:last-child { border-bottom: 0; padding-bottom: 4px; }
.tt-q { font-size: var(--label); font-weight: 700; color: var(--smoke); }
.tt-a { font-size: 34px; font-weight: 900; line-height: 1.05; letter-spacing: -0.015em; }
.tt-a.cold { color: var(--frost-deep); }
.tt-a.warn { color: var(--ember-deep); }
.tt-w { grid-column: 2; font-size: var(--label); line-height: 1.45; margin-top: 6px; }
.tt-w .tag { color: var(--smoke); }
.tt-advice { margin-top: 18px; padding: 16px 18px; background: var(--rice); border-radius: 6px; font-size: var(--label); line-height: 1.5; }
.tt-advice b { display: block; font-size: 19px; line-height: 1.35; margin-bottom: 4px; }
.tt-advice span { color: var(--smoke); }

@keyframes tt-rise { 0% { transform: translateY(8px); opacity: 0; } 25% { opacity: var(--o, .9); } 100% { transform: translateY(-14px); opacity: 0; } }
.tt-steam path { animation: tt-rise var(--d, 2.6s) linear infinite; opacity: 0; }
.tt-steam path:nth-child(2) { animation-delay: calc(var(--d, 2.6s) * -.33); }
.tt-steam path:nth-child(3) { animation-delay: calc(var(--d, 2.6s) * -.66); }
@media (prefers-reduced-motion: reduce) {
  .tt-steam path { animation: none !important; opacity: var(--o, .9); transform: none; }
}

/* The food's clock, 0 to 120 minutes */
.tt-clock { margin-top: 32px; }
.tt-clock:empty { display: none; }
.clock-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: var(--label); margin-bottom: 12px; }
.clock-head b { font-weight: 700; }
.clock-head span { color: var(--smoke); }
.band-wrap { position: relative; padding-top: 34px; }
.band { position: relative; height: 56px; border-radius: 4px; }
.band-melt { position: absolute; top: 0; bottom: 0; right: 0; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(45deg, var(--rice) 0 4px, var(--smoke) 4px 6px); }
.band-tick { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--char); }
.band-tick.dash { background: repeating-linear-gradient(to bottom, var(--char) 0 5px, transparent 5px 9px); }
.band-tick b { position: absolute; top: calc(100% + 4px + var(--lane, 0) * 28px); left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--char); color: var(--white); font-size: 16px; font-weight: 700; line-height: 24px; text-align: center; }
.band-arrive { position: absolute; top: 0; bottom: -6px; left: 0; width: 0; transition: transform .45s cubic-bezier(.3, .7, .2, 1); will-change: transform; }
.band-arrive::before { content: ""; position: absolute; top: 28px; bottom: 0; left: -2px; width: 4px; background: var(--ember); border-radius: 2px; }
.band-arrive span { position: absolute; top: 0; left: 0; transform: translateX(-50%); transition: transform .45s cubic-bezier(.3, .7, .2, 1); white-space: nowrap; font-size: 17px; font-weight: 800; color: var(--ember-deep); background: var(--rice); padding: 0 6px; }
.band-beyond { position: absolute; top: calc(100% + 4px); right: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--char); white-space: nowrap; }
.band-beyond b { width: 24px; height: 24px; border-radius: 50%; background: var(--char); color: var(--white); font-size: 16px; line-height: 24px; text-align: center; }
.band-axis { position: relative; height: 50px; margin-top: calc(34px + var(--lanes, 0) * 28px); font-size: 16px; color: var(--smoke); }
.band-axis span { position: absolute; top: 0; line-height: 24px; transform: translateX(-50%); white-space: nowrap; }
.band-axis span:first-child { transform: none; }
.band-axis span:last-child { transform: translateX(-100%); text-align: right; }
.band-axis b { display: block; color: var(--char); font-weight: 700; line-height: 22px; }
.moments { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; counter-reset: mo; }
.moments li { display: grid; grid-template-columns: 24px 92px 1fr; column-gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--label); }
.moments li::before { counter-increment: mo; content: counter(mo); width: 24px; height: 24px; border-radius: 50%; background: var(--char); color: var(--white); font-size: 16px; font-weight: 700; line-height: 24px; text-align: center; align-self: start; }
.moments li.off { grid-template-columns: 24px 92px 1fr; }
.moments li.off::before { content: ""; counter-increment: none; background: none; }
.moments .m { font-weight: 800; white-space: nowrap; }
.moments .m .ab { display: block; font-weight: 400; color: var(--smoke); }
.moments .k { display: block; color: var(--smoke); }
.band-scale { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 16px; color: var(--smoke); }
.band-scale i { width: 160px; height: 10px; border-radius: 2px; background: linear-gradient(to right, var(--t0), var(--t1), var(--t2), var(--t3), var(--t4), var(--t5), var(--t6)); border: 1px solid var(--line); }
@media (max-width: 479px) {
  .band-scale { flex-wrap: wrap; row-gap: 4px; }
  .band-scale span:last-child { flex-basis: 100%; }
  .moments li, .moments li.off { grid-template-columns: 24px 72px 1fr; }
}

.tt-how { margin-top: 36px; }
.tt-how:empty { display: none; }
.tt-how h3 { font-size: 22px; margin: 0; }
.tt-how summary { display: grid; grid-template-columns: 1fr 24px; column-gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.tt-how summary::-webkit-details-marker { display: none; }
.tt-how summary::after { content: ""; grid-column: 2; grid-row: 1; align-self: center; width: 10px; height: 10px; margin-left: 6px; border-right: 2px solid var(--char); border-bottom: 2px solid var(--char); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.tt-how details[open] > summary::after { transform: translateY(3px) rotate(-135deg); }
.tt-how summary span { grid-column: 1; font-size: 17px; color: var(--smoke); }
.tt-how summary:focus-visible { outline: 2px solid var(--char); outline-offset: 2px; }
.tt-how details[open] > summary { border-bottom: 0; margin-bottom: 4px; }
.how-list { list-style: none; margin: 0; padding: 0; }
.how-list li { padding: 12px 0; border-top: 1px solid #DDD5C9; font-size: var(--label); line-height: 1.5; }
.how-list b { font-weight: 700; }
.how-list .kind { font-weight: 700; color: var(--smoke); }
.how-list .why { display: block; color: var(--smoke); margin-top: 2px; }

@media (min-width: 1024px) {
  .tt { padding: 72px 0 80px; }
  .tt-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
  .tt-in { grid-column: 1 / span 5; }
  .tt-out { grid-column: 6 / span 7; padding: 28px 32px; }
  .food-grid { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; }
  .food-grid label { width: auto; }
  .tt-answers { grid-template-columns: 1fr 1.25fr 1.25fr; column-gap: 24px; }
  .tt-answers li { display: block; border-bottom: 0; padding: 20px 0 4px; }
  .tt-answers .tt-q, .tt-answers .tt-a { display: block; }
  .tt-answers li + li { border-left: 1px solid var(--line); padding-left: 24px; }
  .tt-a { font-size: 40px; margin-top: 6px; }
  .tt-w { margin-top: 10px; }
  .tt-title { grid-template-columns: 92px 1fr; }
  .tt-food { width: 92px; height: 108px; }
  .tt-food .i { width: 80px; height: 80px; }
  .tt-steam { width: 92px; height: 44px; }
  .moments { grid-template-columns: repeat(2, 1fr); column-gap: var(--gutter); }
  .tt-how .how-list { columns: 2; column-gap: var(--gutter); }
  .tt-how .how-list li { break-inside: avoid; }
}
@media (min-width: 700px) and (max-width: 1023px) {
  .food-grid { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
}

/* ---- Late-night lanes, on Char ------------------------------------------------------------------------------------ */

.ln { background: var(--char); color: var(--white); padding: 56px 0 60px; }
.tt + .ln { margin-top: 0; }
.ln .part-sub { color: #D8D0C6; }
.ln a { color: var(--white); }
.ln-grid { display: grid; gap: 28px; }
.ln-dial svg { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; overflow: visible; }
.ln-list h3 { font-size: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--white); }
.ln-list ol { list-style: none; margin: 0; padding: 0; }
.ln-list li { display: grid; grid-template-columns: 28px 1fr auto; column-gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); align-items: baseline; }
.ln-n { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--white); font-size: 16px; font-weight: 700; line-height: 22px; text-align: center; }
.ln-name { font-weight: 700; font-size: 19px; line-height: 1.3; }
.ln-meta { display: block; font-size: var(--label); color: #D8D0C6; font-weight: 400; }
.ln-time { text-align: right; font-weight: 900; font-size: 26px; line-height: 1.1; white-space: nowrap; }
.ln-time small { display: block; font-size: 16px; font-weight: 500; color: #D8D0C6; }
.ln-none { font-size: var(--label); color: #D8D0C6; padding: 14px 0; }
.ln-list h4 { font-size: var(--label); font-weight: 700; color: #D8D0C6; margin: 22px 0 0; letter-spacing: 0; }
.ln-list li.early .ln-time { font-size: 22px; }
@media (max-width: 479px) {
  .ln-list li { grid-template-columns: 28px 1fr; }
  .ln-time { grid-column: 2; text-align: left; margin-top: 8px; white-space: normal; }
  .ln-time small { display: inline-block; margin-left: 8px; white-space: nowrap; }
}
.ln-key { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font-size: var(--label); color: #D8D0C6; }
.ln-key span { display: inline-flex; align-items: center; gap: 8px; }
.ln-key i { width: 26px; height: 6px; border-radius: 3px; background: #A69B90; }
.ln-key i.dt { height: 10px; border-radius: 5px; background: var(--ember); }
.ln-key i.now { width: 3px; height: 18px; background: var(--white); border-radius: 0; }
.ln-source { margin-top: 28px; font-size: var(--label); color: #D8D0C6; max-width: 60em; }
.ln-dial text { fill: #D8D0C6; font-weight: 600; }
.ln-dial .ln-day { font-weight: 500; }
@media (min-width: 1024px) {
  .ln { padding: 80px 0; }
  .ln-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; }
  .ln-dial { grid-column: 1 / span 5; }
  .ln-list { grid-column: 7 / span 6; }
}

/* ---- Food clocks table -------------------------------------------------------------------------------------------- */

.fc-table { width: 100%; font-size: var(--label); }
.fc-table thead th { text-align: left; font-weight: 700; padding: 0 16px 12px 0; border-bottom: 2px solid var(--char); vertical-align: bottom; line-height: 1.3; }
.fc-table thead th span { display: block; font-weight: 500; color: var(--smoke); }
.fc-table tbody th, .fc-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; line-height: 1.4; font-weight: 400; }
.fc-table caption { caption-side: top; text-align: left; font-size: var(--label); color: var(--char); font-weight: 600; padding: 0 0 14px; }
.fc-food { display: inline-flex; align-items: flex-start; gap: 12px; font-weight: 700; }
.fc-food small { display: block; font-size: 16px; font-weight: 500; color: var(--smoke); margin-top: 2px; }
.fc-strip-in { display: flex; align-items: center; gap: 12px; }
.fc-ends { display: inline-flex; gap: 6px; min-width: 7.6em; font-size: 16px; font-weight: 600; color: var(--char); white-space: nowrap; }
.fc-first-hour { display: none; }
.fc-food .i { width: 28px; height: 28px; flex: none; }
.fc-strip .strip { display: block; width: 240px; max-width: 100%; height: 28px; border-radius: 3px; }
.fc-none { color: var(--smoke); }
.fc-key { margin-top: 20px; display: grid; gap: 10px; font-size: var(--label); color: var(--smoke); max-width: 56em; }
.fc-scale { display: inline-grid; gap: 4px; width: 240px; }
.fc-scale-bar { height: 12px; border-radius: 2px; background: linear-gradient(to right, var(--t0), var(--t1), var(--t2), var(--t3), var(--t4), var(--t5), var(--t6)); border: 1px solid var(--line); }
.fc-scale-words { display: flex; justify-content: space-between; font-size: 16px; }
@media (max-width: 899px) {
  .fc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fc-table, .fc-table tbody, .fc-table tr { display: block; }
  .fc-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 6px; }
  .fc-table tr:first-child { border-top: 2px solid var(--char); }
  .fc-table tbody th, .fc-table td { display: block; border: 0; padding: 0; }
  .fc-table td.fc-strip { padding: 4px 0 6px; }
  .fc-table td.fc-strip .strip { width: auto; }
  .fc-table td.fc-none { display: none; }
  .fc-table td[data-l]::before { content: attr(data-l) ": "; color: var(--smoke); font-weight: 600; }
  .fc-table caption { display: block; }
  .fc-first-hour { display: block; position: sticky; top: 0; z-index: 2; background: var(--white); padding: 10px 0; font-size: 16px; font-weight: 600; color: var(--smoke); border-bottom: 1px solid var(--line); }
  .fc-strip-in .strip { flex: 1; min-width: 0; }
}
@media (min-width: 900px) {
  .fc-table tbody th { width: 24%; }
  .fc-strip-h { width: 360px; }
  .fc-strip .fc-strip-in .strip { flex: none; width: 210px; } /* every strip the same length, whatever its end words */
  .fc-table td:nth-child(3) { width: 16%; }
  .fc-table td:nth-child(4) { width: 15%; }
}

/* ---- How this works --------------------------------------------------------------------------------------------- */

.how-grid { display: grid; gap: 36px; }
.how-text h3 { font-size: 22px; margin: 28px 0 8px; }
.how-text h3:first-child { margin-top: 0; }
.how-text p { max-width: 66ch; }
@media (min-width: 1024px) {
  .how-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
  .how-text { grid-column: 1 / span 7; }
}
