/* velkadraxezyro.com — ekiben kakegami: the printed paper wrapper of a station lunch box.
   Two inks (indigo + vermilion) on cream paper, a ruled frame, a seal, a cord tied across the box. */

:root {
  --paper: oklch(0.955 0.022 85);
  --kraft: oklch(0.895 0.034 78);
  --ink: oklch(0.32 0.09 265);
  --ink2: oklch(0.44 0.075 265);
  --tint: oklch(0.86 0.032 262);
  --tint2: oklch(0.72 0.06 263);
  --red: oklch(0.545 0.185 34);
  --red-d: oklch(0.50 0.17 33);

  --disp: "Shippori Mincho B1", "Times New Roman", serif;
  --text: "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: 16px;
  --inner: 1256px;
  --sec-pad: 56px;
  --sec-gap: 28px;
  --frame: 2px;       /* outer rule of a wrapper */
  --frame-gap: 5px;   /* hair gap before the inner rule */
  --cord: 5px;
  /* Figma notes, tile hover: 220 ms, ease-out */
  --hover: 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
@media (min-width: 900px) {
  :root { --gut: 56px; --sec-pad: 104px; --sec-gap: 48px; --frame: 3px; --frame-gap: 7px; --cord: 7px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.d { font-family: var(--disp); font-weight: 700; }
.h1 { font-weight: 800; font-size: clamp(2.5rem, 1.43rem + 4.76vw, 5.25rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: clamp(1.875rem, 1.39rem + 2.18vw, 3.25rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.h3 { font-size: clamp(1.3125rem, 1.19rem + 0.5vw, 1.625rem); line-height: 1.2; }
.p { font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.p--lead { font-size: 15px; }
.p--big { font-size: 16px; line-height: 1.55; }
.p--soft { color: var(--ink2); }
.small { font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2); }
.link { font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.link:hover { color: var(--red-d); }
.link--soft { font-weight: 500; color: var(--ink2); }
.p a, .kv a { text-underline-offset: 3px; }
.p a:hover { color: var(--red-d); }
.w-720 { max-width: 720px; } .w-760 { max-width: 760px; } .w-900 { max-width: 900px; }
@media (min-width: 900px) {
  body { font-size: 17px; }
  .p { font-size: 17px; }
  .p--lead { font-size: 18px; }
  .p--big { font-size: 20px; }
  .small { font-size: 13px; }
  .link { font-size: 17px; }
}

/* ---------- world pieces ---------- */
/* kakegami frame: heavy outer rule, a hair gap, a thin inner rule */
.wrap { display: block; border: var(--frame) solid var(--ink); padding: var(--frame-gap); background: var(--paper); }
.wrap-in { display: block; border: 1px solid var(--ink); }
.wrap--tile { width: fit-content; padding: 4px; border-width: 2px; box-shadow: 0 8px 18px -4px oklch(0.32 0.09 265 / 0.16); }
.wrap--tile .wrap-in { border: 0; }
@media (min-width: 900px) { .wrap--tile { padding: 5px; box-shadow: 0 14px 30px -4px oklch(0.32 0.09 265 / 0.16); } }

/* vermilion seal */
.stamp { --s: 96px; display: grid; width: var(--s); height: var(--s); padding: calc(var(--s) * 0.075); background: var(--red); border-radius: calc(var(--s) * 0.05); box-shadow: 0 3px 6px oklch(0.32 0.09 265 / 0.2); color: var(--paper); flex: none; }
.stamp-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--s) * 0.02); border: max(1.5px, calc(var(--s) * 0.022)) solid var(--paper); font-family: var(--disp); font-weight: 800; line-height: 1.18; text-align: center; }
.stamp--n1 .stamp-l0 { font-size: calc(var(--s) * 0.42); }
.stamp--n2 .stamp-l0 { font-size: calc(var(--s) * 0.25); letter-spacing: 0.02em; }
.stamp--n2 .stamp-l1 { font-size: max(12px, calc(var(--s) * 0.13)); letter-spacing: 0.08em; text-transform: uppercase; }

/* the cord tied across the box */
.cord { position: absolute; display: block; background: var(--red); border-radius: 99px; box-shadow: 0 2px 3px oklch(0.32 0.09 265 / 0.22); pointer-events: none; }
.cord::after { content: ""; position: absolute; background: oklch(1 0 0 / 0.35); }
.cord--v { width: var(--cord); }
.cord--v::after { left: calc(50% - 0.75px); top: 0; bottom: 0; width: 1.5px; }
.cord--h { height: var(--cord); }
.cord--h::after { top: calc(50% - 0.75px); left: 0; right: 0; height: 1.5px; }
.knot { position: absolute; pointer-events: none; filter: drop-shadow(0 3px 3px oklch(0.32 0.09 265 / 0.25)); }

/* ---------- masthead + dock ---------- */
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gut); border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 800; font-size: 18px; text-decoration: none; }
.seal-dot { width: 14px; height: 14px; border-radius: 2px; background: var(--red); }
.checked { font-size: 12px; font-weight: 500; color: var(--ink2); }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink2); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-underline-offset: 3px; }
.crumbs a:hover { color: var(--red-d); }
@media (max-width: 899px) {
  .masthead:has(.crumbs) { flex-wrap: wrap; }
  .masthead .crumbs { flex-basis: 100%; }
  .crumbs ol { justify-content: flex-start; }
}
@media (min-width: 900px) {
  .masthead { padding: 22px var(--gut); }
  .brand { font-size: 22px; }
  .seal-dot { width: 18px; height: 18px; }
  .checked, .crumbs ol { font-size: 13px; }
}

