/* Mio Casa — tomato, pasta, paper, basil */
:root {
  --tomato: #B8281C;
  --tomato-deep: #8E1B12;
  --pasta: #F3C96B;
  --paper: #F8EFDD;
  --paper-2: #EFE2C9;
  --ink: #24160F;
  --ink-soft: #6A5142;
  --basil: #1C3626;
  --basil-soft: #B9CDB6;
  --cream: #FCF3E1;
  --cream-soft: #F6D2C4;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--tomato) var(--paper-2);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--pasta); color: var(--ink); }

h1, h2, h3, p, ul, table { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--pasta);
  outline-offset: 3px;
  border-radius: 4px;
}
.menu :focus-visible { outline-color: var(--tomato); }

.wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* For headings that screen readers need and eyes do not */
.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.btn-solid { background: var(--cream); color: var(--tomato-deep); }
.btn-ghost { border-color: color-mix(in srgb, var(--cream) 55%, transparent); color: var(--cream); }
.btn-tomato { background: var(--tomato); color: var(--cream); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; border-color: color-mix(in srgb, currentColor 40%, transparent); }

@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--pasta); color: var(--ink); }
  .btn-ghost:hover { border-color: var(--cream); background: color-mix(in srgb, var(--cream) 12%, transparent); }
  .btn-small:hover { border-color: currentColor; }
  .btn-tomato:hover { background: var(--tomato-deep); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--cream);
  transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}
.site-header.is-solid {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 10%, transparent);
}
.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.wordmark {
  font: italic 600 1.625rem/1 var(--display);
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 250ms ease, transform 300ms var(--ease-out);
}
.site-header.is-solid .wordmark { opacity: 1; transform: none; }

.site-nav { display: flex; gap: 28px; }
.site-nav a {
  position: relative;
  padding: 12px 0;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover::after { transform: scaleX(1); }
}

