:root {
  --bg: oklch(0.97 0.012 247);
  --surface: oklch(1 0 0);
  --ink: oklch(0.19 0.055 269);
  --muted: oklch(0.43 0.045 266);
  --coral: oklch(0.62 0.22 36);
  --coral-dark: oklch(0.43 0.18 31);
  --blue: oklch(0.3 0.19 283);
  --blue-dark: oklch(0.2 0.14 281);
  --cyan: oklch(0.87 0.16 180);
  --yellow: oklch(0.88 0.17 91);
  --chrome: oklch(0.8 0.012 248);
  --shadow: oklch(0.2 0.14 281 / 0.22);
  --font-display: "Dela Gothic One", "Arial Black", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Yu Gothic", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-dialog: 40;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 28%, oklch(0.87 0.16 180 / 0.18) 0 12%, transparent 12.2%),
    linear-gradient(oklch(0.3 0.19 283 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.3 0.19 283 / 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 28px 28px, 28px 28px, auto;
  font-family: var(--font-body);
  font-size: 1rem;
  min-width: 320px;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--surface);
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 4px solid var(--cyan);
  outline-offset: 3px;
}

.site-header {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid oklch(0.3 0.19 283 / 0.15);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-decoration: none;
}

.brand-lockup b { color: var(--coral); }
.brand-mark { position: relative; width: 34px; height: 34px; display: block; }
.brand-mark i { position: absolute; display: block; width: 15px; height: 15px; border: 4px solid var(--blue); }
.brand-mark i:nth-child(1) { top: 0; left: 9px; transform: rotate(45deg); }
.brand-mark i:nth-child(2) { left: 0; bottom: 0; border-radius: 50%; background: var(--cyan); }
.brand-mark i:nth-child(3) { right: 0; bottom: 0; background: var(--coral); }

.header-actions, .language-toggle, .live-chip { display: flex; align-items: center; }
.header-actions { gap: 16px; }
.live-chip { gap: 8px; color: var(--blue); font-weight: 700; font-size: 0.85rem; }
.live-chip > span:first-child {
  width: 9px; height: 9px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 5px oklch(0.62 0.22 36 / 0.15);
  animation: livePulse 2s ease-in-out infinite;
}

.language-toggle {
  padding: 3px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: var(--surface);
}

.language-option {
  min-height: 34px;
  padding: 4px 13px;
  border: 0;
  border-radius: 999px;
  color: var(--blue);
  background: transparent;
  font-weight: 900;
}

.language-option.is-active { color: var(--surface); background: var(--blue); }

.hero {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 780px;
  padding: clamp(48px, 7vw, 96px) 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}

.hero-copy { position: relative; z-index: 2; }

.cafe-stamp {
  width: 112px;
  height: 112px;
  margin-bottom: 24px;
  padding: 12px 8px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--coral);
  border: 3px solid var(--coral);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.cafe-stamp::before, .cafe-stamp::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--coral);
  border-radius: 50%;
}

.cafe-stamp span { font-size: 0.48rem; font-weight: 900; line-height: 1.15; text-align: center; }
.cafe-stamp strong { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; }

.event-line {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.1em;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.65rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 span, h1 em { display: block; }
h1 span { color: var(--blue); }
h1 em { color: var(--coral); font-style: normal; }

.hero-intro {
  max-width: 62ch;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.75;
  text-wrap: pretty;
}

.entry-form {
  max-width: 630px;
  padding: 22px;
  border: 3px solid var(--blue);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 9px 9px 0 var(--blue);
}

.entry-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 900;
}

.input-row { display: flex; gap: 10px; }

.input-row input {
  min-width: 0;
  flex: 1;
  height: 56px;
  padding: 0 16px;
  border: 2px solid oklch(0.3 0.19 283 / 0.35);
  border-radius: 12px;
  color: var(--ink);
  background: var(--bg);
  font-size: 1.05rem;
  font-weight: 700;
}

