:root {
  --paper: #f2ede3;
  --paper-2: #e8e1d3;
  --ink: #151412;
  --muted: #6d675d;
  --line: rgba(21, 20, 18, .14);
  --cy: #00a0e3; --mg: #e5007e; --yl: #ffe500;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--sans);
  overflow: hidden; overscroll-behavior: none; -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
.ico { width: 22px; height: 22px; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--mg); outline-offset: 2px; }

.screen { position: fixed; inset: 0; display: flex; flex-direction: column; height: 100svh; }
.paper-grid {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
}

/* ---------- shared bits ---------- */
.big {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 420px; min-height: 58px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 700 17px/1 var(--sans); letter-spacing: .01em;
  box-shadow: 0 10px 24px -14px rgba(21, 20, 18, .7);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
}
.big .ico { width: 20px; height: 20px; }
.big:active:not(:disabled) { transform: scale(.97); }
.big:disabled { opacity: .45; }
.ibtn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; transition: background .15s; }
.ibtn:hover { background: rgba(21, 20, 18, .07); }
.ibtn:disabled { opacity: .3; }
.reg { position: absolute; width: 26px; height: 26px; color: var(--ink); opacity: .85; pointer-events: none; }
.reg .ico { width: 100%; height: 100%; stroke-width: 1.4; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; height: 30px; }
.seg button { font: 700 11px/1 var(--mono); padding: 0 10px; text-transform: uppercase; }
.seg button.on { background: var(--ink); color: var(--paper); }

