:root {
  --brown: #503931;
  --beige: #e9e1d8;
  --paper: #efe9e2;
  --muted: #76635b;
  --hover: #3d2b25;
  --ink: #2a1e1a;
  --white: #ffffff;
  --line: color-mix(in srgb, var(--brown) 12%, transparent);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Work Sans", system-ui, sans-serif;
  --round: "Nunito", "Work Sans", system-ui, sans-serif;
  --max: 1280px;
  --pad: clamp(1.25rem, 4.5vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html[data-night] {
  color-scheme: dark;
  --brown: #e9e1d8;
  --beige: #1a1412;
  --paper: #251c18;
  --muted: #b4a096;
  --hover: #d8cfc6;
  --ink: #f4ece6;
}

html[data-night] .grain {
  opacity: 0.055;
  mix-blend-mode: overlay;
}

html[data-night] .mark,
html[data-night] .logo-badge,
html[data-night] .stamp-card img {
  filter: brightness(0) invert(0.91);
}

html[data-night] .site-footer .logo-badge {
  filter: none;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--brown);
  background: var(--beige);
  min-width: 320px;
  font-synthesis: none;
}

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

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

a {
  color: inherit;
  transition: color 0.25s var(--ease);
}

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

.grain,
.grain::after {
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 400;
  opacity: 0.11;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: var(--pad);
  top: 0.75rem;
  z-index: 500;
  background: var(--paper);
  padding: 0.4rem 0.7rem;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .mark,
.board-kicker .mark {
  width: 1.6rem;
  height: 1.6rem;
  max-width: none;
  aspect-ratio: 1;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: var(--beige);
  letter-spacing: 0;
}

/* Steam */
.steam-eyebrow,
.steam-big {
  display: flex;
  align-items: flex-end;
  gap: 0.22rem;
}

.steam-eyebrow span,
.steam-big span {
  display: block;
  width: 7px;
  border: 1.25px solid color-mix(in srgb, var(--brown) 22%, transparent);
  border-bottom: 0;
  border-radius: 12px 12px 4px 4px;
  transform-origin: 50% 100%;
  animation: steam 4.8s var(--ease) infinite;
}

.steam-eyebrow span {
  height: 14px;
}

.steam-eyebrow span:nth-child(2) {
  height: 20px;
  animation-delay: 0.45s;
}

.steam-eyebrow span:nth-child(3) {
  height: 12px;
  animation-delay: 0.9s;
}

.steam-big {
  position: absolute;
  left: 10%;
  top: 12%;
  opacity: 0.38;
}

.steam-big span {
  width: 11px;
  height: 36px;
}

.steam-big span:nth-child(2) {
  height: 50px;
  animation-delay: 0.5s;
}

.steam-big span:nth-child(3) {
  height: 30px;
  animation-delay: 1s;
}

@keyframes steam {
  0%,
  100% {
    transform: translateY(4px) scaleY(0.88);
    opacity: 0.18;
  }
  50% {
    transform: translateY(-6px) scaleY(1.05);
    opacity: 0.45;
  }
}

/* Coffee rings */
.ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 12px solid color-mix(in srgb, var(--muted) 22%, transparent);
  box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--beige) 28%, transparent);
}

.ring-a {
  width: 148px;
  height: 148px;
  top: -8px;
  right: -22px;
  z-index: 0;
  transform: rotate(-12deg);
}

.ring-b {
  width: 86px;
  height: 86px;
  border-width: 8px;
  bottom: 22%;
  left: 22%;
  z-index: 0;
  opacity: 0.62;
  transform: rotate(18deg);
}

.ring-c {
  width: 110px;
  height: 110px;
  top: 16%;
  right: -20px;
  border-width: 10px;
  opacity: 0.55;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--beige) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--beige) 96%, transparent);
}

html.is-app #app {
  display: none;
}

html.is-app body.account-page .site-header,
html.is-app body.account-page .site-footer,
html.is-app body.account-page .skip,
html.is-app body.account-page .account-actions,
html.is-app body.account-page .grain,
html.is-app body.account-page .house-notice,
html.is-app body.account-page .house-pace,
html.is-app body.account-page #account-home,
html.is-app body.account-page .account-footer-actions {
  display: none;
}

html.is-app body.account-page .account-auth-grid > div:first-child {
  display: none;
}

html.is-app body.account-page .account-auth-grid {
  display: block;
}

html.is-app body.account-page .account-auth-panel {
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0 1rem;
}

html.is-app body.account-page .band {
  padding-top: 0.4rem;
  padding-bottom: 1rem;
}

html.is-app .hero,
html.is-app #house,
html.is-app #cup,
html.is-app #ways,
html.is-app #gallery,
html.is-app #wear,
html.is-app #app,
html.is-app #reviews,
html.is-app #visit,
html.is-app .house-notice,
html.is-app .house-pace,
html.is-app .site-header,
html.is-app .site-footer,
html.is-app .skip {
  display: none;
}

html.is-app #menu {
  padding-top: 1.1rem;
}

html.is-table .hero,
html.is-table #house,
html.is-table #cup,
html.is-table #ways,
html.is-table #gallery,
html.is-table #wear,
html.is-table #app,
html.is-table #reviews,
html.is-table #visit {
  display: none;
}

html.is-table #menu {
  padding-top: 1.1rem;
}

html.is-app .collect-dock {
  padding-bottom: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
}

.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;
}

.nav-search {
  position: relative;
  flex: 1 1 12rem;
  max-width: 22rem;
  min-width: 0;
  margin-left: 0.6rem;
}

.nav-search input {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  color: var(--brown);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 0.55rem 0.85rem;
  letter-spacing: 0.02em;
}

.nav-search input::placeholder {
  color: var(--muted);
}

.nav-search input:focus {
  outline: 1px solid color-mix(in srgb, var(--brown) 35%, transparent);
  outline-offset: 1px;
  background: var(--paper);
}

.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 90;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 12%, transparent);
}

.search-results[hidden] {
  display: none;
}

.search-results button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  width: 100%;
  border: 0;
  background: none;
  padding: 0.55rem 0.9rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.search-results button:hover,
.search-results button:focus {
  background: color-mix(in srgb, var(--beige) 70%, var(--paper));
}

.search-kind {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.search-label em {
  font-style: italic;
  font-size: 0.85em;
  color: var(--muted);
  margin-left: 0.35rem;
}

.menu-row.is-search-hit {
  outline: 1px solid var(--brass);
  outline-offset: 4px;
  background: color-mix(in srgb, var(--beige) 55%, var(--paper));
}

.nav-account-link {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.35rem;
  border: 0;
  background: none;
  padding: 0.35rem 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
}

.mega-trigger:hover,
.mega-trigger[aria-expanded="true"] {
  color: var(--muted);
}

.nav-page {
  display: inline-flex;
  align-items: center;
  margin-left: 0.9rem;
  padding: 0.35rem 0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
}

.nav-page:hover,
.nav-page[aria-current="page"] {
  color: var(--muted);
}

.mega-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
}

.mega-trigger[aria-expanded="true"] .mega-chevron {
  transform: rotate(225deg) translateY(-1px);
}

.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 79;
  background: color-mix(in srgb, var(--beige) 97%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 60px color-mix(in srgb, var(--ink) 10%, transparent);
}

