/* insane — website v2. Minimal: white, black ink, the pomelo wordmark does the talking. */

@font-face { font-family: "Fustat"; src: url("../fonts/Fustat-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-style: normal; font-display: swap; }

:root {
  --pomelo: #FE4820;
  --paper: #F4EFE7;
  --white: #FFFFFF;
  --ink: #0B0B0B;
  --graphite: #303030;
  --muted: #6A6662;          /* 5.6:1 on white */
  --line: rgba(0,0,0,.12);

  --bg: var(--white);
  --fg: var(--ink);
  --fg-2: var(--muted);

  --sans: "Fustat", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gut: clamp(16px, 3.4vw, 48px);
  --max: 1344px;
  --sec: clamp(96px, 12vw, 176px);
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-io: cubic-bezier(.65,0,.25,1);
  --spring: cubic-bezier(.3,1.5,.5,1);
  --t: 240ms;
  --t-slow: 560ms;

  --h2: clamp(40px, 5.4vw, 84px);
}
html[data-mood="morning"] { --bg: #F8F3EA; } /* morning: light cream, lunch stays white */
html[data-mood="evening"] { --bg: #0B0908; --fg: #F4EFE7; --fg-2: #A9A097; --line: rgba(244,239,231,.14); color-scheme: dark; }
body, .nav, .menu { transition: background 900ms var(--ease-io), color 900ms var(--ease-io); }
[data-mood="evening"] .pic img, [data-mood="evening"] .card__pic img:not(:hover) { filter: brightness(.86) saturate(1.1); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.5 var(--sans); letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; transform: translateY(-200%); background: var(--ink); color: var(--white); padding: 12px 16px; text-decoration: none; }
.skip:focus-visible { transform: none; }
:focus-visible { outline: 2px solid var(--pomelo); outline-offset: 3px; }

/* type */
h2 { font-size: var(--h2); font-weight: 500; line-height: .98; letter-spacing: -0.045em; }
h2 em { color: var(--pomelo); letter-spacing: -0.02em; }
.tag { font-size: clamp(17px, 1.35vw, 20px); font-weight: 500; letter-spacing: -0.01em; color: var(--fg); margin-bottom: 20px; }
.tag--ink { color: var(--fg); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--fg-2); max-width: 40ch; }
.link { display: inline-flex; gap: 8px; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding: 6px 0; transition: background-size var(--t) var(--ease), color var(--t); }
.link:hover { color: var(--pomelo); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }

/* buttons */
.btn { --bx: 0px; --by: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 0; cursor: pointer; font-size: 16px; font-weight: 500; text-decoration: none; transform: translate(var(--bx), var(--by)); transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease); }
.btn .arrow { display: inline-block; transition: transform var(--t) var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: translate(var(--bx), var(--by)) scale(.97); transition-duration: 80ms; }
.btn--ink { background: var(--fg); color: var(--bg); }
.btn--ink:hover { background: var(--pomelo); color: #0B0B0B; }
.btn--wide { width: 100%; }

/* nav — text only, like a menu card */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--bg); transition: transform var(--t-slow) var(--ease), box-shadow var(--t); }
.nav.is-solid { box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; font-size: 15px; }
.nav__home { font-weight: 600; letter-spacing: -0.02em; text-decoration: none; justify-self: start; padding: 10px 0; }
.nav__links { display: flex; gap: clamp(20px, 3.4vw, 56px); }
.nav__links a, .nav__cta { position: relative; text-decoration: none; padding: 10px 0; }
.nav__links a::after, .nav__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t) var(--ease); }
.nav__links a:hover::after, .nav__links a.is-here::after, .nav__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { justify-self: end; color: var(--pomelo); font-weight: 500; }
.nav__burger { display: none; justify-self: end; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--fg); transition: transform var(--t) var(--ease); }
.nav__burger span:nth-child(1) { top: 20px; } .nav__burger span:nth-child(2) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 64px 0 0; background: var(--bg); padding: 24px var(--gut) 40px; display: flex; flex-direction: column; gap: 2px; }
.menu[hidden] { display: none; }
.menu a:not(.btn) { font-size: 44px; font-weight: 500; letter-spacing: -0.04em; text-decoration: none; padding: 6px 0; }
.menu .btn { margin-top: auto; }