/* the chopstick sleeve (hashi-bukuro), fixed to the bottom of the screen */
.dock { position: fixed; z-index: 40; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; filter: drop-shadow(0 8px 12px oklch(0.32 0.09 265 / 0.28)); }
.dock-body { background: var(--ink); padding: 5px; }
.dock-print { display: flex; align-items: center; gap: 18px; padding: 10px 16px 10px 12px; border: 1px solid oklch(0.955 0.022 85 / 0.45); }
.dock-seal { display: block; text-decoration: none; }
.dock-seal .stamp { --s: 28px; box-shadow: none; }
.dock ul { display: flex; gap: 18px; }
.dock ul a { display: grid; justify-items: center; gap: 5px; color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.dock ul a::after { content: ""; width: 22px; height: 3px; background: transparent; }
.dock ul a[aria-current]::after { background: var(--red); }
.dock ul a[aria-current] { font-weight: 700; }
.dock ul a:hover::after { background: var(--tint2); }
.dock-end { width: 30px; height: 54px; background: linear-gradient(var(--ink), var(--ink)); clip-path: polygon(0 0, 100% 0, 0 100%); position: relative; }
.dock-end::after { content: ""; position: absolute; inset: 0; background: var(--tint2); clip-path: polygon(0 20%, 55% 20%, 0 75%); }
@media (min-width: 900px) {
  .dock-print { gap: 34px; padding: 14px 30px 14px 20px; }
  .dock-seal .stamp { --s: 34px; }
  .dock ul { gap: 34px; }
  .dock ul a { font-size: 16px; }
  .dock-end { width: 36px; height: 66px; }
}

/* ---------- sections ---------- */
.sec { position: relative; overflow: hidden; background: var(--paper); padding: var(--sec-pad) var(--gut); }
.sec > .in { position: relative; z-index: 1; max-width: var(--inner); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sec-gap); }
.sec--kraft { background: var(--kraft); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--rule { border-top: 1px solid var(--ink); }
.head { display: grid; gap: 12px; max-width: 640px; }
@media (min-width: 900px) { .head { gap: 18px; } }
.split { gap: 20px !important; }
.split-l { display: grid; gap: 22px; align-content: start; }
.split-r { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 520px) minmax(0, 600px) !important; gap: 96px !important; }
  .split--faq { grid-template-columns: minmax(0, 400px) minmax(0, 1fr) !important; }
}

