/* Sonder Coffee Co. — home recipes */

:root {
  --bg: #eee1cb;
  --surface: #f6ebda;
  --surface-2: #e5d6be;
  --text: #1e1e1c;
  --muted: #5c574c;
  --accent: #2f3a2e;
  --accent-text: #eee1cb;
  --line: rgba(30, 30, 28, 0.12);
  --danger: #8b3a2a;
  --shadow: 0 8px 28px rgba(30, 30, 28, 0.08);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --wordmark: url("assets/wordmark.webp");
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161712;
    --surface: #22261e;
    --surface-2: #2c3328;
    --text: #eee1cb;
    --muted: #b8a990;
    --accent: #eee1cb;
    --accent-text: #1e1e1c;
    --line: rgba(238, 225, 203, 0.14);
    --danger: #e07a68;
    --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    --wordmark: url("assets/wordmark-cream.webp");
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  min-height: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  padding-left: var(--safe-l);
  padding-right: var(--safe-r);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kicker {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand {
  width: 168px;
  overflow: visible;
  line-height: 0;
}

.brand-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.brand-img-dark { display: none; }

@media (prefers-color-scheme: dark) {
  .brand-img-light { display: none; }
  .brand-img-dark { display: block; }
}

.brand-lg {
  width: 214px;
  margin: 0 auto;
}

/* ----- Splash ----- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: var(--safe-t) 20px var(--safe-b);
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: auto;
  overflow: visible;
}

.splash.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
}

.splash.is-gone,
.splash[hidden] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.splash-inner {
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.splash-mark {
  position: relative;
  width: 168px;
  margin: 0 auto 18px;
}

.splash-mascot {
  width: 168px;
  height: auto;
  margin: 0 auto;
}

.splash .wm-reveal {
  overflow: visible;
  /* Single generous skewed wipe: full wordmark bbox (S entry, letter tops, swash) plus padding */
  -webkit-mask-image: linear-gradient(105deg, #000 0 42%, transparent 58%);
  mask-image: linear-gradient(105deg, #000 0 42%, transparent 58%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 280% 160%;
  mask-size: 280% 160%;
  -webkit-mask-position: 118% 50%;
  mask-position: 118% 50%;
}

.splash-mark {
  opacity: 0;
  transform: translateX(-36px) translateY(10px);
}

.splash.is-ready .wm-reveal {
  animation: wm-letters 0.95s ease-out forwards;
}

.splash.is-ready .splash-mark {
  animation: mascot-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.splash.is-ready .splash-mascot {
  animation: mascot-float 3.6s ease-in-out 0.75s infinite;
}

.splash.is-ready .steam i {
  animation-name: steam-rise;
}

.splash:not(.is-ready) .steam i {
  animation: none;
  opacity: 0;
}

@keyframes wm-letters {
  to {
    -webkit-mask-position: -12% 50%;
    mask-position: -12% 50%;
  }
}

@keyframes mascot-enter {
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

/* ----- App shell ----- */
.app {
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100dvh;
  position: relative;
}

.view {
  min-height: 100dvh;
  padding-bottom: calc(var(--safe-b) + 24px);
}

.view-tabs {
  padding-bottom: calc(var(--safe-b) + 120px);
}

.view[hidden], [hidden] { display: none !important; }

/* ----- Top bar ----- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: calc(var(--safe-t) + 10px) 16px 10px 20px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.topbar .brand {
  width: min(168px, 100%);
  margin: 0;
  flex: none;
  overflow: visible;
  line-height: 0;
}

.topbar-brand .kicker {
  position: static;
  margin: 0;
  padding-top: 2px;
}

.topbar-actions {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
  flex: none;
}

.icon-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
}

.icon-btn:active { background: var(--surface-2); }

.menu {
  position: absolute;
  top: calc(var(--safe-t) + 62px);
  right: 16px;
  min-width: 200px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.menu button {
  text-align: left;
  padding: 12px 14px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 0.9375rem;
}

.menu button:active { background: var(--surface-2); }

/* ----- Search + list ----- */
.search-wrap { padding: 4px 20px 12px; }

#search {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  outline: none;
  font-size: 16px;
}

#search::placeholder { color: var(--muted); }
#search:focus { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }

.list { padding: 4px 16px 0; display: flex; flex-direction: column; gap: 10px; }

.card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 16px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
}

.card:active { background: var(--surface-2); transform: scale(0.985); }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.card-name {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.card-name > span:last-child { min-width: 0; }

.card-meta {
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.badge-example {
  background: var(--accent);
  color: var(--accent-text);
}

.fav-mark {
  width: 14px;
  height: 16px;
  background: url("assets/bean-ink.webp") no-repeat center / contain;
  flex: none;
}

@media (prefers-color-scheme: dark) {
  .fav-mark { background-image: url("assets/bean.webp"); }
}

.empty {
  text-align: center;
  padding: 36px 24px 80px;
}

.empty-mascot {
  width: 168px;
  height: auto;
  margin: 8px auto 18px;
}

.empty h2 {
  margin: 0 0 8px;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.empty p {
  margin: 0 auto 22px;
  color: var(--muted);
  max-width: 16rem;
}

/* ----- FAB ----- */
.fab-space { height: 24px; }

.fab {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe-b) + 28px);
  transform: translateX(-50%);
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow);
}

.fab:active { transform: translateX(-50%) scale(0.98); }

.fab-plus {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 500;
}

/* ----- Detail ----- */
.subbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-t) + 6px) 8px 8px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.subbar .icon-btn, .subbar .text-btn { min-height: 44px; }

.text-btn {
  padding: 0 14px;
  min-height: 44px;
  font-weight: 600;
  color: var(--accent);
}

.detail { padding: 8px 20px 32px; }

.detail-head { margin-bottom: 22px; }

.detail-head .kicker { margin-bottom: 8px; }

.detail-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.detail-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.scale {
  display: flex;
  width: 100%;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 0 28px;
}

.scale button {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.scale button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-text);
}

