/* 두알(DUAL) 랜딩. 조색 견본 칩의 문법: 통째로 칠한 색면, 흰 이름표, 6px 모서리, 잉크 한 가지.
   고른 두 가지는 <html data-a data-b>에 있고, 색은 전부 거기서 내려온다. */

@font-face { font-family: "Paperlogy"; font-weight: 400; font-display: swap; src: url("assets/fonts/Paperlogy-400.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 600; font-display: swap; src: url("assets/fonts/Paperlogy-600.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 800; font-display: swap; src: url("assets/fonts/Paperlogy-800.woff2") format("woff2"); }

:root {
  --paper: #F2F3F5;
  --card: #FCFCFD;
  --ink: #101114;
  --ink-2: #4A4D55;
  --line: #D6D8DE;
  --field-line: #8C9099;
  --error: #B3261E;

  /* 색면(칩 색)과 젤리 몸통색(-d) */
  --citrus: #FF8A3C;    --citrus-d: #F25F00;
  --lemon: #FFDC3D;     --lemon-d: #F2A900;
  --apple: #8FDB5A;     --apple-d: #35A80C;
  --blueberry: #6E7DFF; --blueberry-d: #2B3FE0;
  --grape: #B07BFF;     --grape-d: #8A2BD6;
  --peach: #FF8FB0;     --peach-d: #F0407A;

  --r: 6px;
  --nav: 64px;
  --pad: clamp(16px, 4vw, 56px);
  --out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  /* 닫힌 꼴 감쇠 스프링을 linear()로 옮긴 곡선. jelly: 감쇠비 0.26, 3Hz. soft: 감쇠비 0.55, 2.6Hz */
  --jelly: linear(0, 0.0659, 0.2391, 0.4786, 0.7419, 0.9913, 1.1974, 1.3416, 1.4166, 1.4251, 1.3779, 1.2909, 1.1822, 1.0697, 0.9683, 0.889, 0.838, 0.8167, 0.8226, 0.8501, 0.8918, 0.9398, 0.987, 1.0275, 1.0572, 1.0744, 1.079, 1.0727, 1.0583, 1.039, 1.0181, 0.9987, 0.9829, 0.9721, 0.9667, 0.9666, 0.9708, 0.9779, 0.9866, 0.9954, 1.0033, 1.0093, 1.0131, 1.0145, 1.0139, 1);
  --soft: linear(0, 0.0471, 0.1647, 0.321, 0.4905, 0.6541, 0.799, 0.9181, 1.0085, 1.0708, 1.1081, 1.1244, 1.1248, 1.114, 1.0963, 1.0754, 1.0541, 1.0344, 1.0176, 1.0043, 0.9947, 0.9884, 0.9851, 0.984, 0.9848, 0.9866, 0.9891, 0.9918, 0.9944, 0.9967, 1);
}

[data-g="citrus"]    { --g: var(--citrus);    --gd: var(--citrus-d); }
[data-g="lemon"]     { --g: var(--lemon);     --gd: var(--lemon-d); }
[data-g="apple"]     { --g: var(--apple);     --gd: var(--apple-d); }
[data-g="blueberry"] { --g: var(--blueberry); --gd: var(--blueberry-d); }
[data-g="grape"]     { --g: var(--grape);     --gd: var(--grape-d); }
[data-g="peach"]     { --g: var(--peach);     --gd: var(--peach-d); }

html[data-a="citrus"]    { --a: var(--citrus);    --ad: var(--citrus-d); }
html[data-a="lemon"]     { --a: var(--lemon);     --ad: var(--lemon-d); }
html[data-a="apple"]     { --a: var(--apple);     --ad: var(--apple-d); }
html[data-a="blueberry"] { --a: var(--blueberry); --ad: var(--blueberry-d); }
html[data-a="grape"]     { --a: var(--grape);     --ad: var(--grape-d); }
html[data-a="peach"]     { --a: var(--peach);     --ad: var(--peach-d); }
html[data-b="citrus"]    { --b: var(--citrus);    --bd: var(--citrus-d); }
html[data-b="lemon"]     { --b: var(--lemon);     --bd: var(--lemon-d); }
html[data-b="apple"]     { --b: var(--apple);     --bd: var(--apple-d); }
html[data-b="blueberry"] { --b: var(--blueberry); --bd: var(--blueberry-d); }
html[data-b="grape"]     { --b: var(--grape);     --bd: var(--grape-d); }
html[data-b="peach"]     { --b: var(--peach);     --bd: var(--peach-d); }

*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: light;
  scroll-padding-top: var(--nav);
  scrollbar-color: var(--ink) var(--paper);
  -webkit-text-size-adjust: 100%;
}
html[data-motion="on"] { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Paperlogy", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ink);
  accent-color: var(--ink);
}
::selection { background: var(--b); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
svg { fill: currentColor; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 40; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }

h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.025em; }
.note { font-size: 0.875rem; color: var(--ink-2); }

