/* ── Inkless Games site kit ─────────────────────────────────────────────
   Shared chrome and layout for every page on games.inklesslabs.com: the nav,
   the buttons, the section furniture, the phone frames and screenshot rail,
   the footer, the lightbox and the cookie bar.

   A page themes it by overriding the hooks marked below, and adds only what is
   unique to it. Nothing game-specific belongs in this file.

   Paired with /assets/site.js, which reads the same markup: [data-tr],
   .nav-menu, .screen-grid, #signup, #cookie-bar, #lang-toggle.
   ──────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #050713;
  --panel: rgba(10, 13, 30, .76);
  --panel-strong: rgba(15, 18, 40, .92);
  --line: rgba(246, 190, 96, .24);
  --line-soft: rgba(180, 150, 255, .18);
  --gold: #ffd76f;
  --gold-2: #f1a74d;
  --violet: #b176ff;
  --blue: #7bd8ff;
  --green: #8cffaa;
  --red: #ff725d;
  --ember: #ff8a4c;
  --text: #f4efff;
  --muted: #a9afd2;
  --dim: #6f7597;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .45);
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, 'Times New Roman', serif;

  /* ── theme hooks ── the only things a page is expected to override ── */
  --brand-mark: url('/assets/inkless-mark.svg') center / cover;
  --nav-bg: rgba(5, 7, 19, .72);
  --nav-line: rgba(246, 190, 96, .18);
  /* The second accent: what .button.secondary and the cooler furniture wear.
     Violet here, teal on the page that says teal. */
  --alt-line: rgba(177, 118, 255, .36);
  --alt-fill: rgba(177, 118, 255, .09);
  --alt-text: #e8ddff;
  /* The bloom a device frame throws onto the page behind it. */
  --frame-glow: rgba(126, 92, 255, .14);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--serif);
  background: var(--bg);
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Two fixed layers behind the page, for each one to paint its own way:
   ::before carries the texture, ::after the vignette. Both start empty. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-line);
}

.nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-mark);
  box-shadow: 0 0 28px rgba(255, 215, 111, .28), inset 0 0 0 1px rgba(255,255,255,.16);
  flex: 0 0 auto;
}

.brand-title {
  letter-spacing: .33em;
  font-size: 18px;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-subtitle {
  margin-top: 3px;
  font: 500 12px/1.2 var(--sans);
  color: var(--muted);
  letter-spacing: .08em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
/* The menu is a native <details>: keyboard-operable and screen-reader-correct
       with zero ARIA and zero JS, which suits a page whose whole script budget is
       one IIFE. Above 920px the summary hides and the links sit inline. */

.nav-menu > summary {
  display: none;
  list-style: none;
  cursor: pointer;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 111, .3);
  background: rgba(255,255,255,.04);
  color: #ffe7a8;
  font-size: 18px;
}

.nav-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 700 13px/1 var(--sans);
  color: var(--muted);
}

.nav-links a {
  padding: 11px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

/* A link out of this game and into another, set apart from the page's own
   section anchors by a hairline. */
.nav-links .nav-other {
  margin-left: 6px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  color: var(--gold);
}

.nav-links a:hover {
  color: var(--gold);
  background: rgba(255,255,255,.05);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 215, 111, .36);
  background:
    linear-gradient(180deg, rgba(255, 215, 111, .22), rgba(255, 132, 74, .08)),
    rgba(255,255,255,.04);
  color: #fff4cf;
  box-shadow: 0 0 28px rgba(255, 177, 76, .18), inset 0 1px 0 rgba(255,255,255,.18);
  font: 800 13px/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 111, .72);
  box-shadow: 0 16px 46px rgba(255, 177, 76, .22), inset 0 1px 0 rgba(255,255,255,.2);
}

.button.secondary {
  border-color: var(--alt-line);
  background: var(--alt-fill);
  color: var(--alt-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.hero {
  position: relative;
  padding: 78px 0 64px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 215, 111, .18);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--gold);
  font: 800 12px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.eyebrow::before {
  content: "✦";
  color: #fff1a7;
  text-shadow: 0 0 16px rgba(255, 215, 111, .8);
}

h1 {
  margin: 28px 0 0;
  color: #ffe28a;
  font-size: clamp(42px, 8vw, 84px);
  line-height: .86;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: 0 0 42px rgba(255, 188, 85, .18);
}

.tagline {
  margin: 22px 0 0;
  color: #d8d6ff;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: .18em;
  font-style: italic;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font: 500 17px/1.8 var(--sans);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
  max-width: 690px;
}

.stat {
  padding: 17px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.stat strong {
  display: block;
  color: #fff0b8;
  font-size: 24px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--dim);
  font: 700 12px/1.4 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
/* ── phone frames ─────────────────────────────────────────────────── */

.phone {
  position: relative;
  border-radius: 40px;
  border: 1px solid rgba(255, 215, 111, .26);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    #070913;
  box-shadow: var(--shadow), 0 0 80px var(--frame-glow);
  padding: 10px;
  overflow: hidden;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 31px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

/* A landscape screen — the wide sibling of .phone, for a game played on one. */
.screen {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 215, 111, .26);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    #0a0806;
  box-shadow: var(--shadow), 0 0 80px var(--frame-glow);
  padding: 9px;
  overflow: hidden;
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
/* The nav is sticky, so an anchor jump must stop short of it or the kicker
       lands underneath the bar. */

section {
  padding: 74px 0;
  scroll-margin-top: 86px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-kicker {
  color: var(--gold);
  font: 900 13px/1 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
}

h2 {
  margin: 14px 0 0;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: .06em;
  color: #fff1bd;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font: 500 16px/1.7 var(--sans);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.026)),
    var(--panel);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -54px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 62%);
  opacity: .2;
  filter: blur(4px);
}

.feature-card:nth-child(1) {
  --accent: var(--gold);
}

.feature-card:nth-child(2) {
  --accent: var(--violet);
}

.feature-card:nth-child(3) {
  --accent: var(--blue);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--gold);
  font-size: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.feature-card h3 {
  margin: 24px 0 12px;
  color: #fff4d2;
  font-size: 24px;
  letter-spacing: .05em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font: 500 15px/1.7 var(--sans);
}

.panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)), var(--panel);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.panel h3 {
  margin: 0 0 14px;
  color: #fff4d2;
  font-size: 26px;
  letter-spacing: .04em;
}

.panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font: 500 15px/1.75 var(--sans);
}

