/* Sketches Kitchen & Bar
   Black ink on white paper by morning, white ink on black by night.
   The whole palette flips through the tokens below; html[data-mood] is set by assets/js/mood.js. */

:root {
  --font-hand: "Shantell Sans", "Comic Sans MS", "Marker Felt", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --paper: #ffffff;
  --paper-2: #f5f3ee;
  --ink: #121212;
  --ink-2: rgb(18 18 18 / 0.72);
  --ink-3: rgb(18 18 18 / 0.5);
  --line: rgb(18 18 18 / 0.14);
  --dot: rgb(18 18 18 / 0.09);
  --tape: rgb(18 18 18 / 0.08);

  --stroke: 2.5px;
  /* hand-drawn corners: every box is a little uneven */
  --r-wobble: 255px 14px 225px 16px / 16px 225px 14px 255px;
  --r-card: 26px 6px 30px 8px / 8px 28px 6px 26px;
  --r-card-2: 8px 28px 6px 30px / 30px 6px 26px 8px;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

:root[data-mood="night"] {
  --paper: #111111;
  --paper-2: #1c1c1b;
  --ink: #f6f4ee;
  --ink-2: rgb(246 244 238 / 0.76);
  --ink-3: rgb(246 244 238 / 0.52);
  --line: rgb(246 244 238 / 0.16);
  --dot: rgb(246 244 238 / 0.08);
  --tape: rgb(246 244 238 / 0.12);
  color-scheme: dark;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  /* sketchbook dot grid */
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }

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

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip {
  position: fixed;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-hand);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--r-wobble);
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Things that only show in one mood */
:root[data-mood="morning"] .for-night,
:root[data-mood="night"] .for-morning { display: none !important; }

/* ---------- type ---------- */

.display {
  font-family: var(--font-hand);
  font-weight: 800;
  font-variation-settings: "INFM" 55, "BNCE" 25;
  font-size: clamp(2.5rem, 1.4rem + 5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display-md {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
  line-height: 1.08;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 3px;
  background: currentColor;
  border-radius: 3px;
  transform: rotate(-4deg);
}

.lead {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  color: var(--ink-2);
  max-width: 34em;
}

.small { font-size: 0.92rem; color: var(--ink-3); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-wobble);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--ink-3); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--ink-3); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 2px 0 var(--line); }

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: block; flex: none; color: var(--ink); }
.brand-word { width: 150px; height: auto; transition: transform 0.25s var(--ease); }
.brand:hover .brand-word { transform: rotate(-2deg) scale(1.03); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav a {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 3px;
  background: currentColor;
  border-radius: 3px;
  transform: scaleX(0) rotate(-2deg);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1) rotate(-2deg); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.mood-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-hand);
  font-weight: 700;
}
.mood-switch-track {
  position: relative;
  display: block;
  width: 66px; height: 36px;
  border: var(--stroke) solid var(--ink);
  border-radius: 30px 22px 26px 20px / 22px 28px 20px 26px;
}
.mood-switch-icon {
  position: absolute;
  top: 6px;
  width: 20px; height: 20px;
  color: var(--ink-3);
}
.mood-switch-icon.is-sun { left: 7px; }
.mood-switch-icon.is-moon { right: 7px; }
.mood-switch-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 26px; height: 26px;
  border-radius: 50% 46% 52% 48%;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}