.mega-panel[hidden] {
  display: none;
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.15fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding: 1.7rem 0 2rem;
  align-items: start;
}

.mega-col .eyebrow {
  margin-bottom: 0.85rem;
}

.mega-col a {
  display: block;
  padding: 0.28rem 0;
  text-decoration: none;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.28rem, 1.7vw, 1.55rem);
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 1.2;
}

.mega-col a:hover {
  color: var(--hover);
}

.mega-feature {
  padding: 0.15rem 0 0;
}

.mega-feature-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px solid var(--line);
}

.mega-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-hours,
.mega-address {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mega-address {
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.mega-feature .btn {
  margin-top: 1rem;
}

.mega-cta {
  display: none;
}

.site-header.is-mega-open {
  border-bottom-color: var(--line);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: 50%;
}

.logo img,
.logo-badge {
  width: 3.55rem;
  height: 3.55rem;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: var(--beige);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--brown) 16%, transparent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-links button {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--muted);
}

.nav-links .btn {
  padding: 0.5rem 1.05rem;
  letter-spacing: 0.06em;
  color: var(--beige);
}

.nav-links .btn:hover {
  color: var(--beige);
}

.nav-account-chip {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  cursor: pointer;
}

body:not(.clerk-ready) .clerk-signed-out,
body:not(.clerk-ready) .clerk-signed-in {
  visibility: hidden;
}

.clerk-signed-out[hidden],
.clerk-signed-in[hidden] {
  display: none !important;
}

#clerk-user-button,
.nav-cta .clerk-user-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--brown) 16%, transparent);
  background: var(--paper);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--brown);
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(40deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-40deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.92rem 1.55rem;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  background: var(--brown);
  color: var(--beige);
  border: 1px solid var(--brown);
  transition:
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.btn:hover {
  background: var(--hover);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  pointer-events: none;
}

.btn-ghost {
  background: transparent;
  color: var(--brown);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--brown) 5%, transparent);
}

/* Hero — campaign full-bleed */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88svh, 860px);
  display: flex;
  align-items: center;
  padding: clamp(5.2rem, 9vw, 6.8rem) 0 clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
}

.hero-photo,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
}

.hero-veil {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ink) 22%, transparent) 0%,
    color-mix(in srgb, var(--ink) 48%, transparent) 46%,
    color-mix(in srgb, var(--ink) 82%, transparent) 100%
  );
}

.hero-stamp {
  position: absolute;
  top: clamp(1.1rem, 3vw, 2rem);
  right: var(--pad);
  z-index: 2;
  margin: 0;
  width: 6.75rem;
  height: 6.75rem;
  max-width: none;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: var(--beige);
  border: 5px solid var(--beige);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--ink) 35%, transparent);
  pointer-events: none;
  animation: hero-rise 1.1s var(--ease) 0.18s both;
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: clamp(1.4rem, 3vw, 2rem);
  width: 100%;
  text-align: center;
}

.hero-inner {
  max-width: 42rem;
  animation: hero-rise 0.95s var(--ease) both;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
  width: min(100%, 34rem);
  margin: 0;
  padding: 0;
  animation: hero-rise 1.05s var(--ease) 0.12s both;
}

.hero-gallery .gallery-open,
.hero-gallery-more {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 0;
  border: 3px solid color-mix(in srgb, var(--beige) 88%, white);
  background: var(--ink);
  cursor: zoom-in;
  appearance: none;
}

.hero-gallery-more {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: var(--beige);
}

.hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.hero-gallery .gallery-open:hover img,
.hero-gallery-more:hover img {
  transform: scale(1.045);
}

.hero-gallery-more span {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 1;
  font-family: var(--round);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.4rem 0.35rem;
  background: color-mix(in srgb, var(--brown) 78%, transparent);
}

.hero-kicker {
  margin: 0 0 1.15rem;
  font-family: var(--round);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: color-mix(in srgb, var(--white) 78%, transparent);
}

.hero h1 {
  margin: 0 0 1.05rem;
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(2.2rem, 6.6vw, 4.05rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  color: var(--white);
}

.modes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
}

.modes a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1.5px solid color-mix(in srgb, var(--white) 72%, transparent);
  border-radius: 999px;
  padding: 0.58rem 1.05rem;
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--white);
  transition:
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.modes a:hover {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
}

.hero .btn {
  background: var(--beige);
  color: var(--brown);
  border-color: var(--beige);
}

.hero .btn:hover {
  background: var(--white);
  border-color: var(--white);
}

.hero .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 72%, transparent);
}

.hero .btn-ghost:hover {
  background: color-mix(in srgb, var(--white) 12%, transparent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.hours-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid color-mix(in srgb, var(--white) 22%, transparent);
  color: color-mix(in srgb, var(--white) 78%, transparent);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.hours-chip strong {
  color: var(--white);
  font-weight: 600;
}

.hero-steam {
  position: absolute;
  left: 8%;
  bottom: 38%;
  z-index: 2;
  display: flex;
  gap: 1.1rem;
  pointer-events: none;
  opacity: 0.55;
}

.hero-steam span {
  display: block;
  width: 3px;
  height: 4.2rem;
  border-radius: 999px;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--beige) 0%, transparent),
    color-mix(in srgb, var(--beige) 70%, transparent)
  );
  filter: blur(1.2px);
  transform-origin: 50% 100%;
  animation: steam-rise 3.8s ease-in-out infinite;
}

.hero-steam span:nth-child(2) {
  height: 5.4rem;
  animation-delay: 0.6s;
}

.hero-steam span:nth-child(3) {
  height: 3.4rem;
  animation-delay: 1.1s;
}

.hero-steam span:nth-child(4) {
  height: 6rem;
  animation-delay: 1.7s;
}

.hero-steam span:nth-child(5) {
  height: 4.6rem;
  animation-delay: 2.2s;
}

@keyframes steam-rise {
  0% {
    opacity: 0;
    transform: translateY(12px) scaleX(1);
  }
  25% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateY(-54px) scaleX(1.8);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sections */
section {
  position: relative;
  scroll-margin-top: 5.5rem;
}

.band {
  padding: clamp(4.5rem, 9.5vw, 7.75rem) 0;
}

.band-paper {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5.5vw, 5rem);
  align-items: center;
}

h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5.2vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.campaign-title {
  font-family: var(--round);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: lowercase;
}

.prose {
  color: var(--muted);
  margin: 0;
  max-width: 38em;
  font-size: 1.14rem;
  line-height: 1.62;
}

.prose + .prose {
  margin-top: 1rem;
}

.closing-line {
  margin: 1.5rem 0 0;
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brown);
}

.house-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.experience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 26rem;
}

.experience li {
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--brown);
  background: var(--beige);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

@media (min-width: 901px) {
  #house .split {
    align-items: stretch;
  }

  .house-copy {
    justify-content: space-between;
    gap: 3rem;
    padding-block: 0.4rem 0.15rem;
  }

  .experience {
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
  }
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.way-card {
  min-width: 0;
  scroll-margin-top: 5.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.7rem 0.7rem 1.25rem;
}

.way-card .gallery-open {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
  appearance: none;
}

.way-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.way-card .gallery-open:hover img {
  transform: scale(1.04);
}