.input-row input::placeholder { color: oklch(0.44 0.04 266); opacity: 1; }
.input-row input:focus { border-color: var(--blue); outline: 4px solid oklch(0.87 0.16 180 / 0.45); }

.join-button {
  height: 56px;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--coral-dark);
  border-radius: 12px;
  color: var(--surface);
  background: var(--coral);
  box-shadow: 0 4px 0 var(--coral-dark);
  font-weight: 900;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.join-button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--coral-dark); }
.join-button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--coral-dark); }
.join-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; }

.form-note {
  margin: 14px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-note svg { flex: 0 0 auto; width: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; }
.form-error { margin: 10px 0 0; color: var(--coral-dark); font-weight: 900; }
.form-error:empty { display: none; }

.how-it-works {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.how-it-works div { display: flex; align-items: center; gap: 7px; }
.how-it-works strong {
  width: 27px; height: 27px; display: grid; place-items: center;
  color: var(--blue); border: 2px solid var(--blue); border-radius: 50%;
}

.machine-stage { position: relative; display: grid; justify-items: center; }
.burst { position: absolute; width: 180px; height: 180px; border-radius: 50%; opacity: 0.7; }
.burst-one { top: 2%; right: -4%; background: repeating-conic-gradient(var(--yellow) 0 8deg, transparent 8deg 18deg); }
.burst-two { left: -10%; bottom: 12%; background: repeating-conic-gradient(var(--cyan) 0 7deg, transparent 7deg 17deg); }

.machine {
  position: relative;
  width: min(100%, 515px);
  filter: drop-shadow(18px 22px 0 var(--shadow));
  transform: rotate(0.8deg);
}

.machine-top {
  height: 76px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 4px solid var(--blue-dark);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: var(--coral);
}

.machine-badge {
  padding: 8px 15px;
  color: var(--blue);
  background: var(--yellow);
  border: 3px solid var(--blue);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--blue);
  font-family: var(--font-display);
  font-size: 0.78rem;
  transform: rotate(-2deg);
}

.counter {
  min-width: 92px;
  padding: 5px 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  color: var(--cyan);
  background: var(--blue-dark);
  border-radius: 8px;
  font-family: var(--font-display);
}

.counter span { font-size: 1.45rem; }
.counter small { color: var(--surface); font-family: var(--font-body); font-size: 0.65rem; font-weight: 900; }

.globe-frame {
  position: relative;
  height: 390px;
  padding: 16px;
  overflow: hidden;
  border: 4px solid var(--blue-dark);
  background: var(--coral);
}

.globe-frame::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 9px;
  height: 18px;
  border-radius: 50%;
  background: oklch(0.2 0.14 281 / 0.2);
  filter: blur(6px);
}

.capsule-chamber {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 4px solid var(--blue-dark);
  border-radius: 30px 30px 80px 80px;
  background:
    radial-gradient(circle at 30% 15%, oklch(1 0 0 / 0.82), transparent 26%),
    linear-gradient(150deg, oklch(0.91 0.055 227 / 0.92), oklch(0.82 0.12 195 / 0.78));
  box-shadow: inset 0 0 35px oklch(0.3 0.19 283 / 0.18);
}

.globe-shine {
  position: absolute;
  z-index: 4;
  top: 45px; left: 48px;
  width: 70px; height: 180px;
  border-left: 14px solid oklch(1 0 0 / 0.58);
  border-radius: 50%;
  transform: rotate(17deg);
  pointer-events: none;
}

.capsule {
  position: absolute;
  width: clamp(76px, 19%, 94px);
  aspect-ratio: 1;
  border: 3px solid var(--blue-dark);
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--cap-top) 0 48%, var(--blue-dark) 48% 52%, var(--cap-bottom) 52%);
  box-shadow: inset 10px 4px 0 oklch(1 0 0 / 0.28), 5px 8px 0 oklch(0.2 0.14 281 / 0.18);
  transform: rotate(var(--rotation));
  animation: capsuleFloat var(--duration) ease-in-out var(--delay) infinite alternate;
}

