/* Chateau Saint Jean — NL casino hotel 2026
   Noir wine + champagne. Fraunces + Sora. */

:root {
  --ink: #1a1214;
  --paper: #f0ebe3;
  --stone: #e7e0d4;
  --panel: #14080c;
  --noir: #0c0608;
  --wine: #6b1d2a;
  --champagne: #c4a574;
  --bone: #f7f2ea;
  --send: #8a2434;
  --line: rgba(26, 18, 20, 0.16);
  --muted: #6a5f5a;
  --page-pad: clamp(20px, 5vw, 88px);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--wine);
  color: var(--bone);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--panel);
  color: var(--bone);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.section {
  padding: clamp(72px, 10vw, 140px) var(--page-pad);
}

.meta-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--champagne);
  background: var(--champagne);
  color: var(--noir);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.button:hover {
  background: transparent;
  color: var(--champagne);
}

.button:active {
  transform: translateY(1px);
}

.send-button {
  background: var(--send);
  border-color: var(--send);
  color: #fff;
}

.send-button:hover {
  background: #6d1a28;
  border-color: #6d1a28;
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 180ms var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

svg.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  min-height: var(--header-h);
  padding: 0 var(--page-pad);
  color: var(--bone);
}

.site-header.is-solid {
  position: sticky;
  background: var(--panel);
  border-bottom: 1px solid rgba(196, 165, 116, 0.18);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: normal;
  line-height: 1.15;
}

.brand-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  white-space: normal;
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(247, 242, 234, 0.35);
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.site-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  color: var(--champagne);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
}

.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-contact .icon {
  width: 14px;
  height: 14px;
  color: var(--champagne);
}

/* Home stack order */

.home-main {
  display: flex;
  flex-direction: column;
}

.home-main > * {
  width: 100%;
}

.mobile-scroll-gap {
  display: none;
}

/* Hero — full-bleed */

.hero {
  position: relative;
  min-height: min(100vh, 960px);
  display: grid;
  align-items: end;
  background: var(--noir);
  color: var(--bone);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 6, 8, 0.55);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: calc(var(--header-h) + 64px) var(--page-pad) clamp(56px, 8vw, 100px);
}

.hero-kicker {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(52px, 8vw, 112px);
}

.hero-lead {
  max-width: 44ch;
  margin: 24px 0 32px;
  color: rgba(247, 242, 234, 0.78);
  font-size: clamp(15px, 1.25vw, 18px);
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) 1.25fr;
  gap: clamp(36px, 7vw, 120px);
  background: var(--stone);
}

.about h2 {
  max-width: 10ch;
  font-size: clamp(40px, 5.4vw, 78px);
}

.about-copy {
  max-width: 62ch;
  padding-top: 8px;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.7;
  color: #3a2f2c;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-mark {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
}

/* Showcase / mobile vitrine */

.showcase-bar {
  display: none;
}

.vitrine {
  display: none;
}

.rank-list {
  display: grid;
  gap: 10px;
}

.game-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border: 0;
  border-left: 3px solid rgba(196, 165, 116, 0.35);
  border-radius: 0;
  background: linear-gradient(90deg, #1a0d12 0%, #12080c 100%);
  color: #f7f2ea;
  cursor: pointer;
  user-select: none;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), background 180ms var(--ease);
}

.hidlink {
  position: absolute;
  z-index: -5;
  opacity: 0;
}

.game-card:nth-child(1) {
  border-left-color: #c4a574;
}

.game-card:nth-child(2) {
  border-left-color: rgba(196, 165, 116, 0.7);
}

.game-card:active {
  transform: scale(0.995);
}

.rank-badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.rank-logo {
  width: 52px;
  height: 52px;
  border-radius: 2px;
  overflow: hidden;
  background: #2a151c;
}

.rank-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-body {
  min-width: 0;
}

.rank-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  color: var(--champagne);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
}

.rank-score svg {
  width: 12px;
  height: 12px;
  fill: var(--champagne);
  stroke: none;
}