.realm-icon svg, .feature-icon svg {
  display: block;
}

.feature-icon svg {
  width: 27px;
  height: 27px;
}
/* ── the screenshot rail ──────────────────────────────────────────── */

.showcase {
  position: relative;
  border: 1px solid rgba(255, 215, 111, .18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(7, 9, 24, .78);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  padding: 26px 0;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 215, 111, .12), transparent 24%),
    radial-gradient(circle at 70% 48%, rgba(123, 216, 255, .10), transparent 26%);
  pointer-events: none;
}
/* Every shot is a phone, so the gallery is a snap rail rather than a mosaic —
       eight portrait frames read naturally scrolling sideways and it behaves the
       same on a desktop trackpad as under a thumb. */

.screen-grid {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 6px 26px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,215,111,.3) transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.screen-grid::-webkit-scrollbar {
  height: 8px;
}

.screen-grid::-webkit-scrollbar-thumb {
  background: rgba(255,215,111,.28);
  border-radius: 8px;
}

.shot {
  flex: 0 0 auto;
  width: 254px;
  scroll-snap-align: center;
  transition: transform .25s ease;
}

.shot.wide {
  width: 468px;
}

.shot:hover {
  transform: translateY(-8px);
}

.shot img {
  cursor: zoom-in;
}

.shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font: 600 13px/1.5 var(--sans);
  letter-spacing: .03em;
  text-align: center;
}

.rail-hint {
  margin: 4px 26px 0;
  color: var(--dim);
  font: 700 12px/1.5 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
/* ── cozy ─────────────────────────────────────────────────────────── */

.cozy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cozy {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(9, 12, 28, .55);
}

.cozy b {
  display: block;
  color: #fff4d2;
  font-size: 20px;
  letter-spacing: .03em;
}

.cozy span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font: 500 14px/1.65 var(--sans);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 215, 111, .16);
  background: rgba(7, 10, 24, .7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.roadmap-card strong {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 215, 111, .08);
  border: 1px solid rgba(255, 215, 111, .16);
  font: 900 12px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.roadmap-card h3 {
  margin: 20px 0 10px;
  font-size: 26px;
  color: #fff3d2;
}

.roadmap-card p {
  margin: 0;
  color: var(--muted);
  font: 500 15px/1.7 var(--sans);
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 54px;
  background:
    linear-gradient(110deg, rgba(255, 215, 111, .16), rgba(177, 118, 255, .13) 48%, rgba(123, 216, 255, .08)),
    rgba(7, 9, 24, .92);
  border: 1px solid rgba(255, 215, 111, .22);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.1);
}

.cta::after {
  content: "✦";
  position: absolute;
  right: 46px;
  top: 30px;
  color: rgba(255, 215, 111, .2);
  font-size: 240px;
  line-height: .8;
  text-shadow: 0 0 80px rgba(255, 215, 111, .28);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 710px;
}

.cta h2 {
  margin-top: 0;
}

.cta p {
  margin: 20px 0 0;
  color: var(--muted);
  font: 500 17px/1.75 var(--sans);
}
/* ── beta signup ──────────────────────────────────────────────────── */

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 520px;
}

.signup input {
  flex: 1 1 240px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(3, 4, 11, .55);
  color: var(--text);
  font: 500 15px/1 var(--sans);
}

.signup input::placeholder {
  color: var(--dim);
}

.signup input:focus {
  outline: none;
  border-color: rgba(255, 215, 111, .55);
}

.signup button {
  flex: 0 0 auto;
  cursor: pointer;
}

.signup-msg {
  flex: 1 1 100%;
  margin: 2px 0 0;
  min-height: 20px;
  color: var(--green);
  font: 600 14px/1.5 var(--sans);
}

.signup-msg.err {
  color: var(--red);
}