:root[data-mood="morning"] .mood-switch-knob { transform: translateX(30px); }
.mood-switch-label { min-width: 4.6em; text-align: left; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-wobble);
  background: none;
  cursor: pointer;
}
.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 20px; height: 2.5px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle-lines::before { top: -7px; transform: rotate(-3deg); }
.menu-toggle-lines::after { top: 7px; width: 15px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; width: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(32px, 6vw, 80px) clamp(56px, 8vw, 110px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.mood-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 16px 8px 10px;
  border: 2px dashed var(--ink);
  border-radius: var(--r-wobble);
  background: var(--paper);
  cursor: pointer;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s var(--ease);
}
.mood-chip:hover { transform: rotate(-1.5deg); }
.mood-chip-icon { width: 26px; height: 26px; }
:root[data-mood="morning"] .mood-chip-icon.is-moon,
:root[data-mood="night"] .mood-chip-icon.is-sun { display: none; }
.mood-chip-icon.is-sun { animation: spin 18s linear infinite; }
.mood-chip-flip { color: var(--ink-3); font-weight: 500; }

.hero h1 { margin-bottom: 28px; }

.nowrap { white-space: nowrap; }
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble-line {
  position: absolute;
  left: -4%; bottom: -0.16em;
  width: 108%; height: 0.36em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
}
.scribble-line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.8s 0.5s var(--ease) forwards; }
.scribble-line path + path { stroke-width: 3.5; animation-delay: 1s; }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.hero-art {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-mascot {
  width: 82%;
  height: auto;
  color: var(--ink);
  animation: stroll 5s ease-in-out infinite;
  transform-origin: 50% 100%;
}
.boil-lg { filter: url(#boil-lg); }

.doodle {
  position: absolute;
  width: clamp(48px, 8vw, 78px);
  height: auto;
  color: var(--ink);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.9s var(--ease) forwards, bob 6s ease-in-out infinite;
}
.doodle.d1 { top: 0; left: 6%; animation-delay: 0.2s, 0s; }
.doodle.d2 { top: 14%; right: 0; animation-delay: 0.45s, -1.5s; transform: rotate(8deg); }
.doodle.d3 { bottom: 10%; left: -2%; animation-delay: 0.7s, -3s; }
.doodle.d4 { bottom: 2%; right: 8%; width: clamp(38px, 6vw, 58px); animation-delay: 0.95s, -4.5s; }

/* ---------- ticker ---------- */

/* the ticker is tilted; this keeps its corners from widening the page */
.ticker-clip { overflow: hidden; padding-block: 18px; }
.ticker {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-1.2deg);
  margin-inline: -2vw;
  padding-block: 14px;
  border-block: var(--stroke) solid var(--ink);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker span {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem);
  white-space: nowrap;
}
.ticker svg { width: 22px; height: 22px; flex: none; }

/* ---------- sections ---------- */

.section { padding-block: var(--section-y); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-bottom: 18px; }
.section-intro { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }

/* about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.about-copy h2 { margin-bottom: 28px; }
.about-copy p { color: var(--ink-2); max-width: 36em; }
.about-copy .signoff {
  margin-top: 28px;
  color: var(--ink);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.35rem;
  transform: rotate(-1.5deg);
  transform-origin: left;
}

.values { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.value-card {
  position: relative;
  padding: 26px 26px 22px 92px;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}
.value-card:nth-child(2) { border-radius: var(--r-card-2); transform: rotate(0.8deg); }
.value-card:nth-child(3) { transform: rotate(-0.6deg); }
.value-card h3 {
  margin-bottom: 4px;
  font-family: var(--font-hand);
  font-weight: 800;
  font-size: 1.4rem;
}
.value-card p { margin: 0; color: var(--ink-2); }
.value-icon { position: absolute; left: 24px; top: 24px; width: 48px; height: 48px; }

/* day & night scene */
.scene-card {
  margin: 0;
  padding: clamp(14px, 3vw, 34px);
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}
.scene { width: 100%; height: auto; color: var(--ink); overflow: visible; }
.scene-sign { font-family: var(--font-hand); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; }
.scene-sub { font-family: var(--font-hand); font-weight: 600; font-size: 9.5px; letter-spacing: 0.12em; }
.scene-mascot { color: var(--ink); }
.scene .window-glow { opacity: 0; transition: opacity 0.6s; }
.scene .bulbs circle { fill: none; transition: fill 0.4s; }
:root[data-mood="night"] .scene .window-glow { opacity: 0.18; }
:root[data-mood="night"] .scene .bulbs circle { fill: currentColor; }
:root[data-mood="morning"] .scene .night-only,
:root[data-mood="night"] .scene .day-only { display: none; }
.scene .stars use { animation: twinkle 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.scene .stars use:nth-child(2n) { animation-delay: -1.2s; }
.scene .stars use:nth-child(3n) { animation-delay: -2.1s; }

.scene-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: clamp(14px, 2.5vw, 26px);
  min-height: 3.6em;
}
.scene-stage {
  font-family: var(--font-hand);
  font-weight: 800;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
}
.scene-text { color: var(--ink-2); font-size: 1.08rem; }

.day-control { display: none; align-items: center; gap: 14px; margin-top: 14px; }
.js .day-control { display: flex; }
.day-end { width: 34px; height: 34px; flex: none; }

.day-slider {
  flex: 1;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}
.day-slider:active { cursor: grabbing; }
.day-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px 3px 5px 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 22px);
}
.day-slider::-moz-range-track {
  height: 6px;
  border-radius: 6px 3px 5px 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 22px);
}
.day-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 34px; height: 34px;
  margin-top: -14px;
  border: var(--stroke) solid var(--ink);
  border-radius: 50% 44% 52% 46%;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}
