/* Daybite — loud and flat. One ground, one ink, a flat field per day. */

:root {
  --bg: #e6e0d2;
  --surface: #dcd5c5;
  --ink: #1a1a1a;
  --muted: #5f5b52;
  --accent: #18bc42;
  --coral: #ed4b44;
  --yellow: #f2c21a;
  --green: #18bc42;
  --day: var(--coral);

  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.75rem, 1.1rem + 3vw, 3.75rem);

  --m: clamp(16px, 1.7vw, 24px);
  --gap: clamp(16px, 1.7vw, 24px);
  --section: clamp(72px, 10vw, 152px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

body[data-day='mon'], body[data-day='thu'], body[data-day='sun'] { --day: var(--coral); }
body[data-day='tue'], body[data-day='fri'] { --day: var(--yellow); }
body[data-day='wed'], body[data-day='sat'] { --day: var(--green); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.picks :focus-visible, .foot-menu :focus-visible { outline-color: var(--bg); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font-size: var(--step-small); }
.lead { font-size: var(--step-lead); line-height: 1.3; }

h2, h3, .shout, .wordmark, .figure {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}
h2 { font-size: var(--step-head); text-wrap: balance; }

/* Buttons: one shape, square, flat. */
.btn {
  display: inline-flex; align-items: center; gap: 0.4em;
  min-height: 56px; padding: 0 28px;
  background: var(--ink); color: var(--bg);
  font: 500 var(--step-body)/1 var(--text);
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 120ms, color 120ms;
}
.btn:hover { background: var(--bg); color: var(--ink); }
.board .btn:hover, .places .btn:hover { background: var(--day); }
.btn:active { transform: scale(0.97); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }

/* Navigation: a plain bar on the day's colour. */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap);
  height: var(--nav-h); padding: 0 var(--m);
  background: var(--day);
  transition: background-color 300ms;
}
.wordmark { font-size: 1.25rem; text-decoration: none; }
.nav nav { display: flex; gap: clamp(16px, 2.4vw, 40px); }
.nav nav a { position: relative; font-size: var(--step-small); font-weight: 500; text-decoration: none; padding: 12px 0; }
.nav nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 220ms var(--ease); }
.nav nav a:hover::after { transform: scaleX(1); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(8px, 1.4vw, 24px) var(--m) 0;
  background: var(--day);
  transition: background-color 300ms;
}
.shout { margin: 0; font-size: 10vw; line-height: 0.95; }
.shout .line { display: block; overflow: hidden; white-space: nowrap; padding-bottom: 0.04em; }
.shout .line > span { display: inline-block; }
.hero .shout { text-align: center; }

.hero-under {
  flex: 1; display: grid; grid-template-columns: 1fr minmax(240px, 27vw) 1fr; gap: var(--gap);
  align-items: start; margin-top: clamp(16px, 2.2vw, 36px);
}
.hero-say { display: grid; gap: 28px; justify-items: start; max-width: 27rem; }
.hero-go { display: grid; gap: 8px; width: 100%; max-width: 22rem; }
.hero-go .btn { justify-content: center; }
.field-where select { min-height: 56px; background-color: var(--bg); font-weight: 500; cursor: pointer; }
.hero-photo { align-self: stretch; position: relative; min-height: 34svh; margin-top: -1.2vw; }
.hero-photo img {
  position: absolute; inset: 0 0 auto 0; width: 100%; height: 135%;
  object-fit: cover; transform: rotate(-4deg); transform-origin: 50% 0;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: rotate(-4deg) translateY(0) scale(1); } to { transform: rotate(-2.5deg) translateY(-14px) scale(1.04); } }
.hero-fact { justify-self: end; text-align: right; display: grid; gap: 12px; max-width: 22rem; }
.figure { font-size: var(--step-head); font-variant-numeric: tabular-nums; }

/* Top picks: one item per poster line. */
.picks { background: var(--ink); color: var(--bg); padding: var(--section) var(--m); }
.picks h2 { margin-bottom: clamp(28px, 4vw, 56px); }
.poster { --poster: 7vw; }
.poster a {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--gap);
  text-decoration: none; transition: color 120ms;
}
.poster a:hover, .poster a:focus-visible { color: var(--day); }
.p-name { font: 800 var(--poster)/0.98 var(--display); letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; transition: transform 320ms var(--ease); }
.poster a:hover .p-name { transform: translateX(0.12em); }
.p-fact { font-size: var(--step-lead); line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; max-width: 24rem; }
.p-fact b { font-weight: 500; white-space: nowrap; }