.capsule::before {
  content: "";
  position: absolute;
  width: 13px; height: 28px;
  top: 9px; left: 17px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.48);
  transform: rotate(30deg);
}

.capsule span {
  position: absolute;
  z-index: 2;
  left: 8px; right: 8px; top: 50%;
  padding: 4px 3px;
  overflow: hidden;
  color: var(--blue-dark);
  background: var(--surface);
  border: 2px solid var(--blue-dark);
  border-radius: 4px;
  font-size: clamp(0.55rem, 1.3vw, 0.68rem);
  font-weight: 900;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
}

.empty-machine {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 40px;
  color: var(--blue);
  text-align: center;
}

.empty-machine strong { font-family: var(--font-display); font-size: 1.15rem; }
.empty-machine span { max-width: 30ch; color: var(--muted); font-size: 0.85rem; }
.empty-capsule {
  width: 68px; height: 68px; margin-bottom: 5px;
  border: 3px dashed var(--blue);
  border-radius: 50%;
  opacity: 0.55;
}

.machine-controls {
  height: 174px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 0.8fr 1.45fr 0.8fr;
  align-items: center;
  gap: 18px;
  border: 4px solid var(--blue-dark);
  border-top: 0;
  background: var(--coral);
}

.coin-slot { display: grid; justify-items: center; gap: 7px; color: var(--surface); font-weight: 900; font-size: 0.65rem; }
.coin-slot i { width: 13px; height: 48px; border: 4px solid var(--blue-dark); border-radius: 7px; background: var(--chrome); box-shadow: inset 3px 0 var(--surface); }

.draw-button {
  height: 138px;
  padding: 8px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 3px solid var(--blue-dark);
  border-radius: 20px;
  color: var(--blue);
  background: var(--yellow);
  box-shadow: 5px 6px 0 var(--blue-dark);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.draw-button:not(:disabled):hover { transform: translateY(-3px); box-shadow: 5px 9px 0 var(--blue-dark); }
.draw-button:not(:disabled):active { transform: translate(4px, 5px); box-shadow: 1px 1px 0 var(--blue-dark); }
.draw-button:disabled { cursor: not-allowed; filter: grayscale(0.55); opacity: 0.62; }
.draw-button strong { font-family: var(--font-display); font-size: 0.75rem; }
.draw-button small { font-size: 0.58rem; font-weight: 900; }

.knob {
  position: relative;
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border: 4px solid var(--blue-dark);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, var(--surface), var(--chrome) 38%, oklch(0.55 0.02 248));
  box-shadow: 5px 5px 0 oklch(0.2 0.14 281 / 0.25);
}

.knob i { width: 18px; height: 50px; border: 3px solid var(--blue-dark); border-radius: 6px; background: var(--surface); }
.machine.is-drawing .knob { animation: turnKnob 1.35s var(--ease-out); }
.machine.is-drawing .capsule { animation: capsuleRattle 160ms linear infinite alternate; }

.coffee-window {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--blue);
  border: 3px solid var(--blue-dark);
  border-radius: 12px;
  font-size: 0.6rem;
  font-weight: 900;
  text-align: center;
}

.coffee-window svg { width: 38px; fill: var(--cyan); stroke: var(--blue-dark); stroke-width: 2; }

.chute {
  position: relative;
  width: 54%;
  height: 90px;
  margin: 0 auto;
  padding-top: 8px;
  display: grid;
  justify-items: center;
  border: 4px solid var(--blue-dark);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: var(--coral);
}

.chute > span { color: var(--surface); font-weight: 900; font-size: 0.63rem; }
.chute-door {
  width: 75%;
  height: 52px;
  overflow: hidden;
  border: 4px solid var(--blue-dark);
  border-radius: 7px 7px 18px 18px;
  background: var(--blue-dark);
  box-shadow: inset 0 10px 0 oklch(0.08 0.04 280);
}