.day-slider::-moz-range-thumb {
  width: 30px; height: 30px;
  border: var(--stroke) solid var(--ink);
  border-radius: 50% 44% 52% 46%;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}
.day-slider:focus-visible { outline: none; }
.day-slider:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--ink); outline-offset: 3px; }
.day-slider:focus-visible::-moz-range-thumb { outline: 3px solid var(--ink); outline-offset: 3px; }

/* menu */
.tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 30px;
  padding: 6px;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-wobble);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 20px;
  border: 0;
  border-radius: var(--r-wobble);
  background: none;
  cursor: pointer;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s;
}
.tab svg { width: 24px; height: 24px; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tab:not([aria-selected="true"]):hover { background: var(--tape); }

.panel-kicker {
  margin-bottom: 18px;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink-2);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.menu-card {
  padding: 26px 24px 24px;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-card);
  background: var(--paper);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.menu-card:nth-child(even) { border-radius: var(--r-card-2); }
.menu-card:hover { transform: translate(-3px, -3px) rotate(-0.8deg); box-shadow: 6px 6px 0 var(--ink); }
.menu-card:nth-child(even):hover { transform: translate(-3px, -3px) rotate(0.8deg); }
.menu-card h3 {
  margin: 14px 0 6px;
  font-family: var(--font-hand);
  font-weight: 800;
  font-size: 1.32rem;
  line-height: 1.2;
}
.menu-card p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.menu-icon { width: 58px; height: 58px; }

.tab-panel.is-entering .menu-card { animation: pop-in 0.5s var(--ease) both; }
.tab-panel.is-entering .menu-card:nth-child(2) { animation-delay: 0.06s; }
.tab-panel.is-entering .menu-card:nth-child(3) { animation-delay: 0.12s; }
.tab-panel.is-entering .menu-card:nth-child(4) { animation-delay: 0.18s; }

.menu-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 0;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink-2);
}
.menu-note svg { width: 30px; height: 30px; flex: none; color: var(--ink); }

/* sketch pad */
.sketch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.sketch-copy h2 { margin-bottom: 22px; }
.sketch-copy p { color: var(--ink-2); max-width: 30em; }
.sketch-arrow { width: 130px; height: auto; margin-top: 10px; margin-left: auto; margin-right: 10%; }

.pad {
  position: relative;
  padding: 14px;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-card-2);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(0.6deg);
}
.pad-surface {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px 14px 8px 12px;
  background-color: var(--paper-2);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 32px;
  overflow: hidden;
}
.pad-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  touch-action: none;
  cursor: crosshair;
}
.pad-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  color: var(--ink-3);
  pointer-events: none;
  transition: opacity 0.3s;
}
.pad-hint.is-hidden { opacity: 0; }

.pad-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.pad-sizes, .pad-actions { display: flex; gap: 8px; }
.pad-btn {
  min-height: 42px;
  padding: 6px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--r-wobble);
  background: var(--paper);
  cursor: pointer;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s var(--ease);
}
.pad-btn:hover { transform: rotate(-2deg); }
.pad-btn[aria-pressed="true"], .pad-btn-ink { background: var(--ink); color: var(--paper); }