.way-card h3 {
  margin: 1rem 0.35rem 0.4rem;
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.way-card p {
  margin: 0 0.35rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.cup-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(1.4rem, 3.5vw, 2.6rem);
  align-items: stretch;
}

.cup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.cup-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 1.35rem 1.25rem 1.3rem;
  background: var(--paper);
}

.cup-kicker {
  margin: 0;
  font-family: var(--round);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cup-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cup-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.cup-grid a {
  margin-top: auto;
  padding-top: 0.65rem;
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  color: var(--brown);
  text-underline-offset: 0.18em;
}

.cup-grid a:hover {
  color: var(--hover);
}

.cup-aside {
  margin: 0;
  min-width: 0;
}

.cup-aside .gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--ink);
  cursor: zoom-in;
  appearance: none;
}

.cup-aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.cup-aside .gallery-open:hover img {
  transform: scale(1.04);
}

.cup-aside figcaption {
  margin: 0.7rem 0.1rem 0;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .cup-grid,
  .wear-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tab {
    padding: 0.45rem 0.75rem;
    font-size: 0.7rem;
  }

  .gallery-bento {
    gap: 0.55rem;
  }

  .gallery-feature,
  .gallery-bento li {
    padding: 0.28rem;
  }
}

.wear-intro {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}

.wear-stamp {
  display: inline-flex;
  margin: 0 0 1.05rem;
  border: 1.5px solid var(--brown);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-family: var(--round);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
}

.wear-actions {
  margin: 1.35rem 0 0;
}

.wear-photo {
  margin: 0;
  min-width: 0;
}

.wear-photo .gallery-open {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--ink);
  cursor: zoom-in;
  appearance: none;
}

.wear-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.wear-photo .gallery-open:hover img {
  transform: scale(1.04);
}

.wear-photo figcaption {
  margin: 0.7rem 0.1rem 0;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.45;
}

.wear-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

.wear-grid li {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.wear-piece {
  margin: 0;
  min-width: 0;
}

.wear-piece .gallery-open {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--beige) 70%, var(--paper));
  cursor: zoom-in;
  appearance: none;
}

.wear-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.wear-piece .gallery-open:hover img {
  transform: scale(1.04);
}

.wear-piece figcaption {
  margin: 0.75rem 0.05rem 0;
}

.wear-piece h3 {
  margin: 0 0 0.25rem;
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  letter-spacing: -0.03em;
  text-transform: lowercase;
  line-height: 1.1;
}

.wear-piece p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.gallery-head .ig-cta {
  margin-top: 0;
  flex-shrink: 0;
}

.band-brown {
  background: var(--brown);
  color: var(--beige);
}

.eyebrow-on-dark {
  color: color-mix(in srgb, var(--beige) 70%, transparent);
}

.eyebrow-on-dark .mark {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--beige) 32%, transparent);
}

.prose-on-dark {
  color: color-mix(in srgb, var(--beige) 78%, transparent);
}

.band-brown .campaign-title {
  color: var(--beige);
}

.app-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.app-features {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--beige) 18%, transparent);
}

.app-features li {
  display: grid;
  gap: 0.15rem;
  padding: 1.05rem 0 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--beige) 18%, transparent);
}

.app-feature-name {
  font-family: var(--round);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  color: var(--beige);
}

.app-features span:last-child {
  color: color-mix(in srgb, var(--beige) 72%, transparent);
  font-size: 0.95rem;
}

.wear-stamp-on-dark {
  border-color: color-mix(in srgb, var(--beige) 55%, transparent);
  color: var(--beige);
}

.app-stage {
  display: grid;
  gap: 1.6rem;
  justify-items: center;
}

.app-phone {
  width: min(100%, 16.5rem);
  padding: 0.7rem 0.7rem 1.1rem;
  border-radius: 2rem;
  background: color-mix(in srgb, var(--beige) 12%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--beige) 28%, transparent);
}

.app-phone-ear {
  display: block;
  width: 3.4rem;
  height: 0.28rem;
  margin: 0.35rem auto 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--beige) 40%, transparent);
}

.app-phone-screen {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  min-height: 22rem;
  padding: 2.2rem 1.1rem 1.4rem;
  border-radius: 1.35rem;
  background: var(--beige);
  color: var(--brown);
}

.app-phone-screen img {
  width: 4.5rem;
  height: 4.5rem;
}

.app-phone-screen p {
  margin: 0.4rem 0 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
}

.app-phone-screen ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.app-phone-screen li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}

.app-stage .app-features {
  width: 100%;
}

.media-frame {
  position: relative;
  margin: 0;
  min-height: 420px;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--beige) 28%, transparent), transparent 45%),
    linear-gradient(160deg, var(--muted) 0%, var(--brown) 55%, var(--hover) 100%);
  border: 1px solid color-mix(in srgb, var(--brown) 12%, transparent);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.media-frame .watermark-sm {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 11rem;
  color: var(--beige);
  opacity: 0.07;
  line-height: 1;
}

.media-frame figcaption {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--beige);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.media-frame-photo {
  display: block;
  background: var(--ink);
}

.media-frame-photo .gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  appearance: none;
  font: inherit;
  color: inherit;
}

.media-frame-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.4rem 1rem 0.85rem;
  background: linear-gradient(transparent, color-mix(in srgb, var(--ink) 72%, transparent));
  pointer-events: none;
}

.ig-cta {
  gap: 0.55rem;
}

.ig-cta .ig-logo {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.ig-cta .ig-logo {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
  list-style: none;
  margin: 2.15rem 0 0;
  padding: 0;
}

.gallery-teaser {
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}

.gallery-teaser li:first-child {
  grid-row: 1 / 3;
}

.gallery-teaser .gallery-open {
  height: 100%;
  min-height: 0;
}

.gallery-teaser li:first-child .gallery-open {
  aspect-ratio: auto;
}

.gallery-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
}

.gallery-page .campaign-title {
  margin-bottom: 1.1rem;
}

.gallery-hero {
  padding-bottom: clamp(2.4rem, 5vw, 3.5rem);
}

.gallery-page .gallery-hero + .band {
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.gallery-intro:has(.gallery-feature[hidden]) {
  grid-template-columns: 1fr;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 1.65rem;
}

.gallery-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.22rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.gallery-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  background: transparent;
  color: var(--brown);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.28s var(--ease),
    color 0.28s var(--ease);
}

.gallery-tab:hover,
.gallery-tab.is-active {
  background: var(--brown);
  color: var(--beige);
}

.gallery-tab:active {
  transform: scale(0.98);
}

.gallery-toolbar .ig-cta .btn-icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-left: 0.15rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--beige) 18%, transparent);
  font-size: 0.78rem;
  line-height: 1;
  transition: transform 0.45s var(--ease);
}

.gallery-toolbar .ig-cta:hover .btn-icon {
  transform: translate(1px, -1px) scale(1.05);
}

.gallery-feature {
  margin: 0;
  padding: 0.45rem;
  background: color-mix(in srgb, var(--brown) 4%, var(--paper));
  border: 1px solid var(--line);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--beige) 42%, transparent);
}

.gallery-feature[hidden] {
  display: none;
}

.gallery-feature .gallery-open {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
  appearance: none;
}

.gallery-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-feature .gallery-open:hover img {
  transform: scale(1.035);
}