/* ---------- hero: the wrapper tied over the opened box ---------- */
.hero { --p: 0; position: relative; overflow: hidden; padding: 18px var(--gut) 8px; }
.hero-lid { position: relative; z-index: 2; max-width: var(--inner); margin-inline: auto; transform: translateY(calc(var(--p) * -24px)); }
.hero-print { box-shadow: 0 8px 18px -4px oklch(0.32 0.09 265 / 0.22); padding: 4px; border-width: 2px; }
.hero-print .wrap-in { border: 0; }
.landscape { width: 100%; height: 236px; object-fit: cover; object-position: 40% center; }
.cartouche { position: relative; z-index: 1; width: min(286px, 88%); margin-top: -44px; box-shadow: 0 8px 18px -4px oklch(0.32 0.09 265 / 0.2); }
.cartouche .wrap-in { display: grid; gap: 14px; padding: 22px 18px 24px; }
.h1--hero { font-size: 40px; text-wrap: wrap; }
.cta { display: inline-flex; align-items: center; gap: 12px; padding-top: 6px; font-size: 15px; font-weight: 700; text-underline-offset: 3px; }
.cta i { width: 28px; height: 3px; background: var(--red); }
.cta:hover { color: var(--red-d); }
/* mobile: the seal sits on the print's top-right corner (x = W-144, y = 34 in the mockup); the cartouche starts 204px below the lid */
.hero-stamp { --s: 96px; position: absolute; left: calc(100vw - 2 * var(--gut) - 128px); top: -188px; transform: rotate(7deg); z-index: 3; }
.box { position: relative; z-index: 1; max-width: var(--inner); margin: 20px auto 0; background: var(--kraft); border: 2px solid var(--ink); padding: 12px; }
.comps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.comp { position: relative; }
.comp > a { display: grid; gap: 6px; justify-items: center; align-content: start; height: 100%; padding: 6px 6px 8px; background: var(--paper); border: 1px solid var(--ink); text-decoration: none; text-align: center; }
.comp .cover { width: 100%; aspect-ratio: 1; object-fit: cover; }
.comp-t { font-size: 12px; line-height: 1.15; }
.comp-g { display: none; }
.comp > a:hover .comp-t { text-decoration: underline; text-underline-offset: 3px; }
/* mobile cord: one vertical run near the right edge, knot on it */
.hero > .cord--v { right: 37px; top: 0; bottom: 0; z-index: 3; }
.hero > .knot { right: 5px; top: 225px; width: 72px; height: 54px; z-index: 4; }
.comp .cord, .comp .knot, .box > .cord--h { display: none; }

@media (min-width: 900px) {
  .hero { padding: 36px var(--gut) 0; max-height: 940px; }
  .hero-print { padding: var(--frame-gap); border-width: var(--frame); box-shadow: 0 14px 30px -4px oklch(0.32 0.09 265 / 0.22); }
  .hero-print .wrap-in { border: 1px solid var(--ink); padding: 6px; }
  .landscape { height: 520px; object-position: right center; }
  .cartouche { position: absolute; left: 48px; top: 34px; width: min(770px, 64%); margin: 0; box-shadow: 0 14px 30px -4px oklch(0.32 0.09 265 / 0.2); }
  .cartouche .wrap-in { gap: 20px; padding: 36px 40px 40px; }
  .h1--hero { font-size: clamp(44px, 4.8vw, 66px); }
  .cartouche .p--lead { font-size: 18px; line-height: 1.55; }
  .cta { font-size: 17px; }
  .hero-stamp { --s: 140px; left: auto; right: -66px; top: -30px; }
  .box { margin-top: -10px; padding: 92px 22px 24px; box-shadow: 0 14px 30px -4px oklch(0.32 0.09 265 / 0.18); }
  .comps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .comp > a { gap: 10px; padding: 12px 12px 14px; }
  .comp-t { font-size: clamp(14px, 1.3vw, 18px); }
  .comp-g { display: block; }
  .hero > .cord--v, .hero > .knot { display: none; }
  .comp .cord, .comp .knot, .box > .cord--h { display: block; }
  .box > .cord--h { left: -100vw; right: -100vw; top: 58px; z-index: 3; }
  .comp .cord--v { left: -9px; top: -674px; bottom: -400px; z-index: 3; }
  .comp .knot { left: -68px; top: -76px; width: 132px; height: 99px; z-index: 4; }
}
/* scroll-driven reveal (Figma notes): the cord unties, the wrapper lifts off the box */
.hero .cord--h { transform: translateX(calc(var(--p) * 70vw)); opacity: calc(1 - var(--p)); }
.hero .cord--v { transform: translateY(calc(var(--p) * -55%)); opacity: calc(1 - var(--p)); }
.hero .knot { transform: rotate(calc(var(--p) * 25deg)) scale(calc(1 - var(--p) * 0.3)); opacity: calc(1 - var(--p) * 1.4); }

