/* ==========================================================
   Fork & Knight Café — "Checkmate your cravings"
   ========================================================== */
:root {
  --ink: #0c0a09;
  --ink-2: #14110f;
  --ink-3: #1d1916;
  --line: rgba(242, 235, 224, .12);
  --bone: #f2ebe0;
  --bone-dim: rgba(242, 235, 224, .62);
  --orange: #ff6b1a;
  --orange-2: #ff8a3d;
  --ember: #c2410c;
  --wood: #7a4a2c;
  --sq-dark: #1a1512;
  --sq-light: #2a221c;

  --f-display: "Cinzel", "Times New Roman", serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-sans: "DM Sans", system-ui, sans-serif;
  --f-script: "Mrs Saint Delafield", cursive;
  --f-glyph: "Segoe UI Symbol", "Noto Sans Symbols 2", "DejaVu Sans", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
::selection { background: var(--orange); color: var(--ink); }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--f-display); font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  font-size: 12px; color: var(--orange); margin: 0 0 18px;
}
.display {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 7vw, 104px); line-height: .95; letter-spacing: -.01em; margin: 0;
}
.display em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none;
  color: var(--orange); letter-spacing: 0;
}
.lede { font-family: var(--f-serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--bone-dim); max-width: 34ch; }
.script { font-family: var(--f-script); font-weight: 400; color: var(--orange); }
.muted { color: var(--bone-dim); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 999px; border: 1px solid var(--orange);
  font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; overflow: hidden; cursor: pointer; background: none;
  transition: color .4s var(--ease), border-color .4s;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--orange);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary::before { background: var(--bone); }
.btn--ghost { color: var(--bone); border-color: var(--line); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost:hover { color: var(--ink); border-color: var(--orange); }

/* ==========================================================
   LOADER
   ========================================================== */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink);
}
.loader__board {
  display: grid; grid-template-columns: repeat(8, 1fr); width: min(62vmin, 420px); aspect-ratio: 1;
}
.loader__board i { background: var(--sq-light); }
.loader__board i.d { background: var(--sq-dark); }
.loader__knight {
  position: absolute; width: min(10vmin, 64px); aspect-ratio: 1; color: var(--orange);
  left: 50%; top: 50%; translate: -50% -50%;
}
.loader__knight svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 18px rgba(255,107,26,.6)); }
.loader__text {
  position: absolute; bottom: 10vh; left: 0; right: 0; text-align: center; margin: 0;
  font-family: var(--f-display); letter-spacing: .3em; text-transform: uppercase; font-size: 11px; color: var(--bone-dim);
}

/* ==========================================================
   CURSOR
   ========================================================== */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
.cursor__dot { width: 6px; height: 6px; background: var(--orange); }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(255, 107, 26, .55); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s;
}
.cursor__ring span { font-family: var(--f-glyph); font-size: 0; color: var(--ink); transition: font-size .3s var(--ease); }
.cursor.is-hover .cursor__ring { width: 74px; height: 74px; background: var(--orange); border-color: var(--orange); mix-blend-mode: normal; }
.cursor.is-hover .cursor__ring span { font-size: 30px; }
.cursor.is-hover .cursor__dot { opacity: 0; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 28px; padding: 18px var(--gutter);
  transition: background .4s, padding .4s, transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(12, 10, 9, .78); backdrop-filter: blur(14px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 17px; }
.nav__brand em { font-family: var(--f-serif); font-style: italic; color: var(--orange); font-weight: 500; }
.nav__knight { width: 28px; height: 28px; fill: var(--orange); transition: transform .6s var(--ease); }
.nav__brand:hover .nav__knight { transform: translate(6px, -12px) rotate(-8deg); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim);
  position: relative; padding: 4px 0; transition: color .3s;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 12px; letter-spacing: .06em; white-space: nowrap;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #777; }
.status.is-open .status__dot { background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 1.8s infinite; }
.status.is-closed .status__dot { background: var(--orange); }
.status--inline { font-size: 15px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--bone); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 15px; } .nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 36px) 36px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 36px) 36px); visibility: visible; }
.drawer a { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 9vw, 56px); text-transform: uppercase; text-decoration: none; line-height: 1.15; }
.drawer a:hover { color: var(--orange); }
.drawer p { margin-top: 28px; color: var(--bone-dim); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px var(--gutter) 80px; isolation: isolate; }
.hero__floor { position: absolute; inset: 0; perspective: 700px; z-index: -2; overflow: hidden; }
.hero__grid {
  position: absolute; left: -50%; right: -50%; bottom: -40%; height: 110%;
  background:
    conic-gradient(var(--sq-light) 25%, var(--sq-dark) 0 50%, var(--sq-light) 0 75%, var(--sq-dark) 0) 0 0 / 160px 160px;
  transform: rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 75%);
          mask-image: linear-gradient(to top, #000 10%, transparent 75%);
  animation: floor 16s linear infinite;
}
@keyframes floor { to { background-position: 0 160px; } }
.hero__glow {
  position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -20vmax; top: -20vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 26, .22), transparent 60%); filter: blur(10px);
}
.hero__pieces { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.piece {
  position: absolute; font-family: var(--f-glyph); color: rgba(242, 235, 224, .06); line-height: 1;
  animation: float 9s ease-in-out infinite;
}
.p1 { font-size: 220px; left: 4%; top: 12%; }
.p2 { font-size: 120px; left: 44%; top: 8%; animation-delay: -2s; color: rgba(255, 107, 26, .1); }
.p3 { font-size: 160px; right: 3%; bottom: 4%; animation-delay: -4s; }
.p4 { font-size: 90px; left: 38%; bottom: 12%; animation-delay: -6s; color: rgba(255, 107, 26, .12); }
.p5 { font-size: 300px; left: -4%; bottom: -12%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-24px) rotate(4deg); } }