.gallery-feature figcaption {
  margin: 0.7rem 0.2rem 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.gallery-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(11.5rem, 18vw);
  grid-auto-flow: dense;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-bento li {
  grid-column: span 2;
  grid-row: span 2;
  min-width: 0;
  padding: 0.4rem;
  background: color-mix(in srgb, var(--brown) 4%, var(--paper));
  border: 1px solid var(--line);
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-bento li {
    opacity: 0;
    transform: translateY(1.4rem);
    animation: gallery-rise 0.85s var(--ease) forwards;
    animation-delay: var(--d, 0ms);
  }
}

.gallery-bento li.is-in,
.gallery-bento li[hidden] {
  opacity: 1;
  transform: none;
}

.gallery-bento li[hidden] {
  display: none;
}

.gallery-bento .span-hero {
  grid-column: span 4;
}

.gallery-bento .span-tall {
  grid-column: span 2;
}

.gallery-bento .gallery-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
  appearance: none;
}

.gallery-added {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 1;
  margin: 0;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beige);
  background: color-mix(in srgb, var(--brown) 82%, transparent);
  pointer-events: none;
}

.gallery-bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-bento .gallery-open:hover img {
  transform: scale(1.045);
}

.gallery-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.4rem 0 0;
}

@keyframes gallery-rise {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.photo-gallery .gallery-open {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--ink);
  cursor: zoom-in;
  appearance: none;
  font: inherit;
  color: inherit;
}

.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.photo-gallery .gallery-open:hover img {
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: 3.5rem var(--pad) var(--pad);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  width: min(960px, 100%);
}

.lightbox-frame {
  margin: 0;
  min-width: 0;
}

.lightbox-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
}

.lightbox-track::-webkit-scrollbar {
  display: none;
}

.lightbox-track.is-drag {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
}

.lightbox-slide {
  flex: 0 0 100%;
  margin: 0;
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: min(78vh, 860px);
  height: auto;
  object-fit: contain;
  background: var(--ink);
  border: 1px solid color-mix(in srgb, var(--beige) 18%, transparent);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-caption {
  margin: 0.7rem 0 0;
  color: var(--beige);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--beige) 22%, transparent);
  background: var(--brown);
  color: var(--beige);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: -2.6rem;
  right: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
}

.lightbox-nav {
  position: relative;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--hover);
}

body.lightbox-open {
  overflow: hidden;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.btn-on-dark {
  background: var(--beige);
  color: var(--brown);
  border-color: var(--beige);
}

.btn-on-dark:hover {
  background: var(--white);
  color: var(--hover);
}

.btn-ghost-on-dark {
  background: transparent;
  color: var(--beige);
  border-color: color-mix(in srgb, var(--beige) 45%, transparent);
}

.btn-ghost-on-dark:hover {
  background: color-mix(in srgb, var(--beige) 12%, transparent);
  color: var(--beige);
}

/* Menu */
.menu-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.boards {
  display: block;
  width: 100%;
}

.board {
  position: relative;
  width: 100%;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 2.8vw, 2.35rem) clamp(1.35rem, 2.4vw, 2.1rem) 1.85rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.board-cols {
  min-width: 0;
}

@media (min-width: 901px) {
  .board-cols {
    column-count: 2;
    column-gap: clamp(1.75rem, 3.5vw, 3.25rem);
  }

  .board-section {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin: 0 0 1.5rem;
  }

  .board-section:last-child {
    margin-bottom: 0;
  }

  .board-section + .board-section {
    margin-top: 0;
  }
}

.board::after {
  content: "";
  position: absolute;
  right: 0.55rem;
  bottom: 0.4rem;
  width: 3.6rem;
  height: 3.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("assets/logo.png") center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.board-mast {
  margin: 0 0 1.35rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}

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

.board h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.board-section {
  margin: 0 0 1.45rem;
}

.board-section:last-child {
  margin-bottom: 0;
}

.board h4 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0 0 0.45rem;
}

.menu-item .name {
  font-weight: 500;
  font-size: 1rem;
}

.leader {
  flex: 1 1 auto;
  min-width: 1.1rem;
  height: 0;
  border-bottom: 1.5px dotted color-mix(in srgb, var(--brown) 22%, transparent);
  transform: translateY(-0.28em);
}

.menu-item .price {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.28s var(--ease), transform 0.28s var(--ease);
}

.menu-item-desc {
  margin: -0.12rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 36em;
  transition: color 0.28s var(--ease);
}

.menu-head-copy {
  margin-top: 0.85rem;
}

.menu-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  margin-top: 1.25rem;
  padding: 0.22rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.menu-tab {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  background: transparent;
  color: var(--brown);
  transition:
    background 0.28s var(--ease),
    color 0.28s var(--ease);
}

.menu-tab:hover,
.menu-tab.is-active {
  background: var(--brown);
  color: var(--beige);
  border-color: var(--brown);
}

.menu-row {
  position: relative;
  padding: 0.45rem 0.7rem 0.2rem 1.15rem;
  margin: 0 -0.7rem 0.2rem;
  border-radius: 14px;
  cursor: default;
  transition:
    background 0.32s var(--ease),
    transform 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}

.menu-row .menu-item {
  margin-bottom: 0.2rem;
}

.menu-row .menu-item-desc {
  margin-bottom: 0.45rem;
}

.row-steam {
  position: absolute;
  top: 0.55rem;
  left: 0.2rem;
  right: auto;
  display: flex;
  gap: 0.18rem;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.row-steam span {
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brown) 35%, transparent);
  transform-origin: 50% 100%;
}

@media (hover: hover) and (pointer: fine) {
  .menu-row:hover,
  .menu-row:focus-within {
    background: color-mix(in srgb, var(--brown) 7%, var(--beige));
    transform: translateX(6px);
    box-shadow: inset 3px 0 0 var(--brown);
  }

  .menu-row:hover .name,
  .menu-row:focus-within .name {
    color: var(--hover);
  }

  .menu-row:hover .price,
  .menu-row:focus-within .price {
    color: var(--brown);
    transform: translateY(-1px);
  }

  .menu-row:hover .leader,
  .menu-row:focus-within .leader {
    border-bottom-color: var(--brown);
    animation: leader-pour 0.7s var(--ease);
  }

  .menu-row:hover .menu-item-desc,
  .menu-row:focus-within .menu-item-desc {
    color: var(--brown);
  }

  .menu-row:hover .row-steam,
  .menu-row:focus-within .row-steam {
    opacity: 1;
  }

  .menu-row:hover .row-steam span,
  .menu-row:focus-within .row-steam span {
    animation: steam-rise 1.6s ease-in-out infinite;
  }

  .menu-row:hover .row-steam span:nth-child(2),
  .menu-row:focus-within .row-steam span:nth-child(2) {
    animation-delay: 0.2s;
    height: 14px;
  }

  .menu-row:hover .row-steam span:nth-child(3),
  .menu-row:focus-within .row-steam span:nth-child(3) {
    animation-delay: 0.4s;
    height: 8px;
  }
}

@keyframes leader-pour {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

@media (hover: hover) and (pointer: fine) {
  .board:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--brown) 12%, transparent);
  }
}