/* 버튼: 잉크 한 가지. 모서리는 칩과 같은 6px */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px; border: 0; border-radius: var(--r);
  background: var(--ink); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--out-expo);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--out-expo); }
.btn:hover { background: #2B2D35; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-s { height: 40px; padding: 0 14px; font-size: 0.9375rem; }
.btn-wide { width: 100%; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* 내비 */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--pad);
  transition: background-color 0.3s, box-shadow 0.3s;
}
html[data-scrolled] .nav { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.375rem; letter-spacing: -0.04em; text-decoration: none; }
.logo-mark { width: 38px; height: 20px; fill: var(--ink); }
.logo-mark circle { transition: fill 0.4s; }
html[data-scrolled] .nav .lm-a, .ft .lm-a { fill: var(--ad); }
html[data-scrolled] .nav .lm-b, .ft .lm-b { fill: var(--bd); }
.nav-links { display: flex; gap: clamp(16px, 2.6vw, 36px); }
.nav-links a { font-weight: 600; font-size: 0.9375rem; text-decoration: none; padding: 10px 2px; }
.nav-links a:hover { text-decoration: underline; }

/* ───────── 첫 화면 ───────── */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100dvh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto;
  padding-top: var(--nav);
}
.half { position: absolute; top: 0; bottom: 0; width: 50%; z-index: -1; }
.half-a { left: 0; background: var(--a); }
.half-b { right: 0; background: var(--b); }
/* 색이 바뀔 때 새 색이 가운데 경계선에서 바깥으로 차오른다 */
.wipe { position: absolute; inset: 0; background: var(--next, transparent); clip-path: inset(0 0 0 100%); }
.half-b .wipe { clip-path: inset(0 100% 0 0); }
.half.is-wiping .wipe { clip-path: inset(0); transition: clip-path 0.6s var(--out-expo); }