/* ---------- N: line with dated stops ---------- */
.line { position: relative; display: grid; gap: 22px; padding-left: 30px; }
.line::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 4px; background: var(--ink); }
.stop { position: relative; display: grid; gap: 4px; }
.stop i { position: absolute; left: -30px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.stop.is-last i { background: var(--red); }
.stop-date { font-size: 18px; line-height: 1.2; }
.stop-text { font-size: 14px; line-height: 1.5; }
@media (min-width: 900px) {
  .line { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 0; }
  .line::before { left: 0; right: 0; top: 58px; bottom: auto; width: auto; height: 30px;
    background:
      linear-gradient(var(--ink), var(--ink)) 0 7px / 100% 4px no-repeat,
      linear-gradient(var(--ink), var(--ink)) 0 19px / 100% 4px no-repeat,
      repeating-linear-gradient(90deg, transparent 0 6px, var(--tint2) 6px 14px, transparent 14px 22px) 0 3px / 100% 24px no-repeat; }
  .stop { display: block; padding: 8px 32px 0 0; }
  .stop-date { font-size: 22px; min-height: 52px; }
  .stop i { position: relative; left: 0; top: 0; display: block; width: 26px; height: 26px; border-width: 4px; margin: 0 0 24px; }
  .stop-text { font-size: 15px; }
}

/* ---------- G: contents list of game rows ---------- */
.list-wrap { box-shadow: 0 8px 18px -4px oklch(0.32 0.09 265 / 0.14); }
.list-wrap .wrap-in { padding: 4px 14px 8px; }
.grow { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.grow-cover { position: relative; width: 64px; height: 64px; flex: none; }
.grow-cover .cover { width: 100%; height: 100%; object-fit: cover; transition: transform var(--hover), box-shadow var(--hover); }
.grow-cover .cord { left: 43px; top: -14px; height: calc(100% + 28px); opacity: 0; transform: scaleY(0); transform-origin: top; transition: opacity var(--hover), transform var(--hover); }
.grow-text { flex: 1; min-width: 0; display: grid; gap: 6px; }
.grow-line { display: grid; gap: 2px; }
.grow-t { font-size: 20px; line-height: 1.1; text-decoration: none; text-underline-offset: 4px; }
.grow-t::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.leader { display: none; }
.grow-one { font-size: 14px; color: var(--ink2); line-height: 1.55; }
.grow-more { display: none; }
.grow:hover .grow-cover .cover, .grow:focus-within .grow-cover .cover { transform: translateY(-6px) rotate(5deg); box-shadow: 0 10px 16px -2px oklch(0.32 0.09 265 / 0.3); }
.grow:hover .grow-cover .cord, .grow:focus-within .grow-cover .cord { opacity: 1; transform: scaleY(1); }
.grow:hover .grow-t, .grow:focus-within .grow-t { text-decoration: underline; }
.grow:hover .leader, .grow:focus-within .leader { color: var(--red); }
.grow:hover .grow-g, .grow:focus-within .grow-g, .grow:hover .grow-more, .grow:focus-within .grow-more { color: var(--red-d); }
.grow-t:focus-visible { outline: none; }
.grow:has(.grow-t:focus-visible) { outline: 2px solid var(--red); outline-offset: 4px; }
.g-stamp { display: none; }
@media (min-width: 900px) {
  .list-wrap { box-shadow: 0 14px 30px -4px oklch(0.32 0.09 265 / 0.14); }
  .list-wrap .wrap-in { padding: 8px 36px 16px; }
  .grow { gap: 28px; padding: 22px 8px; }
  .grow-cover { width: 104px; height: 104px; }
  .grow-cover .cord { left: 70px; }
  .grow-line { display: flex; align-items: flex-end; gap: 14px; }
  .grow-t { font-size: 34px; }
  .leader { display: block; flex: 1; height: 10px; margin-bottom: 6px; color: var(--tint2); background: radial-gradient(circle, currentColor 1.1px, transparent 1.4px) left bottom / 9px 3px repeat-x; transition: color var(--hover); }
  .grow-g { margin-bottom: 3px; transition: color var(--hover); }
  .grow-one { font-size: 16px; }
  .grow-more { display: block; flex: none; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: color var(--hover); }
  .g-stamp { --s: 120px; display: grid; position: absolute; right: calc(var(--gut) + 30px); top: 90px; transform: rotate(-6deg); z-index: 2; }
}

/* ---------- A: about, with a printed mountain behind ---------- */
.bg-mountain { position: absolute; right: 0; bottom: 0; width: min(620px, 80%); height: auto; fill: var(--tint); fill-opacity: 0.55; }

/* ---------- D: moods as chopstick sleeves ---------- */
.sec--ink .h2, .sec--ink .p { color: var(--paper); }
.sleeves { display: grid; gap: 16px; padding: 16px 8px; }
.sleeve { display: grid; color: var(--ink); }
.sleeve-end { height: 26px; background: var(--paper); clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.sleeve-body { background: var(--paper); padding: 6px; }
.sleeve--kraft .sleeve-end, .sleeve--kraft .sleeve-body { background: var(--kraft); }
.sleeve-print { display: grid; gap: 12px; border: 1px solid var(--ink); padding: 16px 14px 18px; }
.sleeve-print .p { color: var(--ink); font-size: 14px; }
.sleeve-t { font-weight: 800; font-size: 22px; line-height: 1.1; }
.sleeve ul { display: grid; gap: 6px; padding-top: 6px; }
.sleeve .link { font-size: 14px; }
@media (min-width: 900px) {
  .sleeves { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .sleeve { transform: rotate(var(--r)); }
  .sleeve-end { height: 40px; }
  .sleeve-print { padding: 26px 22px 30px; }
  .sleeve-print .p { font-size: 15px; }
  .sleeve-t { font-size: 30px; }
  .sleeve .link { font-size: 16px; }
}

/* ---------- Y: lids ---------- */
.streaks { position: absolute; right: 0; top: 0; width: 45%; height: auto; fill: var(--tint); display: none; }
.lids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; padding: 10px 0; }
.lid a { display: grid; gap: 12px; text-decoration: none; }
.lid:nth-child(even) a { padding-top: 24px; }
.lid .wrap--tile { width: 100%; }
.lid .cover { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lid-t { font-size: 14px; line-height: 1.2; }
.lid a:hover .lid-t { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .streaks { display: block; }
  .lids { display: flex; align-items: flex-start; gap: 22px; }
  .lid { width: calc(var(--s) + 16px); flex: 0 1 auto; }
  .lid a, .lid:nth-child(even) a { padding-top: var(--drop); }
  .lid .wrap--tile { transform: rotate(var(--r)); transition: transform var(--hover); }
  .lid a:hover .wrap--tile { transform: rotate(0deg) translateY(-6px); }
  .lid-t { font-size: 17px; }
}

/* ---------- K: contact office ---------- */
.office .wrap-in { display: grid; gap: 24px; padding: 24px 18px; }
.office-l { display: grid; gap: 16px; align-content: start; }
.office-r { display: grid; gap: 18px; align-content: start; }
.big-mail { font-size: 19px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.big-mail:hover { color: var(--red-d); }
.kv { display: grid; }
.row-kv { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--ink); }
.row-kv dd { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.k-stamp { --s: 60px; position: absolute; right: calc(var(--gut) - 8px); top: 36px; transform: rotate(-8deg); z-index: 2; }
@media (min-width: 900px) {
  .office .wrap-in { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 80px; padding: 56px 64px; }
  .big-mail { font-size: 28px; }
  .row-kv { grid-template-columns: 150px 1fr; }
  .row-kv dd { font-size: 16px; }
  .k-stamp { --s: 96px; right: calc(var(--gut) - 28px); top: 70px; }
}

/* ---------- F: questions ---------- */
.qs { gap: 0 !important; }
.q { display: grid; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--ink); }
.q-t { display: flex; gap: 14px; font-size: 18px; }
.q-t i { width: 12px; height: 12px; border-radius: 1px; background: var(--red); flex: none; margin-top: 0.3em; }
.q .p { font-size: 14px; }
@media (min-width: 900px) { .q { padding: 24px 0; } .q-t { font-size: 22px; } .q .p { font-size: 16px; } }

/* ---------- footer: maker's name across the back of the wrapper ---------- */
.footer { background: var(--kraft); border-top: 3px solid var(--ink); padding: 40px var(--gut) 120px; }  /* bottom room for the fixed dock */
.footer-in { max-width: var(--inner); margin-inline: auto; display: grid; gap: 28px; container-type: inline-size; }
.footer-cols { display: grid; gap: 24px; }
.footer-about { display: grid; gap: 10px; max-width: 420px; }
.footer-about .p { font-size: 14px; }
.footer-about .link { font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px 28px; }
.footer-links > div { display: grid; gap: 8px; align-content: start; }
.footer-links ul { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.footer-links a, .linkish { text-decoration: none; font-size: 14px; font-weight: 500; }
.footer-links a:hover, .linkish:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--red-d); }
.footer-links .social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); transition: background .2s, color .2s; }
.social a:hover { background: var(--ink); color: var(--kraft); }
.linkish { background: none; border: 0; padding: 0; text-align: left; }
.wordmark { font-family: var(--disp); font-weight: 800; font-size: 9.1cqw; line-height: 0.88; letter-spacing: -0.01em; text-align: center; white-space: nowrap; }
.footer-base { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--ink); font-size: 13px; color: var(--ink2); }
@media (min-width: 900px) {
  .footer { padding: 72px var(--gut) 136px; }
  .footer-in { gap: 48px; }
  .footer-cols { grid-template-columns: minmax(0, 420px) auto; gap: 56px; }
  .footer-about .p, .footer-about .link { font-size: 16px; }
  .footer-links { gap: 56px; flex-wrap: nowrap; }
  .footer-links ul, .footer-links a, .linkish { font-size: 15px; }
  .footer-base { display: flex; justify-content: space-between; gap: 24px; }
}

