/*
Theme Name: Wang House 2026
Theme URI: https://wanghouse.nl
Author: Wang House
Description: Custom one-page landing theme voor Wang House Emmen (Asian Streetfood). Zelfgebouwde eenpagina-website met video-hero, intro-animatie en scroll-menu.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: wang-house-2026
*/

/* ==========================================================================
   Fonts
   ========================================================================== */
@font-face {
  font-family: "Gagalin";
  src: url("assets/fonts/Gagalin-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Amanojaku";
  src: url("assets/fonts/Amanojaku-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* ==========================================================================
   Wang House — Design tokens
   ========================================================================== */
:root {
  /* Brand colors, lifted from the physical menu */
  --color-bg: #141312;
  --color-bg-alt: #1b1a18;
  --color-surface: #221f1c;
  --color-surface-2: #2a2622;
  --color-border: #382d1e;

  --color-orange: #f5a623;
  --color-orange-dark: #c97f10;
  --color-orange-light: #ffc861;

  --color-text: #f6f2ea;
  --color-text-muted: #b9b2a6;
  --color-ink: #1a1712; /* near-black text used on orange surfaces */

  --color-red: #e3402a;
  --color-red-light: #ff8f7a;

  --font-display: "Gagalin", "Anton", "Arial Narrow", sans-serif;
  --font-hand: "Amanojaku", "Gagalin", sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  --shadow-pop: 0 12px 24px -10px rgba(245, 166, 35, 0.45);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;

  --nav-h: 84px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.intro-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; }
p { margin: 0; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-orange);
  color: var(--color-ink);
  padding: var(--space-2) var(--space-3);
  z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--color-orange-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   Intro splash
   ========================================================================== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  cursor: pointer;
  will-change: transform;
}
.intro-overlay.is-hidden { display: none; }
.intro-svg { width: min(90vw, 1000px); height: auto; overflow: visible; }
.intro-text {
  font-family: var(--font-hand);
  font-size: 170px;
  letter-spacing: 4px;
  fill: var(--color-text);
  fill-opacity: 0;
  stroke: var(--color-text);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
}
.intro-text--accent { fill: var(--color-orange); stroke: var(--color-orange); }
.intro-rule {
  width: min(60vw, 420px);
  aspect-ratio: 7 / 1;
  background-color: var(--color-orange);
  -webkit-mask: url("assets/img/brush-line-1.png") center / contain no-repeat;
  mask: url("assets/img/brush-line-1.png") center / contain no-repeat;
  clip-path: inset(0 100% 0 0);
}
.intro-tag {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  min-height: 44px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-orange);
  color: var(--color-ink);
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--color-orange-light); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--color-orange); color: var(--color-orange-light); transform: translateY(-2px); }

.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.site-nav.is-scrolled {
  height: 68px;
  background: rgba(20, 19, 18, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-right: auto;
}
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.nav-word {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  position: relative;
  padding: 4px 2px;
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--color-orange);
  transition: width var(--dur-fast) var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  color: var(--color-text);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-bg-alt);
  padding: var(--space-4);
  border-top: 1px solid var(--color-border);
  position: absolute;
  top: 100%; left: 0; right: 0;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 10px 4px; font-weight: 500; }