.rank-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(247, 242, 234, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: var(--champagne);
  color: var(--noir);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.themes {
  background: var(--stone);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(200px, 0.75fr);
  gap: 24px 48px;
  margin-bottom: clamp(40px, 6vw, 88px);
  align-items: end;
}

.section-heading h2 {
  font-size: clamp(40px, 5.6vw, 84px);
  max-width: 14ch;
}

.section-heading p {
  margin: 0;
  padding-left: 0;
  border-left: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.theme-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(36px, 6vw, 88px) clamp(24px, 4vw, 56px);
}

.theme-card:nth-child(3) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
}

.theme-card:nth-child(3) .card-media {
  margin-bottom: 0;
}

.theme-card:nth-child(4) {
  max-width: 72%;
  margin-left: auto;
}

.theme-card {
  display: block;
  color: inherit;
}

.theme-card:nth-child(2),
.theme-card:nth-child(3) {
  margin: 0;
  width: 100%;
}

.theme-card .card-media {
  margin-bottom: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.theme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.theme-card:hover img {
  transform: scale(1.05);
}

.theme-card h3 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 46px);
}

.theme-card p {
  margin: 0 0 14px;
  max-width: 40ch;
  font-size: 14px;
  color: var(--muted);
}

/* Games */

.games {
  background: var(--panel);
  color: var(--bone);
}

.games .section-heading p {
  border-color: rgba(247, 242, 234, 0.22);
  color: rgba(247, 242, 234, 0.62);
}

.game-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(196, 165, 116, 0.28);
}

.game-list a {
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(247, 242, 234, 0.14);
  transition: background-color 160ms ease;
}

.game-list a:hover {
  background: rgba(196, 165, 116, 0.06);
}

.game-num {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(247, 242, 234, 0.45);
}

.game-num::after {
  content: ".";
}

.game-list h3 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 42px);
}

.game-list p {
  margin: 0;
  max-width: 48ch;
  font-size: 13px;
  color: rgba(247, 242, 234, 0.62);
}

/* Explore (home links to section pages) */

.explore {
  background: var(--paper);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.explore-card {
  display: block;
  padding: clamp(28px, 4vw, 40px);
  background: var(--panel);
  color: var(--bone);
  text-decoration: none;
  border: 1px solid rgba(196, 165, 116, 0.18);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.explore-card:hover {
  border-color: rgba(196, 165, 116, 0.55);
  transform: translateY(-2px);
}

.explore-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.explore-card .meta-label {
  display: block;
  margin-bottom: 14px;
  color: var(--champagne);
}

.explore-card p {
  margin: 0;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(247, 242, 234, 0.68);
}

.explore-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--champagne);
}

/* Section pages */

.section-page {
  padding-top: var(--header-h);
}

.page-intro {
  background: var(--noir);
  color: var(--bone);
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.page-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.page-intro p {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(247, 242, 234, 0.72);
}

.page-section {
  padding-top: clamp(28px, 4vw, 48px);
}

.section-page .themes,
.section-page .games,
.section-page .work,
.section-page .contact {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

/* Work */

.work {
  background: var(--paper);
}

.work-block {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) 1fr;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}

.work-block:last-child {
  border-bottom: 1px solid var(--line);
}

.work-block h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 44px);
}

.work-photos {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  grid-template-rows: 220px 160px;
  gap: 6px;
}

.work-photos figure {
  margin: 0;
  overflow: hidden;
  background: #cfc4b6;
}

.work-photos figure:first-child {
  grid-row: 1 / 3;
}

.work-photos figure:nth-child(4) {
  grid-column: 2 / 4;
}

.work-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
  gap: clamp(32px, 6vw, 100px);
  background: var(--panel);
  color: var(--bone);
}

.contact h2 {
  font-size: clamp(40px, 5.5vw, 80px);
  max-width: 12ch;
}

.contact-lead {
  margin: 20px 0 28px;
  max-width: 36ch;
  color: rgba(247, 242, 234, 0.7);
  font-size: 15px;
}