.hero-copy { grid-column: 1 / -1; text-align: center; padding: clamp(12px, 3.5dvh, 40px) 20px 0; }
.hero h1 { font-size: clamp(3.25rem, 8.6vw, 6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
.lede { max-width: 30em; margin: clamp(10px, 1.6dvh, 18px) auto 0; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 600; line-height: 1.5; text-wrap: balance; }

.gum { position: relative; grid-row: 2; align-self: center; justify-self: center; width: clamp(170px, min(26vw, 43dvh), 420px); text-align: center; }
.gum-fall { display: block; aspect-ratio: 1; }
.gum-img { width: 100%; height: 100%; transform-origin: 50% 80%; user-select: none; -webkit-user-drag: none; cursor: grab; }
.gum-b .gum-img { scale: -1 1; }   /* 두 알이 가운데를 보고 마주 서게 뒤집는다 */
.gum-shadow {
  position: absolute; left: 14%; right: 14%; top: 66%; height: 13%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--ad) 62%, var(--ink)), transparent);
  opacity: 0.42; filter: blur(7px);
}
.gum-b .gum-shadow { background: radial-gradient(closest-side, color-mix(in oklab, var(--bd) 62%, var(--ink)), transparent); }
.gum figcaption { margin-top: -9%; font-size: clamp(1.0625rem, 1.7vw, 1.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.gum figcaption span { display: block; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }

.is-leaving .gum-img { animation: gum-out 0.18s ease-in forwards; }
.is-leaving .gum-shadow { opacity: 0; transition: opacity 0.18s; }
.is-dropping .gum-fall { animation: gum-fall 0.42s cubic-bezier(0.5, 0, 1, 0.62) both; }
.is-dropping .gum-img { animation: gum-stretch 0.42s linear, gum-land 0.9s var(--jelly) 0.42s; }
.is-dropping .gum-shadow { animation: shadow-in 0.42s cubic-bezier(0.5, 0, 1, 0.62) both; }
.is-poked .gum-img { animation: gum-poke 0.9s var(--jelly); }
@keyframes gum-out { to { transform: scale(0.72); opacity: 0; } }
@keyframes gum-fall { from { transform: translateY(-105dvh); } to { transform: none; } }
@keyframes gum-stretch { from, to { transform: scale(0.9, 1.14); } }
@keyframes gum-land { from { transform: scale(1.2, 0.74); } to { transform: none; } }
@keyframes gum-poke { from { transform: scale(1.13, 0.85); } to { transform: none; } }
@keyframes shadow-in { from { transform: scale(0.3); opacity: 0; } to { transform: none; opacity: 0.42; } }

/* 고르기: 칩 여섯 개와 주 버튼. 스크롤 없이 보인다 */
.picker {
  grid-column: 1 / -1; grid-row: 3; justify-self: center;
  display: grid; grid-template-columns: auto auto; align-items: end; gap: 16px;
  max-width: calc(100% - 32px); margin: 0 16px clamp(16px, 3.5dvh, 36px);
  padding: 14px 16px 16px; border-radius: var(--r); background: var(--card);
  box-shadow: 0 22px 44px -22px color-mix(in oklab, var(--ink) 55%, transparent);
}
.picker legend { margin-bottom: 8px; font-size: 0.875rem; font-weight: 600; }
.picks { display: grid; grid-auto-flow: column; gap: 8px; }
.pick {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: var(--r); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow 0.2s, background-color 0.2s;
}
.pick input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pick:hover { background: var(--paper); }
.pick:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.pick:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.sw { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 4px; background: var(--g); }
.sw svg { width: 18px; height: 18px; transform: scale(0); transition: transform 0.5s var(--soft); }
.pick:has(input:checked) .sw svg { transform: none; }
.pick-t { line-height: 1.2; white-space: nowrap; }
.pick-t b { display: block; font-size: 0.9375rem; font-weight: 600; }
.pick-t small { font-size: 0.8125rem; color: var(--ink-2); }

/* ───────── 받는 방법: 병이 차는 시퀀스 ───────── */
.pour { position: relative; background: var(--paper); }
.stage {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: clamp(72px, 10vw, 140px) var(--pad) 0;
}
.pour-view { display: grid; justify-items: end; }
/* 병 시퀀스: 색 행렬로 바꿔 칠하고, 가장자리는 종이색으로 풀어 화면과 이음매 없이 잇는다 */
#jar {
  display: block; width: min(100%, 640px); height: auto; aspect-ratio: 1;
  filter: url(#unmix);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to top, transparent, #000 9%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to top, transparent, #000 9%);
  mask-composite: intersect;
}
.beats { list-style: none; padding: 0; margin: clamp(24px, 4dvh, 40px) 0 0; display: grid; gap: 22px; }
.beats p { max-width: 27em; margin-top: 6px; color: var(--ink-2); }
.beats b { color: var(--ink); font-weight: 800; }
.meter { margin-top: clamp(28px, 5dvh, 56px); }
.count { display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.count b { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
/* 하루 한 칸, 서른 칸. 칸마다 두 알(두 색)이 채워진다 */
.days { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; max-width: 420px; margin-top: 16px; }
.days i { height: 18px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--field-line); }
.days i.on { box-shadow: none; background: linear-gradient(90deg, var(--ad) 50%, var(--bd) 50%); }
.days-t { display: flex; justify-content: space-between; max-width: 420px; margin-top: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* 움직임이 켜져 있을 때만 화면을 붙잡고 스크롤로 넘긴다 */
html[data-motion="on"] .pour { height: 330vh; }
html[data-motion="on"] .stage { position: sticky; top: 0; height: 100dvh; padding-top: var(--nav); overflow: clip; }
html[data-motion="on"] .pour-view { height: 100%; align-items: center; }
html[data-motion="on"] #jar { width: auto; height: min(100%, 56vw); max-width: 100%; }
html[data-motion="on"] .beats { gap: 0; }
html[data-motion="on"] .beats li { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity 0.35s, transform 0.6s var(--out-expo); }
html[data-motion="on"][data-beat="1"] .beats li[data-beat="1"],
html[data-motion="on"][data-beat="2"] .beats li[data-beat="2"],
html[data-motion="on"][data-beat="3"] .beats li[data-beat="3"] { opacity: 1; transform: none; }

/* ───────── 젤리 여섯 가지: 색 띠 ───────── */
.deck { padding: clamp(72px, 10vw, 140px) 0 clamp(40px, 6vw, 72px); }
.sec-head { max-width: 46rem; padding: 0 var(--pad); margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { margin-top: 14px; color: var(--ink-2); }
.bands { --band-h: clamp(470px, 42vw, 600px); container-type: inline-size; display: flex; height: var(--band-h); }
.band { position: relative; flex: 1 1 0; min-width: 0; display: flex; overflow: hidden; background: var(--g); transition: flex-grow 0.7s var(--out-expo); }
.band[data-open="true"] { flex-grow: 3.6; }
.band-face {
  flex: none; width: calc(100cqw / 8.6); height: 100%;
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center;
  padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.band-code { justify-self: start; padding: 14px 16px; font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.band-face img { align-self: center; width: 86%; transition: transform 0.7s var(--soft); }
.band-face:hover img { transform: translateY(-6px) scale(1.05); }
/* 펼친 띠에서는 젤리가 커지며 위쪽 빈 색면으로 올라간다 */
.band[data-open="true"] .band-face img { transform: translate(19cqw, calc(var(--band-h) * -0.2)) scale(1.9); }
/* 칩 아래의 흰 이름표 */
.band-label { justify-self: stretch; margin: 0 10px 10px; padding: 10px 12px 11px; border-radius: 4px; background: var(--card); line-height: 1.25; }
.band-label b { display: block; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.03em; }
.band-label span { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.band-back {
  flex: 1 1 0; min-width: 0; align-self: flex-end;
  padding: 24px clamp(16px, 2.4vw, 32px) 24px 12px;
  visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0s 0.2s;
}
.band[data-open="true"] .band-back { visibility: visible; opacity: 1; transition: opacity 0.4s 0.25s, visibility 0s; }
.band-back > * { min-width: 260px; }
.band-line { font-size: clamp(1.25rem, 1.9vw, 1.625rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; }
.spec { margin: 18px 0 20px; font-variant-numeric: tabular-nums; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.spec div + div { border-top: 1px solid color-mix(in oklab, var(--ink) 28%, transparent); }
.spec dt { font-weight: 600; }
.spec dd { font-weight: 800; text-align: right; }
.when-on { display: none; align-items: center; gap: 8px; }
.when-on svg { width: 18px; height: 18px; }
.band[data-chosen="true"] .when-on { display: inline-flex; }
.band[data-chosen="true"] .when-off { display: none; }
.band[data-chosen="true"] .btn-line { background: var(--ink); color: #fff; }
.deck > .note { padding: 14px var(--pad) 0; }

/* ───────── 무엇으로 만드는가 ───────── */
.facts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: clamp(56px, 8vw, 110px) var(--pad); }
.facts-photo { border-radius: var(--r); overflow: hidden; background: var(--card); }
.facts-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.facts-list { margin-top: clamp(24px, 3.5vw, 44px); }
.facts-list div { padding: 20px 0; }
.facts-list div + div { border-top: 1px solid var(--line); }
.facts-list dt { font-size: clamp(1.125rem, 1.7vw, 1.375rem); font-weight: 800; letter-spacing: -0.03em; }
.facts-list dd { max-width: 32em; margin-top: 6px; color: var(--ink-2); }

/* ───────── 가격과 예약 ───────── */
.reserve { padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 8vw, 110px); }
.reserve-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(16px, 2.4vw, 32px); padding: 0 var(--pad); }
.order, .form, .done { padding: clamp(16px, 2.2vw, 28px); border-radius: var(--r); background: var(--card); }
.order-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.order-chip { display: grid; justify-items: center; border-radius: 4px; background: var(--a); transition: background-color 0.5s; }
.order-chip[data-slot="b"] { background: var(--b); }
.order-chip img { width: 64%; margin: 4% 0 -4%; }
.order-chip[data-slot="b"] img { scale: -1 1; }
.order-chip p { justify-self: stretch; margin: 0 8px 8px; padding: 9px 12px 10px; border-radius: 3px; background: var(--card); line-height: 1.25; }
.order-chip b { display: block; font-weight: 800; letter-spacing: -0.03em; }
.order-chip span { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.swap { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.9375rem; font-weight: 600; }
.swap svg { width: 16px; height: 16px; }
.plans { margin-top: 26px; display: grid; gap: 8px; }
.plans legend { margin-bottom: 10px; font-size: 0.9375rem; font-weight: 600; }
.plan {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--r); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow 0.2s, background-color 0.2s;
}
.plan:hover { background: var(--paper); }
.plan:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.plan:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.plan input { width: 20px; height: 20px; margin: 0; }
.plan input:focus-visible { outline: none; }
.plan-t { line-height: 1.3; }
.plan-t b { display: block; font-weight: 800; letter-spacing: -0.02em; }
.plan-t small { font-size: 0.8125rem; color: var(--ink-2); }
.plan em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 22px 0 6px; font-weight: 600; }
.total b { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > label { font-size: 0.9375rem; font-weight: 600; }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid var(--field-line); border-radius: var(--r);
  background: var(--card); transition: border-color 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input::placeholder { color: #6B6F78; }
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible { border-color: var(--ink); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.hint { font-size: 0.875rem; color: var(--ink-2); }
.error { font-size: 0.875rem; font-weight: 600; color: var(--error); }
.field-check label { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 0.9375rem; font-weight: 400; cursor: pointer; }
.field-check input { width: 22px; height: 22px; margin: 1px 0 0; }
.form .note { margin-top: -8px; }
.done h3 { margin-bottom: 8px; }
.done > p { color: var(--ink-2); }
.done .spec div + div { border-top-color: var(--line); }
.done:focus { outline: none; }

/* ───────── 자주 묻는 질문 ───────── */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); padding: clamp(56px, 8vw, 110px) var(--pad) clamp(72px, 10vw, 140px); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform 0.5s var(--soft); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { max-width: 34em; padding: 0 44px 22px 0; color: var(--ink-2); }

/* ───────── 마무리: 60알을 펼친 판 ───────── */
.finale { position: relative; height: clamp(520px, 56vw, 720px); overflow: hidden; background: linear-gradient(90deg, var(--a) 50%, var(--b) 50%); }
#flat { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.finale-copy {
  position: absolute; left: 50%; top: 50%; width: min(calc(100% - 32px), 440px); transform: translate(-50%, -50%);
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--card); text-align: center;
  box-shadow: 0 22px 44px -22px color-mix(in oklab, var(--ink) 55%, transparent);
}
.finale-copy h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.finale-copy p { margin: 10px 0 20px; color: var(--ink-2); }

/* 바닥글 */
.ft { padding: clamp(32px, 5vw, 56px) var(--pad) 40px; }
.ft-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ft-links a { font-size: 0.9375rem; font-weight: 600; text-decoration: none; padding: 6px 0; }
.ft-links a:hover { text-decoration: underline; }
.ft-note { max-width: 56em; margin-top: 22px; font-size: 0.875rem; color: var(--ink-2); }
.ft-copy { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-2); }

/* ───────── 좁은 화면 ───────── */
@media (max-width: 1100px) {
  .picker { grid-template-columns: 1fr; justify-items: stretch; width: min(100% - 32px, 560px); }
  .picks { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick-t { white-space: normal; }
}
@media (max-width: 820px) {
  :root { --nav: 56px; }
  .nav-links { display: none; }
  .gum { width: clamp(150px, min(52vw, 34dvh), 300px); }
  .pick { gap: 8px; padding: 6px 8px 6px 6px; }
  .sw { width: 28px; height: 28px; }
  .stage { grid-template-columns: 1fr; }
  .pour-view { justify-items: center; order: -1; }
  #jar { width: min(100%, 420px); }
  html[data-motion="on"] .pour { height: 300vh; }
  html[data-motion="on"] .stage { grid-template-rows: minmax(0, 46dvh) auto; align-content: start; gap: 4px; }
  html[data-motion="on"] #jar { height: 100%; width: auto; }
  .pour-copy h2 br { display: none; }
  .beats { margin-top: 14px; }
  .meter { margin-top: 18px; }
  .days i { height: 14px; }

  .bands { flex-direction: column; height: auto; }
  .band, .band[data-open="true"] { flex: none; display: grid; grid-template-rows: auto 0fr; transition: grid-template-rows 0.6s var(--out-expo); }
  .band[data-open="true"] { grid-template-rows: auto 1fr; }
  .band-face { width: 100%; height: auto; grid-template-columns: 76px 1fr auto; grid-template-rows: auto; align-items: center; justify-items: start; padding: 6px 12px 6px 6px; }
  .band-face img, .band[data-open="true"] .band-face img, .band-face:hover img { width: 76px; grid-column: 1; grid-row: 1; transform: none; }
  .band-label { grid-column: 2; grid-row: 1; margin: 0 0 0 4px; justify-self: start; }
  .band-code { grid-column: 3; grid-row: 1; padding: 0 4px; }
  .band-back { align-self: stretch; min-height: 0; overflow: hidden; padding: 0 16px; }
  .band[data-open="true"] .band-back { padding-bottom: 20px; }
  .band-back > * { min-width: 0; }
  .band-back .btn { width: 100%; }

  .facts, .reserve-grid, .faq { grid-template-columns: 1fr; }
  .facts-photo img { aspect-ratio: 4 / 3; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 420px) {
  .pick-t small { display: none; }
  .order-chip img { width: 76%; }
}

/* 움직임 줄이기: 떨어짐, 차오름, 출렁임을 모두 끈다 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
/* 전체 화면 캡처용(?still): 내비를 흘려보내 긴 캡처 중간에 다시 찍히지 않게 한다 */
html[data-still] .nav { position: absolute; }