.mobile-menu .btn { margin-top: var(--space-2); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg-wrap {
  position: absolute;
  inset: -8% -4%;
  z-index: -3;
  will-change: transform;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(15,13,11,0.55) 0%, rgba(15,13,11,0.3) 35%, rgba(15,13,11,0.85) 78%, #141312 100%),
    linear-gradient(90deg, rgba(15,13,11,0.7) 0%, rgba(15,13,11,0.1) 50%, rgba(15,13,11,0.35) 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-ring-wrap {
  position: absolute;
  right: -6vw;
  top: 12vh;
  width: min(58vw, 720px);
  aspect-ratio: 900 / 967;
  z-index: -1;
  pointer-events: none;
}
.hero-ring {
  width: 100%;
  height: 100%;
  background-color: var(--color-orange);
  opacity: 0.22;
  -webkit-mask: url("assets/img/brush-ring-1.png") center / contain no-repeat;
  mask: url("assets/img/brush-ring-1.png") center / contain no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.8s var(--ease-io) 0.5s;
}
.hero-ring.is-drawn { clip-path: inset(0 0% 0 0); }

.steam-wrap { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.steam-puff {
  position: absolute;
  bottom: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  filter: blur(6px);
  will-change: transform, opacity;
}

.hero-content {
  position: relative;
  width: 100%;
  padding-block: 110px 90px;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange-light);
  margin-bottom: var(--space-3);
}
.eyebrow.center { display: block; text-align: center; }

.hero-title {
  font-size: clamp(3.6rem, 12.5vw, 10.5rem);
  line-height: 0.9;
  color: var(--color-text);
  margin: 0 0 28px;
  text-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.line-mask { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .line {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.hero-title .accent { color: var(--color-orange); }

.hero-intro {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.hero.is-run .hero-title .line { transform: translateY(0); }
.hero.is-run .hero-intro { opacity: 1; transform: none; }

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.hero-copy { display: flex; flex-direction: column; gap: var(--space-4); max-width: 520px; }
.hero-sub { font-size: 1.1rem; color: var(--color-text-muted); max-width: 46ch; }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.hero-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero-chip.is-open { border-color: rgba(120, 200, 120, 0.4); }
.hero-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}
.hero-chip.is-closed .dot { background: var(--color-red); box-shadow: 0 0 0 3px rgba(227,64,42,0.25); }

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  margin-left: -15px;
  width: 30px; height: 48px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--color-orange);
  border-radius: var(--radius-pill);
  animation: cueBounce 1.6s ease-in-out infinite;
}
@keyframes cueBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker {
  background: var(--color-orange);
  color: var(--color-ink);
  overflow: hidden;
  padding: 14px 0;
  transform: rotate(-1.2deg) scale(1.02);
  border-top: 3px solid var(--color-ink);
  border-bottom: 3px solid var(--color-ink);
  position: relative;
  z-index: 2;
  margin-top: -18px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 22s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding-right: 4px;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ==========================================================================
   Sections shared
   ========================================================================== */
section { position: relative; padding-block: var(--space-8); }
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.section-title.center, .section-sub.center { text-align: center; margin-inline: auto; }
.section-sub {
  color: var(--color-text-muted);
  max-width: 56ch;
  font-size: 1.05rem;
  margin-bottom: var(--space-6);
}

/* ==========================================================================
   Story / About
   ========================================================================== */
.story { background: var(--color-bg); }
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.story-media { position: relative; perspective: 1000px; }
.story-media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform: rotate(-1.5deg);
  border: 6px solid var(--color-surface);
}
.story-media-frame img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.story-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--color-orange);
  color: var(--color-ink);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-pop);
  max-width: 240px;
}
.story-badge strong { display: block; font-size: 0.95rem; }
.story-badge span { font-size: 0.78rem; opacity: 0.8; }

.story-copy h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: var(--space-4); color: var(--color-text); }
.story-copy p { color: var(--color-text-muted); font-size: 1.05rem; margin-bottom: var(--space-5); }
.story-features {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.story-features li {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.story-features li span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 4px;
}

/* ==========================================================================
   Menu — scroll chapters
   ========================================================================== */
.menu-chapters { background: var(--color-bg); padding-block: 0; }
.menu-intro { position: relative; padding: 160px 24px 140px; text-align: center; overflow: hidden; }
.chapter-watermark {
  position: absolute;
  left: 50%;
  top: 260px;
  width: min(86vw, 760px);
  translate: -50% 0;
  opacity: 0.09;
  pointer-events: none;
}
.chapter-watermark img { width: 100%; filter: invert(1); }

.dish-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.tag.spicy { color: var(--color-red-light); border-color: rgba(227,64,42,0.5); }
.tag.tag-pop { color: var(--color-orange-light); border-color: rgba(245,166,35,0.5); }

.chapter { position: relative; height: 160vh; --chapter-accent: var(--color-orange); }
.chapter--spicy { --chapter-accent: var(--color-red); }

.chapter-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--color-bg);
}
.chapter-sticky--tex {
  background: var(--color-bg-alt);
}
.chapter-sticky--tex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/texture-plaster.jpg") 0 0 / 640px auto repeat;
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}

.chapter-num {
  position: absolute;
  right: -2vw;
  bottom: -6vh;
  font-family: var(--font-display);
  font-size: 42vw;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--chapter-accent) 20%, transparent);
  pointer-events: none;
}
.chapter--right .chapter-num { right: auto; left: -2vw; }

.chapter-inner {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: 90px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 96px);
}
.chapter--right .chapter-inner { flex-wrap: wrap-reverse; flex-direction: row-reverse; }