/* The board */
.board { padding: var(--section) var(--m) var(--section); }
.board-head { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.board-head .lead { justify-self: end; text-align: right; max-width: 22rem; }

.filters {
  position: sticky; top: var(--nav-h); z-index: 20;
  display: grid; gap: 8px; padding: 12px 0;
  background: var(--bg);
}
.dayswitch { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dayswitch button, .seg button, .chips button {
  min-height: 48px; border: 0; cursor: pointer; background: var(--surface);
  font: 500 var(--step-small)/1 var(--text);
  transition: background-color 120ms, color 120ms, transform 160ms var(--ease);
}
.dayswitch button { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--step-body); }
.dayswitch button small { font-size: var(--step-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.dayswitch button:hover, .seg button:hover, .chips button:hover { background: var(--day); }
.dayswitch button:active, .seg button:active, .chips button:active { transform: scale(0.97); }
.dayswitch button[aria-pressed='true'], .seg button[aria-pressed='true'], .chips button[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.dayswitch button[aria-pressed='true'] small { color: var(--bg); }
.dayswitch button[data-today]::after { content: 'today'; font-size: var(--step-small); }
.dayswitch button[data-today] small { display: none; }

.filter-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-radius: 0;
  background: var(--surface); appearance: none; -webkit-appearance: none;
}
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
.field input::placeholder { color: var(--muted); }
.seg { display: flex; gap: 4px; }
.seg button { padding: 0 16px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px; font-size: var(--step-small); font-weight: 500; cursor: pointer; white-space: nowrap; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips button { padding: 0 14px; min-height: 40px; }
.chips button small { color: var(--muted); margin-left: 6px; font-variant-numeric: tabular-nums; }
.chips button[aria-pressed='true'] small { color: var(--bg); }

.groups { display: grid; gap: clamp(48px, 6vw, 88px); margin-top: clamp(32px, 4vw, 56px); }
.group { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.group-head { grid-column: span 4; position: sticky; top: calc(var(--nav-h) + 200px); display: grid; gap: 14px; }
.group-head h3 { font-size: clamp(1.75rem, 3.2vw, 3rem); }
.group-head p { color: var(--muted); font-size: var(--step-small); font-weight: 500; }
.group-photo { width: min(100%, 300px); aspect-ratio: 1; overflow: hidden; }
.group-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.group:hover .group-photo img { transform: scale(1.06); }
.group:nth-child(3n + 1) .group-photo { clip-path: circle(50%); }
.group:nth-child(3n + 2) .group-photo { clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%); }
.group:nth-child(3n) .group-photo { clip-path: inset(0 round 50% 50% 0 0); }
.group-field { width: min(100%, 300px); aspect-ratio: 1; background: var(--day); display: grid; place-items: center; font: 800 clamp(3rem, 7vw, 6rem)/1 var(--display); letter-spacing: -0.03em; clip-path: circle(50%); }
.rows { grid-column: span 8; display: grid; gap: 6px; }

.row { background: var(--surface); }
.row summary {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) auto 20px; gap: 16px; align-items: center;
  min-height: 64px; padding: 10px 18px; cursor: pointer; list-style: none;
  transition: background-color 120ms;
}
.row summary::-webkit-details-marker { display: none; }
.row summary:hover { background: var(--day); }
.row[open] summary { background: var(--ink); color: var(--bg); }
.r-name { font-weight: 500; }
.r-title { color: inherit; }
.r-town { font-weight: 400; font-size: var(--step-small); }
.r-price { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.r-plus { position: relative; width: 16px; height: 16px; justify-self: end; }
.r-plus::before, .r-plus::after { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 4px; background: currentColor; transition: transform 220ms var(--ease); }
.r-plus::after { transform: rotate(90deg); }
.row[open] .r-plus::after { transform: rotate(0deg); }
.r-flag { display: inline-block; margin-left: 10px; padding: 2px 8px; background: var(--yellow); color: var(--ink); font-size: var(--step-small); font-weight: 500; white-space: nowrap; }
.r-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; padding: 20px 18px 24px; }
.r-facts { display: grid; gap: 10px; align-content: start; }
.r-facts b { font-weight: 500; }
.row-more { min-height: 56px; padding: 0 18px; border: 0; cursor: pointer; text-align: left; background: var(--ink); color: var(--bg); font: 500 var(--step-body)/1 var(--text); transition: background-color 120ms, color 120ms, transform 160ms var(--ease); }
.row-more:hover { background: var(--day); color: var(--ink); }
.row-more:active { transform: scale(0.99); }
.r-body .r-desc { font-size: var(--step-lead); line-height: 1.3; }
.r-body a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.r-body a:hover { background: var(--day); }
.empty { grid-column: 1 / -1; display: grid; gap: 20px; justify-items: start; padding: 48px 24px; background: var(--surface); }

/* The week: one control, blown up. */
.week {
  position: relative; overflow: hidden; background: var(--day);
  min-height: 92svh; padding: var(--section) var(--m) 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  transition: background-color 300ms;
}
.week-say { display: grid; gap: 16px; max-width: 60rem; }
.week-say a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bigswitch {
  font-size: clamp(14px, 4.6vh, 44px);
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.18em;
  height: 46vh; margin-bottom: -9vh;
}
.bigswitch button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35em;
  padding: 0.5em 0.45em; border: 0; cursor: pointer; text-align: left;
  background: var(--bg); color: var(--ink);
  transition: background-color 120ms, color 120ms, transform 320ms var(--ease);
}
.bigswitch button b { font: 800 1.25em/1 var(--display); letter-spacing: -0.03em; text-transform: uppercase; }
.bigswitch button span { font-size: max(0.5em, 15px); font-weight: 500; font-variant-numeric: tabular-nums; }
.bigswitch button:hover { transform: translateY(-0.4em); }
.bigswitch button[aria-pressed='true'] { background: var(--ink); color: var(--bg); transform: translateY(-0.8em); }

/* Places */
.places { background: var(--surface); padding: var(--section) var(--m); }
.places .shout { font-size: 22vw; line-height: 0.82; }
.places-bar { display: grid; grid-template-columns: 1fr minmax(240px, 420px); gap: var(--gap); align-items: center; margin: clamp(20px, 3vw, 40px) 0 20px; }
.places .field input { background: var(--bg); }
.place-list { columns: 3; column-gap: 6px; }
.place { break-inside: avoid; margin-bottom: 6px; background: var(--bg); }
.place summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 18px; cursor: pointer; list-style: none; font-weight: 500; transition: background-color 120ms; }
.place summary::-webkit-details-marker { display: none; }
.place summary:hover { background: var(--day); }
.place[open] summary { background: var(--ink); color: var(--bg); }
.place summary small { font-size: var(--step-small); font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.place ul { padding: 14px 18px 20px; display: grid; gap: 12px; }
.place li { display: grid; grid-template-columns: 3.2em 1fr auto; gap: 10px; font-size: var(--step-small); line-height: 1.4; }
.pl-day { font-weight: 500; }
.pl-price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.place li a { text-underline-offset: 3px; }
.places-more { margin-top: 24px; }

/* About: a statement in two columns with highlighted words. */
.about { padding: var(--section) var(--m); }
.about h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.statement { font-size: var(--step-lead); line-height: 1.25; max-width: 44rem; margin-bottom: clamp(24px, 3vw, 40px); }
.statement strong { font-weight: 500; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; line-height: 1.55; }
.about mark, .hl-go { color: var(--ink); padding: 0 0.15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-a { background: var(--yellow); }
.hl-b { background: var(--green); }
.hl-c { background: var(--coral); }
.hl-go { background: var(--ink); color: var(--bg); text-decoration: none; transition: background-color 120ms, color 120ms; }
.hl-go:hover { background: var(--coral); color: var(--ink); }

/* Share: one word is the button. */
.cta {
  position: relative; display: block; overflow: hidden;
  min-height: 60svh; padding: var(--m);
  background: var(--accent); color: var(--ink); text-decoration: none;
}
.cta:hover, .cta:focus-visible { background: var(--ink); color: var(--accent); }
.cta-say { display: block; max-width: 22rem; }
.cta-arrow { position: absolute; top: var(--m); right: var(--m); width: 48px; height: 48px; transition: transform 320ms var(--ease); }
.cta:hover .cta-arrow { transform: translate(6px, -6px); }
.cta-word { position: absolute; left: var(--m); right: var(--m); bottom: 16px; font-size: 22vw; line-height: 0.8; }

/* Footer: photograph half, menu half. */
.foot { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--ink); color: var(--bg); }
.foot-photo { position: relative; overflow: hidden; min-height: 50svh; }
.foot-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.foot-menu { display: flex; flex-direction: column; gap: 40px; padding: clamp(32px, 5vw, 80px) var(--m) var(--m) clamp(24px, 8vw, 120px); }
.foot-menu nav { display: grid; gap: 22px; justify-items: start; }
.foot-menu nav a { font-size: var(--step-head); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; text-decoration: none; transition: transform 220ms var(--ease), color 120ms; }
.foot-menu nav a:hover { transform: translateX(12px); color: var(--day); }
.foot-notes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); font-size: var(--step-small); line-height: 1.5; margin-top: 24px; }
.credits { margin-top: auto; color: #b9b3a5; line-height: 1.5; }
.credits a { color: inherit; }

/* Motion: the headline rises from behind its baseline; parts of each section follow. */
.js .shout .line > span { transform: translateY(108%); }
.js .shout.in .line > span { transform: none; transition: transform 900ms var(--ease); }
.js .shout.in .line:nth-child(2) > span { transition-delay: 110ms; }
.js [data-rise] { opacity: 0; transform: translateY(24px); }
.js .ready [data-rise] { opacity: 1; transform: none; transition: opacity 500ms 500ms, transform 700ms 500ms var(--ease); }
.js [data-reveal], .js .poster li, .js .row, .js .group-head, .js .place { opacity: 0; transform: translateY(24px); }
.js .seen[data-reveal], .js .poster li.seen, .js .row.seen, .js .group-head.seen, .js .place.seen {
  opacity: 1; transform: none;
  transition: opacity 420ms calc(var(--i, 0) * 70ms), transform 620ms calc(var(--i, 0) * 70ms) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img { animation: none; }
  .js .shout .line > span, .js [data-rise], .js [data-reveal], .js .poster li, .js .row, .js .group-head, .js .place { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 1ms !important; }
}

/* Tablet */
@media (max-width: 1000px) {
  .nav nav a:nth-child(n + 3) { display: none; }
  .board-head { grid-template-columns: 1fr; }
  .board-head .lead { justify-self: start; text-align: left; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .group-head { grid-column: 1 / -1; position: static; grid-template-columns: 1fr 96px; align-items: center; }
  .group-head h3, .group-head p { grid-column: 1; }
  .group-photo, .group-field { grid-column: 2; grid-row: 1 / span 2; width: 96px; font-size: 2rem; }
  .rows { grid-column: 1 / -1; }
  .place-list { columns: 2; }
  .foot-notes { grid-template-columns: 1fr; }
  .week { min-height: 0; gap: 64px; }
  .bigswitch { height: 38vh; }
  .hero-under { grid-template-columns: 1fr minmax(200px, 30vw); }
  .hero-fact { display: none; }
}

/* Phone: its own composition. */
@media (max-width: 640px) {
  :root { --nav-h: 56px; }
  .nav nav { display: none; }
  .hero { padding-top: 12px; }
  .hero-under { grid-template-columns: 1fr; gap: 24px; margin-top: 20px; }
  .hero-say { max-width: none; gap: 20px; }
  .hero-fact { display: none; }
  .hero-photo { width: 64%; justify-self: center; min-height: 38svh; margin-top: 0; }
  .poster a { display: block; padding-bottom: 22px; }
  .p-fact { text-align: left; margin-top: 6px; font-size: var(--step-body); max-width: none; }
  .filters { position: static; }
  .dayswitch button small, .dayswitch button[data-today]::after { display: none; }
  .dayswitch button { font-size: var(--step-small); min-height: 44px; }
  .filter-row { grid-template-columns: 1fr; }
  .seg button { flex: 1; }
  .chips button { flex: 1 1 auto; }
  .row summary { grid-template-columns: 1fr auto 16px; gap: 4px 12px; padding: 12px 14px; }
  .r-name { grid-column: 1; }
  .r-title { grid-column: 1 / -1; grid-row: 2; font-size: var(--step-small); }
  .r-body { grid-template-columns: 1fr; padding: 16px 14px 20px; }
  .week { min-height: 86svh; padding-bottom: var(--m); }
  .bigswitch { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; height: 52svh; margin-bottom: 0; font-size: 22px; gap: 4px; }
  .bigswitch button:last-child { grid-column: span 2; }
  .bigswitch button:hover, .bigswitch button[aria-pressed='true'] { transform: none; }
  .places-bar { grid-template-columns: 1fr; }
  .place-list { columns: 1; }
  .about-cols { grid-template-columns: 1fr; gap: 20px; }
  .hl-go { display: block; margin-top: 20px; padding: 14px 16px; }
  .hero-under { grid-template-columns: 1fr; }
  .hero-go { max-width: none; }
  .cta { min-height: 46svh; }
  .cta-arrow { width: 32px; height: 32px; }
  .foot { grid-template-columns: 1fr; }
  .foot-menu { padding: 40px var(--m) var(--m); }
  .foot-menu nav a { font-size: 8vw; }
}

/* Fixes after the first look: nothing may push the page wider than the screen. */
.group > *, .rows, .row summary > * { min-width: 0; }
.r-name, .r-title { overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .filters { position: static; }
  .bigswitch { height: 26vh; }
}
@media (max-width: 640px) {
  .p-name { display: block; white-space: normal; }
  .r-title { font-size: 1rem; }
  .r-price { white-space: normal; max-width: 8.5rem; }
  .groups { gap: 64px; }
  .bigswitch { height: 52svh; }
}
html, body { overflow-x: clip; }
.foot { overflow: hidden; }
.bigswitch { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.bigswitch button { overflow: hidden; min-width: 0; }
@media (max-width: 640px) {
  .bigswitch { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bigswitch button { padding: 14px 10px; }
  .bigswitch button b { font-size: 1em; }
  .poster a { padding-bottom: 36px; }
  .p-fact { font-size: var(--step-lead); margin-top: 8px; }
}
.bigswitch { font-size: clamp(14px, min(4.6vh, 2.9vw), 44px); }
@media (max-width: 640px) { .bigswitch { font-size: 22px; } }

/* Room inside coloured marks and flags; multi-line lead text gets more leading. */
.about mark, .hl-go { padding: 0.08em 0.3em; }
.r-flag { padding: 4px 10px; }
.statement { line-height: 1.4; }
.p-fact { line-height: 1.35; }
.lead { line-height: 1.35; }
.dayswitch button, .seg button, .chips button { padding-inline: 14px; }
.place summary small { padding-left: 8px; }
.filters > *, .filter-row > * { min-width: 0; }
@media (max-width: 640px) {
  .seg button { padding-inline: 6px; }
  .chips button { padding-inline: 10px; }
}
.about mark, .hl-go { padding: 0.2em 0.35em; }
.about-cols { line-height: 1.75; }
.r-flag { padding: 6px 10px; line-height: 1; }
.hero { padding-top: clamp(20px, 1.8vw, 28px); }

/* Tablet first screen: the count sits under the button so the left half is not left empty. */
@media (min-width: 641px) and (max-width: 1000px) {
  .hero-under { grid-template-columns: 1fr minmax(220px, 38vw); grid-template-areas: "say photo" "fact photo"; align-content: start; row-gap: 40px; }
  .hero-say { grid-area: say; }
  .hero-photo { grid-area: photo; }
  .hero-fact { grid-area: fact; display: grid; justify-self: start; text-align: left; align-self: start; }
}

.foot-notes { grid-template-columns: 1fr 1fr; }
.foot-notes p:last-child { grid-column: 1 / -1; }
/* Inside a portfolio frame the page holds still. */
.embed .hero-photo img { animation: none; }
