:root {
  --bg: #f6f7f9;
  --paper: #fcfcfd;
  --ink: #12161c;
  --ink-2: #2b3440;
  --muted: #586272;
  --line: #dde2e9;
  --line-2: #c5ccd6;
  --accent: #d8141c;
  --accent-d: #a60f16;
  --rose: #f4dfe2;
  --rose-2: #e7b9bf;
  --steel: #dfe6ee;
  --steel-2: #9fb0c4;
  --slate: #1b222c;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(18, 22, 28, 0.35);
  --shadow-s: 0 8px 18px -10px rgba(18, 22, 28, 0.4);
  --f-head: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --f-body: "Inter", "Segoe UI", Arial, sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--accent-d); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 7.4vw, 5.6rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
main { display: block; overflow: hidden; }
.container { max-width: 1240px; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--rose-2);
  background: var(--rose);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hand { font-family: var(--f-hand); font-size: 1.5rem; line-height: 1.2; color: var(--ink-2); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }
.t-center { text-align: center; }
.ink-red { color: var(--accent); }
.outline { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }

.btn-game {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 6px 0 var(--accent-d), 0 16px 24px -12px rgba(168, 15, 22, 0.6);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-game:hover { color: #fff; transform: translateY(2px); box-shadow: 0 4px 0 var(--accent-d), 0 10px 18px -12px rgba(168, 15, 22, 0.6); }
.btn-game:active { transform: translateY(6px); box-shadow: 0 0 0 var(--accent-d); }
.btn-game--block { display: flex; justify-content: center; width: 100%; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  color: var(--ink);
  background: transparent;
  font-family: var(--f-head);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.sec--dark .btn-ghost, .bgimg .btn-ghost { color: #fff; border-color: #fff; }
.sec--dark .btn-ghost:hover, .bgimg .btn-ghost:hover { background: #fff; color: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(252, 252, 253, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-topbar { background: var(--slate); color: #d7dee8; font-size: 0.82rem; }
.hdr-topbar__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.3rem 1.4rem; padding-top: 0.45rem; padding-bottom: 0.45rem; }
.hdr-contact { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit; text-decoration: none; }
.hdr-contact i { color: var(--rose-2); }
.hdr-contact--link:hover { color: #fff; }
.hdr-main__in { display: flex; align-items: center; gap: 1rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.hdr-logo img { width: 92px; height: auto; }
.hdr-nav { margin-left: auto; display: none; }
.hdr-nav ul { list-style: none; display: flex; gap: 0.15rem; margin: 0; padding: 0; }
.hdr-nav a { display: block; padding: 0.5rem 0.7rem; font-family: var(--f-head); font-size: 0.9rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: 10px; }
.hdr-nav a:hover { background: var(--steel); color: var(--ink); }
.hdr-cta { display: none; padding: 0.6rem 1rem; font-size: 0.9rem; box-shadow: 0 4px 0 var(--accent-d); }
.hdr-burger { margin-left: auto; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; font-size: 1.2rem; color: var(--ink); cursor: pointer; }
.mobile-menu { position: fixed; inset: 0; top: 0; z-index: 1029; background: var(--paper); padding: 7.5rem 1.25rem 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.4rem; }
.mobile-menu[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 0.85rem 0; font-family: var(--f-head); font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-contacts { color: var(--muted); font-size: 0.95rem; display: grid; gap: 0.25rem; }
.mobile-contacts a { color: var(--muted); }
body.menu-open { overflow: hidden; }
@media (min-width: 1200px) {
  .hdr-nav, .hdr-cta { display: block; }
  .hdr-cta { display: inline-flex; }
  .hdr-burger { display: none; }
  .hdr-logo img { width: 104px; }
}
@media (max-width: 767px) {
  .hdr-topbar { display: none; }
  .mobile-menu { padding-top: 6rem; }
}

.sec { position: relative; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.sec--tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.sec--paper {
  background-color: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: -1px -1px;
}
.sec--sand { background: var(--steel); }
.sec--rose { background: var(--rose); }
.sec--white { background: #fff; }
.sec--dark { background: var(--slate); color: #e7ecf2; }
.sec--dark h1, .sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark .lead, .sec--dark .muted { color: #c1cad6; }
.sec--hatch {
  background-color: var(--bg);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(18, 22, 28, 0.045) 14px 15px);
}
.bgimg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f2f5f9;
}
.bgimg h1, .bgimg h2, .bgimg h3, .bgimg h4 { color: #fff; }
.bgimg .lead, .bgimg .muted { color: #dbe2ea; }
.bgimg a:not(.btn-game):not(.btn-ghost) { color: #ffd6d9; }
.bgimg--fixed { background-attachment: fixed; }
@media (max-width: 991px) { .bgimg--fixed { background-attachment: scroll; } }
.sec--video { overflow: hidden; color: #f2f5f9; background: var(--slate); }
.sec--video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sec--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10, 14, 20, 0.62), rgba(10, 14, 20, 0.72)); z-index: 1; }
.sec--video > .container { position: relative; z-index: 2; }
.sec--video h1, .sec--video h2, .sec--video h3 { color: #fff; }
.sec--video .lead, .sec--video .muted { color: #dbe2ea; }
.sec--video a:not(.btn-game):not(.btn-ghost) { color: #ffd6d9; }
.sec--video .btn-ghost { color: #fff; border-color: #fff; }
.sec--video .btn-ghost:hover { background: #fff; color: var(--ink); }
.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-head.t-center { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-l { grid-template-columns: 1.25fr 0.75fr; }
  .split--wide-r { grid-template-columns: 0.75fr 1.25fr; }
  .split--top { align-items: start; }
}
.grid-3 { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.grid-2 { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.frame { background: #fff; padding: 10px; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); }
.frame img { width: 100%; border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; }
.frame--tall img { aspect-ratio: 3 / 4; }
.frame--sq img { aspect-ratio: 1 / 1; }
.frame--wide img { aspect-ratio: 21 / 9; }
.frame figcaption, .cap { font-family: var(--f-hand); font-size: 1.35rem; color: var(--ink-2); padding: 0.5rem 0.3rem 0.1rem; line-height: 1.15; }
.tilt-l { transform: rotate(-2.2deg); }
.tilt-r { transform: rotate(2deg); }
@media (max-width: 575px) { .tilt-l, .tilt-r { transform: none; } }
.pop-out { margin-right: -2rem; }
@media (max-width: 991px) { .pop-out { margin-right: 0; } }

.keycap {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 8px 0 var(--ink-2), 0 22px 26px -14px rgba(18, 22, 28, 0.6);
  font-size: 1.7rem;
  color: var(--ink);
  font-family: var(--f-head);
}
.keycap--red { background: var(--accent); border-color: var(--accent-d); color: #fff; box-shadow: 0 8px 0 var(--accent-d), 0 22px 26px -14px rgba(168, 15, 22, 0.7); }
.keycap--round { border-radius: 50%; }
.keycap--steel { background: var(--steel); }
.keycap--xl { width: clamp(150px, 30vw, 280px); height: clamp(150px, 30vw, 280px); font-size: clamp(3rem, 9vw, 6rem); border-radius: 12%; }
.keycap--lg { width: 120px; height: 120px; font-size: 2.4rem; }
.keycap--sm { width: 56px; height: 56px; font-size: 1.1rem; border-radius: 14px; box-shadow: 0 5px 0 var(--ink-2); }
.float-a { animation: floaty 5s ease-in-out infinite; }
.float-b { animation: floaty 6.5s ease-in-out infinite reverse; }
.float-c { animation: floaty 4.2s ease-in-out infinite 0.8s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .float-a, .float-b, .float-c { animation: none; } }

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; background-color: var(--paper); background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(18, 22, 28, 0.04) 14px 15px); }
.hero__grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 992px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { text-transform: uppercase; }
.hero__scene { position: relative; min-height: 360px; border-radius: 26px; padding: 1.4rem; overflow: visible; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.hero__scene .keycap { position: absolute; }
.hero__scene .k1 { right: -14px; top: -24px; }
.hero__scene .k2 { left: -18px; bottom: 36px; }
.hero__scene .k3 { right: 22px; bottom: -30px; }
.hero__layer { position: relative; z-index: 2; width: 62%; margin: 2.2rem auto 0; border-radius: 16px; background: #fff; padding: 8px; box-shadow: var(--shadow); }
.hero__layer img { width: 100%; border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }
.hero__strip { display: flex; gap: 1rem; overflow-x: auto; padding: 1.8rem 0 2rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.hero__strip > div { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; border-top: 2px solid var(--ink); padding-top: 0.8rem; }
.hero__strip b { display: block; font-family: var(--f-head); font-size: 1.5rem; letter-spacing: 0.04em; }
@media (min-width: 992px) { .hero__strip { overflow: visible; } .hero__strip > div { flex: 1; } }

.page-hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 0.5rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); }
.page-hero.bgimg .crumbs, .page-hero.bgimg .crumbs a { color: #d1d9e3; }

.cinema { min-height: 92vh; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem 0 3rem; }
.cinema h1 { text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 9rem); line-height: 0.92; }
.cinema h1 span:nth-child(2) { display: block; padding-left: 8vw; }
.cinema h1 span:nth-child(3) { display: block; padding-left: 2vw; }
.scroll-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-hint i { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.platform-line { display: flex; align-items: flex-end; gap: 1.2rem; flex-wrap: wrap; border-bottom: 6px solid #fff; padding-bottom: 0; margin-top: 2.5rem; }

.breakout__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 520px; opacity: 0.85; }
.breakout__grid span { height: 46px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; }
.breakout__big { transform: translate(18%, -30%) rotate(-8deg); animation: breakout 5s ease-in-out infinite; }
@keyframes breakout { 0%, 100% { transform: translate(8%, -30%) rotate(-8deg); } 50% { transform: translate(34%, -10%) rotate(10deg); } }
@media (max-width: 767px) { .breakout__big { animation: none; transform: rotate(-6deg); } }

.episodes { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.episode { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr; }
.episode__num { font-family: var(--f-head); font-size: clamp(4rem, 12vw, 9rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--steel-2); }
@media (min-width: 992px) {
  .episode { grid-template-columns: 1.1fr 0.9fr; }
  .episode:nth-child(even) .episode__media { order: 2; }
}
.signature { text-align: center; font-family: var(--f-hand); font-size: clamp(1.8rem, 4vw, 3rem); color: var(--ink-2); margin-top: 3rem; }

.platform-center { display: grid; gap: 2rem; justify-items: center; text-align: center; }
.platform-center__side { display: grid; gap: 1.2rem; text-align: left; width: 100%; }
@media (min-width: 992px) { .platform-center { grid-template-columns: 1fr auto 1fr; align-items: center; } }
.light-frame { background: var(--paper); padding: clamp(1.4rem, 4vw, 2.6rem); border-radius: 28px; box-shadow: var(--shadow); color: var(--ink); }
.bgimg .light-frame h1, .bgimg .light-frame h2, .bgimg .light-frame h3, .sec--video .light-frame h1, .sec--video .light-frame h2, .sec--video .light-frame h3 { color: var(--ink); }
.light-frame .lead { color: var(--ink-2); }
.cta-line { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.4); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

.rotlab { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 992px) { .rotlab { grid-template-columns: 1fr 1fr; } }
.rotlab__ring { position: relative; width: min(80vw, 420px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; border: 2px dashed var(--steel-2); display: grid; place-items: center; background: radial-gradient(circle, #fff 0 38%, transparent 39%); }
.rotlab__ring::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid var(--line-2); }
.rotlab__key { transition: transform 0.7s cubic-bezier(0.3, 1.4, 0.5, 1); }
.rotlab__key[data-turn="1"] { transform: rotate(90deg); }
.rotlab__key[data-turn="2"] { transform: rotate(180deg); }
.rotlab__key[data-turn="3"] { transform: rotate(270deg); }
.rotlab__dir { position: absolute; font-family: var(--f-head); font-size: 0.8rem; letter-spacing: 0.14em; font-weight: 600; background: var(--paper); padding: 0.2rem 0.6rem; border: 1px solid var(--line-2); border-radius: 99px; }
.rotlab__dir.n { top: -14px; left: 50%; transform: translateX(-50%); }
.rotlab__dir.e { right: -14px; top: 50%; transform: translateY(-50%); }
.rotlab__dir.s { bottom: -14px; left: 50%; transform: translateX(-50%); }
.rotlab__dir.w { left: -14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 575px) { .rotlab__dir.e { right: -6px; } .rotlab__dir.w { left: -6px; } }

.portrait { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .portrait { grid-template-columns: 1.1fr 0.9fr; } }
.portrait__big { border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%; overflow: hidden; border: 3px solid var(--ink); background: #fff; aspect-ratio: 1; box-shadow: var(--shadow); }
.portrait__big img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 1.4rem 0; }
.facts li { padding: 0.75rem 0 0.75rem 2.2rem; border-top: 1px solid var(--line-2); position: relative; }
.facts li::before { content: ""; position: absolute; left: 0.3rem; top: 1.25rem; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.ruler { display: flex; justify-content: space-between; border-top: 2px solid var(--ink); margin-top: 1.4rem; padding-top: 0.3rem; font-family: var(--f-hand); font-size: 1.25rem; }

.sketch { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.sketch .frame:nth-child(1) { grid-column: 1 / -1; }
@media (min-width: 768px) { .sketch { grid-template-columns: repeat(6, 1fr); } .sketch .frame:nth-child(1) { grid-column: span 4; } .sketch .frame:nth-child(2) { grid-column: span 2; } .sketch .frame:nth-child(3), .sketch .frame:nth-child(4), .sketch .frame:nth-child(5) { grid-column: span 2; } }
.big-type { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 9vw, 7rem); line-height: 0.95; letter-spacing: -0.03em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0; padding: 0; list-style: none; }
.chips li { padding: 0.35em 1em; border: 1px solid currentColor; border-radius: 99px; font-family: var(--f-head); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }

.worlds { display: grid; gap: 0; }
.world { min-height: 62vh; display: flex; align-items: flex-end; padding: 2rem 1.4rem; background-size: cover; background-position: center; color: #fff; }
.world h3 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); }
.world p { max-width: 36ch; margin: 0; }
.worlds__title { writing-mode: horizontal-tb; font-family: var(--f-head); text-transform: uppercase; font-weight: 700; font-size: clamp(1.6rem, 5vw, 3rem); padding: 1.4rem; text-align: center; background: var(--paper); }
@media (min-width: 992px) {
  .worlds { grid-template-columns: 1fr auto 1fr 1fr; }
  .world { min-height: 78vh; }
  .worlds__title { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 3rem; }
}

.mapbox { position: relative; background: #fff; border: 1.5px solid var(--ink); border-radius: 24px; min-height: 380px; padding: 1.5rem; overflow: hidden; background-image: repeating-linear-gradient(0deg, transparent 0 31px, var(--line) 31px 32px); }
.mapbox .plat { position: absolute; height: 14px; background: var(--ink-2); border-radius: 4px; box-shadow: 0 5px 0 var(--steel-2); }
.mapbox .p1 { left: 6%; bottom: 20%; width: 34%; }
.mapbox .p2 { left: 44%; bottom: 40%; width: 28%; }
.mapbox .p3 { right: 5%; bottom: 62%; width: 24%; }
.mapbox .pin { position: absolute; font-family: var(--f-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; padding: 0.25rem 0.7rem; border-radius: 99px; background: var(--accent); color: #fff; }
.mapbox .keycap { position: absolute; }
.mapbox .m1 { left: 12%; bottom: 25%; }
.mapbox .m2 { left: 50%; bottom: 45%; }
.mapbox .m3 { right: 8%; bottom: 67%; }
.hscroll-mobile { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0 1.2rem; -webkit-overflow-scrolling: touch; }
.hscroll-mobile > * { flex: 0 0 min(80vw, 320px); scroll-snap-align: start; }
@media (min-width: 992px) { .hscroll-mobile { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; } .hscroll-mobile > * { flex: none; } }
@media (max-width: 575px) { .mapbox { min-height: 460px; } .mapbox .keycap { width: 56px; height: 56px; font-size: 1.1rem; } }

.layers { position: relative; display: grid; gap: 1.4rem; perspective: 1200px; }
.layer { position: relative; background: rgba(255, 255, 255, 0.94); color: var(--ink); border-radius: 18px; padding: 1.4rem 1.6rem; box-shadow: 0 26px 40px -22px rgba(0, 0, 0, 0.6); border: 1px solid #fff; }
.layer h3 { color: var(--ink); font-size: 1.3rem; }
.layer p { margin: 0; color: var(--ink-2); }
@media (min-width: 992px) {
  .layer--1 { transform: rotateX(16deg) translateX(0); }
  .layer--2 { transform: rotateX(16deg) translateX(5%); }
  .layer--3 { transform: rotateX(16deg) translateX(10%); }
}

.wall { position: relative; }
.wall h2 { max-width: 14ch; }
.note { background: #fff; border: 1.5px solid var(--ink); border-radius: 6px; padding: 1.2rem 1.3rem; box-shadow: 6px 6px 0 var(--ink); font-family: var(--f-hand); font-size: 1.55rem; line-height: 1.2; color: var(--ink); }
.note:nth-child(1) { transform: rotate(-2deg); }
.note:nth-child(2) { transform: rotate(1.6deg); }
.note:nth-child(3) { transform: rotate(-1deg); }
@media (max-width: 575px) { .note { transform: none !important; } }

.blueprint { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: clamp(1.2rem, 3vw, 2rem); position: relative; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; }
.bp-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .bp-grid { grid-template-columns: repeat(4, 1fr); } }
.bp-zone { border: 1.5px dashed var(--ink-2); border-radius: 12px; padding: 0.8rem; background: rgba(255, 255, 255, 0.88); position: relative; }
.bp-zone .coord { position: absolute; top: -0.8rem; left: 0.8rem; background: var(--paper); font-family: var(--f-head); font-size: 0.75rem; letter-spacing: 0.1em; padding: 0 0.5rem; color: var(--accent); }
.bp-zone img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 0.7rem; }

.phone { position: relative; width: min(100%, 300px); margin: 0 auto; background: var(--ink); border-radius: 42px; padding: 14px; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 2px #3a4452; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 70px; height: 7px; background: #000; border-radius: 6px; z-index: 2; }
.phone img { width: 100%; aspect-ratio: 9 / 18; object-fit: cover; border-radius: 30px; }
.phone-stage { position: relative; padding: 2rem 0; }
.phone-stage .keycap { position: absolute; }
.phone-stage .k1 { left: 2%; top: 8%; }
.phone-stage .k2 { right: 4%; top: 30%; }
.phone-stage .k3 { left: 8%; bottom: 8%; }
@media (max-width: 767px) { .phone-stage .keycap { position: static; display: inline-grid; margin: 1rem 0.4rem 0; } .phone-stage { text-align: center; } }
.phone--wide { width: min(100%, 360px); }

.vs { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 992px) { .vs { grid-template-columns: 1fr 120px 1fr; } }
.vs__before { background: #fff; border: 1.5px solid var(--line-2); border-radius: 22px; padding: 1.6rem; }
.vs__after { border-radius: 22px; padding: 1.6rem; background: var(--ink); color: #e9eef4; }
.vs__after h3 { color: #fff; }
.vs__arrow { display: grid; place-items: center; font-size: 2.4rem; color: var(--accent); }
.vs__arrow i { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@media (max-width: 991px) { .vs__arrow i { transform: rotate(90deg); animation: none; } }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 220px; margin-top: 1rem; }
.pad span { height: 44px; border-radius: 10px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--muted); }

.museum { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.5rem 0 2rem; -webkit-overflow-scrolling: touch; align-items: flex-end; }
.exhibit { flex: 0 0 min(72vw, 260px); scroll-snap-align: center; text-align: center; }
.exhibit .keycap { margin-bottom: 1.6rem; }
.exhibit:nth-child(2n) { margin-bottom: 2.6rem; }
.exhibit:nth-child(3n) { margin-bottom: 1.2rem; }
.exhibit b { display: block; font-family: var(--f-head); font-size: 1.05rem; }
.exhibit small { color: var(--accent); letter-spacing: 0.18em; font-family: var(--f-head); }
.museum-plinth { height: 10px; background: var(--ink); border-radius: 6px; }

.playground { position: relative; height: 380px; border: 2px dashed var(--steel-2); border-radius: 26px; background: var(--paper); background-image: radial-gradient(var(--line-2) 1.5px, transparent 1.6px); background-size: 26px 26px; overflow: hidden; touch-action: none; }
.playground .keycap { position: absolute; cursor: grab; user-select: none; touch-action: none; }
.playground .keycap.is-drag { cursor: grabbing; z-index: 3; box-shadow: 0 14px 0 var(--ink-2), 0 34px 30px -14px rgba(18, 22, 28, 0.5); }
.playground .keycap.is-spin { transition: transform 0.6s; }
.pg-bar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 1rem; }

.moodboard { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.moodboard .frame:nth-child(1) { grid-column: 1 / -1; }
@media (min-width: 992px) {
  .moodboard { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .moodboard .frame:nth-child(1) { grid-column: 1 / span 7; }
  .moodboard .frame:nth-child(2) { grid-column: 8 / span 3; margin-top: 3rem; }
  .moodboard .frame:nth-child(3) { grid-column: 9 / span 4; margin-top: -1.5rem; }
  .moodboard .mood-text { grid-column: 11 / span 2; grid-row: 1; writing-mode: vertical-rl; font-family: var(--f-head); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.85rem; }
}

.hgal { position: relative; }
.hgal__track { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 0 1.4rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hgal__track::-webkit-scrollbar { display: none; }
.hgal__item { flex: 0 0 min(82vw, 440px); scroll-snap-align: start; }
.hgal__item:nth-child(3n+2) { flex-basis: min(70vw, 340px); }
.hgal__item:nth-child(3n) { flex-basis: min(88vw, 520px); }
.hgal__item img { width: 100%; height: 280px; object-fit: cover; border-radius: 14px; border: 6px solid #fff; box-shadow: var(--shadow-s); }
.hgal__item span { display: block; margin-top: 0.7rem; font-size: 0.95rem; color: #dbe2ea; }
.hgal__item b { font-family: var(--f-head); color: #fff; margin-right: 0.4rem; }
.hgal__bar { height: 4px; background: rgba(255, 255, 255, 0.25); border-radius: 4px; overflow: hidden; }
.hgal__bar i { display: block; height: 100%; width: 12%; background: #fff; border-radius: 4px; transition: width 0.15s; }

.theater { position: relative; background: #000; border: 10px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.theater img, .theater video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.9; }
.theater__play { position: absolute; inset: 0; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.theater__play span { width: clamp(74px, 16vw, 120px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: clamp(1.6rem, 5vw, 2.6rem); box-shadow: 0 8px 0 var(--accent-d), 0 20px 30px -10px rgba(0, 0, 0, 0.6); transition: transform 0.2s; }
.theater__play:hover span { transform: scale(1.06); }
.theater__bar { background: var(--ink); color: #fff; font-family: var(--f-head); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; padding: 0.8rem 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.stats { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.stats__row { display: grid; gap: 0.3rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line-2); grid-template-columns: 1fr; align-items: baseline; }
@media (min-width: 768px) { .stats__row { grid-template-columns: 0.9fr 1.6fr; } }
.stats__big { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.8rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.stats__lbl { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-family: var(--f-head); }

.archive { display: grid; gap: 1.2rem; }
@media (min-width: 768px) { .archive { grid-template-columns: repeat(3, 1fr); } }
.folder { position: relative; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px 18px 18px 18px; padding: 1.2rem; }
.folder::before { content: attr(data-tab); position: absolute; top: -1.6rem; left: -1.5px; background: var(--ink); color: #fff; font-family: var(--f-head); font-size: 0.7rem; letter-spacing: 0.16em; padding: 0.3rem 0.9rem; border-radius: 8px 8px 0 0; text-transform: uppercase; }
.folder img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 0.8rem; }

.accordion-journal .accordion-item { border: 0; border-top: 1.5px solid var(--ink); background: transparent; border-radius: 0 !important; }
.accordion-journal .accordion-item:last-child { border-bottom: 1.5px solid var(--ink); }
.accordion-journal .accordion-button { background: transparent; box-shadow: none; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.1rem, 2.6vw, 1.55rem); color: var(--ink); padding: 1.3rem 0.2rem; gap: 1rem; }
.accordion-journal .accordion-button:not(.collapsed) { color: var(--accent); background: transparent; }
.accordion-journal .accordion-button:focus { box-shadow: none; }
.accordion-journal .accordion-button i { color: var(--accent); width: 1.6rem; flex: none; }
.accordion-journal .accordion-body { padding: 0 0.2rem 1.5rem 2.9rem; color: var(--ink-2); }
.sec--dark .accordion-journal .accordion-item, .bgimg .accordion-journal .accordion-item { border-color: rgba(255, 255, 255, 0.5); }
.sec--dark .accordion-journal .accordion-button, .bgimg .accordion-journal .accordion-button { color: #fff; }
.sec--dark .accordion-journal .accordion-body, .bgimg .accordion-journal .accordion-body { color: #dbe2ea; }
.sec--dark .accordion-journal .accordion-button::after, .bgimg .accordion-journal .accordion-button::after { filter: invert(1); }

.download-hero { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 992px) { .download-hero { grid-template-columns: 1fr 1fr; } }

.floatbar { position: fixed; left: 50%; bottom: 14px; transform: translate(-50%, 140%); z-index: 1020; display: flex; align-items: center; gap: 0.9rem; background: rgba(252, 252, 253, 0.94); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 18px; padding: 0.55rem 0.7rem 0.55rem 1rem; box-shadow: var(--shadow); width: min(94vw, 540px); transition: transform 0.4s; }
.floatbar.is-on { transform: translate(-50%, 0); }
.floatbar img { width: 54px; height: auto; flex: none; }
.floatbar__txt { flex: 1; line-height: 1.2; min-width: 0; }
.floatbar__txt b { display: block; font-family: var(--f-head); font-size: 0.98rem; }
.floatbar__txt small { color: var(--muted); }
.floatbar .btn-game { padding: 0.6rem 1rem; font-size: 0.88rem; box-shadow: 0 4px 0 var(--accent-d); }
.floatbar__close { border: 0; background: none; color: var(--muted); width: 30px; height: 30px; cursor: pointer; flex: none; }

.cookie { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 1040; display: none; max-width: 760px; margin: 0 auto; background: var(--slate); color: #e7ecf2; border-radius: 20px; padding: 1.1rem 1.2rem; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7); gap: 1rem; align-items: center; flex-wrap: wrap; border-left: 6px solid var(--accent); }
.cookie.is-on { display: flex; }
.cookie p { margin: 0; flex: 1 1 280px; font-size: 0.93rem; line-height: 1.5; }
.cookie a { color: #ffd6d9; }
.cookie__btns { display: flex; gap: 0.6rem; flex: 1 1 100%; }
.cookie__btns button { flex: 1; padding: 0.7rem 1rem; border-radius: 12px; font-family: var(--f-head); font-weight: 600; cursor: pointer; border: 1.5px solid #fff; background: transparent; color: #fff; }
.cookie__btns button[data-cookie="yes"] { background: var(--accent); border-color: var(--accent); }
@media (min-width: 768px) { .cookie__btns { flex: none; } .cookie__btns button { flex: none; } }

.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-s); }
.price-table th, .price-table td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--ink); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.price-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-wrap .price-table { min-width: 640px; }
.pkgs { display: grid; gap: 1.4rem; }
@media (min-width: 992px) { .pkgs { grid-template-columns: repeat(3, 1fr); } }
.pkg { background: #fff; border: 1.5px solid var(--line-2); border-radius: 22px; padding: 1.8rem; position: relative; }
.pkg--hot { border-color: var(--accent); box-shadow: var(--shadow); }
.pkg__price { font-family: var(--f-head); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; }
.pkg ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.pkg li { padding: 0.5rem 0 0.5rem 1.6rem; position: relative; border-top: 1px solid var(--line); }
.pkg li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--accent); font-size: 0.85rem; top: 0.7rem; }

.svc-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.svc-row { display: grid; gap: 1rem 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line-2); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) { .svc-row { grid-template-columns: 90px 1fr 280px; } }
.svc-row__num { font-family: var(--f-head); font-size: 3rem; font-weight: 700; color: var(--steel-2); line-height: 1; }
.svc-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.svc-row h3 a { color: var(--ink); text-decoration: none; }
.svc-row h3 a:hover { color: var(--accent); }

.post-list { display: grid; gap: 1.6rem; }
@media (min-width: 768px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post__body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.post__body h3 a { color: var(--ink); text-decoration: none; }
.post__body h3 a:hover { color: var(--accent); }
.post__meta { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-family: var(--f-head); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose blockquote { margin: 1.6rem 0; padding: 0.4rem 0 0.4rem 1.4rem; border-left: 4px solid var(--accent); font-family: var(--f-head); font-size: 1.3rem; }
.toc { border: 1.5px solid var(--ink); border-radius: 16px; padding: 1.2rem 1.4rem; background: #fff; position: sticky; top: 130px; }
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc li { margin: 0.4rem 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.legal-layout { display: grid; gap: 2rem; }
@media (min-width: 992px) { .legal-layout { grid-template-columns: 300px 1fr; align-items: start; } }
.meta-line { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: 0.88rem; color: var(--muted); margin: 0 0 1.4rem; }

.tl { position: relative; padding-left: 1.8rem; border-left: 2px solid var(--ink); display: grid; gap: 1.8rem; }
.tl__item { position: relative; }
.tl__item::before { content: ""; position: absolute; left: calc(-1.8rem - 9px); top: 0.4rem; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.wizard__steps { display: flex; gap: 0.5rem; margin-bottom: 1.6rem; }
.wizard__steps span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); transition: background 0.3s; }
.wizard__steps span.is-done { background: var(--accent); }
.wizard__pane { display: none; }
.wizard__pane.is-on { display: block; animation: paneIn 0.35s; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--f-head); font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18, 22, 28, 0.08); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--accent); background: #fff6f6; }
.field__err { display: none; color: var(--accent-d); font-size: 0.85rem; margin-top: 0.3rem; }
.field.is-bad .field__err { display: block; }
.iti { width: 100%; }
.opt-row { display: grid; gap: 0.7rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .opt-row { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: block; padding: 0.9rem 1rem; border: 1.5px solid var(--line-2); border-radius: 12px; font-family: var(--f-head); font-weight: 500; background: #fff; }
.opt input:checked + span { border-color: var(--accent); background: var(--rose); }
.opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(216, 20, 28, 0.2); }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; margin: 1rem 0 1.2rem; }
.consent input { margin-top: 0.3rem; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.wizard__nav { display: flex; gap: 0.8rem; justify-content: space-between; flex-wrap: wrap; }
.spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; top: 96px; right: 14px; left: 14px; max-width: 420px; margin-left: auto; z-index: 1050; background: var(--ink); color: #fff; padding: 1rem 1.2rem; border-radius: 14px; border-left: 6px solid var(--accent); box-shadow: var(--shadow); opacity: 0; transform: translateY(-14px); pointer-events: none; transition: opacity 0.3s, transform 0.3s; }
.toast.is-on { opacity: 1; transform: none; }
.map-frame { border: 0; width: 100%; height: 380px; border-radius: 18px; filter: grayscale(0.3); }
.contact-lines { list-style: none; padding: 0; margin: 0; }
.contact-lines li { display: flex; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.contact-lines i { color: var(--accent); width: 1.2rem; margin-top: 0.35rem; }

.ticker { display: grid; gap: 0.8rem; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 992px) { .ticker { grid-template-columns: repeat(6, 1fr); } }
.ticker .keycap { width: 100%; height: auto; aspect-ratio: 1; font-size: 1rem; border-radius: 12px; box-shadow: 0 4px 0 var(--ink-2); }
.wall-btns { display: grid; gap: 8px; grid-template-columns: repeat(6, 1fr); padding: 1rem; border-radius: 20px; background: rgba(255, 255, 255, 0.12); }
.wall-btns span { aspect-ratio: 1 / 0.8; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.1); }
.wall-btns span.hot { background: var(--accent); border-color: var(--accent); }
.wall-btns span.lit { background: #fff; }
@media (min-width: 992px) { .wall-btns { grid-template-columns: repeat(12, 1fr); } }
.egg { position: relative; min-height: 420px; border-radius: 26px; overflow: hidden; background: var(--paper); border: 1.5px solid var(--line-2); }
.egg .keycap { position: absolute; transition: transform 0.25s ease-out; }
.egg__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; text-align: center; z-index: 2; }
.egg__center img { border-radius: 50%; border: 3px solid var(--ink); aspect-ratio: 1; object-fit: cover; background: #fff; }
.err404 { font-family: var(--f-head); font-weight: 700; font-size: clamp(5rem, 30vw, 14rem); line-height: 0.85; letter-spacing: -0.05em; display: flex; gap: 0.05em; justify-content: center; }
.err404 span { display: inline-block; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; padding: 0.05em 0.14em; box-shadow: 0 0.06em 0 var(--ink-2); }
.err404 span:nth-child(2) { transform: translateY(-0.12em); }

.final { text-align: center; }
.final .keycap--xl { margin: 1.5rem auto 2rem; width: min(60vw, 300px); height: min(60vw, 300px); }
.final h2 { font-size: clamp(2rem, 6vw, 4.6rem); max-width: 18ch; margin-left: auto; margin-right: auto; }
@media (max-width: 575px) { .final .btn-game { width: 100%; justify-content: center; } }

.footprint { padding: 1.2rem 1rem; border: 1px dashed var(--steel-2); border-radius: 14px; background: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.arrow-link { display: inline-flex; gap: 0.5rem; align-items: center; font-family: var(--f-head); font-weight: 600; text-decoration: none; }
.arrow-link i { transition: transform 0.2s; }
.arrow-link:hover i { transform: translateX(5px); }
.badge-year { display: inline-grid; place-items: center; width: 150px; aspect-ratio: 1; border-radius: 50%; background: var(--paper); color: var(--ink); border: 3px double var(--ink); text-align: center; font-family: var(--f-head); line-height: 1.1; padding: 1rem; transform: rotate(-8deg); box-shadow: var(--shadow); }
.badge-year b { font-size: 2.2rem; display: block; color: var(--accent); }
.badge-year small { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.quote-card { border-left: 4px solid var(--accent); padding-left: 1.2rem; font-family: var(--f-head); font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.25; }
.menu-board { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.menu-board a { display: grid; place-items: center; text-align: center; min-height: 120px; border-radius: 20px; border: 2px solid var(--ink); background: #fff; color: var(--ink); text-decoration: none; font-family: var(--f-head); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 6px 0 var(--ink-2); transition: transform 0.15s; }
.menu-board a:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--ink-2); color: var(--accent); }
.loader-screen { min-height: 340px; display: grid; place-items: center; text-align: center; background: var(--paper); border-radius: 26px; border: 1.5px solid var(--line-2); padding: 2rem; }
.loader-bar { width: min(80%, 320px); height: 14px; margin: 1.2rem auto; border-radius: 8px; background: repeating-linear-gradient(135deg, var(--ink) 0 10px, var(--steel) 10px 20px); background-size: 28px 28px; animation: stripe 1s linear infinite; }
@keyframes stripe { to { background-position: 28px 0; } }
.spin-slow { animation: spin 6s linear infinite; }
.reveal-steps { counter-reset: st; display: grid; gap: 1.2rem; }
.reveal-steps > div { counter-increment: st; padding-left: 3.4rem; position: relative; }
.reveal-steps > div::before { content: counter(st); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; }

.site-footer { background: var(--slate); color: #c9d1dc; padding: clamp(3rem, 6vw, 5rem) 0 2rem; font-size: 0.95rem; }
.site-footer a { color: #e7ecf2; text-decoration: none; }
.site-footer a:hover { color: var(--rose-2); }
.ftr-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ftr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ftr-grid { grid-template-columns: 1.5fr 0.8fr 1fr 1fr 1.2fr; } }
.ftr-logo img { width: 120px; background: #fff; padding: 6px 10px; border-radius: 12px; }
.ftr-brand p { margin-top: 1rem; }
.ftr-col h2 { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.ftr-col ul { list-style: none; padding: 0; margin: 0; }
.ftr-col li { margin-bottom: 0.5rem; }
.ftr-contact li { display: flex; gap: 0.7rem; }
.ftr-contact i { color: var(--rose-2); margin-top: 0.4rem; width: 1rem; }
.ftr-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.ftr-social a { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 12px; display: grid; place-items: center; }
.ftr-social a:hover { background: #fff; color: var(--ink); }
.ftr-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.85rem; color: #9aa6b6; }
.ftr-legal p { margin-bottom: 0.5rem; }

@media (max-width: 575px) {
  body { font-size: 1rem; }
  .btn-game, .btn-ghost { width: 100%; justify-content: center; }
  .hero__layer { width: 78%; }
  .keycap--xl { width: 150px; height: 150px; }
  .hgal__item img { height: 230px; }
  .playground { height: 340px; }
  .accordion-journal .accordion-body { padding-left: 0.2rem; }
}

.pg-1 { left: 8%; top: 14%; }
.pg-2 { left: 38%; top: 52%; }
.pg-3 { left: 66%; top: 18%; }
.pg-4 { left: 20%; top: 62%; }
.pg-5 { left: 78%; top: 60%; }
.egg-1 { left: 8%; top: 12%; }
.egg-2 { right: 10%; top: 18%; }
.egg-3 { left: 14%; bottom: 12%; }
.egg-4 { right: 16%; bottom: 10%; }
.hdr-nav li a[aria-current="page"] { background: var(--steel); }
.cta-bar-gap { padding-bottom: 5.5rem; }
.ink-white { color: #fff; }
.mt-0x { margin-top: 0; }
.nowrap { white-space: nowrap; }
.gap-top { margin-top: 2rem; }
.inline-keys { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: flex-end; margin-top: 1.6rem; }
.field.is-bad .consent, .consent.is-bad { color: var(--accent-d); }
.thanks-box { text-align: center; max-width: 720px; margin: 0 auto; }