.note {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Visit */
.visit-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.visit-facts {
  margin: 2rem 0 0;
  display: grid;
  gap: 0;
}

.visit-card {
  padding: 1.35rem 0 1.4rem;
  border-top: 1px solid var(--line);
}

.visit-card + .visit-card {
  margin-top: 0;
}

.visit-card dt {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.visit-card dd,
.visit-card address {
  margin: 0;
  font-style: normal;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.visit-card a:hover {
  color: var(--brown);
}

.visit-card strong {
  color: var(--brown);
  font-weight: 600;
}

.map-frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--beige) 82%, var(--brown));
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  flex: 1 1 auto;
  min-height: 460px;
  border: 0;
  filter: saturate(0.72) contrast(0.96) brightness(0.98);
}

.map-frame figcaption {
  margin: 0;
  padding: 0.7rem 1rem;
  background: var(--beige);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Google reviews */
.reviews-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.reviews-copy .prose {
  max-width: 34em;
}

.reviews-score {
  display: flex;
  align-items: baseline;
  gap: 1rem 1.25rem;
  margin: 1.35rem 0 1.2rem;
}

.reviews-mark {
  margin: 0;
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(4.2rem, 11vw, 6.4rem);
  letter-spacing: -0.07em;
  line-height: 0.82;
  color: var(--brown);
}

.reviews-count {
  margin: 0;
  max-width: 7.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.review-quote {
  margin: 0;
  padding: 1.35rem 0 1.45rem;
  border-top: 1px solid var(--line);
}

.review-quote:first-child {
  padding-top: 0;
  border-top: 0;
}

.review-quote blockquote {
  margin: 0;
}

.review-quote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink);
}

.review-quote.is-featured p {
  font-size: clamp(1.35rem, 2.5vw, 1.78rem);
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.review-quote cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.reviews-quotes .reviews-note {
  margin-top: 1.8rem;
}

.google-presence {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem 1.2rem;
  margin: 1.7rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.google-kicker {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.google-presence a {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-underline-offset: 0.2em;
}

.google-presence a:hover {
  color: var(--hover);
}

.reviews-note {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.55rem, 3vw, 2.2rem) clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--beige) 70%, transparent);
}

.reviews-note .closing-line {
  margin-top: 0;
}

.reviews-note .prose {
  margin-top: 0.85rem;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.45rem;
}

.share-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.share-fallback[hidden] {
  display: none;
}

.share-fallback a,
.share-fallback button {
  font: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0 0 0.08em;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
}

.share-fallback a:hover,
.share-fallback button:hover {
  color: var(--brown);
  border-bottom-color: var(--brown);
}

.share-status {
  min-height: 1.2em;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Footer — perforated receipt edge */
.site-footer {
  position: relative;
  background: var(--brown);
  color: var(--beige);
  margin-top: 2.75rem;
  padding: 3.5rem 0 2.25rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 16px;
  background:
    radial-gradient(circle at 8px 8px, var(--beige) 6px, transparent 6.5px) 0 0 / 16px 16px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-family: var(--round);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.footer-tag {
  display: block;
  font-size: 0.62em;
  font-weight: 700;
  color: color-mix(in srgb, var(--beige) 72%, transparent);
}

.footer-brand img,
.footer-brand .logo-badge {
  width: 3.85rem;
  height: 3.85rem;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: var(--beige);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--beige) 28%, transparent);
}

.footer-meta {
  color: color-mix(in srgb, var(--beige) 72%, transparent);
  font-size: 0.92rem;
  line-height: 1.75;
}

.footer-meta a {
  color: var(--beige);
  text-underline-offset: 0.18em;
}

.footer-meta a:hover,
.footer-meta .night-toggle:hover {
  color: color-mix(in srgb, var(--beige) 45%, white);
}

.night-toggle {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--beige);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.fineprint {
  margin: 1.5rem 0 0;
  font-size: 0.76rem;
  color: color-mix(in srgb, var(--beige) 50%, transparent);
}

.fineprint a {
  color: inherit;
  text-underline-offset: 0.15em;
}

.fineprint a:hover {
  color: var(--beige);
}

@media (min-width: 900px) {
  .hero-media {
    margin-right: calc(-1 * var(--pad));
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .mega-trigger,
  .nav-page,
  .nav-cta {
    display: none;
  }

  .nav-search {
    margin-left: 0.4rem;
    margin-right: 0.4rem;
    max-width: none;
    flex: 1 1 auto;
  }

  .mega-panel {
    position: absolute;
    max-height: calc(100dvh - 80px);
    overflow: auto;
  }

  .mega-inner {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 1.4rem;
  }

  .mega-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem 1.2rem;
    align-items: center;
  }

  .mega-feature-photo {
    aspect-ratio: 1;
  }

  .mega-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    grid-column: 1 / -1;
    padding-top: 0.4rem;
    border-top: 1px solid var(--line);
  }

  .mega-cta .btn {
    width: auto;
  }

  .hero-inner,
  .split,
  .visit-grid,
  .reviews-layout,
  .ways-grid,
  .app-grid,
  .cup-layout,
  .wear-intro {
    grid-template-columns: 1fr;
  }

  .wear-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cup-aside .gallery-open {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero {
    min-height: 0;
    padding: clamp(4.6rem, 14vw, 5.6rem) 0 2.4rem;
  }

  .hero-stamp {
    width: 5.4rem;
    height: 5.4rem;
    border-width: 4px;
    top: 1rem;
    right: var(--pad);
  }

  .media-frame {
    min-height: 280px;
    aspect-ratio: 5 / 4;
  }

  .photo-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .gallery-intro {
    grid-template-columns: 1fr;
  }

  .gallery-teaser {
    display: flex;
    overflow-x: auto;
    grid-template-columns: none;
    gap: 0.7rem;
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .gallery-teaser::-webkit-scrollbar {
    display: none;
  }

  .gallery-teaser li,
  .gallery-teaser li:first-child {
    flex: 0 0 min(78vw, 22rem);
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .gallery-teaser li:first-child .gallery-open,
  .gallery-teaser .gallery-open {
    aspect-ratio: 3 / 4;
  }

  .gallery-bento {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    grid-template-columns: none;
    grid-auto-rows: auto;
    gap: 0.7rem;
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .gallery-bento::-webkit-scrollbar {
    display: none;
  }

  .gallery-bento li,
  .gallery-bento .span-hero,
  .gallery-bento .span-tall {
    flex: 0 0 min(78vw, 22rem);
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .gallery-bento .gallery-open,
  .gallery-feature .gallery-open {
    aspect-ratio: 3 / 4;
    height: auto;
  }

  .gallery-feature {
    box-shadow: none;
  }

  .lightbox {
    padding: 0;
  }

  .lightbox-stage {
    display: block;
    width: 100%;
    max-width: none;
  }

  .lightbox-frame {
    width: 100%;
  }

  .lightbox-image {
    max-height: min(78vh, 860px);
    border-left: 0;
    border-right: 0;
  }

  .lightbox-caption {
    padding-inline: var(--pad);
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-120%);
    justify-self: auto;
  }

  .lightbox-prev {
    left: 0.65rem;
  }

  .lightbox-next {
    right: 0.65rem;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
  }

  .steam-big {
    display: none;
  }

  .map-frame iframe {
    min-height: 300px;
  }
}

@media (max-width: 360px) {
  body {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .prose {
    font-size: 1.02rem;
  }

  .hero-stamp {
    width: 4.6rem;
    height: 4.6rem;
    border-width: 3px;
  }

  .logo img,
  .logo-badge {
    width: 3rem;
    height: 3rem;
  }

  .board {
    padding: 1.15rem 1rem 1.25rem;
  }

  .modes a {
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
  }
}

@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;
  }

  .hero-inner,
  .hero-gallery,
  .hero-stamp,
  .hero-steam span,
  .row-steam span,
  .gallery-bento li {
    animation: none;
  }

  .gallery-bento li {
    opacity: 1;
    transform: none;
  }
}

.clerk-signed-in[hidden],
.clerk-signed-out[hidden] {
  display: none !important;
}

.nav-account-chip {
  text-decoration: none;
}

.nav-user {
  display: flex;
  align-items: center;
}

.clerk-user-button {
  display: flex;
  align-items: center;
  min-height: 2.2rem;
}

.prose-on-dark a {
  color: var(--beige);
  text-underline-offset: 0.18em;
}

.account-page .campaign-title {
  margin-bottom: 1.1rem;
}

.account-auth-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.account-auth-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.85rem 1.65rem 1.55rem;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--beige) 40%, transparent);
}