/* While the hero scrolls underneath, the header's links step out of the way of it */
.site-nav,
.site-header .btn-small {
  transition: opacity 200ms ease, visibility 0s, transform 160ms var(--ease-out), border-color 200ms ease;
}
.site-header.is-scrolled:not(.is-solid) .site-nav,
.site-header.is-scrolled:not(.is-solid) .btn-small {
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--tomato);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* a soft pool of light on the table, under the pizza */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(60% 55% at 78% 64%, #CB3323 0%, var(--tomato) 55%, #A32116 100%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero-canvas.is-ready { opacity: 1; }
.hero-canvas.no-fade { transition: none; }

/* The still picture of the pizza. main.js sizes it and puts it where the moving one will be. */
.hero-poster img {
  position: absolute;
  top: 0; left: 0;
  z-index: -1;
  max-width: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}
.hero-poster.is-shown img { opacity: 1; }
.hero-poster:not(.is-shown) img { transition-duration: 0s; } /* it leaves at once when the moving pizza takes over */

.hero-inner {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: clamp(28px, 5vh, 56px);
}
.hero-title {
  font: italic 600 clamp(4.75rem, 12.5vw, 13.5rem)/0.82 var(--display);
  font-variation-settings: "opsz" 30;
  letter-spacing: -0.035em;
  margin-left: -0.04em;
  text-wrap: balance;
}
.hero-title span { display: inline-block; }
.hero-foot {
  margin-top: clamp(24px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-lede {
  max-width: 27ch;
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  line-height: 1.3;
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fact {
  margin-top: clamp(24px, 4vh, 40px);
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--cream) 28%, transparent);
  width: fit-content;
  max-width: 100%;
  color: var(--cream-soft);
  font-size: 0.9375rem;
}
.hero-score {
  margin-right: 0.15em;
  color: var(--cream);
  font: italic 700 1.5rem/1 var(--display);
  /* A low optical size keeps the thin strokes of the 4 from vanishing, so it cannot be read as a 1 */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 8;
  white-space: nowrap;
}
.hero-score span { color: var(--pasta); font-style: normal; font-size: 1.125rem; }
/* Squarer screens: the pizza sits low on the right, so the last line stays out of its way */
@media (min-width: 721px) and (max-aspect-ratio: 135/100) {
  .hero-fact { max-width: 36ch; }
}

/* Hero entrance: one authored moment, plays once */
@media (prefers-reduced-motion: no-preference) {
  .hero-title span,
  .hero-foot > *,
  .hero-fact {
    animation: rise 900ms var(--ease-out) both;
  }
  .hero-title span:nth-child(2) { animation-delay: 70ms; }
  .hero-lede { animation-delay: 180ms; }
  .hero-actions { animation-delay: 230ms; }
  .hero-fact { animation-delay: 300ms; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  }
}

/* ---------- Section headings ---------- */
h2 {
  font: 500 clamp(2.5rem, 5.4vw, 4.75rem)/1 var(--display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* ---------- What diners say ---------- */
.praise {
  background: var(--cream);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  padding-block: clamp(28px, 5vh, 44px);
}
.praise-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(32px, 5vw, 72px);
}
.score { display: flex; align-items: center; gap: 16px; }
.score-num {
  font: italic 700 clamp(3.25rem, 5.5vw, 4.75rem)/0.9 var(--display);
  /* The same here, where the number is largest and the hairlines thinnest */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 6;
  letter-spacing: -0.03em;
  color: var(--tomato);
}
.score-detail { font-size: 0.9375rem; line-height: 1.35; color: var(--ink-soft); }
.stars {
  display: block;
  width: fit-content;
  margin-bottom: 4px;
  font-size: 1.0625rem;
  letter-spacing: 0.12em;
  /* 4.8 out of 5: the last star is not quite full */
  background: linear-gradient(90deg, var(--tomato) 96%, color-mix(in srgb, var(--tomato) 25%, transparent) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.praise-text { flex: 1 1 320px; max-width: 46ch; margin-left: auto; }
.praise-text a { display: inline-block; color: var(--tomato-deep); font-weight: 600; text-underline-offset: 4px; }

/* ---------- Menu ---------- */
.menu { padding-block: clamp(72px, 11vh, 132px); }
.menu-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 28px;
}
.menu h2 { font-style: italic; }

.seg {
  position: relative;
  display: inline-flex;
  padding: 5px;
  background: var(--paper-2);
  border-radius: 999px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  font: 600 0.9375rem/1 var(--body);
  white-space: nowrap;
  cursor: pointer;
  transition: color 200ms ease, transform 160ms var(--ease-out);
}
.seg button:active { transform: scale(0.97); }
.seg button[aria-selected="true"] { color: var(--cream); }
.seg-pill {
  position: absolute;
  top: 5px; left: 0;
  height: calc(100% - 10px);
  width: 100px;
  border-radius: 999px;
  background: var(--tomato);
  transform-origin: left;
  transition: transform 320ms var(--ease-out), width 320ms var(--ease-out);
}
.seg-pill.no-anim { transition: none; }

.panel-note {
  color: var(--ink-soft);
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}
.panel:not([hidden]) {
  animation: panel-in 260ms var(--ease-out);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(3px); }
}

.dishes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 96px);
}
.dishes li {
  padding: 20px 0 22px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.dish-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.dishes h3 {
  font: 500 clamp(1.375rem, 2vw, 1.75rem)/1.15 var(--display);
  letter-spacing: -0.01em;
  transition: color 200ms ease;
}
.price {
  font: 600 1rem/1 var(--body);
  font-variant-numeric: tabular-nums;
  color: var(--tomato-deep);
}
.dishes p { margin-top: 6px; max-width: 46ch; color: var(--ink-soft); font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .dishes li:hover h3 { color: var(--tomato); }
}

/* The letters after a dish: V, VE, S, N */
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 6px 3px;
  border-radius: 6px;
  font: 700 0.6875rem/1 var(--body);
  letter-spacing: 0.04em;
  text-decoration: none;
  vertical-align: 0.35em;
  cursor: help;
}
.tag-v { background: #DCE8D2; color: var(--basil); }
.tag-s { background: var(--cream-soft); color: var(--tomato-deep); }
.tag-n { background: #F1DFB0; color: #5A3D0A; }
.dishes .eyebrow {
  margin: 0 0 8px;
  color: var(--tomato);
  font: 600 0.75rem/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.panel-extra { margin-top: 24px; max-width: 80ch; color: var(--ink-soft); font-size: 1rem; }
.panel-extra strong, .menu-foot strong { color: var(--ink); font-weight: 600; }
.menu-foot {
  margin-top: 36px;
  padding: 24px clamp(20px, 3vw, 32px);
  border-radius: 20px;
  background: var(--paper-2);
  display: grid;
  gap: 12px;
  font-size: 1rem;
}
.menu-key { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.9375rem; color: var(--ink-soft); }
.menu-key .tag { margin: 0 4px 0 0; vertical-align: 0.1em; cursor: default; }
.menu-foot p { max-width: 80ch; }

/* ---------- Book ---------- */
.book {
  background: var(--paper-2);
  padding-block: clamp(64px, 10vh, 112px);
}
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.book h2 { font-style: italic; }
.book-words p { margin-top: 20px; max-width: 38ch; color: var(--ink-soft); font-size: 1.125rem; }
.book-box {
  min-height: 260px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent), 0 24px 48px -32px color-mix(in srgb, var(--ink) 45%, transparent);
}
.book-fallback { display: grid; gap: 14px; justify-items: start; }
.book-fallback h3 { font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--display); letter-spacing: -0.01em; max-width: 18ch; }
.book-fallback p { color: var(--ink-soft); max-width: 40ch; }
.book-fallback .btn { margin-top: 8px; }
.book :focus-visible { outline-color: var(--tomato); }

/* ---------- Kitchen ---------- */
.kitchen {
  background: var(--basil);
  color: var(--cream);
  padding-top: clamp(72px, 11vh, 132px);
  overflow: hidden;
}
.kitchen-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.kitchen h2 { max-width: 12ch; }
.kitchen-list li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px 32px;
  padding: 24px 0;
  border-top: 1px solid color-mix(in srgb, var(--cream) 22%, transparent);
}
.kitchen-list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--cream) 22%, transparent); }
.kitchen-list h3 { font: italic 500 1.5rem/1.2 var(--display); color: var(--pasta); }
.kitchen-list p { color: var(--basil-soft); max-width: 44ch; }