.hero__inner { width: 100%; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero__eyebrow { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__eyebrow i { font-style: normal; color: var(--bone-dim); }
.hero__title { margin: 0; font-weight: 400; line-height: .9; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .word { display: inline-block; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(68px, 10vw, 168px); letter-spacing: -.02em; }
.hero__title .char { display: inline-block; will-change: transform; }
.line--script { overflow: visible !important; margin-top: -.15em; padding-left: .3em; }
.hero__title .script { display: inline-block; font-size: clamp(56px, 9vw, 150px); line-height: 1; }
.hero__lede { font-family: var(--f-serif); font-size: clamp(19px, 1.7vw, 24px); color: var(--bone-dim); max-width: 44ch; margin: 22px 0 34px; line-height: 1.45; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__emblem { display: grid; place-items: center; }
.emblem { position: relative; width: min(40vw, 520px); aspect-ratio: 1; }
.emblem__ring, .emblem__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.emblem__ring { animation: spin 40s linear infinite; }
.emblem__disc { fill: var(--bone); }
.emblem__inner { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 2 6; }
.emblem__type { font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: 4.6px; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.emblem__art { padding: 15%; overflow: visible; }
.emblem__knight { fill: var(--ink); }
.emblem__eye { fill: var(--bone); }
.emblem .draw { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.emblem__fork .draw { stroke: var(--ink); stroke-width: 3.4; }
.emblem .pasta, .emblem .ribbon { stroke: var(--orange); stroke-width: 4.5; }
.emblem .mane { stroke: var(--bone); stroke-width: 1.6; opacity: .7; }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--bone-dim);
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--orange), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee { background: var(--orange); color: var(--ink); overflow: hidden; padding: 18px 0; transform: rotate(-2deg) scale(1.05); margin: 30px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.marquee span { font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 3.4vw, 46px); text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; font-family: var(--f-glyph); font-size: clamp(22px, 3vw, 40px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   STORY + HORIZONTAL MOVES
   ========================================================== */
.story { padding: 140px 0 0; }
.story__intro, .section-head { padding: 0 var(--gutter); max-width: 1400px; margin: 0 auto; }
.story__intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.story__intro .eyebrow { grid-column: 1 / -1; }
.story__intro .lede { margin: 0; }

.moves { overflow: hidden; padding: 100px 0 140px; }
.moves__track { display: flex; gap: 28px; padding: 0 var(--gutter); width: max-content; }
.move {
  position: relative; width: min(78vw, 460px); min-height: 480px; padding: 40px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.move::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: conic-gradient(rgba(255,255,255,.025) 25%, transparent 0 50%, rgba(255,255,255,.025) 0 75%, transparent 0) 0 0 / 60px 60px;
}
.move__no { position: absolute; top: 30px; left: 40px; font-family: var(--f-display); color: var(--bone-dim); letter-spacing: .2em; }
.move__notation { position: absolute; top: 14px; right: 30px; font-family: var(--f-serif); font-style: italic; font-size: 92px; line-height: 1; color: var(--orange); }
.move h3 { position: relative; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 34px; line-height: 1; margin: 0 0 14px; }
.move p { position: relative; margin: 0; color: var(--bone-dim); max-width: 32ch; }
.move__piece { position: absolute; right: -20px; bottom: 40px; font-family: var(--f-glyph); font-size: 240px; line-height: 1; color: rgba(242, 235, 224, .05); transition: color .6s, transform .8s var(--ease); }
.move:hover .move__piece { color: rgba(255, 107, 26, .18); transform: translateY(-14px) rotate(-6deg); }
.move--final { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.move--final .move__notation, .move--final .move__no, .move--final p { color: var(--ink); }
.move--final .move__piece { color: rgba(12, 10, 9, .14); }

/* ==========================================================
   MENU
   ========================================================== */
.menu { padding: 120px 0 140px; background: var(--ink-2); position: relative; }
.menu::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 48px; background: conic-gradient(var(--sq-light) 25%, var(--ink) 0 50%, var(--sq-light) 0 75%, var(--ink) 0) 0 0 / 48px 48px; opacity: .8; }
.menu .section-head { padding-top: 40px; }
.menu__tabs {
  display: flex; gap: 10px; padding: 0 var(--gutter); max-width: 1400px; margin: 56px auto 0; overflow-x: auto; scrollbar-width: none;
}
.menu__tabs::-webkit-scrollbar { display: none; }
.menu__tabs button {
  flex: 1 0 auto; min-width: 140px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-align: left;
  padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); background: none; cursor: pointer;
  transition: background .4s, border-color .4s, color .4s;
}
.menu__tabs b { grid-row: span 2; font-family: var(--f-glyph); font-weight: 400; font-size: 34px; line-height: 1; color: var(--orange); transition: color .4s, transform .5s var(--ease); }
.menu__tabs span { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
.menu__tabs small { color: var(--bone-dim); font-family: var(--f-serif); font-style: italic; font-size: 15px; }
.menu__tabs button:hover b { transform: translateY(-4px) rotate(-8deg); }
.menu__tabs [aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.menu__tabs [aria-selected="true"] b, .menu__tabs [aria-selected="true"] small { color: var(--ink); }

.menu__stage { max-width: 1400px; margin: 40px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.menu__piece {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(255, 107, 26, .25), transparent 65%);
}
.menu__piece::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(255, 107, 26, .35); animation: spin 30s linear infinite; }
.menu__piece span { font-family: var(--f-glyph); font-size: clamp(140px, 20vw, 300px); line-height: 1; color: var(--bone); text-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(255, 107, 26, .35); }
.menu__tagline { font-family: var(--f-serif); font-style: italic; font-size: 24px; color: var(--orange); margin: 0 0 18px; }
.menu__list { list-style: none; padding: 0; margin: 0; }
.menu__list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; position: relative; }
.menu__list li::before { content: ""; position: absolute; left: -16px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .4s var(--ease); }
.menu__list li:hover::before { transform: scale(1); }
.menu__list h4 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: .02em; transition: color .3s, transform .4s var(--ease); }
.menu__list li:hover h4 { color: var(--orange); transform: translateX(6px); }
.menu__list p { margin: 0; grid-column: 1; color: var(--bone-dim); font-size: 15px; }
.menu__list .tag { grid-row: 1; grid-column: 2; align-self: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--orange); color: var(--orange); }
.menu__note { max-width: 1400px; margin: 40px auto 0; padding: 0 var(--gutter); color: var(--bone-dim); font-size: 14px; }
.menu__note a { color: var(--orange); }

/* ==========================================================
   PERSONALITY CARDS
   ========================================================== */
.personality { padding: 140px 0; }
.personality .section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.personality .section-head .eyebrow { grid-column: 1 / -1; }
.personality .lede { margin: 0; }
.cards {
  max-width: 1400px; margin: 70px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card { background: none; border: 0; padding: 0; perspective: 1200px; cursor: pointer; text-align: left; aspect-ratio: 4 / 4.6; }
.card__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.card.is-flipped .card__inner { transform: rotateY(180deg); }
.card__face {
  position: absolute; inset: 0; border-radius: 26px; padding: 34px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.card__front { background: var(--ink-3); border: 1px solid var(--line); transition: border-color .4s; }
.card:hover .card__front { border-color: rgba(255, 107, 26, .5); }
.card__front::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 107, 26, .18), transparent 50%); opacity: 0; transition: opacity .4s; }
.card:hover .card__front::after { opacity: 1; }
.card__glyph { position: absolute; top: 16px; right: 24px; font-family: var(--f-glyph); font-size: 150px; line-height: 1; color: var(--bone); transition: transform .8s var(--ease), color .5s; }
.card:hover .card__glyph { transform: translateY(-10px) rotate(-6deg); color: var(--orange); }
.card h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 28px; margin: 0 0 6px; line-height: 1.05; position: relative; z-index: 1; }
.card p { margin: 0; color: var(--bone-dim); position: relative; z-index: 1; }
.card small { margin-top: 18px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); position: relative; z-index: 1; }
.card__back { background: var(--orange); color: var(--ink); transform: rotateY(180deg); justify-content: center; }
.card__back::before { content: ""; position: absolute; inset: 0; opacity: .12; background: conic-gradient(#000 25%, transparent 0 50%, #000 0 75%, transparent 0) 0 0 / 56px 56px; }
.card__back p { color: rgba(12, 10, 9, .8); font-family: var(--f-serif); font-size: 20px; line-height: 1.35; }
.card__back h3 { font-size: 32px; margin-bottom: 14px; }
.card__kicker { font-family: var(--f-display) !important; font-size: 12px !important; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 10px !important; }

/* ==========================================================
   PLAY — KNIGHT'S FEAST
   ========================================================== */
.play {
  padding: 140px var(--gutter); background: var(--ink-2); max-width: none;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center;
}
.play__copy { max-width: 560px; justify-self: end; }
.play__stats { display: flex; gap: 36px; margin: 36px 0; }
.play__stats span { display: block; font-family: var(--f-display); font-weight: 900; font-size: 48px; line-height: 1; color: var(--orange); }
.play__stats small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-dim); }
.play__boardwrap { position: relative; width: min(100%, 580px); }
.board {
  display: grid; grid-template-columns: repeat(6, 1fr); aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 0 10px var(--wood), 0 0 0 11px rgba(255,255,255,.08);
}
.sq { position: relative; display: grid; place-items: center; border: 0; padding: 0; background: #3a2c22; cursor: default; }
.sq.l { background: #d9c7aa; }
.sq.legal { cursor: pointer; }
.sq.legal::after {
  content: ""; position: absolute; width: 30%; height: 30%; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 24px var(--orange); animation: legal 1.4s ease-in-out infinite;
}
.sq.legal:hover::after { width: 80%; height: 80%; border-radius: 14px; opacity: .55; }
@keyframes legal { 50% { transform: scale(.75); opacity: .7; } }
.sq.visited::before { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: rgba(255, 107, 26, .25); }
.sq .food { font-size: clamp(22px, 5vw, 40px); line-height: 1; z-index: 1; filter: drop-shadow(0 6px 8px rgba(0,0,0,.4)); animation: bob 2.4s ease-in-out infinite; }
.sq:nth-child(odd) .food { animation-delay: -1.2s; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.board__knight { position: absolute; width: calc(100% / 6); aspect-ratio: 1; display: grid; place-items: center; pointer-events: none; z-index: 2; }
.board__knight svg { width: 70%; height: 70%; fill: var(--ink); stroke: var(--orange); stroke-width: 3; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .5)); }
.board__win {
  position: absolute; inset: 0; border-radius: 18px; background: rgba(12, 10, 9, .88); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; z-index: 3;
}
.board__win.is-on { opacity: 1; visibility: visible; }
.board__win .script { font-size: clamp(64px, 10vw, 110px); line-height: 1; margin: 0; }
.board__win p { margin: 0 0 18px; font-family: var(--f-serif); font-size: 22px; }
.burst { position: absolute; pointer-events: none; font-size: 22px; z-index: 4; }

/* ==========================================================
   WEATHER + IG
   ========================================================== */
.social { padding: 140px var(--gutter); max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: center; }
.weather {
  position: relative; border-radius: 30px; padding: 40px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #1c2a44 0%, #0f1625 100%); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.weather::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; top: -60px; right: -60px; background: radial-gradient(circle, rgba(255, 170, 60, .5), transparent 70%); animation: float 7s ease-in-out infinite; }
.weather__loc { margin: 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.weather__title { font-family: var(--f-display); font-weight: 900; font-size: 34px; text-transform: uppercase; margin: 14px 0 0; line-height: 1; }
.weather__title .script { display: block; font-size: 72px; text-transform: none; line-height: .9; margin: 4px 0 -6px; }
.weather__temp { font-family: var(--f-sans); font-weight: 300; font-size: 120px; line-height: 1; margin-top: 16px; letter-spacing: -.04em; }
.weather__cond { margin: 0 0 24px; color: rgba(255,255,255,.7); }
.weather__forecast { background: rgba(255,255,255,.08); border-radius: 18px; padding: 18px; }
.weather__forecast p { margin: 0 0 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.weather__forecast strong { color: var(--orange-2); font-size: 18px; }

.ig .display { font-size: clamp(26px, 3.9vw, 60px); text-transform: none; overflow-wrap: anywhere; }
.ig .lede { margin: 20px 0 30px; }
.ig__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.ig__tile {
  aspect-ratio: 4 / 5; border-radius: 18px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  text-decoration: none; padding: 12px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 120%, rgba(255,107,26,.35), transparent 60%), var(--ink-3); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s;
}
.ig__tile:hover { transform: translateY(-8px) rotate(-1.5deg); border-color: var(--orange); }
.ig__tile b { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(11px, 1.3vw, 16px); line-height: 1.1; color: var(--orange-2); }
.ig__tile .script { font-size: clamp(30px, 4vw, 54px); line-height: .9; color: var(--bone); }

/* ==========================================================
   VISIT
   ========================================================== */
.visit { padding: 140px var(--gutter); max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.visit__list { margin: 44px 0 40px; }
.visit__list > div { display: grid; grid-template-columns: 110px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
.visit__list dt { font-family: var(--f-display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); padding-top: 4px; }
.visit__list dd { margin: 0; font-family: var(--f-serif); font-size: 22px; line-height: 1.35; }
.visit__map { position: relative; aspect-ratio: 1; border-radius: 50% 50% 28px 28px; overflow: hidden; border: 1px solid var(--line); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.25) hue-rotate(-10deg); }
.visit__pin {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -100%; pointer-events: none;
  background: var(--orange); border-radius: 50% 50% 50% 0; rotate: -45deg; display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.5); animation: pin 2.2s var(--ease) infinite;
}
.visit__pin svg { width: 60%; height: 60%; fill: var(--ink); rotate: 45deg; }
@keyframes pin { 50% { transform: translateY(-12px); } }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { padding: 60px var(--gutter) 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { display: flex; justify-content: center; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 12.5vw, 230px); line-height: .85; letter-spacing: -.03em; }
.footer__big span:last-child { color: var(--orange); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; font-size: 13px; color: var(--bone-dim); }
.footer__row p { margin: 0; }
.footer__script { font-size: 40px; color: var(--orange) !important; }
.footer__top { text-decoration: none; letter-spacing: .14em; text-transform: uppercase; }
.footer__top:hover { color: var(--orange); }

/* reveal defaults (JS animates in) */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .status { margin-left: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .play { grid-template-columns: 1fr; }
  .play__copy { justify-self: start; }
  .play__boardwrap { justify-self: center; }
}
@media (max-width: 860px) {
  .hero { padding-top: 110px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__emblem { order: -1; }
  .emblem { width: min(62vw, 300px); }
  .story__intro, .personality .section-head, .social, .visit, .menu__stage { grid-template-columns: 1fr; }
  .menu__piece { width: min(56vw, 260px); justify-self: center; }
  .moves__track { flex-direction: column; width: auto; }
  .move { width: 100%; min-height: 380px; }
  .moves { padding: 60px 0 100px; }
  .section-head, .story__intro { gap: 20px; }
  .visit__map { border-radius: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .status__text { display: none; }
  .status:not(.status--inline) { padding: 8px; }
  .status--inline .status__text { display: inline; }
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3.6; }
  .card__glyph { font-size: 110px; }
  .move { padding: 28px; }
  .move__no { left: 28px; }
  .move__notation { font-size: 64px; }
  .move__piece { font-size: 170px; }
  .play__stats { gap: 22px; }
  .play__stats span { font-size: 36px; }
  .visit__list > div { grid-template-columns: 1fr; gap: 6px; }
  .weather { padding: 30px 22px; }
  .weather__temp { font-size: 96px; }
  .footer__row { justify-content: center; text-align: center; }
  .p1, .p5 { font-size: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