.account-auth-panel h2 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 2.05rem;
  letter-spacing: -0.03em;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 1.15rem;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  padding: 0.55rem 0.15rem 0.7rem;
  margin-right: 1.35rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

.auth-tab:hover,
.auth-tab.is-active {
  color: var(--brown);
}

.auth-tab.is-active {
  border-bottom-color: var(--brown);
}

.clerk-loading {
  margin: 1.4rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
}

.clerk-mount {
  min-height: 16rem;
  margin-top: 0.55rem;
}

.clerk-mount iframe,
.clerk-mount .cl-rootBox,
.clerk-mount .cl-cardBox {
  width: 100%;
}

.clerk-mount[data-clerk-loading] {
  min-height: 8rem;
}

.account-auth-fallback {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--brown);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.account-welcome {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}

.account-welcome-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.account-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.45rem 1.35rem 1.35rem;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--beige) 70%, transparent);
}

.account-card h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  letter-spacing: -0.03em;
}

.account-facts {
  margin: 0;
}

.account-facts > div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.account-facts dt {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.empty-orders {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.empty-orders-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.empty-orders p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.stamp-card {
  margin-top: 1.1rem;
  padding: 1.05rem 1rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
}

.stamp-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.stamp-card-seal {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--beige);
}

.stamp-card-word {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--brown);
}

.stamp-card-kicker {
  margin: 0.2rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.stamp-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stamp-card .note {
  margin: 0.9rem 0 0;
}

.stamp-row li {
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--brown) 22%, transparent);
  border-radius: 50%;
  background: var(--beige);
}

.stamp-row li.is-stamped {
  border-color: var(--brown);
  background:
    url("assets/logo.png") center / cover no-repeat,
    var(--brown);
}

.house-notice {
  position: sticky;
  top: 80px;
  z-index: 70;
  margin: 0 auto;
  padding: 0.7rem var(--pad);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--beige);
  background: var(--brown);
}

.house-notice[hidden] {
  display: none;
}

.house-pace {
  position: sticky;
  top: 80px;
  z-index: 69;
  margin: 0 auto;
  padding: 0.65rem var(--pad);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  color: var(--brown);
  background: var(--paper);
  border-bottom: 1px solid color-mix(in srgb, var(--brown) 16%, transparent);
}

.house-notice:not([hidden]) ~ .house-pace {
  top: 128px;
}

.house-pace[hidden] {
  display: none;
}

.house-pace-chip {
  padding-top: 0.45rem;
  border-top: 0;
  color: var(--white);
}

.visit-pace {
  display: block;
  margin-top: 0.45rem;
}

.visit-pace[hidden] {
  display: none;
}

.admin-pace-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-pace + .admin-pace-label {
  margin-top: 1rem;
}

.admin-pace {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-pace button {
  min-height: 2.6rem;
  padding: 0 1rem;
  border: 1.5px solid var(--brown);
  border-radius: 999px;
  background: transparent;
  color: var(--brown);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
}

.admin-pace button.is-on {
  background: var(--brown);
  color: var(--beige);
}

.collect-add {
  display: none;
  position: static;
  z-index: 2;
  min-height: 2.5rem;
  min-width: 3.1rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--brown);
  color: var(--beige);
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
}

.collect-slot {
  display: none;
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  z-index: 2;
}

body.is-member .menu-row:not(.is-sold-out) {
  padding-right: 6.5rem;
}

body.is-member .menu-row:not(.is-sold-out) .collect-slot {
  display: block;
}

body.is-member .menu-row:not(.is-sold-out) .collect-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.collect-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.collect-qty-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.collect-qty-btn.is-dim {
  opacity: 0.42;
}

.collect-qty-board .collect-qty-btn {
  border: 1.5px solid var(--brown);
  background: transparent;
  color: var(--brown);
}

.collect-qty-dock .collect-qty-btn {
  border: 1.5px solid color-mix(in srgb, var(--beige) 80%, transparent);
  background: transparent;
  color: var(--beige);
}

.collect-rank {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82em;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.8;
}

.collect-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem var(--pad) calc(0.95rem + env(safe-area-inset-bottom));
  background: var(--brown);
  color: var(--beige);
  box-shadow: 0 -12px 40px color-mix(in srgb, var(--ink) 18%, transparent);
}

.collect-dock[hidden] {
  display: none;
}

body.has-collection {
  padding-bottom: 12rem;
}

.collect-dock-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.collect-kicker {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.collect-count {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.collect-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  max-height: 14rem;
  overflow: auto;
}

.collect-lines li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.92rem;
}

.collect-remove {
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--beige) 70%, transparent);
  font: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 2.5rem;
}

.collect-total a {
  color: var(--beige);
}

.collect-note[hidden],
.collect-dock .btn[hidden] {
  display: none;
}

.collect-status.is-error {
  color: color-mix(in srgb, var(--beige) 70%, #c45c4a);
}

.collect-note {
  display: grid;
  gap: 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.collect-note input {
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--beige) 28%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--beige) 8%, transparent);
  color: var(--beige);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.collect-dock .btn {
  justify-self: start;
  background: var(--beige);
  color: var(--brown);
  border-color: var(--beige);
  min-height: 3rem;
}

.collect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.collect-dock .btn-ghost {
  background: transparent;
  color: var(--beige);
  border-color: color-mix(in srgb, var(--beige) 40%, transparent);
}

body.has-collection.is-watching-cup {
  padding-bottom: 17rem;
}

.cup-rail {
  display: grid;
  gap: 0.65rem;
}

.cup-now {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brown);
}

.cup-rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cup-rail li {
  display: grid;
  justify-items: center;
  gap: 0.38rem;
  position: relative;
}

.cup-rail li + li::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  right: 50%;
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--brown) 18%, transparent);
}

.cup-rail li.is-done + li::before {
  background: var(--brown);
}

.cup-dot {
  width: 0.84rem;
  height: 0.84rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brown) 32%, transparent);
  background: transparent;
  position: relative;
  z-index: 1;
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease);
}

.cup-rail li.is-done .cup-dot,
.cup-rail li.is-now .cup-dot {
  background: var(--brown);
  border-color: var(--brown);
}

.cup-rail li.is-now .cup-dot {
  transform: scale(1.12);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--brown) 12%, transparent);
  animation: cup-breathe 2.4s var(--ease) infinite;
}