.chapter-plate-wrap {
  position: relative;
  width: min(78vw, 46vh, 520px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.chapter-brush {
  position: absolute;
  inset: -22%;
  background-color: var(--chapter-accent);
  -webkit-mask: url("assets/img/brush-swoosh-1.png") center / contain no-repeat;
  mask: url("assets/img/brush-swoosh-1.png") center / contain no-repeat;
  clip-path: inset(0 100% 0 0);
}
.chapter-brush.brush-ring {
  inset: -18%;
  -webkit-mask-image: url("assets/img/brush-ring-1.png");
  mask-image: url("assets/img/brush-ring-1.png");
}
.chapter-brush.is-drawn { clip-path: inset(0 0% 0 0); }

.chapter-plate {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 6px var(--color-bg-alt), 0 0 0 10px var(--chapter-accent), 0 40px 80px -30px rgba(0,0,0,0.85);
  will-change: transform;
}
.chapter-plate img { width: 100%; height: 100%; object-fit: cover; }

.chapter-copy { max-width: 440px; flex: 1 1 300px; }
.chapter--right .chapter-copy { text-align: right; }
.chapter--right .dish-tags { justify-content: flex-end; }
.chapter-eyebrow {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange-light);
  margin-bottom: 12px;
}
.chapter--spicy .chapter-eyebrow { color: var(--color-red-light); }
.chapter-copy h3 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 0.95; margin-bottom: 16px; color: var(--color-text); }
.chapter-desc { color: var(--color-text-muted); font-size: 1.1rem; margin-bottom: 20px; }

/* progress rail */
.chapter-rail {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--radius-pill);
  background: rgba(20,19,18,0.8);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
  pointer-events: none;
}
.chapter-rail.is-visible { opacity: 1; transform: none; }
.rail-ring { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--color-surface-2); overflow: hidden; }
.rail-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; background: var(--color-orange); }
.rail-info { display: flex; flex-direction: column; line-height: 1.15; }
.rail-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--color-orange); }
.rail-name { font-size: 0.8rem; font-weight: 600; color: var(--color-text); }

@media (max-width: 640px) {
  .chapter-rail { display: none; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  overflow: hidden;
  background: var(--color-orange);
  color: var(--color-ink);
  padding: clamp(96px, 14vw, 180px) 24px;
}
.cta-texture {
  position: absolute;
  inset: 0;
  background: url("assets/img/texture-plaster.jpg") 0 0 / 640px auto repeat;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}
.cta-brush {
  position: absolute;
  pointer-events: none;
  background-color: var(--color-ink);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}
.cta-brush-1 {
  left: -6%; top: 6%;
  width: min(60vw, 700px);
  aspect-ratio: 1 / 1;
  opacity: 0.14;
  -webkit-mask-image: url("assets/img/brush-swoosh-1.png");
  mask-image: url("assets/img/brush-swoosh-1.png");
}
.cta-brush-2 {
  right: -4%; bottom: -10%;
  width: min(46vw, 520px);
  aspect-ratio: 900 / 967;
  opacity: 0.18;
  -webkit-mask-image: url("assets/img/brush-ring-1.png");
  mask-image: url("assets/img/brush-ring-1.png");
}
.cta-inner {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.cta-inner h2 { font-size: clamp(3rem, 10vw, 8rem); line-height: 0.9; }
.cta-inner p { font-size: 1.15rem; font-weight: 500; max-width: 40ch; }
.cta-btn {
  padding: 20px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--color-ink);
  color: var(--color-text);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.6);
}
.cta-btn:hover { transform: translateY(-3px) scale(1.03); color: var(--color-orange-light); background: var(--color-ink); }

/* ==========================================================================
   Location
   ========================================================================== */
.location { background: var(--color-bg); }
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
.loc-info h2, .loc-form-wrap h2 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin: var(--space-2) 0 var(--space-5); color: var(--color-text); }

.hours-table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-2); }
.hours-table tr { border-bottom: 1px solid var(--color-border); }
.hours-table th, .hours-table td { text-align: left; padding: 12px 4px; font-weight: 500; }
.hours-table th { color: var(--color-text-muted); font-weight: 500; }
.hours-table td { text-align: right; color: var(--color-text); font-weight: 600; }
.hours-table td.closed { color: var(--color-red); }
.hours-table tr.is-today { background: rgba(245,166,35,0.08); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--color-orange-light); }

.loc-note { color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: var(--space-5); font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; }

.loc-contact { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.loc-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 4px;
  color: var(--color-text-muted);
  transition: color var(--dur-fast) var(--ease-out);
  min-height: 44px;
}
.loc-row:hover { color: var(--color-orange-light); }
.loc-row svg { flex-shrink: 0; color: var(--color-orange); }