/* A row of the restaurant's own photos. Switched on in index.html once there are photos. */
.plates {
  margin-top: clamp(48px, 8vh, 88px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.plates figure { margin: 0; }
.plates img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: color-mix(in srgb, var(--cream) 10%, transparent);
}
.plates figcaption { margin-top: 12px; font: italic 500 1.25rem/1.2 var(--display); color: var(--pasta); }

.marquee {
  margin-top: clamp(56px, 9vh, 104px);
  padding-block: 22px 30px;
  border-top: 1px solid color-mix(in srgb, var(--cream) 22%, transparent);
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 48s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font: italic 400 clamp(3rem, 8vw, 7rem)/1 var(--display);
  letter-spacing: -0.02em;
  padding-right: 0.6em;
}
.marquee span:nth-child(even) { color: var(--pasta); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Visit ---------- */
.visit {
  background: var(--tomato);
  color: var(--cream);
  padding-block: clamp(72px, 11vh, 132px);
}
.visit ::selection { background: var(--cream); color: var(--tomato-deep); }
.visit-title {
  font: italic 600 clamp(2.75rem, 9.6vw, 9rem)/0.9 var(--display);
  font-variation-settings: "opsz" 30;
  letter-spacing: -0.035em;
  margin-left: -0.03em;
}
.visit-grid {
  margin-top: clamp(40px, 7vh, 80px);
  padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, var(--cream) 28%, transparent);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(32px, 5vw, 80px);
}
.visit-block h3 {
  font: 600 0.9375rem/1 var(--body);
  color: var(--pasta);
  margin-bottom: 16px;
}
.visit-block p { max-width: 36ch; }
.visit-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.map {
  margin-top: clamp(40px, 7vh, 72px);
  aspect-ratio: 16 / 6;
  border-radius: 20px;
  overflow: hidden;
  background: var(--tomato-deep);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(0.85) sepia(0.1); }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 7px 0; font-weight: 400; text-align: left; }