.section { margin-bottom: 26px; }

.section .kicker { margin-bottom: 10px; }

.row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.row:last-child { border-bottom: 0; }

.row-name { font-weight: 500; }

.row-val {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.row-val.wrap {
  white-space: normal;
  text-align: right;
}

a.row {
  color: inherit;
}
a.row .row-name {
  color: var(--accent);
}

.row-val .orig {
  margin-left: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8125rem;
}

.notes {
  margin: 0;
  color: var(--text);
  white-space: pre-wrap;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.action-grid [data-share] { grid-column: 1 / -1; }
.action-grid .btn-danger-ghost { grid-column: 1 / -1; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger-ghost {
  background: transparent;
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 35%, var(--line));
}

.btn:active { transform: scale(0.99); }

/* ----- Form ----- */
#view-form:not([hidden]) {
  display: flex;
  flex-direction: column;
  height: var(--vvh, 100dvh);
  max-height: var(--vvh, 100dvh);
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
}

#view-form .subbar {
  flex: none;
  position: sticky;
  top: 0;
  z-index: 9;
}

.form { padding: 8px 20px 32px; display: flex; flex-direction: column; gap: 18px; }

#view-form .form {
  flex: none;
  padding-bottom: calc(50vh + var(--safe-b) + 32px);
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label, .label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  outline: none;
  font-size: 16px;
}

.field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 500;
}

.check input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

.ing-row {
  display: grid;
  grid-template-columns: 1fr 88px 44px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.ing-row input { min-height: 48px; padding: 12px; }

.ing-remove {
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
}

.ing-remove:active { background: var(--surface-2); }

.linkish {
  color: var(--accent);
  font-weight: 600;
  min-height: 44px;
  padding: 8px 0;
  text-align: left;
}

.form-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* ----- Modal ----- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.45);
}

.modal-sheet {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 24px 20px calc(var(--safe-b) + 20px);
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow);
}

.modal-sheet h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.modal-sheet p { margin: 0 0 20px; color: var(--muted); }

.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ----- Toast ----- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe-b) + 108px);
  transform: translateX(-50%);
  z-index: 25;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  max-width: calc(100% - 40px);
}

@media (prefers-reduced-motion: reduce) {
  .splash, .fab, .btn { transition: none; }
}


/* ----- Tab bar ----- */
.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 9;
  width: 100%;
  max-width: 430px;
  display: flex;
  gap: 4px;
  padding: 6px 16px calc(var(--safe-b) + 8px);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}

.tabbar[hidden] { display: none !important; }

.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tab.is-active { color: var(--accent); }

.tab:active { background: var(--surface-2); }