/* ---------- intro ---------- */
.intro {
  align-items: center; justify-content: center; z-index: 40; overflow: hidden;
  background-color: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center;
  transition: opacity .6s ease, transform .6s ease;
}
.intro::before { content: ''; position: absolute; inset: 0; background: radial-gradient(closest-side, var(--paper) 55%, rgba(242, 237, 227, .6)); pointer-events: none; }
.intro.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.intro .reg { animation: regIn 1s cubic-bezier(.2, .8, .2, 1) both; }
.reg--tl { top: 16px; left: 16px; } .reg--tr { top: 16px; right: 16px; } .reg--bl { bottom: 16px; left: 16px; } .reg--br { bottom: 16px; right: 16px; }
@keyframes regIn { from { opacity: 0; transform: rotate(-180deg) scale(.4); } }
.crop { position: absolute; width: 22px; height: 22px; border-color: var(--ink); border-style: solid; border-width: 0; opacity: .5; }
.crop--tl { top: 52px; left: 52px; border-top-width: 1px; border-left-width: 1px; }
.crop--tr { top: 52px; right: 52px; border-top-width: 1px; border-right-width: 1px; }
.crop--bl { bottom: 52px; left: 52px; border-bottom-width: 1px; border-left-width: 1px; }
.crop--br { bottom: 52px; right: 52px; border-bottom-width: 1px; border-right-width: 1px; }
.bars { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); display: flex; border: 1px solid var(--ink); }
.bars i { width: 16px; height: 16px; animation: barIn .4s both; }
.bars i:nth-child(1) { background: var(--cy); } .bars i:nth-child(2) { background: var(--mg); } .bars i:nth-child(3) { background: var(--yl); } .bars i:nth-child(4) { background: var(--ink); }
.bars i:nth-child(5) { background: #c8102e; } .bars i:nth-child(6) { background: #f2561d; } .bars i:nth-child(7) { background: #8dbd38; } .bars i:nth-child(8) { background: #1e6fd9; }
.bars i:nth-child(n) { animation-delay: calc(var(--k, 0) * 1s); }
.bars i:nth-child(2) { --k: .06; } .bars i:nth-child(3) { --k: .12; } .bars i:nth-child(4) { --k: .18; } .bars i:nth-child(5) { --k: .24; } .bars i:nth-child(6) { --k: .3; } .bars i:nth-child(7) { --k: .36; } .bars i:nth-child(8) { --k: .42; }
@keyframes barIn { from { transform: scaleY(0); } }

.intro__in {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; max-width: 520px; height: 100%; padding: 56px 20px calc(30px + var(--safe-b));
  justify-content: center; gap: 10px;
}
.intro__kicker { margin: 0; font: 700 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; animation: up .7s .2s both; }
.logo { display: grid; margin: 0; font: 800 clamp(86px, 31vw, 190px)/.82 var(--sans); font-stretch: 75%; letter-spacing: -.035em; }
.logo .p { grid-area: 1 / 1; }
.logo .c { color: var(--cy); mix-blend-mode: multiply; animation: regC 1.5s cubic-bezier(.2, .8, .2, 1) both; }
.logo .m { color: var(--mg); mix-blend-mode: multiply; animation: regM 1.5s .08s cubic-bezier(.2, .8, .2, 1) both; }
.logo .y { color: var(--yl); mix-blend-mode: multiply; animation: regY 1.5s .16s cubic-bezier(.2, .8, .2, 1) both; }
.logo .k { color: var(--ink); animation: regK .5s 1.15s ease both; }
@keyframes regC { from { transform: translate(-34px, -22px); opacity: 0; } 30% { opacity: 1; } to { transform: translate(-3px, -1px); } }
@keyframes regM { from { transform: translate(30px, 26px); opacity: 0; } 30% { opacity: 1; } to { transform: translate(3px, 1px); } }
@keyframes regY { from { transform: translate(-16px, 34px); opacity: 0; } 30% { opacity: 1; } to { transform: translate(1px, 2px); } }
@keyframes regK { from { opacity: 0; } }
.intro__glass { flex: 1 1 210px; min-height: 120px; max-height: 260px; width: min(70vw, 280px); animation: up .8s .9s both; }
.intro__glass svg { width: 100%; height: 100%; display: block; }
.intro__tag { margin: 0; font: 400 17px/1.35 var(--sans); animation: up .7s 1.4s both; }
.intro__tag b { font-family: var(--mono); }
.intro .big { animation: up .7s 1.6s both; margin-top: 6px; }
.intro__small { margin: 2px 0 0; font: 400 11px/1.4 var(--mono); color: var(--muted); animation: up .7s 1.8s both; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }

/* ---------- home ---------- */
.home { background: var(--paper); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 8px 0 16px; flex: none; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand__reg { width: 22px; height: 22px; display: grid; }
.brand__reg .ico { width: 22px; height: 22px; stroke-width: 1.6; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand__word { font: 800 30px/1 var(--sans); font-stretch: 75%; letter-spacing: -.02em; text-shadow: -1.5px -.5px 0 rgba(0, 160, 227, .55), 1.5px .5px 0 rgba(229, 0, 126, .45); }
.brand__n { font: 400 11px/1 var(--mono); color: var(--muted); margin-left: 4px; white-space: nowrap; }
.bar__act { display: flex; align-items: center; gap: 2px; }
.legal-link { font: 400 10px/1 var(--mono); color: var(--muted); opacity: .6; text-decoration: none; padding: 8px; position: absolute; top: 20px; right: 56px; }
.searchbar { display: flex; align-items: center; gap: 8px; margin: 0 16px 8px; padding: 0 14px; height: 46px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; flex: none; animation: up .25s both; }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 16px var(--sans); color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 14px; flex: none; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: 999px; font: 600 14px/1 var(--sans); white-space: nowrap; transition: background .15s, color .15s;
}
.chip sup { font: 400 10px/1 var(--mono); opacity: .6; vertical-align: 0; }
.chip .ico { width: 16px; height: 16px; }
.chip.on { background: var(--ink); color: var(--paper); }

.grid {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; align-content: start; grid-auto-rows: max-content;
  padding: 4px 16px calc(110px + var(--safe-b));
}
.card {
  display: flex; flex-direction: column; text-align: left; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(21, 20, 18, .08), 0 10px 22px -16px rgba(21, 20, 18, .55);
  animation: cardIn .55s calc(var(--i) * 32ms) cubic-bezier(.2, .8, .2, 1) both;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.nostagger .card { animation: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(22px) rotate(-1.5deg); } }
@media (hover: hover) {
  .card:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 1px 0 rgba(21, 20, 18, .08), 0 22px 30px -18px rgba(21, 20, 18, .6); }
  .card:hover .card__chip svg { transform: translateY(-3px) rotate(4deg); }
}
.card:active { transform: scale(.97); }
.card__chip { position: relative; aspect-ratio: 1 / .92; background: var(--c); display: grid; place-items: center; color: var(--paper); }
.card__chip.light { color: var(--ink); }
.card__chip svg { width: 62%; height: 82%; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.card__no { position: absolute; top: 9px; left: 10px; font: 700 10px/1 var(--mono); letter-spacing: .04em; opacity: .85; }
.card__fav { position: absolute; top: 5px; right: 6px; }
.card__fav .ico { width: 18px; height: 18px; }
.card__label { display: flex; flex-direction: column; gap: 3px; padding: 9px 11px 11px; min-width: 0; }
.card__code { font: 700 9.5px/1 var(--mono); letter-spacing: .05em; }
.card__name { font: italic 400 23px/1.02 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__hex { font: 400 9.5px/1 var(--mono); color: var(--muted); }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; font: italic 400 26px/1.2 var(--serif); color: var(--muted); }

.dice {
  position: fixed; left: 16px; bottom: calc(18px + var(--safe-b)); z-index: 5;
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 700 16px/1 var(--sans);
  box-shadow: 0 12px 26px -12px rgba(21, 20, 18, .8);
}
.dice .ico { width: 24px; height: 24px; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.dice.roll .ico { transform: rotate(360deg) scale(1.15); }
.dice:active { transform: scale(.96); }

/* ---------- colour wipe ---------- */
.wipe { position: fixed; inset: 0; z-index: 25; pointer-events: none; opacity: 0; transition: clip-path .5s cubic-bezier(.7, 0, .2, 1), opacity .25s .45s; }
.wipe.on { opacity: 1; transition: clip-path .5s cubic-bezier(.7, 0, .2, 1); }

/* ---------- recipe ---------- */
.recipe { z-index: 20; background: var(--paper); opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.recipe.in { opacity: 1; transform: none; }
.r-top { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 6px; flex: none; }
.r-code { font: 700 12px/1 var(--mono); letter-spacing: .06em; }
.r-actions { display: flex; }
.fav.on { color: var(--mg); }
.r-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.r-hero {
  position: relative; flex: none; height: clamp(200px, 36svh, 380px); overflow: hidden;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center; border-block: 1.5px solid var(--ink);
}
.blob { position: absolute; left: 50%; top: 47%; width: min(78vw, 92%, calc(clamp(200px, 36svh, 380px) * .86)); aspect-ratio: 1; border-radius: 50%; transform: translate(-46%, -50%); background: var(--c); opacity: .5; animation: blobIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.blob--2 { background: none; border: 1.5px solid var(--ink); opacity: .9; transform: translate(-54%, -53%); animation-delay: .08s; }
@keyframes blobIn { from { opacity: 0; scale: .6; } }
.r-hero .reg { width: 20px; height: 20px; }
.r-hero .reg--tl { top: 10px; left: 12px; } .r-hero .reg--br { bottom: 10px; right: 12px; }
.r-hex { position: absolute; top: 12px; right: 14px; font: 700 11px/1 var(--mono); letter-spacing: .05em; background: var(--c); color: var(--c-ink); padding: 5px 7px; border: 1.5px solid var(--ink); }
.r-glass { position: absolute; inset: 6px 0 34px; }
.r-glass svg, .m-v svg, .m-g svg { display: block; width: 100%; height: 100%; overflow: visible; }
.r-meta { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 14px; font: 400 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.r-meta span { display: inline-flex; align-items: center; gap: 4px; background: var(--paper); padding: 2px 4px; }
.r-meta .ico { width: 14px; height: 14px; }
.r-info { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 10px 16px calc(46px + var(--safe-b)); }
.r-title { flex: none; }
.r-name { margin: 0; font: italic 400 clamp(40px, 12vw, 64px)/.95 var(--serif); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; animation: up .5s .15s both; }
.r-desc { margin: 4px 0 0; color: var(--muted); font-size: 15px; animation: up .5s .22s both; }
.tabs { display: flex; align-items: center; gap: 4px; margin-top: 12px; border-bottom: 1.5px solid var(--ink); flex: none; }
.tab { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; font: 600 14px/1 var(--sans); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1.5px; }
.tab .ico { width: 17px; height: 17px; }
.tab.on { color: var(--ink); border-bottom-color: var(--ink); }
.tabs .units { margin-left: auto; }
.r-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 0 8px; -webkit-overflow-scrolling: touch; }
.ratio { display: flex; height: 18px; border: 1.5px solid var(--ink); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.ratio span { background: var(--c); border-right: 1.5px solid var(--ink); min-width: 3px; transform-origin: left; animation: grow .7s cubic-bezier(.2, .8, .2, 1) both; }
.ratio span:last-child { border-right: 0; }
@keyframes grow { from { transform: scaleX(0); } }
.ings { list-style: none; margin: 0; padding: 0; }
.ings li { display: grid; grid-template-columns: 14px 96px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.dot { width: 13px; height: 13px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); }
.amt { font: 700 13px/1.2 var(--mono); }
.nm { font-size: 15px; line-height: 1.25; }
.tag { font: 400 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; border: 1px solid var(--ink); border-radius: 99px; padding: 3px 6px; white-space: nowrap; }
.garn { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 15px; }
.garn .ico { width: 18px; height: 18px; }
.pal { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 16px; }
.pal__h { width: 100%; font: 700 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.sw { display: flex; flex-direction: column; gap: 4px; font: 400 9.5px/1 var(--mono); transition: transform .15s; }
.sw i { display: block; width: 58px; height: 38px; background: var(--c); border: 1.5px solid var(--ink); border-radius: 3px; }
.sw:active { transform: scale(.94); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 9px 0 9px 36px; border-bottom: 1px dashed var(--line); counter-increment: s; font-size: 15px; line-height: 1.35; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 11px/24px var(--mono); text-align: center; }
.steps li small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.steps li.tip { counter-increment: none; }
.steps li.tip::before { content: '!'; background: var(--c); color: var(--c-ink); border: 1.5px solid var(--ink); line-height: 21px; }
.mixbtn { flex: none; margin: 10px auto 0; }
.mixbtn__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 2px solid var(--paper); }

/* ---------- mix mode ---------- */
.mix { z-index: 30; background: color-mix(in srgb, var(--c) 16%, var(--paper)); opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.mix.in { opacity: 1; transform: none; }
.m-top { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 12px 0 6px; flex: none; }
.m-prog { flex: 1; display: flex; gap: 3px; }
.m-prog i { flex: 1; height: 5px; border-radius: 3px; background: rgba(21, 20, 18, .14); transition: background .3s; }
.m-prog i.done { background: var(--ink); }
.m-prog i.now { background: var(--c); box-shadow: 0 0 0 1.5px var(--ink); }
.m-count { font: 700 12px/1 var(--mono); min-width: 38px; text-align: right; }
.m-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: stretch; justify-content: center; gap: 0; padding: 0 8px 6px; overflow: hidden; }
.m-stage .m-g { width: min(96%, 420px); }
.m-stage.two .m-v, .m-stage.two .m-g { width: min(50%, 340px); }
.m-v { transform-origin: 50% 70%; transition: opacity .6s; }
.m-v.spent { opacity: .3; }
.m-g.frost svg { filter: drop-shadow(0 0 6px rgba(140, 200, 235, .95)) drop-shadow(0 0 2px #fff); }
.m-card {
  flex: none; background: var(--paper); border-top: 1.5px solid var(--ink); border-radius: 22px 22px 0 0;
  padding: 16px 18px calc(44px + var(--safe-b)); box-shadow: 0 -10px 30px -20px rgba(21, 20, 18, .5);
}
.m-copy { min-height: 118px; }
.m-copy.swap { animation: up .35s both; }
.m-amt { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--mono); letter-spacing: .04em; }
.m-amt[style*="--dc"]::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--dc); border: 1.5px solid var(--ink); }
.m-text { margin: 6px 0 4px; font: italic 400 clamp(32px, 9vw, 46px)/1.02 var(--serif); }
.m-sub { margin: 0; color: var(--muted); font-size: 15px; min-height: 1.3em; }
.m-extra { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 400 12px/1 var(--mono); border: 1px solid var(--ink); border-radius: 99px; padding: 6px 10px; }
.pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); border: 1px solid var(--ink); }
.ghost { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; font: 600 14px/1 var(--sans); }
.ghost .ico { width: 18px; height: 18px; }
.m-btns { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.m-back { width: 58px; height: 58px; border: 1.5px solid var(--ink); flex: none; }
.m-go { flex: 1; max-width: none; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -24px; left: var(--x); width: 9px; height: 13px; border: 1px solid var(--ink); animation: fall var(--t) var(--d) cubic-bezier(.3, .2, .6, 1) both; }
.confetti i.circle { border-radius: 50%; width: 11px; height: 11px; }
.confetti i.bar { width: 5px; height: 18px; }
@keyframes fall { to { transform: translateY(105vh) rotate(var(--r)); } }

/* ---------- toast ---------- */
.toast {
  position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 50%; z-index: 60; transform: translate(-50%, -90px);
  background: var(--ink); color: var(--paper); font: 700 13px/1 var(--mono); padding: 12px 16px; border-radius: 999px;
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); pointer-events: none; white-space: nowrap;
}
.toast.on { transform: translate(-50%, 0); }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; padding: 6px 28px 120px; }
  .bar { padding: 0 20px 0 28px; height: 72px; }
  .chips { padding: 2px 28px 18px; }
  .searchbar { margin: 0 28px 10px; max-width: 520px; }
  .dice { left: 28px; bottom: 28px; }
  .r-body { flex-direction: row; }
  .r-hero { flex: 1.15; height: auto; border-block: 0; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
  .blob { width: min(70%, 560px); }
  .r-glass { inset: 40px 30px 60px; }
  .r-meta { bottom: 22px; font-size: 12px; }
  .r-info { flex: 1; max-width: 560px; padding: 22px 34px 34px; border-top: 1.5px solid var(--ink); }
  .r-name { font-size: 76px; }
  .m-stage { padding: 10px 40px; }
  .m-card { width: min(640px, 100%); margin: 0 auto; border: 1.5px solid var(--ink); border-bottom: 0; padding-bottom: 30px; }
}
/* short phones */
@media (max-height: 700px) {
  .r-hero { height: clamp(180px, 32svh, 300px); }
  .r-name { font-size: 42px; }
  .tabs { margin-top: 8px; }
  .m-copy { min-height: 100px; }
  .m-text { font-size: 32px; }
  .intro__in { gap: 6px; padding-top: 48px; }
  .logo { font-size: clamp(74px, 27vw, 150px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