/* hero */
.hero { position: relative; padding: 96px 0 40px; min-height: 100svh; display: flex; overflow: hidden; }
.hero__inner { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 40px); justify-content: space-between; }
.hero__line { font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; }
.hero__line em { color: var(--pomelo); }
.hero__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; align-items: start; }
.hero__mark { grid-column: 1 / 11; grid-row: 1; width: 100%; height: auto; aspect-ratio: 1414 / 386; color: var(--pomelo); position: relative; z-index: 2; pointer-events: none; }
.hero__media { grid-column: 10 / 13; grid-row: 1; margin-top: 5.2vw; position: relative; z-index: 1; }
.hero__frame { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--graphite); overflow: hidden; cursor: pointer; }
.hero__frame > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 700ms var(--ease-io), transform 1200ms var(--ease); }
.hero__frame > .is-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; }
.hero__frame > .is-out { z-index: 1; clip-path: inset(0 0 0 0); transform: scale(1); }
.hero__frame:hover > .is-on { transform: scale(1.03); }
.hero__bite { margin-top: 10px; font-size: 13px; color: var(--fg-2); }
.hero__bite b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; line-height: 1.35; }
.facts dt { color: var(--fg-2); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.facts dd { font-weight: 500; }
.facts a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t-slow) var(--ease); }
.facts a:hover { background-size: 100% 1px; }
.count__num { font-variant-numeric: tabular-nums; }
.count__num b { font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pomelo); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(254,72,32,.45); } 60% { box-shadow: 0 0 0 7px rgba(254,72,32,0); } }

/* entrance: once, on load */
.js [data-enter] { opacity: 0; transform: translateY(16px); }
.js .hero__mark[data-enter] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
.is-loaded [data-enter] { opacity: 1; transform: none; transition: opacity 800ms var(--ease), transform 1000ms var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 100ms); }
.is-loaded .hero__mark[data-enter] { clip-path: inset(0 0 -2% 0); transition: clip-path 1200ms var(--ease-io) 120ms; }

/* sections */
main > section { padding: var(--sec) 0; }
.pic { overflow: hidden; background: var(--line); }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease), opacity 500ms var(--ease); }
.pic:hover img { transform: scale(1.03); }

/* what it is */
.intro { border-top: 1px solid var(--line); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; align-items: start; position: relative; }
.intro__text { font-size: clamp(28px, 3.6vw, 56px); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; }
.intro__text em { color: var(--pomelo); }
.intro__ill { width: clamp(90px, 9vw, 140px); grid-column: 1; grid-row: 2; margin-top: 24px; transition: transform var(--t-slow) var(--spring); }
.intro__ill:hover { transform: rotate(-8deg) scale(1.05); }