.hours td { text-align: right; }
.hours tr { border-bottom: 1px solid color-mix(in srgb, var(--cream) 16%, transparent); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--pasta); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tomato-deep);
  color: var(--cream-soft);
  padding-block: 28px;
  font-size: 0.9375rem;
}
.footer-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 36px; }
.footer-mark { font: italic 600 1.375rem/1 var(--display); color: var(--cream); margin-right: auto; }
.site-footer a { text-underline-offset: 4px; }
.footer-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--cream) 18%, transparent);
  font-size: 0.875rem;
}

/* ---------- Phone action bar ---------- */
.action-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .kitchen-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .praise-text { margin-left: 0; }
  .kitchen h2 { max-width: 16ch; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .site-nav { display: none; }
  .site-header .btn-small { display: none; } /* the hero and the bar at the bottom already offer booking */
  .wordmark { margin-right: 0; }

  .hero::after { background: radial-gradient(95% 42% at 50% 76%, #CB3323 0%, var(--tomato) 60%, #A32116 100%); }
  .hero-inner { justify-content: flex-start; padding-top: calc(var(--header-h) + 20px); padding-bottom: calc(84vw + 30px); } /* room for the pizza under the words */
  .hero-title { font-size: clamp(4.5rem, 25vw, 8rem); }
  .hero-title span { display: block; }
  .hero-foot { margin-top: 20px; }
  .hero-lede { max-width: 24ch; font-size: 1.1875rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 0; padding-inline: 12px; }
  .hero-fact { margin-top: 20px; padding-top: 0; border-top: 0; max-width: 30ch; }

  .praise-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .score { flex-direction: column; align-items: flex-start; gap: 10px; }
  .praise-text { grid-column: 1 / -1; }
  .map { aspect-ratio: 4 / 3; }

  .dishes { grid-template-columns: 1fr; }
  .seg { display: flex; gap: 6px; padding: 0; border-radius: 0; background: none; }
  .seg button { flex: 1 1 auto; padding: 0 12px; background: var(--paper-2); } /* all four fit across a phone */
  .seg button[aria-selected="true"] { background: var(--tomato); }
  .seg-pill { display: none; }
  .menu-head { display: block; }
  .menu-head h2 { margin-bottom: 20px; }

  .kitchen-list li { grid-template-columns: 1fr; }
  .plates { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-actions .btn { flex: 1 1 100%; }

  .site-footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, auto);
    padding: 5px;
    background: var(--ink);
    border-radius: 999px;
    box-shadow: 0 10px 30px -8px rgb(36 22 15 / 0.5);
    transform: translateY(140%);
    transition: transform 380ms var(--ease-out);
  }
  .action-bar.is-shown { transform: none; }
  .action-bar a {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 999px;
    color: var(--cream);
    font-weight: 600;
    font-size: 0.9375rem;
    padding-inline: 10px;
    text-decoration: none;
    transition: transform 160ms var(--ease-out), background-color 160ms ease;
  }
  .action-bar a:first-child { background: var(--tomato); }
  .action-bar a:active { transform: scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .panel:not([hidden]) { animation: none; }
  .seg-pill, .action-bar, .wordmark { transition: none; }
}