.cup-step {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cup-rail li.is-now .cup-step,
.cup-rail li.is-done .cup-step {
  color: var(--brown);
}

.cup-rail.is-ready .cup-now {
  font-size: 1.65rem;
}

@keyframes cup-breathe {
  50% {
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--brown) 0%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cup-rail li.is-now .cup-dot {
    animation: none;
  }
}

.collect-dock .cup-rail {
  margin-top: 0.15rem;
}

.collect-dock .cup-now,
.collect-dock .cup-step,
.collect-dock .cup-rail li.is-now .cup-step,
.collect-dock .cup-rail li.is-done .cup-step {
  color: var(--beige);
}

.collect-dock .cup-dot {
  border-color: color-mix(in srgb, var(--beige) 42%, transparent);
}

.collect-dock .cup-rail li.is-done .cup-dot,
.collect-dock .cup-rail li.is-now .cup-dot {
  background: var(--beige);
  border-color: var(--beige);
}

.collect-dock .cup-rail li.is-now .cup-dot {
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--beige) 16%, transparent);
}

.collect-dock .cup-rail li + li::before {
  background: color-mix(in srgb, var(--beige) 28%, transparent);
}

.collect-dock .cup-rail li.is-done + li::before {
  background: var(--beige);
}

.account-order.is-live {
  padding: 1.05rem 0 0.35rem;
}

.account-order.is-ready .cup-now {
  color: var(--brown);
}

.account-order {
  border-top: 1px solid var(--line);
  padding: 1rem 0 0.2rem;
}

.account-order + .account-order {
  margin-top: 1rem;
}

.account-order-status {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
}

.account-order.is-ready .account-order-status {
  color: var(--brown);
}

.account-order.is-collected .account-order-status,
.account-order.is-cancelled .account-order-status {
  color: var(--muted);
}

.account-order-items,
.account-order-note,
.account-order-total {
  margin: 0 0 0.35rem;
}

.account-order-note,
.account-order-total {
  color: var(--muted);
}

.desk-orders {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.desk-order-who {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.desk-order-items,
.desk-order-note,
.desk-order-total {
  margin: 0 0 0.3rem;
}

.desk-order-note {
  color: var(--muted);
}

.desk-order-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  grid-column: 1 / -1;
}

.desk-order.is-preparing {
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--brown) 42%, transparent);
  padding-left: 0.85rem;
}

.desk-order.is-ready {
  background: color-mix(in srgb, var(--beige) 62%, transparent);
  box-shadow: inset 3px 0 0 var(--brown);
  padding: 0.9rem 0.85rem 0.9rem 0.95rem;
  border-radius: 0 14px 14px 0;
}

.admin-shot-row {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.admin-shot-file {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-shot-file input[type="file"] {
  min-height: 3rem;
  padding: 0.55rem 0;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.desk-shots {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.desk-shot {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.desk-shot img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 12px;
}

.desk-shot-kind {
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.desk-shot-caption {
  margin: 0 0 0.55rem;
}

.gallery-live[hidden] {
  display: none;
}

.gallery-live:not([hidden]) {
  margin-bottom: 1.05rem;
}

#shot-status.is-error {
  color: color-mix(in srgb, var(--brown) 70%, #c45c4a);
}

.admin-stamp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
  margin-top: 0.85rem;
}

.admin-stamp-row .btn {
  min-height: 2.85rem;
}

#stamp-give {
  margin-top: 0.85rem;
}

#stamp-status.is-error,
#desk-orders-status.is-error,
#rank-status.is-error,
#rank-desk-status.is-error {
  color: color-mix(in srgb, var(--brown) 70%, #c45c4a);
}

.menu-item.is-sold-out .price,
.menu-row.is-sold-out .price {
  text-decoration: line-through;
  opacity: 0.55;
}

.sold-mark {
  flex-shrink: 0;
  margin-left: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.rank-mark {
  flex-shrink: 0;
  margin-left: 0.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
}

.menu-item.is-rank .price {
  font-weight: 700;
}

.admin-page .nav-search {
  display: none;
}

.admin-page button,
.admin-page .btn,
.admin-page a.btn {
  touch-action: manipulation;
}

#admin-desk.band {
  padding-top: clamp(5.4rem, 9vw, 6.4rem);
  padding-bottom: calc(7.4rem + env(safe-area-inset-bottom));
}

.admin-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.6rem;
}

.admin-meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-card-head h2,
.admin-add h2,
.admin-section h2 {
  margin: 0.15rem 0 0;
}

.admin-hint {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-form {
  display: grid;
  gap: 1.15rem;
  padding-bottom: 1rem;
}

.admin-hours-grid,
.admin-add-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-top: 1rem;
}

.admin-hours-line {
  grid-column: 1 / -1;
}

.admin-form label,
.admin-add label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--brown);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.65rem 0.8rem;
  touch-action: manipulation;
}

.admin-form textarea {
  resize: vertical;
  min-height: 4.2rem;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  gap: 0.85rem 1.25rem;
  align-items: stretch;
}

.admin-board-tabs {
  display: flex;
  width: 100%;
  margin: 0;
}

.admin-board-tabs .gallery-tab {
  flex: 1 1 0;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.82rem;
}

.admin-tab-count {
  margin-left: 0.35rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.admin-filter {
  display: grid;
  gap: 0.35rem;
  position: relative;
  z-index: 8;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-filter-label {
  margin: 0;
}

.admin-pick {
  position: relative;
}

.admin-pick-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--brown);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.admin-pick.is-open .admin-pick-btn {
  border-color: color-mix(in srgb, var(--brown) 45%, transparent);
}

.admin-pick-current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.admin-pick-chevron {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
}

.admin-pick.is-open .admin-pick-chevron {
  transform: rotate(225deg) translateY(-1px);
}

.admin-pick-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 20;
  max-height: min(24rem, calc(100dvh - 8rem));
  overflow: auto;
  padding: 0.35rem 0 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 12%, transparent);
  -webkit-overflow-scrolling: touch;
}

.admin-pick-menu[hidden] {
  display: none;
}

.admin-pick-group,
.admin-pick-section {
  margin: 0;
  padding: 0.7rem 0.9rem 0.15rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-pick-section {
  padding-top: 0.3rem;
  letter-spacing: 0.14em;
}

.admin-pick-option {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.9rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.admin-pick-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.admin-pick-meta {
  flex: 0 0 auto;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.admin-pick-option.is-active {
  background: color-mix(in srgb, var(--beige) 72%, var(--paper));
}

.admin-item.is-picked {
  outline: 1.5px solid var(--brown);
  outline-offset: 6px;
}

.admin-add-desc {
  margin-top: 0.85rem;
}

.admin-add .btn {
  margin-top: 1rem;
  min-height: 3rem;
  padding-inline: 1.4rem;
}

.admin-empty {
  margin: 0.4rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
}

.admin-item {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.75rem 0.85rem;
  align-items: start;
  padding: 1.05rem 0 1.15rem;
  border-top: 1px solid var(--line);
}

.admin-item-photo {
  width: 4.6rem;
  height: 4.6rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: color-mix(in srgb, var(--beige) 70%, var(--paper));
  cursor: pointer;
  appearance: none;
}

.admin-item-body {
  min-width: 0;
}

.admin-item-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.admin-item-photo:hover img,
.admin-item-photo:focus-visible img {
  transform: scale(1.04);
}

.desk-order {
  display: grid;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
}

.desk-order:has(.desk-order-photo) {
  grid-template-columns: 3.6rem minmax(0, 1fr);
}

.desk-order-photo {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: cover;
  border-radius: 12px;
  background: var(--beige);
}

.photo-pick {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
}

.photo-pick[hidden] {
  display: none;
}

.photo-pick-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--ink) 42%, transparent);
  cursor: pointer;
  appearance: none;
}

