/* הפיטסרי של אוסקר — white, navy and a thin red line, after the reference */
:root {
  color-scheme: light;
  --navy: #0f2a5f;
  --navy-2: #1c3d80;
  --ink: #14171c;
  --muted: #5d6573;
  --line: #e6e7eb;
  --soft: #f4f4f6;
  --warm: #faf8f5;
  --red: #d6453d;
  --bg: #ffffff;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --f-body: 'Heebo', 'Segoe UI', system-ui, sans-serif;
  --f-head: 'Rubik', 'Heebo', 'Segoe UI', sans-serif;
  --f-script: 'Gveret Levin', 'Heebo', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; line-height: 1.1; }
p { margin: 0; }
bdi { unicode-bidi: isolate; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - var(--pad) * 2); margin-inline: auto; }

/* ---------------------------------------------------------------- 3D layer */
#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.stage-ready #stage { opacity: 1; }

/* ---------------------------------------------------------------- type bits */
.script {
  font-family: var(--f-script);
  color: var(--navy);
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.1;
  margin-bottom: 6px;
}
.script.light { color: #cfdcff; }
.accent-line { display: block; width: 64px; height: 2px; background: var(--red); margin: 10px 0 24px; }
h2 { font-size: clamp(32px, 3.7vw, 54px); font-weight: 700; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn svg { font-size: 20px; transition: transform .3s var(--ease); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); box-shadow: 0 14px 30px -14px rgba(15, 42, 95, .7); }
.btn-navy:hover svg { transform: translateX(-4px); }
.btn-line { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef2fb; transform: translateY(-2px); }
.btn.big { min-height: 60px; padding: 0 36px; font-size: 17px; }
.btn.full { width: 100%; }
.btn.grow { flex: 1; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 70px;
}
.header-inner {
  height: 100%;
  width: min(1320px, 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.logo { display: inline-flex; flex-direction: column; color: var(--navy); font-family: var(--f-script); line-height: .78; }
.logo-top { font-size: 17px; margin-inline-start: 2px; }
.logo-main { font-size: 42px; margin-inline-start: 18px; }
.nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 40px); font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; color: var(--ink); transition: color .2s; }
.nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--navy); }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.play-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-family: var(--f-head);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.play-pill svg { font-size: 19px; }
.play-pill:hover { background: var(--navy); color: #fff; }
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background .2s;
}
.icon-btn svg { font-size: 22px; }
.icon-btn:hover { background: var(--soft); }
.cart-count {
  position: absolute;
  top: 3px;
  inset-inline-end: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-toggle { display: none; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 20px) 70px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 40px; }