.tape {
  position: absolute;
  z-index: 2;
  width: 96px; height: 28px;
  background: var(--tape);
  border-left: 2px dotted var(--line);
  border-right: 2px dotted var(--line);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.tape-l { top: -14px; left: 22px; transform: rotate(-8deg); }
.tape-r { top: -12px; right: 26px; transform: rotate(6deg); }
.tape-c { top: -14px; left: 50%; transform: translateX(-50%) rotate(-3deg); }

/* visit */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.visit-copy h2 { margin-bottom: 20px; }
.visit-copy > p { color: var(--ink-2); max-width: 30em; }

.hours { margin: 30px 0 0; }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 2px dashed var(--line);
}
.hours dt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.2rem;
}
.hours dt svg { width: 30px; height: 30px; }
.hours dd { margin: 0; color: var(--ink-2); }

.note-card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-1deg);
}
.note-list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.note-list li { display: flex; gap: 16px; align-items: flex-start; }
.note-list svg { width: 40px; height: 40px; flex: none; }
.note-list strong {
  display: block;
  font-family: var(--font-hand);
  font-weight: 800;
  font-size: 1.25rem;
}
.note-list span { color: var(--ink-2); }
.note-sign {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 2px dashed var(--line);
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.08rem;
  transform: rotate(-1deg);
}

/* ---------- footer: always the opposite of the page ---------- */

.site-footer {
  padding-block: clamp(56px, 8vw, 96px) 40px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 40px 40px 0 0 / 22px 22px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.footer-logo {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--paper);
  text-decoration: none;
}
.footer-mascot { width: clamp(140px, 18vw, 200px); height: auto; }
.footer-word { width: clamp(180px, 22vw, 250px); height: auto; }
.footer-tagline {
  font-family: var(--font-hand);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 26px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 28px; padding: 0; list-style: none; }
.footer-nav a {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.footer-nav a:hover { text-decoration-color: currentColor; }
.footer-legal { margin: 0; font-size: 0.9rem; opacity: 0.6; }
.site-footer :focus-visible { outline-color: var(--paper); }

/* ---------- reveal on scroll (only when JS is running) ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .value-card.reveal.is-in:nth-child(2) { transform: rotate(0.8deg); }
.js .value-card.reveal.is-in:nth-child(3) { transform: rotate(-0.6deg); }
.js .value-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.js .value-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.js .note-card.reveal.is-in { transform: rotate(-1deg); }
.js .pad.reveal.is-in { transform: rotate(0.6deg); }

/* doodles draw themselves when their block comes into view */
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-in .draw, .js .draw.is-in, .js .tab-panel .draw { animation: draw 1.1s 0.25s var(--ease) forwards; }

/* ---------- mood change: the new mood is drawn in as a circle from where you clicked ---------- */

::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: mood-in 0.75s cubic-bezier(0.65, 0, 0.35, 1); }

/* ---------- keyframes ---------- */

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes stroll { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg) translateY(-6px); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes twinkle { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: 0.4; scale: 0.8; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) rotate(-2deg); } }
@keyframes mood-in {
  from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0)); }
  to   { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 50%) var(--vt-y, 0)); }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand-word { width: 124px; }
  .menu-toggle { display: grid; place-items: center; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: var(--stroke) solid var(--ink);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.25s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 12px 4px; font-size: 1.4rem; border-bottom: 2px dashed var(--line); }
  .nav a::after { display: none; }

  .hero-grid, .about-grid, .sketch-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; max-width: 360px; }
  .hero { padding-top: 12px; }
  .sketch-arrow { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

@media (max-width: 560px) {
  .mood-switch-label { display: none; }
  .menu-grid { grid-template-columns: minmax(0, 1fr); }
  .value-card { padding: 22px 20px 20px 80px; }
  .value-icon { left: 18px; width: 44px; height: 44px; }
  .cta-row .btn { flex: 1 1 auto; }
  .mood-chip-flip { display: none; }
  .pad-tools { justify-content: center; }
  .scene-caption { min-height: 5.2em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .boil-lg { filter: none; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