.photo-pick-sheet {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  max-height: min(82vh, 42rem);
  overflow: auto;
  padding: 1.2rem var(--pad) calc(1.25rem + env(safe-area-inset-bottom));
  background: var(--paper);
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -16px 48px color-mix(in srgb, var(--ink) 16%, transparent);
}

.photo-pick-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.photo-pick-head h2 {
  margin: 0;
}

.photo-pick-grid {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.photo-pick-grid button {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--beige);
  cursor: pointer;
  appearance: none;
}

.photo-pick-grid button.is-on {
  border-color: var(--brown);
  box-shadow: 0 0 0 2px var(--brown);
}

.photo-pick-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-item:first-of-type {
  border-top: 0;
}

.admin-item.is-sold-out {
  opacity: 0.72;
}

.admin-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.4rem 6.4rem;
  gap: 0.55rem 0.75rem;
  align-items: end;
}

.admin-item-price input,
.admin-item-rank input {
  font-variant-numeric: tabular-nums;
}

.admin-item-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem 0.65rem;
  align-items: stretch;
}

.admin-sold-btn,
.admin-move,
.admin-remove,
.admin-undo {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: color-mix(in srgb, var(--brown) 16%, transparent);
  user-select: none;
}

.admin-sold-btn {
  min-height: 2.85rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--white);
}

.admin-sold-btn[aria-pressed="true"] {
  color: var(--beige);
  background: var(--brown);
  border-color: var(--brown);
}

.admin-item-tools {
  display: grid;
  grid-template-columns: 2.85rem 2.85rem auto;
  gap: 0.4rem;
  align-items: stretch;
}

.admin-move,
.admin-remove {
  min-height: 2.85rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--white);
  text-decoration: none;
}

.admin-move {
  min-width: 2.85rem;
  padding: 0;
}

.admin-undo {
  min-height: 2.85rem;
  padding: 0.4rem 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--beige);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.admin-item-note textarea {
  min-height: 4.2rem;
}

.admin-status {
  min-height: 1.2em;
  margin: 0;
  color: inherit;
  font-size: 0.95rem;
}

.admin-status.is-error {
  color: color-mix(in srgb, var(--beige) 70%, #c45c4a);
}

.admin-dock {
  position: sticky;
  bottom: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 1.5rem;
  padding: 0.85rem var(--pad) calc(0.85rem + env(safe-area-inset-bottom));
  background: var(--brown);
  color: var(--beige);
  box-shadow: 0 -12px 40px color-mix(in srgb, var(--ink) 18%, transparent);
}

.admin-desk-open .admin-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin-top: 0;
}

.admin-dock-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.1rem;
  min-width: min(100%, 18rem);
}

.admin-dock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-dock .btn {
  min-height: 3rem;
  touch-action: manipulation;
}

.admin-dock .btn-ghost {
  color: var(--beige);
  border-color: color-mix(in srgb, var(--beige) 35%, transparent);
}

.admin-dock .btn:not(.btn-ghost) {
  background: var(--beige);
  color: var(--brown);
  border-color: var(--beige);
}

.admin-unsaved .admin-dock .btn:not(.btn-ghost) {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brown) 12%, transparent);
}

.account-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.4rem;
}

.account-page code {
  font-size: 0.92em;
}

@media (hover: hover) and (pointer: fine) {
  .admin-pick-option:hover,
  .admin-pick-option:focus-visible {
    background: color-mix(in srgb, var(--beige) 72%, var(--paper));
  }

  .admin-sold-btn:hover,
  .admin-move:hover,
  .admin-remove:hover {
    color: var(--brown);
    border-color: color-mix(in srgb, var(--brown) 35%, transparent);
  }

  .admin-undo:hover {
    color: var(--white);
  }

  .admin-dock .btn-ghost:hover {
    background: color-mix(in srgb, var(--beige) 10%, transparent);
  }

  .admin-dock .btn:not(.btn-ghost):hover {
    background: var(--white);
  }

  .admin-page .gallery-tab:hover:not(.is-active) {
    background: color-mix(in srgb, var(--brown) 8%, transparent);
    color: var(--brown);
  }
}

@media (hover: none), (pointer: coarse) {
  .admin-page .gallery-tab:hover:not(.is-active) {
    background: transparent;
    color: var(--brown);
  }

  .admin-page .btn:hover {
    transform: none;
  }

  .admin-move:active,
  .admin-remove:active,
  .admin-sold-btn:active,
  .admin-pick-option:active,
  .admin-pick-btn:active {
    transform: scale(0.98);
  }
}

@media (max-width: 900px) {
  .account-auth-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .admin-hours-grid,
  .admin-add-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-add .btn {
    width: 100%;
  }

  .admin-dock-actions {
    width: 100%;
  }

  .admin-dock .btn {
    flex: 1 1 9rem;
  }
}

@media (max-width: 560px) {
  .admin-hours-grid,
  .admin-add-grid,
  .admin-item-row,
  .admin-item-bar,
  .admin-stamp-row,
  .admin-shot-row {
    grid-template-columns: 1fr;
  }

  .admin-item-tools {
    width: 100%;
    grid-template-columns: 2.85rem 2.85rem 1fr;
  }

  .photo-pick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#rank-join {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

#rank-join .btn {
  min-height: 3rem;
}

.rank-items {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.rank-items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.admin-rank-code {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.admin-rank-code p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-rank-code strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--brown);
}

.desk-rank {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.desk-rank-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.desk-rank-who {
  margin: 0 0 0.15rem;
  font-family: var(--serif);
  font-style: italic;
}

.desk-rank-email {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.desk-rank-row.is-paused {
  opacity: 0.72;
}

.table-page {
  min-height: 100dvh;
}

.table-card {
  max-width: 22rem;
  margin: 4.5rem auto 3rem;
  padding: 2.4rem 1.8rem 2rem;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
}

.table-card .eyebrow {
  justify-content: center;
}

.table-card h1 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--round);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  color: var(--brown);
}

.table-card .prose {
  margin: 0 auto 1.4rem;
  max-width: 18ch;
}

.table-qr {
  display: block;
  width: min(100%, 14rem);
  height: auto;
  margin: 0 auto 1.1rem;
  background: #fff;
  padding: 0.7rem;
  box-sizing: border-box;
}

.table-card .closing-line {
  margin: 0;
}

.table-print-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 3rem;
}

@media print {
  .table-page .grain,
  .table-page .site-header,
  .table-page .site-footer,
  .table-page .skip,
  .table-print-actions {
    display: none !important;
  }

  .table-page {
    background: #fff;
  }

  .table-card {
    margin: 0;
    max-width: none;
    border: 0;
    break-inside: avoid;
  }

  .table-qr {
    width: 7.2cm;
    padding: 0.25cm;
  }
}