.hero-copy { position: relative; z-index: 6; }
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.03; margin-bottom: 26px; }
.lead { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 30em; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { width: 100%; aspect-ratio: 1 / 0.92; }
.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--navy) 50%, var(--line) 50%); background-size: 100% 200%; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* intro (pure CSS so the headline never waits on JS) */
.motion .in-1, .motion .in-2, .motion .in-3, .motion .in-4, .motion .in-5 { animation: rise 1.1s var(--ease) both; }
.motion .in-2 { animation-name: grow; animation-delay: .15s; transform-origin: right; }
.motion .in-3 { animation-delay: .22s; }
.motion .in-4 { animation-delay: .38s; }
.motion .in-5 { animation-delay: .52s; }
@keyframes rise { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------------------------------------------------------------- ticker */
.ticker { position: relative; z-index: 1; border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: #fff; }
.ticker-track { display: flex; align-items: center; gap: 34px; width: max-content; direction: ltr; animation: ticker 38s linear infinite; }
.ticker-track span { font-family: var(--f-head); font-weight: 500; font-size: 17px; color: var(--navy); white-space: nowrap; direction: rtl; }
.ticker-track svg { color: var(--red); font-size: 13px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------------------------------------------------------------- story */
.story { padding: clamp(90px, 12vw, 170px) 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); grid-template-areas: "art copy"; align-items: center; gap: 56px; }
.story-art { grid-area: art; width: 100%; aspect-ratio: 1.15 / 1; }
.story-copy { grid-area: copy; position: relative; z-index: 6; }
.story-copy h2 { margin-bottom: 24px; }
.story-copy > p:not(.script) { color: var(--muted); font-size: 16.5px; line-height: 1.85; max-width: 34em; margin-bottom: 14px; }
.signature { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 38px; }
.sig { font-family: var(--f-script); font-size: 40px; color: var(--navy); line-height: 1; }
.sig-role { font-size: 13px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); max-width: 520px; }
.stats div { padding: 22px 0 0; }
.stats dt { font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 3vw, 42px); color: var(--navy); line-height: 1; }
.stats dd { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- layers (pinned) */
.layers { position: relative; height: 330vh; background: var(--warm); }
.layers-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + 12px);
}
.layers-sticky::before {
  content: '27';
  position: absolute;
  inset: auto 0 -6vw;
  text-align: center;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 42vw;
  line-height: 1;
  color: #f1ede6;
  pointer-events: none;
}
.layers-head { position: relative; text-align: center; }
.layers-head .script { margin-bottom: 2px; }
.layers-sub { color: var(--muted); margin-top: 10px; font-size: 15px; }
.layers-stage { position: relative; flex: 1; width: min(1200px, 100% - var(--pad) * 2); margin: 0 auto; display: grid; place-items: center; }
.layers-art { width: min(760px, 70%); aspect-ratio: 2 / 1; }
.facts { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.fact {
  position: absolute;
  width: min(250px, 24vw);
  padding: 18px 20px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -26px rgba(20, 23, 28, .35);
}
.fact b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.fact span { font-size: 14px; line-height: 1.6; color: var(--muted); }
.fact::before { content: ''; position: absolute; top: 0; inset-inline-start: 0; width: 34px; height: 2px; background: var(--red); }
.f1 { top: 8%; right: 0; }
.f2 { bottom: 10%; right: 4%; }
.f3 { top: 8%; left: 0; }
.f4 { bottom: 10%; left: 4%; }
.js .fact { opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.js .fact.on { opacity: 1; translate: 0 0; }
.layers-progress { position: relative; width: min(320px, 60%); height: 2px; margin: 0 auto 34px; background: var(--line); }
.layers-progress span { position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: right; }

/* ---------------------------------------------------------------- menu */
.menu { position: relative; z-index: 6; background: #fff; padding: clamp(90px, 10vw, 140px) 0 clamp(70px, 8vw, 110px); }
.section-head { margin-bottom: 48px; }
.menu-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.menu-side { position: sticky; top: calc(var(--header-h) + 30px); display: flex; flex-direction: column; align-items: flex-start; }
.menu-side h3 { font-size: 21px; font-weight: 600; margin: 0 0 12px; position: relative; padding-bottom: 12px; }
.menu-side h3::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 44px; height: 2px; background: var(--red); }
.menu-side h3:not(:first-child) { margin-top: 30px; }
.filter { padding: 5px 0; font-size: 15px; color: var(--muted); transition: color .2s, padding .3s var(--ease); }
.filter:hover { color: var(--ink); }
.filter.is-on { color: var(--navy); font-weight: 600; padding-inline-start: 12px; position: relative; }
.filter.is-on::before { content: ''; position: absolute; inset-inline-start: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--navy); translate: 0 -50%; }
.menu-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 10px; }
.sort select {
  font: inherit;
  color: var(--ink);
  font-weight: 500;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  cursor: pointer;
}
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.card { display: flex; flex-direction: column; animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes cardIn { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.card-img { position: relative; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-tag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 10px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.card-body p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 14px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--f-head); font-weight: 700; font-size: 18px; }
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.add-btn svg { font-size: 16px; transition: transform .35s var(--ease); }
.add-btn:hover { background: var(--navy); color: #fff; }
.add-btn.added svg { transform: rotate(180deg); }

/* ---------------------------------------------------------------- feature */
.feature { position: relative; padding: clamp(70px, 9vw, 130px) 0; background: #fff; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature-art {
  position: relative;
  aspect-ratio: 1 / 0.9;
  background: radial-gradient(circle at 50% 45%, #fbfaf8 0%, var(--soft) 70%);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.feature-art.is-dragging { cursor: grabbing; }
.drag-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  translate: -50% 0;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .25);
  white-space: nowrap;
  pointer-events: none;
}
.drag-hint svg { font-size: 14px; }
.drag-hint .flip { transform: scaleX(-1); }
.feature-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.thumb { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); text-align: center; }
.thumb img { aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); outline: 1.5px solid transparent; outline-offset: -1.5px; transition: outline-color .2s, opacity .2s; opacity: .75; }
.thumb:hover img { opacity: 1; }
.thumb.is-on { color: var(--navy); font-weight: 600; }
.thumb.is-on img { outline-color: var(--navy); opacity: 1; }
.feature-info { transition: opacity .18s, translate .18s; }
.feature-info.swap { opacity: 0; translate: 0 8px; }
.feature-info h2 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 10px; }
.feat-price { font-family: var(--f-head); font-size: 24px; font-weight: 600; color: var(--navy); margin-bottom: 26px; }
.feature-info h4 { font-size: 15px; font-weight: 600; margin: 20px 0 6px; }
.feature-info p:not(.script):not(.feat-price) { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 32em; }
.buy-row { display: flex; gap: 14px; margin-top: 34px; max-width: 460px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 52px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--ink); transition: background .2s; }
.qty button:hover { background: var(--soft); }
.qty button svg { font-size: 18px; }
.qty output { min-width: 32px; text-align: center; font-weight: 600; }
.qty.small { height: 38px; }
.qty.small button { width: 32px; }
.qty.small output { min-width: 22px; font-size: 14px; }