.tab-icon {
  width: 18px;
  height: 20px;
  display: block;
}

.tab-bean {
  background: url("assets/bean-ink.webp") no-repeat center / contain;
  opacity: 0.4;
}

.tab.is-active .tab-bean { opacity: 1; }

@media (prefers-color-scheme: dark) {
  .tab-bean { background-image: url("assets/bean.webp"); }
}

.coffee-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.coffee-block .row-name { color: var(--accent); }

.coffee-block .card-meta { margin: 0; }

.coffee-link-meta {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}


/* ----- Paper grain ----- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.06;
  background: url("assets/grain.webp") repeat;
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) {
  .grain {
    opacity: 0.10;
    mix-blend-mode: overlay;
  }
}

/* ----- Est. badge ----- */
.est-mark {
  margin: 12px 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----- Steam ----- */
.steam {
  position: absolute;
  left: 46%;
  top: 2px;
  width: 28px;
  height: 36px;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}
.steam i {
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 18px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  border-color: var(--accent) transparent transparent var(--accent);
  opacity: 0;
  animation: steam-rise 2.8s ease-in-out infinite;
}
.steam i:nth-child(1) { left: 4px; animation-delay: 0s; }
.steam i:nth-child(2) { left: 11px; height: 22px; animation-delay: 0.45s; }
.steam i:nth-child(3) { left: 18px; animation-delay: 0.9s; }

@keyframes steam-rise {
  0% { transform: translateY(8px) scaleY(0.7); opacity: 0; }
  25% { opacity: 0.55; }
  100% { transform: translateY(-18px) scaleY(1.1); opacity: 0; }
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ----- Cards with gram readout ----- */
.card {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.16s ease, background 0.16s ease;
}
.card-body { flex: 1; min-width: 0; }
.card-grams {
  flex: none;
  min-width: 56px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.card-grams small {
  display: block;
  margin-top: 3px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-bean {
  width: 14px;
  height: 16px;
  background: url("assets/bean-ink.webp") no-repeat center / contain;
  flex: none;
  opacity: 0.7;
}
@media (prefers-color-scheme: dark) {
  .card-bean { background-image: url("assets/bean.webp"); }
}
.card-top { margin-bottom: 4px; }

/* ----- Full-screen hamburger menu ----- */
.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: var(--bg);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease;
}
.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-close {
  position: absolute;
  top: calc(var(--safe-t) + 8px);
  right: 12px;
  z-index: 2;
  color: var(--text);
}
.nav-inner {
  min-height: 100%;
  padding: calc(var(--safe-t) + 28px) 24px calc(var(--safe-b) + 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: visible;
}
.nav-mascot {
  width: 104px;
  height: auto;
  margin: 4px auto 10px;
  flex: none;
}
.nav-wordmark {
  width: 176px;
  overflow: visible;
  flex: none;
  line-height: 0;
}
.nav-links {
  width: 100%;
  max-width: 320px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: none;
  border: 0;
  border-radius: 12px;
}
.nav-link-lg {
  min-height: 64px;
  font-size: 2rem;
  letter-spacing: 0.08em;
  font-weight: 650;
  color: var(--text);
  line-height: 1;
}
.nav-link.is-current { color: var(--accent); }
.nav-link:active { background: var(--surface-2); }

/* ----- About ----- */
.about {
  padding: 12px 28px 40px;
  text-align: center;
}
.about-mascot {
  width: 168px;
  margin: 8px auto 18px;
}
.about p {
  margin: 0 auto 14px;
  max-width: 18rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .splash-mascot, .steam i, .nav-menu, .card { animation: none; transition: none; }
}

.list-stamp {
  margin: 0 20px 10px;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}


@media (prefers-reduced-motion: reduce) {
  .splash .wm-reveal,
  .splash-mark,
  .splash-mascot,
  .steam i {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}


@media (max-height: 720px) {
  .nav-inner {
    padding: calc(var(--safe-t) + 20px) 20px calc(var(--safe-b) + 16px);
  }
  .nav-mascot { width: 88px; margin: 0 auto 8px; }
  .nav-wordmark { width: 160px; }
  .nav-links { margin-top: 12px; }
  .nav-link { min-height: 46px; }
  .nav-link-lg { min-height: 54px; font-size: 1.75rem; }
}