.contact-details {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.contact-details address {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(196, 165, 116, 0.28);
  font-style: normal;
  color: rgba(247, 242, 234, 0.7);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px 14px;
}

.contact-form > div {
  display: grid;
  gap: 8px;
  grid-column: span 4;
}

.contact-form > div.span-3 {
  grid-column: span 3;
}

.contact-form > div.message {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(247, 242, 234, 0.22);
  background: rgba(247, 242, 234, 0.04);
  color: var(--bone);
  border-radius: 0;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(247, 242, 234, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 1px solid var(--champagne);
  border-color: var(--champagne);
}

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.form-actions {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: rgba(247, 242, 234, 0.55);
}

/* Footer */

.site-footer {
  background: var(--noir);
  color: rgba(247, 242, 234, 0.82);
  padding: clamp(48px, 7vw, 80px) var(--page-pad) 36px;
  border-top: 1px solid rgba(196, 165, 116, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 0.7fr));
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid rgba(247, 242, 234, 0.12);
}

.footer-brand-block {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-brand-block .brand {
  align-items: flex-start;
}

.footer-blurb {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 242, 234, 0.62);
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col-title {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}

.footer-col a {
  font-size: 14px;
  color: rgba(247, 242, 234, 0.78);
}

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

.footer-contact-col address {
  margin: 4px 0 0;
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(247, 242, 234, 0.55);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--champagne);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--champagne);
}

.footer-copy {
  margin: 24px 0 0;
  font-size: 12px;
  color: rgba(247, 242, 234, 0.45);
}

/* Detail pages */

.detail-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: min(78vh, 760px);
  background: var(--panel);
  color: var(--bone);
}

.detail-hero-image {
  min-height: 420px;
}

.detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-title {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) var(--page-pad) 56px;
}

.detail-title h1 {
  margin: 8px 0 18px;
  font-size: clamp(44px, 6vw, 88px);
}

.detail-title p {
  margin: 0;
  max-width: 36ch;
  color: rgba(247, 242, 234, 0.72);
}

.detail-content {
  display: grid;
  grid-template-columns: 140px 1fr minmax(200px, 280px);
  gap: clamp(24px, 4vw, 56px);
  background: var(--paper);
}

.detail-index {
  display: grid;
  gap: 8px;
  align-content: start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-index strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--wine);
}

.prose {
  max-width: 68ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.75;
}

.prose p:last-child {
  margin-bottom: 0;
}

.detail-aside {
  align-self: start;
  padding: 24px;
  background: var(--stone);
  border-top: 3px solid var(--champagne);
}

.detail-aside p {
  margin: 0 0 18px;
  font-size: 14px;
}

.detail-gallery {
  background: var(--stone);
}

.detail-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.detail-photos figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.detail-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related {
  background: var(--paper);
}

.related-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px 40px;
  align-items: start;
}

.related-grid a:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.related-grid a {
  display: grid;
  gap: 12px;
}

.related-grid img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.related-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

/* Legal */

.legal-page {
  padding: calc(var(--header-h) + 48px) var(--page-pad) 96px;
  max-width: 820px;
}

.legal-page h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 6vw, 68px);
}

.legal-page .lead {
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 18px;
}

.legal-page h2 {
  margin: 36px 0 12px;
  font-size: 28px;
}

.legal-page ul {
  padding-left: 1.2em;
}

.legal-page li + li {
  margin-top: 6px;
}

/* Modal + cookie */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 6, 8, 0.78);
}

.modal-backdrop[hidden] {
  display: none;
}

.thank-you {
  position: relative;
  width: min(100%, 420px);
  padding: 40px 32px;
  background: var(--stone);
  color: var(--ink);
}

