/* Side Quest - Mangas und mehr
   Manga pages: ink black, washi paper, sakura pink, Questi's fox orange,
   the logo's rainbow as an accent. Self-hosted fonts (OFL). No JavaScript. */

@font-face {
  font-family: "Dela Gothic One";
  src: url("../fonts/dela-gothic-one-latin.571602cd8f70.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.166202cc391c.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

/* Japanese: subsets with only the characters the site uses
   (scripts/subset_fonts.py). The unicode-range means pages without Japanese
   characters never download them. */
@font-face {
  font-family: "Dela Gothic One";
  src: url("../fonts/dela-gothic-one-ja.f98f30e3cdfb.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+3000-30FF, U+3400-9FFF, U+FF00-FFEF;
}
@font-face {
  font-family: "Zen Maru Gothic";
  src: url("../fonts/zen-maru-gothic-ja-400.a832dabd3485.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+3000-30FF, U+3400-9FFF, U+FF00-FFEF;
}
@font-face {
  font-family: "Zen Maru Gothic";
  src: url("../fonts/zen-maru-gothic-ja-700.0a32cf8dbd83.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
  unicode-range: U+3000-30FF, U+3400-9FFF, U+FF00-FFEF;
}

:root {
  --ink: #0b0a0f;
  --ink-2: #17151d;
  --paper: #f7efe2;
  --paper-2: #efe3cf;
  --white: #fffdf8;
  --sakura: #ff8fbf;
  --sakura-deep: #e8558f;
  --fox: #f5891f;
  --fox-deep: #d96d05;
  --scarf: #3f6b2c;
  --todo: #ffe14d;
  --rainbow: linear-gradient(90deg, #ffd21f, #ff7a1a, #ff2e7e, #b23cff, #3a6bff, #19d3ff);
  --font-display: "Dela Gothic One", "Zen Maru Gothic", "Arial Black", system-ui, sans-serif;
  --font-body: "Nunito", "Zen Maru Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--ink);
  background: var(--ink);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 400; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--fox); color: var(--ink); padding: .6rem 1rem; border: var(--line); font-weight: 800;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--sakura); outline-offset: 3px; }

mark.todo {
  background: var(--todo); color: var(--ink); padding: .05em .35em; border-radius: 4px;
  font-weight: 800; font-size: .9em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* Japanese pages: break lines between phrases, not inside words; a bit more
   line height, no letter-spacing on uppercase-style kickers (no case in Japanese). */
:lang(ja) { line-break: strict; word-break: auto-phrase; overflow-wrap: anywhere; }
html:lang(ja) body { line-height: 1.85; }
html:lang(ja) .kicker, html:lang(ja) .quest__num { letter-spacing: .06em; }
html:lang(ja) .hero__title-a { line-height: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 15, .92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid transparent;
  border-image: var(--rainbow) 1;
  color: var(--white);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; transition: transform .4s; }
.brand:hover .brand__logo { transform: rotate(-12deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em; }
.brand__sub { font-size: .8rem; font-weight: 700; color: var(--sakura); letter-spacing: .08em; text-transform: uppercase; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a {
  display: block; padding: .45rem .75rem; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: .95rem;
}
.nav a:hover { background: var(--white); color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav--main { display: none; }
  .nav-toggle { display: block; position: relative; }
  .nav-toggle summary {
    list-style: none; cursor: pointer; font-weight: 800; padding: .5rem .9rem;
    border: 2px solid var(--white); border-radius: 999px; display: flex; gap: .5rem; align-items: center; white-space: nowrap;
  }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle .nav {
    position: absolute; right: 0; top: calc(100% + .6rem); background: var(--white); color: var(--ink);
    border: var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: .5rem; min-width: 220px;
  }
  .nav-toggle .nav ul { flex-direction: column; }
  .nav-toggle .nav a:hover { background: var(--sakura); }
}

/* ---------- Shared bits ---------- */
.kicker {
  display: inline-block; margin: 0 0 .8rem; padding: .2rem .7rem;
  font-weight: 900; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: var(--white); border-radius: 4px; transform: rotate(-1.5deg);
}
.kicker--sakura { background: var(--sakura); color: var(--ink); }
.title { font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 1rem; }
.title--underline { display: inline-block; position: relative; padding-bottom: .35rem; }
.title--underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-radius: 3px; background: var(--rainbow);
}

.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.35rem;
  font-weight: 900; text-decoration: none; border: var(--line); border-radius: 999px;
  transition: transform .15s, box-shadow .15s;
}
.btn--fox { background: var(--fox); color: var(--ink); box-shadow: 4px 4px 0 var(--sakura); border-color: var(--ink); }
.btn--fox:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sakura); }
.btn--ghost { color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Speech bubble, manga style: thick outline, tail pointing to the speaker. */
.bubble {
  position: absolute; max-width: 16rem; padding: .8rem 1.1rem;
  background: var(--white); color: var(--ink); border: var(--line); border-radius: 24px;
  font-weight: 800; line-height: 1.35; box-shadow: 4px 4px 0 var(--ink);
}
/* The tail: a triangle whose base sits on the bottom edge of the bubble (its
   white fill covers that bit of the border, so the outline runs on without a
   break) and whose tip points down at the speaker. Drawn as SVG so the two
   outer sides get the same 3px ink line as the box. --left mirrors it. */
.bubble::after {
  content: ""; position: absolute; top: calc(100% - 3px); left: var(--tail-x, 55%);
  width: var(--tail-w, 64px); height: var(--tail-h, 48px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48' preserveAspectRatio='none'%3E%3Cpath d='M2 0 L62 46 L28 0' fill='%23fffdf8' stroke='%230b0a0f' stroke-width='3' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
.bubble--left::after { left: auto; right: var(--tail-x, 55%); transform: scaleX(-1); }

/* Screentone: the dot raster of printed manga. */
.section--paper {
  background:
    radial-gradient(circle, rgba(11, 10, 15, .07) 1.2px, transparent 1.6px) 0 0 / 9px 9px,
    var(--paper);
}
.section--ink { background: var(--ink); color: var(--white); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section__head { max-width: 46rem; margin-bottom: 2.5rem; }
.section__intro { font-size: 1.15rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #000; color: var(--white); padding: 3rem 0 6rem; }
.hero__branch {
  position: absolute; top: -9%; left: -8%; width: min(640px, 62vw); opacity: .95; pointer-events: none;
  filter: drop-shadow(0 10px 30px rgba(255, 120, 180, .18));
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center;
  min-height: min(78vh, 760px);
}
.hero__text { padding-top: clamp(7rem, 15vw, 10rem); }
.hero__title { font-family: var(--font-display); display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.hero__title-a {
  font-size: clamp(3.4rem, 9vw, 6.6rem); line-height: .95;
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(4px 4px 0 rgba(255, 255, 255, .12));
}
.hero__title-b { font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--sakura); margin-top: .3rem; }
.hero__motto {
  font-weight: 900; font-size: 1.25rem; border-left: 5px solid var(--fox); padding-left: .9rem; margin-bottom: 1rem;
}
.hero__lead { font-size: 1.1rem; color: #ddd6e3; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__art { position: relative; margin: 0; }
.hero__art img {
  position: relative; width: 100%;
  /* The picture is on black like the hero: fade all four edges into it. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(0deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(0deg, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
/* "Questi starts talking": 2.1 s after the page is shown the open-mouth picture
   (pixel-identical apart from the mouth) and the bubble appear at the same moment. */
.hero__questi { position: relative; }
.hero__art .hero__talk { position: absolute; inset: 0; opacity: 0; animation: talk-show .12s ease-out 2.1s forwards; }
.hero__art .bubble { opacity: 0; animation: bubble-pop .35s cubic-bezier(.3, 1.6, .5, 1) 2.1s forwards; transform-origin: 70% 100%; }
@keyframes talk-show { to { opacity: 1; } }
@keyframes bubble-pop {
  from { opacity: 0; transform: rotate(-3deg) scale(.4); }
  to { opacity: 1; transform: rotate(-3deg) scale(1); }
}
.hero__art .bubble { left: -1rem; top: 8%; transform: rotate(-3deg); --tail-x: 58%; --tail-w: 96px; --tail-h: 74px; }
.speedlines {
  position: absolute; inset: -12%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 143, 191, .16) 0 2deg, transparent 2deg 9deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 35%, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, transparent 35%, #000 70%, transparent 100%);
  animation: spin 120s linear infinite;
}
.hero__waves {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 48px;
  background:
    radial-gradient(circle at 50% 100%, var(--paper) 0 22px, transparent 23px) 0 100% / 60px 48px repeat-x;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Falling petals, pure CSS. Off for people who prefer less motion. */
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -60px; width: 28px; opacity: .9; animation: fall linear infinite; }
.petal--1 { left: 8%;  animation-duration: 13s; animation-delay: -2s; }
.petal--2 { left: 22%; animation-duration: 17s; animation-delay: -9s; width: 22px; }
.petal--3 { left: 37%; animation-duration: 15s; animation-delay: -5s; }
.petal--4 { left: 51%; animation-duration: 19s; animation-delay: -12s; width: 20px; }
.petal--5 { left: 64%; animation-duration: 14s; animation-delay: -7s; width: 34px; }
.petal--6 { left: 76%; animation-duration: 18s; animation-delay: -1s; width: 24px; }
.petal--7 { left: 88%; animation-duration: 16s; animation-delay: -10s; }
.petal--8 { left: 96%; animation-duration: 21s; animation-delay: -4s; width: 18px; }
@keyframes fall {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(-40px, 25vh) rotate(90deg); }
  50%  { transform: translate(30px, 50vh) rotate(200deg); }
  75%  { transform: translate(-25px, 75vh) rotate(280deg); }
  100% { transform: translate(20px, 105vh) rotate(380deg); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .petal, .speedlines { animation: none; }
  .hero__art .hero__talk, .hero__art .bubble { animation: none; opacity: 1; }
  .petal { display: none; }
}

/* ---------- Quests ---------- */
.quests {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem;
}
.quest {
  position: relative; overflow: hidden; background: var(--white); border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem 1.5rem 1.2rem; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.quest:nth-child(3n+1) { transform: rotate(-.6deg); }
.quest:nth-child(3n+2) { transform: rotate(.5deg); }
.quest:hover { transform: translate(-3px, -3px) rotate(0); box-shadow: 10px 10px 0 var(--sakura-deep); }
.quest::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--rainbow);
}
.quest__jp {
  position: absolute; right: .6rem; top: .8rem; writing-mode: vertical-rl;
  font-family: var(--font-display), "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 2.3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(232, 85, 143, .45);
}
.quest__num {
  margin: .4rem 0 .4rem; font-weight: 900; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sakura-deep);
}
.quest__title { font-family: var(--font-display); font-size: 1.55rem; margin-bottom: .7rem; }
.quest__num, .quest__title, .quest__text { padding-right: 2.6rem; }
.quest__text { flex: 1; }
.quest__reward {
  margin: .4rem 0 0; padding-top: .8rem; border-top: 2px dashed rgba(11, 10, 15, .25); font-weight: 800; font-size: .95rem;
}
.quest__reward span { color: var(--fox-deep); text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; }

/* ---------- Blind Date ---------- */
.blind { overflow: hidden; }
.blind::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255, 143, 191, .12) 1.3px, transparent 1.7px) 0 0 / 11px 11px;
}
.blind__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.blind__panel {
  background: var(--ink-2); border: 3px solid var(--white); border-radius: var(--radius); padding: 2.2rem;
  box-shadow: 8px 8px 0 var(--sakura-deep); transform: rotate(-.8deg);
}
.blind__label { font-weight: 900; margin: 1.4rem 0 .6rem; color: var(--sakura); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li {
  padding: .3rem .8rem; border: 2px solid var(--white); border-radius: 999px; font-weight: 800; font-size: .9rem;
  background: var(--ink); transition: background .2s, color .2s, transform .2s;
}
.tags li:nth-child(odd) { transform: rotate(-2deg); }
.tags li:hover { background: var(--sakura); color: var(--ink); transform: rotate(0) scale(1.06); }
.blind__art { position: relative; margin: 0; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.blind__art img { width: min(300px, 62%); position: relative; z-index: 1; margin-left: 22%; }
.blind__art .bubble { right: 0; top: -3.5rem; transform: rotate(3deg); z-index: 2; }
.package {
  position: absolute; left: 0; bottom: 6%; display: flex; gap: .4rem; transform: rotate(-8deg);
}
.package span {
  display: grid; place-items: center; width: 96px; height: 136px; border: var(--line); border-radius: 6px;
  font-family: var(--font-display); font-size: 3rem; color: var(--white);
  background:
    linear-gradient(90deg, transparent 44%, var(--sakura) 44% 56%, transparent 56%),
    linear-gradient(0deg, transparent 44%, var(--sakura) 44% 56%, transparent 56%),
    var(--fox);
  box-shadow: 4px 4px 0 var(--white);
}
.package span + span { transform: rotate(10deg) translateY(10px); background-color: #7a4cff; }

/* ---------- Tattoo band ---------- */
.art-band {
  background: var(--white); color: var(--ink); padding: 4rem 0; position: relative;
  border-block: 3px solid var(--ink);
  background-image: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(11, 10, 15, .05) 22px 24px);
}
.art-band__inner { max-width: 50rem; text-align: center; }
.art-band .title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.art-band p:last-child { font-size: 1.15rem; margin: 0; }

/* ---------- Welcome ---------- */
.welcome__grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; }
.welcome__questi { width: 100%; max-width: 280px; filter: drop-shadow(6px 6px 0 rgba(11, 10, 15, .15)); }
.welcome__text { font-size: 1.15rem; max-width: 42rem; }

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.visit__card {
  background: var(--ink-2); border: 3px solid var(--white); border-radius: var(--radius); padding: 2.2rem;
  box-shadow: 8px 8px 0 var(--fox);
}
.visit__facts { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.4rem; margin: 1.6rem 0; }
.visit__facts dt { font-weight: 900; color: var(--sakura); }
.visit__facts dd { margin: 0; }
.visit__art { position: relative; margin: 0; display: flex; justify-content: center; }
.visit__art img { width: min(300px, 75%); }
.visit__art .bubble { left: 0; top: -1rem; transform: rotate(-3deg); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #cfc8d6; padding: 4rem 0 1.5rem; border-top: 3px solid transparent; border-image: var(--rainbow) 1; }
.site-footer__questi { position: absolute; right: 6%; top: -118px; width: 96px; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand { font-family: var(--font-display); color: var(--white); font-size: 1.3rem; }
.site-footer__title { color: var(--sakura); font-weight: 900; margin: 0 0 .3rem; text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; }
.site-footer__social { display: flex; gap: 1rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sakura); }
.site-footer__bottom {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: .9rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom nav { display: flex; gap: 1rem; }
.lang-switch a[aria-current] { color: var(--sakura); font-weight: 900; text-decoration: none; }

/* ---------- Quest card link, ink button ---------- */
.quest__link {
  margin-top: 1rem; align-self: flex-start; font-weight: 900; text-decoration: none;
  padding: .35rem .9rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper);
}
.quest__link::after { content: " \2192"; }
.quest__link:hover { background: var(--fox); }
.btn--ink { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--fox); }
.btn--ink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--fox); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.nav a[aria-current="page"] { background: var(--sakura); color: var(--ink); }

/* ---------- Subpages ---------- */
.subhero { position: relative; overflow: hidden; background: #000; color: var(--white); padding: 2.5rem 0 4rem; }
.subhero__branch { position: absolute; top: -14%; right: -10%; width: min(560px, 60vw); transform: scaleX(-1); opacity: .9; pointer-events: none; }
.subhero__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: end; }
.subhero__title { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.subhero__lead { font-size: 1.15rem; color: #ddd6e3; max-width: 38rem; }
.subhero__art { position: relative; margin: 5rem 0 0; display: flex; justify-content: center; }
.subhero__art img { width: min(320px, 80%); }
.subhero__art .bubble { left: -2rem; top: -4.5rem; transform: rotate(-3deg); }
.crumbs { font-size: .9rem; color: #bdb4c6; margin-bottom: 1.4rem; }
.crumbs a { color: var(--sakura); }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section--tight + .section--tight { padding-top: 0; }
.prose { max-width: 46rem; }
.prose p { font-size: 1.1rem; }
.minicards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.minicard { background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink); padding: 1.1rem 1.2rem; }
.minicard:nth-child(even) { box-shadow: 4px 4px 0 var(--sakura-deep); }
.minicard h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .4rem; }
.minicard p { margin: 0; }
.tags--paper li { background: var(--white); border-color: var(--ink); color: var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.step { position: relative; background: var(--white); border: var(--line); border-radius: var(--radius); padding: 2.2rem 1.4rem 1.2rem; box-shadow: var(--shadow); }
.step__num {
  position: absolute; top: -1.3rem; left: 1.2rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  background: var(--fox); border: var(--line); border-radius: 50%; font-family: var(--font-display); font-size: 1.2rem;
}
.step h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .5rem; }
.step p { margin: 0; }
.faq { max-width: 50rem; display: grid; gap: .8rem; }
.faq details { background: var(--white); border: var(--line); border-radius: var(--radius); padding: .9rem 1.2rem; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; }
.faq details p { margin: .7rem 0 0; }
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.crew img { border: var(--line); border-radius: 8px; box-shadow: var(--shadow); width: 100%; }
.crew li:nth-child(odd) img { transform: rotate(-1deg); }
.crew li:nth-child(even) img { transform: rotate(1deg); }
.visit__card--paper { background: var(--white); color: var(--ink); border-color: var(--ink); max-width: 46rem; }
.visit__card--paper dt { color: var(--sakura-deep); }
.cta { text-align: center; padding: 4rem 0; }
.cta__inner { max-width: 40rem; }
.cta p { font-size: 1.1rem; }
.site-footer__pages { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }

/* ---------- Plain pages (legal, errors) ---------- */
.page-plain { background: var(--paper); padding: 4rem 0 6rem; }
.page-plain .wrap { max-width: 50rem; }
.page-plain h2 { font-family: var(--font-display); font-size: 1.3rem; margin: 2rem 0 .6rem; }
.error-page { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: center; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .hero { padding-bottom: 4.5rem; }
  .hero__grid, .blind__grid, .visit__grid, .welcome__grid, .error-page { grid-template-columns: 1fr; }
  .hero__text { padding-top: 5.5rem; }
  .hero__art { max-width: 460px; margin-inline: auto; }
  .hero__art .bubble { left: 0; top: 0; }
  .welcome__questi { max-width: 180px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .subhero__grid { grid-template-columns: 1fr; }
  .subhero__art { margin-top: 4rem; }
  .subhero__art .bubble { left: 0; }
  .crew { grid-template-columns: 1fr 1fr; }
  .blind__art { min-height: 360px; }
  .package span { width: 74px; height: 104px; font-size: 2.2rem; }
}