/* ---------- games: one wrapper per screen ---------- */
.intro { padding-top: 36px; padding-bottom: 20px; }
.intro > .in { gap: 18px; }
.box-screen { padding: 40px var(--gut); }
.box-row { gap: 24px !important; align-items: center; }
.box-cover { --p: 0; position: relative; display: block; width: fit-content; max-width: 100%; padding: 10px 0; }
.box-cover .wrap--tile { width: 100%; transform: rotate(0deg) translateX(calc(var(--p) * 10px)); transition: translate var(--hover); }
.box-cover .cover { width: 100%; aspect-ratio: 1; object-fit: cover; }
.box-cover .cord { left: 72%; top: 0; bottom: 0; transform: translateY(calc(var(--p) * -70%)); opacity: calc(1 - var(--p)); }
.box-cover:hover .wrap--tile { translate: 16px 0; }
.genre-stamp { --s: 84px; position: absolute; left: 0; top: -6px; transform: rotate(8deg); z-index: 2; }
.genre-stamp .stamp-l0 { font-size: 13px; letter-spacing: 0; }
.box-text { display: grid; gap: 14px; }
.wtitle { font-weight: 500; font-size: 17px; line-height: 1.2; color: var(--red-d); }
.h2--game { font-size: clamp(34px, 3.4vw + 10px, 64px); }
.h2--game a { text-decoration: none; }
.h2--game a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (min-width: 900px) {
  .intro { padding-top: 80px; padding-bottom: 40px; }
  .box-screen { padding: 96px calc(var(--gut) + 24px); }
  .box-row { grid-template-columns: minmax(0, 520px) minmax(0, 580px) !important; gap: clamp(40px, 6vw, 88px) !important; }
  .box-cover .wrap--tile { transform: rotate(var(--r)) translateX(calc(var(--p) * 10px)); }
  .genre-stamp { --s: 116px; left: -24px; top: -20px; }
  .genre-stamp .stamp-l0 { font-size: 16px; }
  .box-text { gap: 22px; }
  .wtitle { font-size: 22px; }
}