/* ---------------------------------------------------------------- game */
.game { position: relative; z-index: 6; padding: clamp(40px, 6vw, 90px) 0; background: #fff; }
.game-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 6vw, 84px);
  background:
    radial-gradient(90% 120% at 100% 0%, #24478f 0%, transparent 60%),
    radial-gradient(70% 90% at 0% 100%, #0a1f49 0%, transparent 70%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.game-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.game-copy { position: relative; z-index: 1; }
.game-copy h2 { margin-bottom: 18px; }
.game-copy > p:not(.script):not(.game-note) { color: #c9d4ee; font-size: 17px; line-height: 1.8; max-width: 30em; }
.game-feats { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.game-feats li { display: flex; gap: 12px; align-items: flex-start; color: #e6ecfa; font-size: 15px; }
.game-feats svg { color: #f2b34a; font-size: 15px; margin-top: 5px; }
.game-note { margin-top: 14px; font-size: 13px; color: #9fb0d8; }
.game-shots { position: relative; z-index: 1; aspect-ratio: 1.15 / 1; }
.shot {
  position: absolute;
  width: 78%;
  border: 6px solid #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  background: #1d110a;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.s1 { top: 0; left: 0; rotate: -4deg; }
.s2 { top: 26%; right: 0; rotate: 3deg; z-index: 2; }
.s3 { bottom: 0; left: 8%; rotate: -1.5deg; width: 62%; z-index: 3; }

/* ---------------------------------------------------------------- visit */
.visit { position: relative; z-index: 6; background: #fff; padding: clamp(80px, 10vw, 140px) 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.visit-list { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 20px; }
.visit-list li { display: flex; gap: 16px; align-items: flex-start; }
.visit-list svg { font-size: 24px; color: var(--navy); margin-top: 2px; }
.visit-list div { display: flex; flex-direction: column; font-size: 15px; color: var(--muted); }
.visit-list b { color: var(--ink); font-weight: 600; font-size: 16px; }
.visit-list a { color: var(--navy); font-weight: 500; }
.visit-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
[dir="ltr"] { text-align: start; }
.visit-list span[dir="ltr"], .visit-list a[dir="ltr"] { align-self: flex-start; }
.hours { background: var(--soft); padding: 24px 28px; max-width: 460px; }
.hours h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.hours h3 svg { color: var(--navy); font-size: 22px; }
.hours table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th { text-align: start; font-weight: 500; padding: 8px 0; border-top: 1px solid var(--line); }
.hours td { text-align: end; color: var(--muted); padding: 8px 0; border-top: 1px solid var(--line); }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.map { border: 1px solid var(--line); overflow: hidden; }
.map-svg { display: block; width: 100%; height: auto; }
.map-label { font-family: var(--f-head); font-size: 15px; fill: var(--muted); text-anchor: middle; }
.map-label.small { font-size: 13px; }
.map-label.river { fill: #7f97c4; font-size: 16px; }
.map-label.pin { fill: var(--navy); font-weight: 600; font-size: 15px; dominant-baseline: middle; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; z-index: 6; background: #fff; border-top: 1px solid var(--line); padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; }
.foot-tag { margin-top: 10px; font-size: 14px; color: var(--muted); }
.foot-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.foot-nav a:hover { color: var(--navy); }
.foot-social { display: flex; gap: 6px; }
.foot-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); transition: background .2s, color .2s; }
.foot-social a:hover { background: var(--navy); color: #fff; }
.foot-social svg { font-size: 20px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------------------------------------------------------------- basket */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(15, 20, 35, .38); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.cart-open .scrim { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 61;
  width: min(460px, 100%);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.cart-open .cart { transform: none; visibility: visible; transition: transform .45s var(--ease); box-shadow: 20px 0 60px -30px rgba(0, 0, 0, .35); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px 18px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 26px; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 28px; overscroll-behavior: contain; }
.cart-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img info x" "img qty sum"; gap: 6px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row img { grid-area: img; width: 64px; height: 64px; object-fit: cover; background: var(--soft); }
.cr-info { grid-area: info; display: flex; flex-direction: column; line-height: 1.35; }
.cr-info b { font-weight: 600; font-size: 15px; }
.cr-info span { font-size: 13px; color: var(--muted); }
.cart-row .qty { grid-area: qty; justify-self: start; }
.cr-sum { grid-area: sum; font-family: var(--f-head); font-weight: 600; }
.cr-x { grid-area: x; width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; }
.cr-x:hover { background: var(--soft); color: var(--ink); }
.cart-empty { padding: 60px 0; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 20px; }
.cart-foot { padding: 20px 28px 28px; background: var(--soft); }
.cart-foot h3 { font-size: 18px; margin-bottom: 10px; }
.totals { margin: 0 0 18px; }
.totals div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 500; }
.totals .total { border-bottom: 0; font-size: 17px; }
.totals .total dt, .totals .total dd { color: var(--ink); font-weight: 700; }
.cart-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }
.cart-fun { margin-top: 16px; padding: 16px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--red); display: grid; gap: 8px; text-align: center; font-size: 14px; color: var(--muted); }
.cart-fun b { color: var(--ink); font-size: 15px; }
.cart-fun .btn { margin-top: 6px; min-height: 46px; }

.credit { font-family: var(--f-head); font-weight: 500; color: var(--navy); letter-spacing: .02em; }

/* "this is made up" notes */
.fiction-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 14px 8px 16px; background: var(--soft); border-inline-start: 2px solid var(--red); font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.fiction-note span { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; }
.visit .fiction-note { margin: 0 0 26px; }

/* ---------------------------------------------------------------- game overlay */
.game-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #1d110a;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.game-open .game-overlay { opacity: 1; transform: none; pointer-events: auto; }
.go-bar { height: 54px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 12px; color: #f6e7d4; background: #140b06; }
.go-title { font-family: var(--f-script); font-size: 26px; padding-inline-start: 6px; }
.go-actions { display: flex; gap: 8px; }
.go-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; transition: background .2s; }
.go-btn:hover { background: rgba(255, 255, 255, .18); }
.go-btn svg { font-size: 18px; }
.go-frame { position: relative; flex: 1; }
.go-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #1d110a; }
.go-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #f6e7d4; font-size: 15px; z-index: 1; background: #1d110a; transition: opacity .4s; }
.go-loading span { width: 34px; height: 34px; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #f2b34a; border-radius: 50%; animation: spin 0.9s linear infinite; }
.go-loading.gone { opacity: 0; pointer-events: none; }
@keyframes spin { to { rotate: 360deg; } }
.game-open body { overflow: hidden; }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 20px;
  background: var(--navy);
  color: #fff;
  font-size: 14.5px;
  box-shadow: 0 18px 40px -16px rgba(15, 42, 95, .6);
  translate: -50% 140%;
  opacity: 0;
  transition: translate .45s var(--ease), opacity .3s;
  white-space: nowrap;
}
.toast { pointer-events: none; }
.toast.show { translate: -50% 0; opacity: 1; pointer-events: auto; }
.toast svg { font-size: 19px; }
.toast button { margin-inline-start: 6px; padding: 5px 12px; background: #fff; color: var(--navy); font-weight: 600; font-size: 13px; }

/* ---------------------------------------------------------------- scroll-linked motion */
@supports (animation-timeline: view()) {
  .motion .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 60%; }
  .motion .s1 { animation: driftA linear both; animation-timeline: view(); }
  .motion .s2 { animation: driftB linear both; animation-timeline: view(); }
  .motion .s3 { animation: driftC linear both; animation-timeline: view(); }
  .motion .map-svg { animation: mapIn linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
}
@keyframes driftA { from { translate: 0 60px; rotate: -8deg; } to { translate: 0 -40px; rotate: -2deg; } }
@keyframes driftB { from { translate: 0 120px; rotate: 7deg; } to { translate: 0 -60px; rotate: 1deg; } }
@keyframes driftC { from { translate: 0 180px; rotate: -5deg; } to { translate: 0 -30px; rotate: 1deg; } }
@keyframes mapIn { from { scale: 1.12; } to { scale: 1; } }

/* ---------------------------------------------------------------- no 3D fallback */
.no-webgl .hero-art { background: url(../img/hero.png) center / contain no-repeat; }
.no-webgl .story-art { background: url(../img/products/classic.jpg) center / cover no-repeat; }
.no-webgl .layers-art { background: url(../img/products/classic.jpg) center / contain no-repeat; }
.no-webgl .feature-art { background: url(../img/products/cream.jpg) center / cover no-repeat; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .play-pill span { display: none; }
  .play-pill { width: 42px; padding: 0; justify-content: center; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { width: min(220px, 30vw); padding: 14px 16px; }
  .fact b { font-size: 19px; }
  .fact span { font-size: 13px; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; }
  .nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pad) 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 20px 30px -24px rgba(0, 0, 0, .3);
    opacity: 0;
    pointer-events: none;
    translate: 0 -8px;
    transition: opacity .25s, translate .25s;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .nav-open .nav { opacity: 1; pointer-events: auto; translate: 0 0; }
  .nav-open { background: #fff; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo-main { font-size: 36px; }
  .hero { align-items: flex-start; min-height: auto; padding-bottom: 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-art { aspect-ratio: 1 / 0.85; }
  .story-grid, .feature-grid, .visit-grid, .game-panel { grid-template-columns: 1fr; }
  .story-grid { grid-template-areas: "art" "copy"; gap: 20px; }
  .layers { height: 300vh; }
  .layers-art { width: 100%; }
  .fact { width: calc(50% - 8px); }
  .f1, .f3 { top: 0; }
  .f2, .f4 { bottom: 0; }
  .f1, .f2 { right: 0; }
  .f3, .f4 { left: 0; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; }
  .menu-side h3 { display: none; }
  .filter, .filter.is-on { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
  .filter.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
  .filter.is-on::before { display: none; }
  .game-shots { margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .menu-grid { grid-template-columns: 1fr; }
  .fact { width: 100%; }
  .f1, .f2, .f3, .f4 { display: none; }
  .fact.on { display: block; }
  .f1.on, .f2.on, .f3.on, .f4.on { top: auto; bottom: 0; left: 0; right: 0; }
  .f1.on:has(~ .on) , .f2.on:has(~ .on), .f3.on:has(~ .on) { display: none; }
  .hero-cta .btn { flex: 1; padding: 0 18px; }
  .buy-row { flex-direction: column; }
  .qty { align-self: flex-start; }
  .cart-row { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .cart-row img { width: 56px; height: 56px; }
  .go-btn span { display: none; }
  .go-btn { width: 38px; padding: 0; justify-content: center; }
  .go-title { font-size: 21px; }
  .foot-nav { flex-wrap: wrap; gap: 14px 22px; }
  .toast { white-space: normal; width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .card { animation: none; }
  .scroll-cue i { animation: none; }
}