/* day / night */
.moods { transition: background var(--t-slow) var(--ease-io), color var(--t-slow) var(--ease-io); }
[data-mood="night"] .moods { background: var(--ink); color: var(--white); --fg-2: #A8A39C; --line: rgba(255,255,255,.16); }
.moods__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.moods__head .tag { margin: 0; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid currentColor; border-radius: 999px; padding: 3px; }
.switch__opt { position: relative; z-index: 1; min-width: 84px; min-height: 44px; padding: 0 18px; border: 0; background: none; cursor: pointer; font-weight: 500; border-radius: 999px; transition: color var(--t) var(--ease); }
.switch__opt[aria-pressed="true"] { color: var(--white); }
.switch__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--ink); transition: transform var(--t-slow) var(--spring), background var(--t); }
[data-mood="night"] .switch__thumb { transform: translateX(100%); background: var(--pomelo); }
[data-mood="night"] .switch__opt[aria-pressed="true"] { color: var(--ink); }
.clock { margin: 14px 0 clamp(40px, 5vw, 72px); font-size: 15px; color: var(--fg-2); min-height: 1.5em; }
.clock b { color: var(--pomelo); font-weight: 500; }
.moods__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.mood { display: flex; flex-direction: column; gap: 24px; }
.mood[hidden] { display: none; }
.mood p { font-size: 18px; color: var(--fg-2); max-width: 38ch; }
.mood__ill { width: 120px; margin-top: 16px; transition: transform var(--t-slow) var(--spring); }
.mood:hover .mood__ill { transform: rotate(-8deg); }
[data-mood="night"] .mood__ill { filter: invert(1); }
.mood.is-entering > * { animation: rise 700ms var(--ease) both; }
.mood.is-entering > *:nth-child(2) { animation-delay: 70ms; } .mood.is-entering > *:nth-child(3) { animation-delay: 140ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.moods__pics { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 6 / 5; }
.moods__pics .pic--tall { grid-row: 1 / 3; }
.moods__pics img.is-swapping { opacity: 0; transform: scale(1.04); }

/* the drop */
.drops { border-top: 1px solid var(--line); }
.drops__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.drops__copy .lede:first-child { color: var(--fg); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(56px, 7vw, 104px); counter-reset: s; }
.steps li { position: relative; border-top: 1px solid var(--fg); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--pomelo); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease); }
.steps li:hover::before, .steps.is-in li::before { transform: scaleX(1); }
.steps.is-in li:nth-child(2)::before { transition-delay: 250ms; } .steps.is-in li:nth-child(3)::before { transition-delay: 500ms; } .steps.is-in li:nth-child(4)::before { transition-delay: 750ms; }
.steps b { font-size: 13px; font-weight: 500; color: var(--pomelo); }
.steps h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.steps p { color: var(--fg-2); font-size: 15px; max-width: 28ch; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.card__pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.card__pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter var(--t-slow) var(--ease), transform 900ms var(--ease); }
.card:hover .card__pic img { filter: grayscale(0); transform: scale(1.03); }
.card__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg-2); border-top: 1px solid var(--line); padding-top: 10px; }
.card h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; }
.card h3 small { display: block; margin-top: 6px; font-size: 15px; color: var(--pomelo); letter-spacing: 0; }
.stamp { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; background: #FFFFFF; color: #0B0B0B; font-weight: 500; font-size: 14px; transform: rotate(-5deg); transition: transform var(--t-slow) var(--spring); }
.stamp svg { width: 20px; height: 20px; color: var(--pomelo); }
.card:hover .stamp { transform: rotate(4deg) scale(1.08); }
.card__pic--locked { background: var(--pomelo); display: grid; place-items: center; }
.lock { width: 38%; height: auto; aspect-ratio: 1; color: #0B0B0B; --nope-bar: var(--pomelo); transition: transform var(--t-slow) var(--spring); }
.card--locked:hover .lock { transform: rotate(90deg); }
.nope { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 30px; opacity: 0; transform: translateY(10px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.card--locked:hover .nope, .card--locked:focus-visible .nope { opacity: 1; transform: none; }
.card--locked.is-shaking .card__pic { animation: shake 420ms var(--ease); }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }

/* the crate calendar */
.crate { border-top: 1px solid var(--line); }
.crate__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cal__month { font-size: clamp(32px, 3.6vw, 56px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.cal__month em { color: var(--pomelo); }
.cal__nav { width: 48px; height: 48px; border: 1px solid var(--fg); border-radius: 50%; background: none; cursor: pointer; font-size: 18px; transition: background var(--t), color var(--t), transform var(--t) var(--ease); }
.cal__nav:hover { background: var(--fg); color: var(--bg); }
.cal__nav:active { transform: scale(.92); }
.cal__nav:disabled { opacity: .25; pointer-events: none; }
.cal__dow, .cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__dow { font-size: 13px; color: var(--fg-2); margin-bottom: 8px; text-align: center; }
.day { position: relative; aspect-ratio: 1 / .82; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; font-size: clamp(15px, 1.4vw, 20px); font-weight: 500; letter-spacing: -0.02em; text-align: left; padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.day small { font-size: 11px; font-weight: 400; color: var(--fg-2); opacity: 0; transform: translateY(4px); transition: opacity var(--t), transform var(--t) var(--ease); }
.day--past { color: var(--fg-2); opacity: .7; }
.day--today { color: var(--pomelo); }
.day--today::after { content: ""; position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--pomelo); }
.day:hover, .day:focus-visible { background: var(--fg); color: var(--bg); opacity: 1; }
.day:hover small, .day:focus-visible small, .day.is-sel small { opacity: 1; transform: none; color: inherit; }
.day.is-sel { background: var(--pomelo); color: #0B0B0B; opacity: 1; }
.day--blank { visibility: hidden; }
.cal__days.is-turning { animation: turn 420ms var(--ease) both; }
@keyframes turn { from { opacity: 0; transform: translateX(var(--turn-from, 24px)); } }
.cal__legend { display: flex; gap: 20px; margin-top: 16px; font-size: 13px; color: var(--fg-2); }
.cal__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg--past { background: var(--fg-2); opacity: .5; } .lg--today { background: var(--pomelo); } .lg--next { border: 1px solid var(--fg); }

.flip { perspective: 1800px; min-height: 480px; }
.flip__inner { display: grid; height: 100%; transform-style: preserve-3d; transition: transform 900ms var(--ease); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.flip__front { background: var(--bg); border: 1px solid var(--fg); }
.flip__back { background: var(--pomelo); color: #0B0B0B; transform: rotateY(180deg); }
.flip__when { font-size: 14px; color: var(--fg-2); display: flex; align-items: center; gap: 8px; }
.flip__back .flip__when { color: #0B0B0B; }
.flip__title { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.flip__title em { color: var(--pomelo); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; flex: 1; }
.chips li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; transition: background var(--t), border-color var(--t), color var(--t); cursor: default; }
.chips li.is-pick { border-color: var(--fg); }
.chips li.is-pick::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pomelo); margin-right: 8px; vertical-align: 2px; }
.chips li:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.flip__btn { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 999px; background: none; cursor: pointer; font-weight: 500; transition: background var(--t), color var(--t); }
.flip__front .flip__btn:hover { background: var(--fg); color: var(--bg); }
.flip__back .flip__btn:hover { background: #0B0B0B; color: var(--pomelo); }
.picks { display: grid; gap: 0; flex: 1; align-content: start; }
.picks li { border-top: 1px solid rgba(0,0,0,.25); padding: 14px 0; display: grid; gap: 4px; }
.picks h4 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.2vw, 32px); line-height: 1; letter-spacing: -0.01em; }
.picks p { font-size: 15px; line-height: 1.4; }
.picks p span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-right: 8px; opacity: .7; }

/* intention */
.story { border-top: 1px solid var(--line); }
.rules { display: grid; gap: 0; }
.rules li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--fg-2); }
.rules i { width: 8px; height: 8px; border-radius: 50%; background: var(--pomelo); margin-top: 9px; }
.rules strong { color: var(--fg); font-weight: 500; }
.trio { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 12px; align-items: start; }
.trio .pic:nth-child(1) { aspect-ratio: 4 / 5; }
.trio .pic:nth-child(2) { aspect-ratio: 1; }
.trio .pic:nth-child(3) { aspect-ratio: 3 / 4; }

/* release notes */
.beta { border-top: 1px solid var(--line); }
.beta .split { margin-bottom: 0; align-items: center; }
.beta .lede { margin-top: 24px; }
.log { border-top: 1px solid var(--fg); }
.log li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.02em; }
.log code { font-family: var(--mono); font-size: 13px; color: var(--fg-2); }
.log em { font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 400; color: var(--fg-2); display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0; }
.log .is-live code, .log .is-live em { color: var(--pomelo); }
.log .is-live em i { width: 7px; height: 7px; border-radius: 50%; background: var(--pomelo); animation: pulse 1.8s var(--ease) infinite; }
.log .is-next { color: var(--fg-2); }
.js .log li { opacity: 0; transform: translateX(-14px); }
.js .log.is-in li { opacity: 1; transform: none; transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
.log.is-in li:nth-child(2) { transition-delay: 120ms; } .log.is-in li:nth-child(3) { transition-delay: 240ms; } .log.is-in li:nth-child(4) { transition-delay: 360ms; } .log.is-in li:nth-child(5) { transition-delay: 480ms; }

/* hospitality */
.asks { border-top: 1px solid var(--fg); }
.asks li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; }
.box { position: relative; flex: none; width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 50%; }
.box::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 360ms var(--spring); }
.asks li.is-yes .box { background: var(--pomelo); border-color: var(--pomelo); transition: background 200ms; }
.asks li.is-yes .box::after { transform: rotate(45deg) scale(1); }
.asks__foot { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--pomelo); }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.strip .pic { aspect-ratio: 4 / 5; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; margin-top: 48px; }
.quotes blockquote { border-top: 1px solid var(--line); padding-top: 16px; }
.quotes blockquote p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; }
.quotes cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--fg-2); }