.drop-capsule {
  width: 48px; height: 48px;
  margin: -55px auto 0;
  border: 3px solid var(--blue-dark);
  border-radius: 50%;
  background: linear-gradient(var(--yellow) 0 48%, var(--blue-dark) 48% 53%, var(--cyan) 53%);
  animation: capsuleDrop 700ms var(--ease-out) forwards;
}

.machine-feet { display: flex; justify-content: space-between; padding: 0 48px; }
.machine-feet i { width: 72px; height: 18px; border: 4px solid var(--blue-dark); border-top: 0; border-radius: 0 0 8px 8px; background: var(--coral-dark); }

.sync-status {
  margin: 34px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.sync-status > span:first-child { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.sync-status > span.is-ready:first-child { background: var(--cyan); }
.sync-status > span.is-error:first-child { background: var(--coral); }

.share-section {
  padding: clamp(58px, 8vw, 96px) max(24px, calc((100vw - 1220px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(260px, 0.8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  color: var(--surface);
  background:
    radial-gradient(circle at 80% 20%, oklch(0.87 0.16 180 / 0.22) 0 2px, transparent 3px) 0 0 / 20px 20px,
    var(--blue);
  border-top: 10px solid var(--cyan);
}

.share-copy { position: relative; }
.share-arrow { position: absolute; top: -55px; right: 10%; color: var(--cyan); font-family: var(--font-display); font-size: 4rem; transform: rotate(7deg); }
.share-copy h2 { max-width: 12ch; margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 4.4rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.share-copy > p { max-width: 50ch; line-height: 1.7; }
.site-url { color: var(--cyan); font-weight: 900; word-break: break-all; }

.qr-frame {
  position: relative;
  padding: 18px 18px 34px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--surface);
  border: 5px solid var(--blue-dark);
  box-shadow: 12px 12px 0 var(--cyan);
  transform: rotate(2deg);
}

.qr-frame img { display: block; width: min(220px, 42vw); height: auto; }
.qr-frame span { margin-top: 8px; font-family: var(--font-display); font-size: 0.78rem; }

.roast-note { display: flex; align-items: flex-start; gap: 18px; }
.roast-note svg { flex: 0 0 66px; width: 66px; fill: var(--coral); stroke: var(--surface); stroke-width: 2; }
.roast-note p { margin: 0; line-height: 1.65; }
.roast-note strong { color: var(--yellow); font-family: var(--font-display); }

footer {
  padding: 28px max(24px, calc((100vw - 1220px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--surface);
  background: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

footer p { margin: 0; }
footer a { color: var(--cyan); }

.winner-dialog {
  z-index: var(--z-dialog);
  width: min(620px, calc(100% - 32px));
  padding: clamp(36px, 7vw, 68px);
  overflow: hidden;
  color: var(--blue);
  background: var(--yellow);
  border: 5px solid var(--blue-dark);
  border-radius: 28px;
  box-shadow: 16px 16px 0 var(--blue-dark);
  text-align: center;
}

.winner-dialog::backdrop { background: oklch(0.12 0.08 281 / 0.82); backdrop-filter: blur(7px); }
.winner-dialog[open] { animation: dialogIn 420ms var(--ease-out); }
.winner-dialog > *:not(.winner-rays) { position: relative; z-index: 2; }
.winner-dialog > p:first-of-type { margin: 0 0 20px; font-weight: 900; letter-spacing: 0.12em; }
.winner-dialog h2 { margin: 15px 0; font-family: var(--font-display); font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1; overflow-wrap: anywhere; }
.winner-dialog p { font-weight: 700; }

.winner-rays { position: absolute; inset: -50%; background: repeating-conic-gradient(oklch(1 0 0 / 0.42) 0 8deg, transparent 8deg 17deg); animation: raysSpin 18s linear infinite; }
.winner-capsule { width: 115px; height: 115px; margin: 0 auto; border: 4px solid var(--blue-dark); border-radius: 50%; background: linear-gradient(var(--coral) 0 48%, var(--blue-dark) 48% 52%, var(--cyan) 52%); box-shadow: inset 16px 5px oklch(1 0 0 / 0.3), 8px 10px 0 oklch(0.2 0.14 281 / 0.2); }
.dialog-close { position: absolute; z-index: 3; top: 14px; right: 16px; width: 42px; height: 42px; border: 2px solid var(--blue); border-radius: 50%; color: var(--blue); background: var(--surface); font-size: 1.8rem; line-height: 1; }
.draw-again { margin-top: 16px; padding: 12px 22px; border: 3px solid var(--blue); border-radius: 9px; color: var(--surface); background: var(--blue); font-weight: 900; box-shadow: 4px 4px 0 var(--blue-dark); }

#confetti { position: fixed; z-index: 50; inset: 0; width: 100%; height: 100%; pointer-events: none; }

@keyframes livePulse { 50% { transform: scale(0.72); opacity: 0.7; } }
@keyframes capsuleFloat { to { transform: translateY(-7px) rotate(calc(var(--rotation) + 4deg)); } }
@keyframes capsuleRattle { to { transform: translate(5px, -3px) rotate(calc(var(--rotation) + 8deg)); } }
@keyframes turnKnob { to { transform: rotate(720deg); } }
@keyframes capsuleDrop { from { transform: translateY(-80px) rotate(0); } to { transform: translateY(45px) rotate(260deg); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(30px) scale(0.9); } }
@keyframes raysSpin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; max-width: 690px; }
  .hero-copy { text-align: center; }
  .cafe-stamp { margin-inline: auto; }
  .hero-intro, .entry-form { margin-inline: auto; }
  .how-it-works { justify-content: center; }
  .machine-stage { margin-top: 20px; }
  .share-section { grid-template-columns: 1fr 1fr; }
  .roast-note { grid-column: 1 / -1; max-width: 600px; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 28px); min-height: 74px; }
  .brand-lockup { font-size: 0.72rem; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-mark i { width: 13px; height: 13px; border-width: 3px; }
  .live-chip { display: none; }
  .header-actions { gap: 8px; }
  .language-option { min-height: 32px; padding-inline: 10px; font-size: 0.75rem; }
  .hero { width: calc(100% - 28px); min-height: 0; padding-top: 40px; gap: 46px; }
  .cafe-stamp { width: 88px; height: 88px; }
  .cafe-stamp strong { font-size: 2rem; }
  .event-line { font-size: 0.75rem; }
  h1 { font-size: clamp(2.4rem, 13vw, 4rem); }
  .hero-intro { margin-block: 20px 24px; font-size: 1rem; }
  .entry-form { padding: 16px; box-shadow: 6px 6px 0 var(--blue); text-align: left; }
  .input-row { flex-direction: column; }
  .join-button { justify-content: center; }
  .how-it-works { align-items: flex-start; gap: 5px; }
  .how-it-works div { flex-direction: column; max-width: 80px; }
  .how-it-works > span { margin-top: 7px; }
  .machine { width: min(100%, 480px); filter: drop-shadow(9px 14px 0 var(--shadow)); }
  .machine-top { height: 64px; padding: 10px; }
  .machine-badge { padding: 6px 9px; font-size: 0.65rem; }
  .counter { min-width: 78px; }
  .globe-frame { height: 315px; padding: 10px; }
  .globe-shine { left: 35px; height: 140px; }
  .machine-controls { height: 145px; padding: 12px; gap: 9px; }
  .draw-button { height: 116px; }
  .knob { width: 54px; height: 54px; }
  .knob i { height: 40px; }
  .coffee-window { font-size: 0.5rem; }
  .chute { height: 78px; }
  .share-section { grid-template-columns: 1fr; text-align: center; }
  .share-copy h2 { margin-inline: auto; }
  .share-arrow { display: none; }
  .qr-frame { justify-self: center; }
  .roast-note { text-align: left; }
  footer { flex-direction: column; text-align: center; }
}

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