.thank-you h2 {
  margin: 0 0 12px;
  font-size: 40px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cookie-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 18px;
  background: var(--panel);
  color: var(--bone);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

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

.cookie-bar p {
  margin: 0;
  flex: 1 1 220px;
  font-size: 13px;
  color: rgba(247, 242, 234, 0.8);
}

.cookie-bar a {
  text-decoration: underline;
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 750ms var(--ease) both;
  }

  .hero-copy > *:nth-child(2) {
    animation-delay: 90ms;
  }

  .hero-copy > *:nth-child(3) {
    animation-delay: 160ms;
  }

  .hero-copy > *:nth-child(4) {
    animation-delay: 230ms;
  }

  .game-card {
    animation: slide-in 520ms var(--ease) both;
  }

  .game-card:nth-child(2) {
    animation-delay: 60ms;
  }

  .game-card:nth-child(3) {
    animation-delay: 120ms;
  }

  .game-card:nth-child(4) {
    animation-delay: 180ms;
  }

  .theme-card {
    transition: transform 160ms ease;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes slide-in {
    from {
      opacity: 0;
      transform: translateX(-12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Desktop: full casino-hotel site — hide mobile vitrine */
@media (min-width: 901px) {
  .vitrine,
  .showcase-bar {
    display: none !important;
  }

  .home-main .hero {
    order: 1;
  }

  .home-main .about {
    order: 2;
  }

  .home-main .explore {
    order: 3;
  }
}

/* Mobile: casino-hotel vitrine first; narrative after long scroll */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-contact {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    right: var(--page-pad);
    left: var(--page-pad);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: var(--panel);
    border: 1px solid rgba(196, 165, 116, 0.22);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(247, 242, 234, 0.1);
  }

  .showcase-bar {
    display: block;
    order: 0;
    padding: calc(var(--header-h) + 20px) var(--page-pad) 8px;
    background: var(--noir);
    color: var(--bone);
  }

  .showcase-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(36px, 11vw, 52px);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -0.02em;
    max-width: 14ch;
  }

  .showcase-bar p {
    margin: 12px 0 0;
    max-width: 36ch;
    color: rgba(247, 242, 234, 0.68);
    font-size: 14px;
  }

  .vitrine {
    display: block;
    order: 1;
    padding: 12px var(--page-pad) 28px;
    background: var(--noir);
  }

  .mobile-scroll-gap {
    display: block;
    order: 2;
    min-height: 280vh;
    padding-bottom: 120vh;
    background: var(--noir);
    position: relative;
  }

  .mobile-scroll-gap::after {
    content: "Blijf scrollen voor het volledige hotelverhaal";
    position: sticky;
    top: 45%;
    display: block;
    text-align: center;
    padding: 0 24px;
    color: rgba(196, 165, 116, 0.4);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .home-main .hero {
    order: 3;
  }

  .home-main .about {
    order: 4;
  }

  .home-main .explore {
    order: 5;
  }

  @media (max-width: 600px) {
    .game-card {
      grid-template-columns: 28px 48px minmax(0, 1fr);
      grid-template-rows: auto auto;
    }

    .rank-cta {
      grid-column: 1 / -1;
      width: 100%;
      min-height: 44px;
    }
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    position: relative;
    min-height: 58vw;
  }

  .hero-copy {
    padding: 36px var(--page-pad) 48px;
  }

  .hero h1 {
    max-width: none;
  }

  .about,
  .section-heading,
  .theme-grid,
  .work-block,
  .contact,
  .detail-hero,
  .detail-content,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .theme-card .card-media {
    aspect-ratio: 16 / 11;
    clip-path: none;
  }

  .section-heading p {
    padding-top: 12px;
  }

  .work-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 140px 140px;
  }

  .work-photos figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .work-photos figure:nth-child(4) {
    grid-column: auto;
  }

  .contact-form > div,
  .contact-form > div.span-3 {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .detail-title {
    padding: 32px var(--page-pad) 40px;
  }

  .detail-photos,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-grid a:last-child {
    grid-column: auto;
    grid-template-columns: 1fr;
    border-top: 0;
    padding-top: 0;
  }

  .theme-card:nth-child(3) {
    grid-template-columns: 1fr;
  }

  .theme-card:nth-child(4) {
    max-width: none;
    margin-left: 0;
  }

  .related-grid {
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .mobile-scroll-gap {
    min-height: 320vh;
    padding-bottom: 140vh;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header .brand-tag {
    display: none;
  }

  .explore-grid {
    grid-template-columns: 1fr;
  }

  .page-intro h1 {
    max-width: none;
  }

  .section-page .contact {
    grid-template-columns: 1fr;
  }

  .section-page .work-block {
    grid-template-columns: 1fr;
  }

  .section-page .work-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 140px 140px;
  }

  .section-page .work-photos figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .section-page .work-photos figure:nth-child(4) {
    grid-column: auto;
  }
}