/* the list: the one hot block */
.list { border-top: 1px solid var(--line); }
.list__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.list__copy { display: flex; flex-direction: column; gap: 24px; }
.list__copy .tag { margin: 0; }
.list__ill { width: 200px; transition: transform var(--t-slow) var(--ease); }
.list__copy:hover .list__ill { animation: ring 600ms var(--ease) 2; }
@keyframes ring { 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
.form { display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.form[hidden] { display: none; }
.form, .done { grid-column: 2; grid-row: 1; }
.channel { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--fg); border-radius: 999px; padding: 3px; }
.channel label { position: relative; z-index: 1; display: grid; place-items: center; min-height: 46px; font-weight: 500; cursor: pointer; transition: color var(--t) var(--ease); }
.channel input { position: absolute; opacity: 0; pointer-events: none; }
.channel label:has(input:checked) { color: var(--bg); }
.channel label:has(input:focus-visible) { outline: 2px solid var(--pomelo); outline-offset: 2px; border-radius: 999px; }
.channel__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--fg); transition: transform var(--t-slow) var(--spring); }
.channel.is-wa .channel__thumb { transform: translateX(100%); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field[hidden] { display: none; }
.field.is-entering { animation: rise 420ms var(--ease) both; }
.field label { font-size: 15px; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input { min-height: 54px; padding: 0 16px; border: 1px solid var(--fg); border-radius: 0; background: transparent; color: var(--fg); font-size: 17px; transition: box-shadow var(--t) var(--ease); }
.field input:focus { outline: none; box-shadow: 0 0 0 3px var(--pomelo); }
.field input[aria-invalid="true"] { border-color: #B3200A; }
.err { font-size: 14px; color: #B3200A; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--pomelo); }
.form__status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form.is-sending .btn { pointer-events: none; opacity: .7; }
.done { display: flex; flex-direction: column; gap: 14px; background: var(--fg); color: var(--bg); padding: clamp(28px, 3vw, 48px); outline: none; }
.done[hidden] { display: none; }
.done .tag { color: var(--pomelo); margin: 0; }
.done .lede { color: var(--bg); }
.done__mark { width: 64px; height: 64px; color: var(--pomelo); animation: stamp-in 600ms var(--spring) both; }
@keyframes stamp-in { from { transform: scale(2.4) rotate(-40deg); opacity: 0; } }
.done__n { font-size: clamp(52px, 6.4vw, 96px); font-weight: 500; letter-spacing: -0.05em; line-height: .9; }
.done__n b { color: var(--pomelo); font-weight: 500; font-variant-numeric: tabular-nums; }

/* footer */
.foot { padding: clamp(72px, 9vw, 128px) 0 28px; }
.facts--foot dd a { margin-right: 2px; }
.foot__mark { width: 100%; height: auto; aspect-ratio: 1414 / 386; color: var(--pomelo); margin: clamp(56px, 8vw, 112px) 0 20px; }
.js .foot__mark { clip-path: inset(0 0 100% 0); transform: translateY(10%); }
.js .foot__mark.is-in { clip-path: inset(0 0 0 0); transform: none; transition: clip-path 1100ms var(--ease-io), transform 1100ms var(--ease); }
.foot__legal { font-size: 14px; color: var(--fg-2); }

.bar { display: none; }

/* responsive */
@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .crate__grid { grid-template-columns: 1fr; }
  .flip { min-height: 440px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__row { grid-template-columns: 1fr auto; }
  .nav__burger { display: block; }
  .hero { min-height: auto; padding-top: 88px; }
  .hero__stage { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hero__mark { grid-column: 1 / -1; }
  .hero__media { grid-column: 2 / -1; grid-row: 2; margin-top: -7vw; }
  .hero__frame { cursor: pointer; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .split, .moods__body, .list__grid, .intro__grid { grid-template-columns: 1fr; }
  .intro__ill { grid-row: auto; }
  .form, .done { grid-column: 1; grid-row: auto; }
  .moods__pics { aspect-ratio: 1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card--locked { grid-column: 1 / -1; }
  .cards .card--locked .card__pic { aspect-ratio: 16 / 9; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio .pic:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .trio .pic:nth-child(2), .trio .pic:nth-child(3) { aspect-ratio: 1; }
  .strip { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; background: var(--fg); color: var(--bg); font-weight: 500; text-decoration: none; transform: translateY(160%); transition: transform var(--t-slow) var(--ease); }
  .bar.is-on { transform: none; }
  .foot { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .day { aspect-ratio: 1; padding: 6px; font-size: 15px; }
  .day small { display: none; }
  .day--today::after { top: 6px; right: 6px; }
  .log li { grid-template-columns: 48px 1fr; }
  .log em { grid-column: 2; }
  .card h3 { font-size: 18px; }
  .card__meta span:last-child { display: none; }
  .stamp { top: 8px; left: 8px; font-size: 12px; }
  .moods__head { flex-wrap: wrap; }
  .facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-enter], .js .log li, .js .foot__mark { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* inner pages */
.page-hero { padding: 140px 0 clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(52px, 8.4vw, 140px); font-weight: 500; line-height: .92; letter-spacing: -0.055em; }
.page-hero h1 em { color: var(--pomelo); }
.page-hero__copy { display: grid; gap: 16px; justify-items: start; margin-top: 32px; max-width: 46ch; }
.page-hero__copy .lede:first-child { color: var(--fg); }

/* opening banner: sticky above the menu until the doors open */
.banner { position: fixed; inset: 0 0 auto; z-index: 60; height: 36px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 var(--gut); background: var(--pomelo); color: #0B0B0B; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; overflow: hidden; }
.banner b { font-weight: 600; font-variant-numeric: tabular-nums; }
.banner__cta { opacity: .8; transition: opacity var(--t); }
.banner:hover .banner__cta { opacity: 1; text-decoration: underline; }
.pre-open .nav { top: 36px; }
.pre-open .menu { inset: 100px 0 0; }
.pre-open { scroll-padding-top: 100px; }
.pre-open .page-hero, .pre-open .jhero { padding-top: 176px; }
@media (max-width: 560px) { .banner__cta { display: none; } }

.page-hero--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero__art { position: relative; margin: 0; }
.page-hero__art .pic { aspect-ratio: 4 / 5; }
.page-hero__ill { position: absolute; left: -18%; bottom: -6%; width: 46%; transition: transform var(--t-slow) var(--spring); }
.page-hero__art:hover .page-hero__ill { transform: rotate(-6deg) translateY(-6px); }
[data-mood="evening"] .page-hero__ill { filter: invert(1); }
@media (max-width: 900px) { .page-hero--split { grid-template-columns: 1fr; } .page-hero__ill { left: auto; right: -4%; width: 38%; } }

/* food drops: how it works */
.why { padding: var(--sec) 0 0; border-top: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.why__item { display: grid; gap: 16px; align-content: start; border-top: 1px solid var(--fg); padding-top: 20px; }
.why__h { font-size: clamp(28px, 2.8vw, 44px); line-height: 1.02; }
.why__item p { font-size: 18px; color: var(--fg-2); max-width: 38ch; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } }

/* let's get funky */
.funky { padding: clamp(96px, 12vw, 176px) 0; border-top: 1px solid var(--line); text-align: center; overflow: hidden; }
.funky__text { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 13vw, 220px); line-height: .95; letter-spacing: -0.02em; color: var(--pomelo); white-space: nowrap; cursor: default; }
.funky__text span { display: inline-block; transform-origin: 50% 80%; }
.funky.is-on .funky__text span { animation: groove 1.8s cubic-bezier(.45,0,.55,1) infinite; animation-delay: calc(var(--i) * -0.11s); }
.funky:hover .funky__text span { animation-duration: .9s; }
@keyframes groove {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-0.12em) rotate(-6deg) scale(1.04); }
  50% { transform: translateY(0) rotate(0deg) scale(1); }
  75% { transform: translateY(0.06em) rotate(5deg) scale(.98); }
}
.funky__note { margin-top: 28px; font-size: 17px; color: var(--fg-2); display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: baseline; }
@media (max-width: 560px) { .funky__text { white-space: normal; } }

/* projects: teaser cards (food drops) */
.projects-teaser { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard { display: grid; gap: 12px; text-decoration: none; color: inherit; align-content: start; }
.pcard .pic { aspect-ratio: 4 / 5; }
.pcard__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg-2); border-top: 1px solid var(--line); padding-top: 10px; }
.pcard h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; transition: color var(--t); }
.pcard p:last-child { color: var(--fg-2); font-size: 16px; }
.pcard:hover h3 { color: var(--pomelo); }
@media (max-width: 900px) { .pcards { grid-template-columns: 1fr; } .pcard .pic { aspect-ratio: 4 / 3; } }

/* projects page */
.proj-index { margin-top: 40px; border-top: 1px solid var(--fg); max-width: 640px; }
.proj-index a { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; transition: color var(--t), padding var(--t) var(--ease); }
.proj-index a:hover { color: var(--pomelo); padding-left: 8px; }
.proj-index b { font-size: 14px; font-weight: 500; color: var(--pomelo); }
.proj-index span { margin-left: auto; }
.proj { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.proj__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.proj__cover { aspect-ratio: 4 / 5; }
.proj__cover video, .proj__cover img { width: 100%; height: 100%; object-fit: cover; }
.proj__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(48px, 6vw, 88px); }
.proj__text { display: grid; gap: 18px; align-content: start; }
.proj__text p { font-size: 18px; max-width: 46ch; }
.proj__text .lede { color: var(--fg); font-size: clamp(20px, 1.7vw, 24px); }
.proj__thanks { color: var(--fg-2); font-size: 16px !important; }
.proj__loud { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.2vw, 48px) !important; color: var(--pomelo); line-height: 1.05; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.stats div { border-top: 1px solid var(--fg); padding-top: 12px; }
.stats dt { font-size: 14px; color: var(--fg-2); }
.stats dd { font-size: clamp(52px, 6vw, 96px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats .stats__small { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.03em; margin-top: 10px; }
.gallery { columns: 3 240px; column-gap: 12px; }
.gallery .pic { break-inside: avoid; margin-bottom: 12px; }
.gallery .pic img { height: auto; }
.gallery--two { columns: 2 200px; }
.dishes { margin-top: clamp(48px, 6vw, 88px); }
.dishes ul { columns: 2 280px; column-gap: 40px; border-top: 1px solid var(--fg); }
.dishes li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.press { margin-top: 28px; font-size: 15px; color: var(--fg-2); }
.press b { color: var(--fg); font-weight: 500; }
.equation { font-size: clamp(28px, 3vw, 46px) !important; font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; }
.equation em { color: var(--pomelo); }
.build { border-top: 1px solid var(--fg); counter-reset: b; }
.build li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.02em; }
.build li::before { counter-increment: b; content: counter(b); font-size: 13px; color: var(--pomelo); padding-top: 5px; }
.proj__body--quiet { margin-bottom: 0; }
@media (max-width: 900px) { .proj__head, .proj__body { grid-template-columns: 1fr; } }

/* let's get funky: 124 bpm house. kick on every beat, hats on the off-beat, the last word sways, the dot hits the one. */
.funky__text { --beat: 484ms; }
.funky:hover .funky__text { --beat: 420ms; }
.funky__text .w { display: inline-block; white-space: nowrap; }
.funky.is-on .funky__text span { animation: none; }
.funky.is-on .funky__text { animation: drop calc(var(--beat) * 8) linear infinite; }
.funky.is-on .g-kick span { animation: kick var(--beat) cubic-bezier(.3,0,.3,1) infinite; }
.funky.is-on .g-hat span { animation: hat var(--beat) cubic-bezier(.3,0,.3,1) infinite; animation-delay: calc(var(--beat) / -2); }
.funky.is-on .g-sway span { animation: sway calc(var(--beat) * 2) cubic-bezier(.45,0,.55,1) infinite; }
.funky.is-on .g-sway span:nth-child(even) { animation-delay: calc(var(--beat) * -1); }
.funky.is-on .g-dot span { animation: hit calc(var(--beat) * 4) cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes kick { 0% { transform: translateY(0) scale(1, 1); } 10% { transform: translateY(.05em) scale(1.06, .9); } 45% { transform: translateY(-.12em) scale(.97, 1.04); } 100% { transform: translateY(0) scale(1, 1); } }
@keyframes hat { 0% { transform: translateY(0) rotate(0); } 12% { transform: translateY(-.1em) rotate(-5deg); } 55% { transform: translateY(0) rotate(3deg); } 100% { transform: translateY(0) rotate(0); } }
@keyframes sway { 0%, 100% { transform: rotate(-9deg) translateX(-.03em); } 50% { transform: rotate(9deg) translateX(.03em); } }
@keyframes hit { 0% { transform: scale(1.9); color: var(--fg); } 14% { transform: scale(1); color: var(--pomelo); } 100% { transform: scale(1); } }
@keyframes drop { 0%, 86% { transform: translateY(0); } 90% { transform: translateY(-.06em) scale(1.02); } 94% { transform: translateY(.02em); } 100% { transform: translateY(0); } }
.log li > a { text-decoration: none; transition: color var(--t), padding var(--t) var(--ease); }
.log li > a span { display: inline-block; opacity: 0; transform: translateX(-6px); transition: opacity var(--t), transform var(--t) var(--ease); color: var(--pomelo); }
.log li > a:hover { color: var(--pomelo); }
.log li > a:hover span, .log li > a:focus-visible span { opacity: 1; transform: none; }
.press a { color: var(--fg); font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding: 4px 0; transition: color var(--t); }
.press a:hover { color: var(--pomelo); }

/* sourcing */
.sourcing { padding: 0 0 var(--sec); }
.suppliers { border-top: 1px solid var(--fg); }
.suppliers li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr) minmax(0, 2fr); gap: 16px 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding var(--t) var(--ease); }
.suppliers li:hover { padding-left: 10px; }
.sup__what { font-size: 15px; color: var(--fg-2); }
.sup__name { font-size: clamp(30px, 3.4vw, 54px); line-height: 1; transition: color var(--t); }
.suppliers li:hover .sup__name { color: var(--pomelo); }
.sup__line { font-size: 17px; color: var(--fg-2); }
.sup__link { justify-self: end; font-size: 15px; }
.sourcing__foot { margin-top: 40px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.02em; }
.sourcing__foot em { color: var(--pomelo); }
.sourcing__pics { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 12px; align-items: start; }
.sourcing__pics .pic:nth-child(1) { aspect-ratio: 4 / 5; } .sourcing__pics .pic:nth-child(2) { aspect-ratio: 1; } .sourcing__pics .pic:nth-child(3) { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .suppliers li { grid-template-columns: 1fr; gap: 6px; } .sup__link { justify-self: start; } }
.sourcing__producers { margin-top: 16px; font-size: 18px; color: var(--fg-2); }
.sourcing__producers a { color: var(--fg); }

/* legal pages + footer legal line */
.foot__legal { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 14px; color: var(--fg-2); }
.foot__legal a { color: var(--fg-2); }
.foot__legal a:hover { color: var(--pomelo); }
.is-pending { background: rgba(254,72,32,.18); color: var(--fg); padding: 0 4px; }
.legal-page { padding: 150px 0 var(--sec); }
.legal-wrap { max-width: calc(820px + var(--gut) * 2); }
.legal-page h1 { font-size: clamp(48px, 7vw, 104px); font-weight: 500; letter-spacing: -0.05em; line-height: .95; }
.legal-meta { margin: 20px 0 8px; font-size: 15px; color: var(--fg-2); max-width: 60ch; }
.legal-page h2 { font-size: clamp(24px, 2.2vw, 32px); margin: 56px 0 14px; }
.legal-page p, .legal-page li { font-size: 17px; line-height: 1.55; max-width: 68ch; margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 20px; }
.legal-page a { color: var(--fg); }
.legal-page a:hover { color: var(--pomelo); }
.legal-short { list-style: none !important; padding: 0 !important; border-top: 1px solid var(--fg); }
.legal-short li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.legal-id { display: grid; gap: 0; border-top: 1px solid var(--fg); }
.legal-id div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.legal-id dt { color: var(--fg-2); }
.legal-table { border-top: 1px solid var(--fg); }
.lt-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.lt-head { font-size: 13px; color: var(--fg-2); }
.form__legal { font-size: 12.5px; line-height: 1.5; color: var(--fg-2); }
.form__legal a { color: var(--fg); }
.how .form__legal { margin-top: 24px; max-width: 60ch; font-size: 14px; color: var(--fg); opacity: .8; }
@media (max-width: 760px) { .lt-row { grid-template-columns: 1fr; gap: 6px; } .lt-head { display: none; } .legal-id div { grid-template-columns: 1fr; gap: 2px; } }

/* language switch */
.nav__end { justify-self: end; display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; gap: 2px; font-size: 13px; }
.lang button { min-width: 30px; min-height: 30px; padding: 0 6px; border: 0; border-radius: 999px; background: none; color: var(--fg-2); cursor: pointer; font-weight: 500; transition: color var(--t), background var(--t); }
.lang button:hover { color: var(--fg); }
.lang button[aria-pressed="true"] { color: var(--bg); background: var(--fg); }
.lang--menu { margin-top: 24px; font-size: 18px; gap: 8px; }
.lang--menu button { min-width: 48px; min-height: 44px; }
@media (max-width: 900px) { .nav__end { display: none; } }