.loc-map-full {
  margin-top: var(--space-7);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 21/6;
}
.loc-map-full iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.1); }

/* ==========================================================================
   Contactformulier (naast openingstijden)
   ========================================================================== */
.loc-form-wrap p.loc-form-sub { color: var(--color-text-muted); margin-bottom: var(--space-5); }

.cf-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label { font-size: 0.88rem; font-weight: 600; color: var(--color-text); }
.cf-field input,
.cf-field textarea {
  width: 100%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  min-height: 44px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.cf-field textarea { min-height: auto; resize: vertical; }
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--color-text-muted); }
.cf-field input:focus-visible,
.cf-field textarea:focus-visible {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

.cf-submit { width: 100%; }

.cf-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.cf-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cf-shield { color: #34d399; }

@media (max-width: 640px) {
  .cf-grid { grid-template-columns: 1fr; }
  .cf-form { padding: var(--space-4); }
}


/* ==========================================================================
   Contact Form 7 styling (matches .cf-form look)
   ========================================================================== */
.wpcf7 { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-card); }
.wpcf7-form { display: flex; flex-direction: column; gap: var(--space-4); }
.wpcf7-form p { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.wpcf7-form label { font-size: 0.88rem; font-weight: 600; color: var(--color-text); display: flex; flex-direction: column; gap: 6px; }
.wpcf7-form-control { width: 100%; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--color-text); font-family: inherit; font-size: 0.95rem; min-height: 44px; }
textarea.wpcf7-form-control { min-height: auto; resize: vertical; }
.wpcf7-form-control::placeholder { color: var(--color-text-muted); }
.wpcf7-form-control:focus { outline: none; border-color: var(--color-orange); box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2); }
.wpcf7-form .cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
input.wpcf7-submit, .wpcf7-submit {
  width: 100%; display: inline-flex; justify-content: center; padding: 13px 24px;
  border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; border: none;
  background: var(--color-orange); color: var(--color-ink); box-shadow: var(--shadow-pop);
  min-height: 44px; cursor: pointer; font-family: inherit;
  transition: transform 180ms var(--ease-out), background 180ms;
}
.wpcf7-submit:hover { transform: translateY(-2px); background: var(--color-orange-light); }
.wpcf7-response-output { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.85rem; margin: var(--space-3) 0 0; border: 1px solid var(--color-border); color: var(--color-text-muted); }
.wpcf7-form.sent .wpcf7-response-output { border-color: #34d399; color: #34d399; }
.wpcf7-form.failed .wpcf7-response-output, .wpcf7-form.aborted .wpcf7-response-output { border-color: var(--color-red); color: var(--color-red-light); }
.wpcf7-not-valid-tip { color: var(--color-red-light); font-size: 0.8rem; margin-top: 4px; }
@media (max-width: 640px) {
  .wpcf7-form .cf-grid { grid-template-columns: 1fr; }
  .wpcf7 { padding: var(--space-4); }
}


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); padding-top: var(--space-6); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.footer-brand { display: flex; align-items: center; gap: var(--space-3); }
.footer-brand .logo-mark { width: 46px; height: 46px; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.footer-brand span { font-size: 0.82rem; color: var(--color-text-muted); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a { color: var(--color-text-muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--color-orange-light); }
.footer-contact { display: flex; flex-direction: column; gap: var(--space-2); font-size: 0.92rem; color: var(--color-text-muted); }
.footer-contact a:hover { color: var(--color-orange-light); }
.footer-bottom { padding-block: var(--space-4); }
.footer-bottom p { font-size: 0.8rem; color: var(--color-text-muted); text-align: center; }

/* ==========================================================================
   Reveal animation base state (GSAP toggles .is-visible)
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .story-grid, .loc-grid { grid-template-columns: 1fr; }
  .loc-map-full { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: clamp(2.8rem, 14vw, 5rem); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .loc-contact { align-items: center; }

  .chapter-num { font-size: 50vw; }
  .chapter-plate-wrap { width: min(70vw, 42vh, 420px); }
  .chapter-copy h3 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
}

@media (max-width: 640px) {
  section { padding-block: var(--space-7); }
  .ticker-track span { font-size: 1.1rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .loc-map-full { aspect-ratio: 4/3; }
  .intro-text { font-size: 100px; }
  .cta-inner h2 { font-size: clamp(2.4rem, 14vw, 4rem); }
}