/* contents band (o-shinagaki) */
.band { border: 2px solid var(--ink); background: var(--paper); display: grid; }
.band-label { background: var(--red); color: var(--paper); font-weight: 800; font-size: 18px; line-height: 1.1; padding: 10px 14px; display: flex; align-items: center; }
.band-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cell { display: grid; gap: 4px; align-content: start; padding: 10px 12px; border-top: 1px solid var(--ink); }
.cell:nth-child(odd) { border-right: 1px solid var(--ink); }
.cell:nth-child(-n+2) { border-top: 0; }
.cell dt { font-size: 12px; }
.cell dd { font-size: 14px; font-weight: 500; line-height: 1.4; }
@media (min-width: 900px) {
  .band:not(.band--stack) { grid-template-columns: 150px 1fr; }
  .band:not(.band--stack) .band-label { justify-content: center; }
  .band:not(.band--stack) .band-cells { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .band:not(.band--stack) .cell { border-right: 1px solid var(--ink); }
  .band:not(.band--stack) .cell:nth-child(4n) { border-right: 0; }
  .band:not(.band--stack) .cell:nth-child(-n+4) { border-top: 0; }
  .band-label { font-size: 22px; padding: 18px 22px; }
  .cell { padding: 16px 20px; }
  .cell dd { font-size: 16px; }
}

/* ---------- game page ---------- */
.guide-top { padding-top: 28px; padding-bottom: 24px; }
.guide-row { gap: 20px !important; }
.guide-title { display: grid; gap: 12px; }
.wtitle { margin: 0; }
.h1--game { font-size: clamp(44px, 5.4vw + 10px, 92px); }
.guide-cover { --p: 0; position: relative; width: 100%; padding: 10px 0; }
.guide-cover .wrap--tile { width: 100%; box-shadow: 0 14px 30px -4px oklch(0.32 0.09 265 / 0.22); }
.guide-cover .cover { width: 100%; aspect-ratio: 1; object-fit: cover; }
.guide-cover .cord { left: 30%; top: 0; bottom: 0; transform: translateY(calc(var(--p) * -70%)); opacity: calc(1 - var(--p)); }
.facts { padding-top: 0; padding-bottom: 8px; }
.column { max-width: calc(720px + 2 * var(--gut)); margin: 0 auto; padding: 16px var(--gut) 48px; display: grid; gap: 40px; }
.blk { display: grid; gap: 12px; }
.h2--blk { font-size: clamp(26px, 1.6vw + 20px, 40px); }
.keys { border: 2px solid var(--ink); }
.key-row { display: flex; align-items: center; gap: 16px; padding: 10px 12px; }
.key-row + .key-row { border-top: 1px solid var(--ink); }
.keycap { flex: none; width: 110px; padding: 6px 10px; background: var(--kraft); border: 1.5px solid var(--ink); border-radius: 2px; font-family: var(--disp); font-weight: 700; font-size: 13px; line-height: 1.25; }
.key-row span { font-size: 14px; }
.marks { display: grid; gap: 12px; }
.marks li { display: flex; gap: 14px; }
.marks i { width: 10px; height: 10px; border-radius: 1px; background: var(--red); flex: none; margin-top: 8px; }
.marks--dash i { width: 14px; height: 2px; border-radius: 0; background: var(--ink); margin-top: 11px; }
.marks--inline li { align-items: center; font-size: 15px; }
.marks--inline i { margin-top: 0; }
.similar { display: grid; gap: 16px; }
.similar li { display: flex; align-items: center; gap: 16px; }
.similar img { width: 56px; height: 56px; object-fit: cover; }
.similar li > div { display: grid; gap: 4px; }
.similar .p { font-size: 14px; }
.where .wrap-in { display: grid; gap: 8px; padding: 16px 14px; }
.where .h3 { font-size: 18px; }
.where .p, .where .link { font-size: 14px; }
@media (min-width: 900px) {
  .guide-top { padding-top: 72px; padding-bottom: 48px; }
  .guide-row { grid-template-columns: minmax(0, 800px) 360px !important; gap: 72px !important; align-items: center; justify-content: space-between; }
  .guide-title { gap: 20px; }
  .guide-cover .wrap--tile { transform: rotate(-2deg); }
  .facts { padding-bottom: 16px; }
  .column { padding: 40px 0 96px; gap: 64px; }
  .blk { gap: 18px; }
  .key-row { padding: 14px 18px; }
  .keycap { width: 200px; font-size: 16px; }
  .key-row span { font-size: 16px; }
  .marks i { margin-top: 10px; }
  .marks--dash i { margin-top: 14px; }
  .similar img { width: 72px; height: 72px; }
  .similar .link { font-size: 18px; }
  .similar .p { font-size: 15px; }
  .where .wrap-in { padding: 22px 26px; }
  .where .h3 { font-size: 22px; }
  .where .p, .where .link { font-size: 15px; }
}

/* ---------- about + legal: clauses ---------- */
.about-stamp { display: none; }
.clauses { padding-top: 16px; padding-bottom: 40px; }
.clauses > .in { gap: 0; }
.clause { display: grid; gap: 10px; padding: 24px 0; border-top: 1px solid var(--ink); }
.clause .h3 { font-size: 18px; }
.clause-body { display: grid; gap: 12px; }
.clause-body .p { font-size: 14px; }
.office-a { display: grid; gap: 18px; padding: 22px 16px; }
.kv--about .row-kv { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
.kv--about dd { font-size: 15px; }
.summary { background: var(--kraft); max-width: 860px; }
.summary .wrap-in { padding: 14px; }
.intro--legal > .in { gap: 18px; }
@media (min-width: 900px) {
  .intro:has(.about-stamp) { padding-bottom: 56px; }
  .about-stamp { --s: 150px; display: grid; position: absolute; right: calc(var(--gut) + 20px); top: 70px; transform: rotate(-7deg); z-index: 2; }
  .clauses { padding-top: 24px; padding-bottom: 80px; }
  .clause { grid-template-columns: minmax(0, 360px) minmax(0, 720px); gap: 64px; padding: 32px 0; }
  .clause .h3 { font-size: 22px; }
  .clause-body .p { font-size: 16px; }
  .office-a { padding: 48px 56px; }
  .kv--about .row-kv { grid-template-columns: 220px 1fr; gap: 16px; }
  .kv--about dd { font-size: 17px; }
  .summary .wrap-in { padding: 24px 28px; }
}
.sec--kraft .wrap { background: var(--paper); }
.sec--kraft .summary, .intro .summary { background: var(--kraft); }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 100px; max-width: 500px; margin-left: auto; filter: drop-shadow(0 12px 24px oklch(0.32 0.09 265 / 0.25)); }
.cookie[hidden] { display: none; }
.cookie .wrap { padding: 5px; border-width: 2px; }
.cookie-in { display: grid; gap: 14px; padding: 18px 16px; }
.cookie .h3 { font-size: 20px; max-width: calc(100% - 50px); }
.cookie .p { font-size: 14px; }
.cookie-acts { display: flex; gap: 10px; }
.btn { flex: 1; padding: 12px 10px; background: var(--paper); border: 2px solid var(--ink); font-size: 14px; font-weight: 700; }
.btn:hover { background: var(--kraft); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink2); }
.cookie .link { font-size: 14px; }
.cookie-manage { display: grid; gap: 10px; padding: 12px; background: var(--kraft); border: 1px solid var(--ink); }
.cookie-manage[hidden] { display: none; }
.cookie-opt { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.cookie-opt input { width: 18px; height: 18px; accent-color: var(--red); }
.cookie-manage .btn { flex: none; }
.cookie-stamp { --s: 44px; position: absolute; right: 18px; top: 16px; transform: rotate(-8deg); }
@media (min-width: 900px) {
  .cookie { right: 24px; left: auto; width: 500px; bottom: 120px; }
  .cookie .wrap { padding: 7px; border-width: 3px; }
  .cookie-in { padding: 26px 26px 24px; }
  .cookie .h3 { font-size: 24px; max-width: 360px; }
  .cookie .p { font-size: 15px; }
  .btn { font-size: 15px; padding: 13px 10px; }
  .cookie-stamp { --s: 58px; right: 20px; top: 22px; }
}

/* reduced motion (Figma notes): cord untied, wrappers in their final position, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .hero, [data-reveal] { --p: 1 !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