.footer {
  padding: 38px 0 48px;
  color: var(--dim);
  border-top: 1px solid rgba(255, 215, 111, .12);
  font: 700 13px/1.6 var(--sans);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .cozy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roadmap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav-menu > summary {
    display: grid;
  }
  .nav-menu .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    /* Opaque, and no backdrop-filter of its own: the panel hangs outside
           .nav, whose blur already owns the compositing layer — nesting a second
           one there let the hero read straight through the menu. */
    background: #0a0d1e;
    border-bottom: 1px solid rgba(246, 190, 96, .18);
    box-shadow: 0 24px 48px rgba(0,0,0,.55);
  }
  .nav-menu:not([open]) .nav-links {
    display: none;
  }
  .nav-links a {
    padding: 14px;
    font-size: 15px;
  }
  .nav-links .nav-other {
    margin: 4px 0 0;
    padding-left: 14px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 18px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }
  /* Three things share a 351px bar: wordmark, menu, and the demo button.
         The button is the conversion and never shrinks, so the brand gives way —
         mark and wordmark tighten, and below 430px the wordmark steps out. */
  .nav-inner {
    height: 68px;
    gap: 8px;
  }
  .nav-right {
    gap: 8px;
  }
  .brand {
    gap: 10px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .brand-title {
    font-size: 13px;
    letter-spacing: .12em;
  }
  .brand-subtitle {
    display: none;
  }
  .nav-menu > summary {
    width: 42px;
    height: 42px;
  }
  .nav-inner .button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  .hero {
    padding-top: 46px;
  }
  h1 {
    letter-spacing: .04em;
  }
  .tagline {
    letter-spacing: .11em;
  }
  .stats, .cozy-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 54px 0;
  }
  .panel {
    padding: 24px 20px;
  }
  .cta {
    padding: 34px 24px;
  }
  .cta::after {
    font-size: 150px;
    right: 18px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .rail-hint {
    padding-inline: 20px;
  }
  .screen-grid {
    padding-inline: 20px;
  }
  .shot {
    width: 224px;
  }
  .shot.wide {
    width: min(84vw, 468px);
  }
}

@media (max-width: 430px) {
  .brand-title {
    display: none;
  }
}

#fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
}

.fx-controls {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  gap: 8px;
}

.fx-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  cursor: pointer;
  border: 1px solid rgba(255, 215, 111, .3);
  background: rgba(10, 13, 30, .66);
  backdrop-filter: blur(8px);
  color: #ffe7a8;
  font: 700 14px/1 var(--sans);
  box-shadow: 0 8px 24px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}

.fx-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 111, .6);
}

.fx-btn.off {
  color: #6f7597;
  border-color: rgba(255,255,255,.12);
}

@media (max-width: 640px) {
  .fx-controls {
    right: 12px;
    bottom: 12px;
  }
}
/* Screenshot lightbox gallery */

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  background: rgba(3, 4, 11, .93);
  backdrop-filter: blur(12px);
  animation: lbIn .22s ease both;
}

.lb.open {
  display: flex;
}

@keyframes lbIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 111, .28);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .65), 0 0 60px rgba(126, 92, 255, .14);
}

.lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 111, .3);
  background: rgba(10, 13, 30, .7);
  backdrop-filter: blur(8px);
  color: #ffe7a8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  transition: transform .15s ease, border-color .15s ease;
}

.lb-btn:hover {
  transform: scale(1.06);
  border-color: rgba(255, 215, 111, .7);
}

.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 30px;
}

.lb-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.lb-prev {
  left: 18px;
}

.lb-next {
  right: 18px;
}

.lb-close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font-size: 18px;
}

.lb-count {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  letter-spacing: .14em;
  font: 700 13px/1 var(--sans);
}

@media (max-width: 640px) {
  .lb-nav {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }
  .lb-prev {
    left: 10px;
  }
  .lb-next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  #fx {
    display: none;
  }
}

/* ── cookie bar ── only ever shown to EU/EEA/UK visitors; see site.js ── */
#cookie-bar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 300px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(14, 11, 24, .92);
  border: 1px solid rgba(255, 215, 111, .22);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px);
  font: 500 12px/1.5 var(--sans);
  color: #c9c6e0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}

#cookie-bar.show {
  opacity: 1;
  transform: none;
}

#cookie-bar[hidden] {
  display: none;
}

#cookie-bar .cc-text {
  flex: 1 1 100%;
  color: #b7b3d0;
}

#cookie-bar a {
  color: var(--gold);
}

#cookie-bar .cc-btns {
  display: flex;
  gap: 7px;
  margin-left: auto;
}

#cookie-bar button {
  cursor: pointer;
  border-radius: 9px;
  padding: 6px 13px;
  font: 700 11px/1 var(--sans);
  letter-spacing: .03em;
}

#cookie-bar .cc-yes {
  border: 1px solid rgba(255, 215, 111, .5);
  background: linear-gradient(180deg, rgba(255, 215, 111, .92), rgba(255, 184, 90, .86));
  color: #231703;
}

#cookie-bar .cc-no {
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: #9a96b5;
}
