/* De Barendrechtse Manege — editorial luxury */
@font-face {
  font-family: "Road Race Stamp";
  src: local("Road Race Stamp"),
       url("../assets/fonts/RoadRaceStamp.woff2") format("woff2"),
       url("../assets/fonts/RoadRaceStamp.woff") format("woff"),
       url("../assets/fonts/RoadRaceStamp.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --paper: #f8f5f0;
  --mist: #f3efe8;
  --beige: #ebe4d8;
  --sand: #e2d9cb;
  --warm-gray: #8a8379;
  --warm-gray-deep: #6e675e;
  --ink: #1c1a18;
  --ink-soft: #2e2b27;
  --muted: #6b655c;
  --line: #ddd5c8;
  --champagne: #c4b59a;
  --champagne-soft: rgba(196, 181, 154, 0.28);
  --glass: rgba(248, 245, 240, 0.12);
  --glass-strong: rgba(248, 245, 240, 0.07);
  --shadow: 0 28px 70px rgba(28, 26, 24, 0.09);
  --nav-h: 104px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-editorial: "Cormorant SC", "Times New Roman", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
  --font-brand: "Road Race Stamp", "Black Ops One", Impact, sans-serif;
  --mark-horse: url("../assets/images/bm-logo/dbm-logo-mark-white.png");
}

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

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--nav-h) + 0.5rem); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196, 181, 154, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(138, 131, 121, 0.08), transparent 50%),
    var(--white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
video { display: block; max-width: 100%; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header > .container {
  width: min(1240px, calc(100% - 40px));
}
.container-narrow { width: min(740px, calc(100% - 48px)); margin-inline: auto; }
.container-wide { width: min(1320px, calc(100% - 40px)); margin-inline: auto; }

/* Film grain / atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* —— Type —— */
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 600;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.65rem, 3.4vw, 2.55rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.05rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.35rem); }

/* Rare Cormorant SC accent — photo captions, pull-quotes, mosaic labels */
.editorial-sc {
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lead {
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  color: var(--muted);
  max-width: 42em;
}

.prose { color: var(--muted); max-width: 58ch; }
.prose + .prose { margin-top: 1rem; }
.prose strong { color: var(--ink); font-weight: 600; }

.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 36rem; }
.section-head .eyebrow { margin-bottom: 0.7rem; display: block; }
.section-head h2 { margin-bottom: 0.75rem; }

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  max-width: 22ch;
  color: var(--ink);
}
.pull-quote.editorial-sc {
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pull-quote em { font-style: italic; color: var(--warm-gray-deep); }
.pull-quote.editorial-sc em { font-style: normal; font-weight: 600; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.btn:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 26, 24, 0.1);
}
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost {
  background: var(--glass);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* —— Header: home | landscape logo | menu —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease),
    backdrop-filter 0.45s;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(248, 245, 240, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.nav-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.3s, opacity 0.3s;
  opacity: 0.92;
}
.nav-home:hover { opacity: 1; }
.nav-home svg {
  width: 22px;
  height: 22px;
  display: block;
}
@media (min-width: 981px) {
  /* 3-column grid: home (left) | logo centered in gap | menu+CTA (right) */
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem;
    align-items: center;
  }
  .nav-home { grid-column: 1; }
  .nav-wordmark {
    grid-column: 2;
    justify-self: center;
    justify-items: center;
    justify-content: center;
    flex: none;
    width: max-content;
    max-width: 100%;
    margin-right: 0;
  }
  .nav-wordmark .nav-logo {
    max-height: calc(var(--nav-h) - 1.25rem);
    object-position: center center;
  }
  .nav-links {
    grid-column: 3;
    margin-left: 0;
    gap: 0.5rem;
  }
  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
  .nav-cta {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.78rem !important;
  }
  .nav-home svg { width: 24px; height: 24px; }
}
/* Desktop: home | landscape logo (centered in gap) | menu+CTA right */
.nav-wordmark {
  display: grid;
  grid-template-columns: max-content;
  align-items: center;
  justify-items: start;
  justify-content: start;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  margin-right: 0.75rem;
}
.nav-wordmark .nav-logo {
  grid-area: 1 / 1;
  display: block;
  height: clamp(60px, 4.8vw, 72px);
  width: auto;
  max-width: min(520px, 42vw);
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
/* Dual landscape lockup: white on dark hero, dark on scrolled/solid light header */
.nav-logo--on-dark {
  position: relative;
  z-index: 1;
  opacity: 1;
  visibility: visible;
}
.nav-logo--on-light {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-header.is-scrolled .nav-home,
.site-header.is-solid .nav-home { color: var(--ink); }
.site-header.is-scrolled .nav-logo--on-dark,
.site-header.is-solid .nav-logo--on-dark {
  opacity: 0;
  visibility: hidden;
}
.site-header.is-scrolled .nav-logo--on-light,
.site-header.is-solid .nav-logo--on-light {
  opacity: 1;
  visibility: visible;
}

.site-header.is-scrolled .nav-links a,
.site-header.is-solid .nav-links a { color: var(--ink); }
.site-header.is-scrolled .nav-toggle span,
.site-header.is-solid .nav-toggle span { background: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  margin-left: 0;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  position: relative;
  transition: opacity 0.3s;
  white-space: nowrap;
  line-height: 1.2;
}
.nav-links a:hover { opacity: 0.75; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }
.nav-cta {
  padding: 0.5rem 1rem !important;
  border: 1px solid currentColor;
  background: var(--glass);
  backdrop-filter: blur(6px);
  font-size: 0.82rem !important;
  letter-spacing: 0.045em;
}
.nav-cta::after { display: none !important; }
.site-header.is-scrolled .nav-cta,
.site-header.is-solid .nav-cta {
  background: transparent;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1006;
  flex: 0 0 auto;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  margin: 5px auto;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* —— Shared slider —— */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  z-index: 0;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 26s var(--ease) infinite alternate;
  filter: brightness(0.52) contrast(1.06) saturate(0.88);
}
@keyframes kenburns {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.16) translate(-2%, -1.4%); }
}

/* Slide dots removed — auto-rotate only */
.hero-dots,
.hero-dot { display: none !important; }

/* —— Index: video hero + centered logo —— */
.hero-home {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-video,
.hero-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video {
  filter: brightness(0.55) contrast(1.05) saturate(0.9);
}
.hero-video-fallback {
  display: none;
  z-index: 0;
}
.hero-video-fallback.is-shown { display: block; }
.hero-video-fallback .hero-slides { position: absolute; inset: 0; }

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(28, 26, 24, 0.15), rgba(28, 26, 24, 0.62) 70%),
    linear-gradient(180deg, rgba(28, 26, 24, 0.4) 0%, transparent 32%, rgba(28, 26, 24, 0.75) 100%);
  pointer-events: none;
}
.hero-veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(196, 181, 154, 0.08), transparent 40%, rgba(196, 181, 154, 0.06));
  mix-blend-mode: soft-light;
}

@keyframes floatMark {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-center {
  position: relative;
  z-index: 3;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 0.5rem) 0 5.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-4vh);
}
.hero-stars {
  color: var(--champagne);
  letter-spacing: 0.42em;
  font-size: 0.85rem;
  margin-bottom: 1.35rem;
  text-indent: 0.42em;
  animation: starGlow 4s ease-in-out infinite;
}
@keyframes starGlow {
  0%, 100% { opacity: 0.75; text-shadow: 0 0 0 transparent; }
  50% { opacity: 1; text-shadow: 0 0 18px rgba(196, 181, 154, 0.55); }
}
.hero-logo {
  width: min(420px, 82vw);
  max-width: 100%;
  height: auto;
  filter: none;
  opacity: 0.96;
  margin-bottom: 1.15rem;
  animation: logoReveal 1.4s var(--ease) both;
  image-rendering: auto;
}
@keyframes logoReveal {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.hero-center .lead {
  color: rgba(248, 245, 240, 0.88);
  margin-inline: auto;
  max-width: 34em;
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  margin-bottom: 0.25rem;
}
.hero-center .btn-group {
  justify-content: center;
  margin-top: 1.15rem;
  gap: 0.65rem;
}
.hero-center .btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  border-width: 1px;
}
.hero-center .btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.hero-scroll-hint {
  position: absolute;
  z-index: 4;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
}
.hero-scroll-hint::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--champagne), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* —— Page slide heroes —— */
.page-hero {
  position: relative;
  min-height: clamp(340px, 52vw, 520px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem;
}
.page-hero--tall { min-height: clamp(380px, 58vw, 580px); }
.page-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.page-hero--left .page-hero-veil {
  background:
    linear-gradient(105deg, rgba(28, 26, 24, 0.82) 0%, rgba(28, 26, 24, 0.45) 42%, rgba(28, 26, 24, 0.25) 100%),
    linear-gradient(180deg, rgba(28, 26, 24, 0.25) 0%, transparent 40%, rgba(28, 26, 24, 0.55) 100%);
}
.page-hero--right .page-hero-veil {
  background:
    linear-gradient(255deg, rgba(28, 26, 24, 0.82) 0%, rgba(28, 26, 24, 0.45) 42%, rgba(28, 26, 24, 0.25) 100%),
    linear-gradient(180deg, rgba(28, 26, 24, 0.25) 0%, transparent 40%, rgba(28, 26, 24, 0.55) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  max-width: 34rem;
}
.page-hero--left .page-hero-content {
  margin-left: max(24px, calc((100% - 1180px) / 2 + 24px));
  margin-right: auto;
  text-align: left;
}
.page-hero--right .page-hero-content {
  margin-right: max(24px, calc((100% - 1180px) / 2 + 24px));
  margin-left: auto;
  text-align: right;
}
.page-hero--right .page-hero-content .lead { margin-left: auto; }
.page-hero .eyebrow {
  color: var(--champagne);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.page-hero h1 {
  margin: 0.55rem 0 0.85rem;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.page-hero .lead {
  color: rgba(248, 245, 240, 0.92);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.3);
}
.page-hero-glass {
  display: block;
  max-width: 34rem;
  padding: 1.75rem 1.85rem;
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}
/* Full logo in hero corner — clear of text frame (not on index) */
.page-hero-brand {
  position: absolute;
  z-index: 4;
  margin: 0;
  pointer-events: none;
  bottom: clamp(1.25rem, 3vw, 2.25rem);
}
.page-hero--left .page-hero-brand {
  right: clamp(1rem, 4vw, 2.75rem);
  left: auto;
}
.page-hero--right .page-hero-brand {
  left: clamp(1rem, 4vw, 2.75rem);
  right: auto;
}
.page-hero-brand img {
  width: min(200px, 28vw);
  height: auto;
  filter: none;
  opacity: 0.78;
  display: block;
  image-rendering: auto;
}

/* Large editorial paardenlos — left/right, may bleed off-canvas */
.bg-mark {
  position: absolute;
  top: -10%;
  right: -38%;
  width: min(170vw, 2600px);
  max-width: none;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  -webkit-user-select: none;
  animation: floatMark 32s ease-in-out infinite;
}
.bg-mark--left {
  right: auto;
  left: -42%;
  top: -4%;
}
.content-shell {
  position: relative;
  overflow: hidden;
}
.content-shell > .section,
.content-shell > .cta-band {
  position: relative;
  z-index: 1;
}

/* —— Sections —— */
.section { padding: clamp(3.5rem, 7.5vw, 6.25rem) 0; position: relative; }
.section-paper { background: var(--paper); }
.section-mist { background: var(--mist); }
.section-beige { background: linear-gradient(180deg, var(--beige), var(--mist)); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink .eyebrow { color: var(--champagne); }
.section-ink .lead,
.section-ink .prose { color: rgba(248, 245, 240, 0.72); }
.section-ink .pull-quote { color: var(--white); }

.section > .container,
.section > .container-narrow,
.section > .container-wide { position: relative; z-index: 1; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Soft glass panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(221, 213, 200, 0.7);
  backdrop-filter: blur(12px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}

/* Editorial */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.editorial--flip { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.editorial--flip .editorial-media { order: 2; }
.editorial--top { align-items: start; }
.editorial-copy .eyebrow { display: block; margin-bottom: 0.7rem; }
.editorial-copy h2 { margin-bottom: 1.1rem; }
/* Plek — lunchroom brand mark */
.plek-logo {
  display: block;
  height: clamp(72px, 10vw, 110px);
  width: auto;
  max-width: min(280px, 85%);
  margin-bottom: 0.85rem;
  object-fit: contain;
  object-position: center;
}
.plek-logo--feature {
  height: clamp(90px, 12vw, 140px);
  max-width: min(320px, 90%);
  margin-bottom: 1rem;
}

/* Centered editorial lockup (faciliteiten #plek) */
.plek-lockup {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}
.plek-lockup-logo {
  display: inline-block;
  height: clamp(80px, 11vw, 120px);
  width: auto;
  max-width: min(300px, 85%);
  margin: 0 auto 0.9rem;
  object-fit: contain;
}
.plek-lockup .eyebrow {
  display: block;
  margin-bottom: 0.7rem;
}
.plek-lockup h2 {
  margin-bottom: 0;
}

/* Editorial media slot filled with Plek logo (legacy) */
.plek-media-logo {
  position: relative;
  z-index: 0;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}
.plek-media-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(420px, 100%);
  max-height: min(280px, 100%);
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: none;
}
.plek-media-logo:hover img {
  transform: none;
  filter: none;
}
.plek-media-logo::after {
  display: none;
}
#plek .editorial-copy {
  position: relative;
  z-index: 1;
}
#plek .editorial-copy .btn {
  position: relative;
  z-index: 2;
}

/* —— Photo carousel (site-wide) —— */
.photo-carousel,
.plek-carousel {
  position: relative;
  z-index: 0;
  width: 100%;
  background: var(--sand);
  overflow: hidden;
  touch-action: pan-y;
}
.photo-carousel-viewport,
.plek-carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--sand);
}
/* Landscape editorial slots (bosritten, wide location shots) */
.photo-carousel--wide .photo-carousel-viewport,
.plek-carousel--wide .plek-carousel-viewport,
.photo-carousel--wide .plek-carousel-viewport,
.plek-carousel--wide .photo-carousel-viewport {
  aspect-ratio: 3 / 2;
}
.photo-carousel-track,
.plek-carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-carousel-slide,
.plek-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  position: relative;
  padding: 0;
  box-sizing: border-box;
  background: var(--sand);
}
.photo-carousel-slide img,
.plek-carousel-slide img,
.photo-carousel-slide video,
.plek-carousel-slide video,
.photo-carousel-video,
.plek-carousel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}
.photo-carousel-ph,
.plek-carousel-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(248, 245, 240, 0.55), transparent 55%),
    linear-gradient(180deg, var(--beige), var(--sand));
  border: 1px solid rgba(28, 26, 24, 0.06);
}
.photo-carousel-ph-brand,
.plek-carousel-ph-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.photo-carousel-ph-hint,
.plek-carousel-ph-hint {
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray-deep);
}
.photo-carousel-btn,
.plek-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 1.75rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s var(--ease), color 0.35s var(--ease);
}
.photo-carousel:hover .photo-carousel-btn,
.photo-carousel:focus-within .photo-carousel-btn,
.plek-carousel:hover .plek-carousel-btn,
.plek-carousel:focus-within .plek-carousel-btn {
  opacity: 0.55;
}
.photo-carousel-btn:hover,
.photo-carousel-btn:focus-visible,
.plek-carousel-btn:hover,
.plek-carousel-btn:focus-visible {
  opacity: 1 !important;
  color: #fff;
  outline: none;
}
.photo-carousel-btn--prev,
.plek-carousel-btn--prev { left: 0.15rem; }
.photo-carousel-btn--next,
.plek-carousel-btn--next { right: 0.15rem; }
/* Dots always overlaid on the photo */
.photo-carousel-dots,
.plek-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.2rem 0.35rem;
  background: transparent;
  pointer-events: auto;
}
.photo-carousel-dot,
.plek-carousel-dot {
  width: 0.38rem;
  height: 0.38rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22), 0 1px 3px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.photo-carousel-dot.is-active,
.plek-carousel-dot.is-active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.2);
}
.photo-carousel-dot:focus-visible,
.plek-carousel-dot:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Fill fixed media frames without double aspect-ratio */
.media-portrait > .photo-carousel,
.media-portrait > .plek-carousel,
.media-landscape > .photo-carousel,
.media-landscape > .plek-carousel {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 0;
}
.media-portrait:has([data-carousel])::after,
.media-landscape:has([data-carousel])::after {
  display: none;
}
.media-portrait .photo-carousel-viewport,
.media-portrait .plek-carousel-viewport,
.media-landscape .photo-carousel-viewport,
.media-landscape .plek-carousel-viewport {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}
@media (max-width: 720px) {
  .photo-carousel-btn,
  .plek-carousel-btn {
    width: 1.5rem;
    height: 2.25rem;
    font-size: 1.45rem;
  }
  .photo-carousel-btn--prev,
  .plek-carousel-btn--prev { left: 0; }
  .photo-carousel-btn--next,
  .plek-carousel-btn--next { right: 0; }
  .photo-carousel:hover .photo-carousel-btn,
  .photo-carousel:focus-within .photo-carousel-btn,
  .plek-carousel:hover .plek-carousel-btn,
  .plek-carousel:focus-within .plek-carousel-btn {
    opacity: 0.45;
  }
  .photo-carousel-dots,
  .plek-carousel-dots {
    bottom: 0.55rem;
  }
}

@media (hover: none) {
  .photo-carousel-btn,
  .plek-carousel-btn {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-carousel-track,
  .plek-carousel-track {
    transition: none;
  }
}

.media-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.media-landscape {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
}
.media-portrait img,
.media-landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 0.8s;
  filter: saturate(0.92);
}
.media-portrait:hover img,
.media-landscape:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}
.media-portrait::after,
.media-landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 26, 24, 0.28));
  pointer-events: none;
  opacity: 0.7;
}
.media-rule {
  position: absolute;
  inset: auto 8% -10px auto;
  width: 42%;
  height: 3px;
  background: var(--champagne);
  z-index: 2;
}

.philosophy-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: end;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.philosophy-band .meta {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1rem;
  display: block;
}

.pathway { border-top: 1px solid var(--line); }
.pathway-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s, padding 0.35s;
}
.pathway-row:hover {
  background: rgba(196, 181, 154, 0.08);
  padding-left: 0.5rem;
}
.pathway-idx {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--champagne);
}
.pathway-row h3 { margin-bottom: 0.3rem; }
.pathway-row p { color: var(--muted); font-size: 0.95rem; max-width: 52ch; }
.pathway-link {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
  font-weight: 600;
}

.pillar-stack { display: grid; gap: 0; max-width: 820px; }
.pillar {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.pillar:first-child { border-top: 1px solid var(--line); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--champagne);
  line-height: 1;
}
.pillar h3 { margin-bottom: 0.4rem; }
.pillar p { color: var(--muted); font-size: 0.96rem; max-width: 48ch; }

.values-list { display: grid; gap: 1.35rem; }
.value-item {
  padding-left: 1.15rem;
  border-left: 2px solid var(--champagne);
}
.value-item h3 { margin-bottom: 0.35rem; font-size: 1.2rem; }
.value-item p { color: var(--muted); font-size: 0.95rem; }

.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  justify-items: center;
  max-width: 960px;
  margin-inline: auto;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  display: block;
  line-height: 1;
  margin-bottom: 0.45rem;
  color: var(--champagne);
}
.stat-label {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.62);
}
.section-ink.section-stats {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  min-height: 500px;
}
.mosaic-item {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  cursor: pointer;
}
.mosaic-item:first-child { grid-row: 1 / 3; }
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease), filter 0.8s, opacity 0.5s;
  filter: saturate(0.9);
}
.mosaic-item:hover img {
  transform: scale(1.07);
  filter: saturate(1.05);
}
.mosaic-item .label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--white);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mosaic-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(transparent 45%, rgba(28, 26, 24, 0.55));
  pointer-events: none;
}

/* —— Album gallery —— */
.album-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.55rem;
}
.album-tile {
  position: relative;
  display: block;
  grid-column: span 2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--sand);
  cursor: pointer;
  text-align: left;
  color: var(--white);
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.album-tile:nth-child(1),
.album-tile:nth-child(2) {
  grid-column: span 3;
  aspect-ratio: 3 / 2;
}
.album-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease), filter 0.8s;
  filter: saturate(0.9);
}
.album-tile:hover img,
.album-tile:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.05);
}
.album-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(transparent 40%, rgba(28, 26, 24, 0.62));
  pointer-events: none;
  transition: background 0.5s var(--ease);
}
.album-tile:hover::before,
.album-tile:focus-visible::before {
  background: linear-gradient(transparent 30%, rgba(28, 26, 24, 0.72));
}
.album-tile:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}
.album-tile-meta {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  pointer-events: none;
}
.album-tile-title {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.album-tile-count {
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: rgba(248, 245, 240, 0.72);
  font-weight: 400;
}

.album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(28, 26, 24, 0.94);
  backdrop-filter: blur(10px);
}
.album-lightbox.is-open {
  display: flex;
}
.album-lightbox-stage {
  position: relative;
  width: min(100%, 1100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.album-lightbox-figure {
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(62vh, 520px);
}
.album-lightbox-figure img {
  max-width: 100%;
  max-height: min(72vh, 640px);
  width: auto;
  height: auto;
  object-fit: contain;
  animation: fadeIn 0.35s var(--ease);
}
.album-lightbox-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  width: 100%;
  max-width: min(100%, 720px);
  color: rgba(248, 245, 240, 0.88);
}
.album-lightbox-title {
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.album-lightbox-counter {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(248, 245, 240, 0.55);
}
.album-lightbox-close,
.album-lightbox-prev,
.album-lightbox-next {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.album-lightbox-close:hover,
.album-lightbox-prev:hover,
.album-lightbox-next:hover,
.album-lightbox-close:focus-visible,
.album-lightbox-prev:focus-visible,
.album-lightbox-next:focus-visible {
  background: rgba(248, 245, 240, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  outline: none;
}
.album-lightbox-close:focus-visible,
.album-lightbox-prev:focus-visible,
.album-lightbox-next:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}
.album-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 2;
}
.album-lightbox-prev,
.album-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 3.25rem;
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1;
  z-index: 2;
  opacity: 0.55;
}
.album-lightbox-prev { left: clamp(0.25rem, 2vw, 1.25rem); }
.album-lightbox-next { right: clamp(0.25rem, 2vw, 1.25rem); }
.album-lightbox:hover .album-lightbox-prev,
.album-lightbox:hover .album-lightbox-next,
.album-lightbox:focus-within .album-lightbox-prev,
.album-lightbox:focus-within .album-lightbox-next {
  opacity: 0.9;
}
.album-lightbox-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: min(100%, 420px);
  padding: 0.15rem 0 0;
}
.album-lightbox-dot {
  width: 0.35rem;
  height: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(248, 245, 240, 0.28);
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.album-lightbox-dot.is-active {
  background: rgba(248, 245, 240, 0.92);
  transform: scale(1.2);
}
.album-lightbox-dot:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .album-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .album-tile,
  .album-tile:nth-child(1),
  .album-tile:nth-child(2) {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }
  .album-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 560px) {
  .album-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }
  .album-tile,
  .album-tile:nth-child(1),
  .album-tile:nth-child(2),
  .album-tile:last-child:nth-child(odd) {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }
  .album-tile-meta {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
  }
  .album-tile-title,
  .album-tile-count {
    font-size: 0.6rem;
  }
  .album-lightbox-prev,
  .album-lightbox-next {
    width: 2.25rem;
    height: 2.75rem;
    font-size: 1.55rem;
    opacity: 0.7;
  }
  .album-lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 42px;
    height: 42px;
  }
}

@media (hover: none) {
  .album-lightbox-prev,
  .album-lightbox-next {
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .album-tile img,
  .album-lightbox-figure img {
    transition: none;
    animation: none;
  }
}

/* —— Facility accordion —— */
.facility-accordion {
  border-top: 1px solid var(--line);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.facility-feature {
  border-bottom: 1px solid var(--line);
  position: relative;
}
.facility-toggle {
  width: 100%;
  background: none;
  border: 0;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 2rem;
  gap: 0.75rem 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  cursor: pointer;
  text-align: left;
  transition: background 0.35s var(--ease);
  position: relative;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.facility-toggle:hover .facility-num,
.facility-feature.is-open .facility-num {
  opacity: 1;
  color: var(--champagne);
}
.facility-toggle:hover .facility-toggle-title,
.facility-feature.is-open .facility-toggle-title {
  color: var(--ink);
}
.facility-num {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 3.15rem);
  color: var(--champagne);
  line-height: 1;
  opacity: 0.45;
  display: block;
  width: 5rem;
  text-align: left;
  transition: opacity 0.35s var(--ease), color 0.35s var(--ease);
}
.facility-toggle-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  min-width: 0;
}
.facility-toggle-text .eyebrow {
  display: block;
  margin-bottom: 0;
}
.facility-toggle-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink-soft);
  margin: 0;
  display: block;
  transition: color 0.35s var(--ease);
}
.facility-toggle-icon {
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--warm-gray);
  transition: transform 0.35s var(--ease), color 0.35s;
  flex-shrink: 0;
  justify-self: end;
  width: 2rem;
  text-align: center;
}
.facility-feature.is-open .facility-toggle-icon {
  transform: rotate(45deg);
  color: var(--ink);
}
.facility-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.facility-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  padding: 0.35rem 0 2.15rem;
}
.facility-feature--flip .facility-panel-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.facility-feature--flip .facility-media { order: 2; }
.facility-media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--sand);
}
.facility-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease), filter 0.8s;
  filter: saturate(0.92) brightness(0.97);
}
.facility-feature.is-open:hover .facility-media img {
  transform: scale(1.05);
  filter: saturate(1.05);
}
.facility-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 181, 154, 0.15), transparent 50%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.facility-media--carousel {
  aspect-ratio: 5 / 4;
  background: var(--sand);
}
.facility-media--carousel::after {
  display: none;
}
.facility-media--carousel .photo-carousel,
.facility-media--carousel .plek-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.facility-media--carousel .photo-carousel-viewport,
.facility-media--carousel .plek-carousel-viewport {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}
.facility-media--carousel .photo-carousel-slide img,
.facility-media--carousel .plek-carousel-slide img,
.facility-media--carousel .photo-carousel-slide video,
.facility-media--carousel .plek-carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transition: none;
}
.facility-media--carousel .photo-carousel-dots,
.facility-media--carousel .plek-carousel-dots {
  bottom: 0.55rem;
}
.facility-feature.is-open:hover .facility-media--carousel img,
.facility-feature.is-open:hover .facility-media--carousel video {
  transform: none;
  filter: none;
}
.facility-media--plek {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: auto;
  min-height: clamp(10rem, 28vw, 14rem);
  padding: clamp(1.25rem, 3.5vw, 2rem);
  background: linear-gradient(165deg, var(--beige), var(--sand));
}
.facility-media--plek::after {
  display: none;
}
.facility-media--plek img {
  width: auto;
  height: auto;
  max-width: min(240px, 78%);
  max-height: min(190px, 100%);
  object-fit: contain;
  filter: none;
  transition: none;
}
.facility-feature.is-open:hover .facility-media--plek img {
  transform: none;
  filter: none;
}
.facility-copy {
  padding-top: 0.15rem;
}
.facility-copy .prose + .prose { margin-top: 0.85rem; }

.gallery-asymm {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.gallery-item:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 6; aspect-ratio: 16 / 10; }
.gallery-item:nth-child(7) { grid-column: span 6; aspect-ratio: 16 / 10; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity 0.5s;
  opacity: 0.92;
}
.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 24, 0);
  transition: background 0.4s;
}
.gallery-item:hover::after { background: rgba(28, 26, 24, 0.12); }

.partners {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vw, 3rem);
  max-width: 920px;
  margin-inline: auto;
}
.partners a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: opacity 0.3s, transform 0.35s;
}
.partners a:hover {
  transform: translateY(-2px);
  box-shadow: none;
  opacity: 1;
}
.partners img {
  height: clamp(36px, 4.5vw, 48px);
  width: auto;
  max-width: min(140px, 22vw);
  object-fit: contain;
  opacity: 0.85;
  filter: none;
  transition: opacity 0.3s;
}
.partners a:hover img { opacity: 1; }

.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.price-table th,
.price-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.price-table th {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--warm-gray);
  background: var(--mist);
}
.price-table td:not(:first-child),
.price-table th:not(:first-child) { text-align: right; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:hover td { background: rgba(196, 181, 154, 0.08); }

.rate-board {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}
.rate-feature {
  background: var(--ink);
  color: var(--white);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  position: relative;
  overflow: hidden;
}
.rate-feature::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -15%;
  width: 220px;
  height: 220px;
  background: var(--mark-horse) center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.rate-feature h3 { margin-bottom: 0.4rem; }
.rate-feature .amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0.6rem 0 0.85rem;
}
.rate-feature p { color: rgba(248, 245, 240, 0.7); font-size: 0.95rem; max-width: 36ch; }
.rate-side { display: grid; gap: 1rem; }
.rate-box {
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}
.rate-box h3 { margin-bottom: 0.3rem; }
.rate-box .amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0.35rem 0 0.55rem;
}
.rate-box p { color: var(--muted); font-size: 0.92rem; }

.bank-panel {
  margin-top: 2.25rem;
  padding: 1.75rem 1.6rem;
  background: var(--mist);
  border-left: 3px solid var(--champagne);
}
.bank-panel h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}
.bank-panel p { color: var(--muted); margin-bottom: 0.75rem; }
.bank-panel p:last-child { margin-bottom: 0; }
.bank-panel code {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.timeline { position: relative; max-width: 640px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 1.2rem;
  padding-bottom: 1.85rem;
}
.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--paper);
  z-index: 1;
}
.timeline-item h3 { margin-bottom: 0.35rem; }
.timeline-item p { color: var(--muted); }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-btn {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  gap: 1rem;
}
.accordion-btn span {
  font-family: var(--font-body);
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.accordion-item.is-open .accordion-btn span { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.accordion-panel-inner { padding: 0 0 1.3rem; color: var(--muted); max-width: 58ch; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.8rem 0;
  outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--ink); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success,
.form-error {
  display: none;
  padding: 1.25rem;
  margin-top: 1.25rem;
  line-height: 1.55;
}
.form-success {
  background: var(--mist);
  border-left: 3px solid var(--champagne);
  color: var(--ink);
}
.form-error {
  background: #fdf6f4;
  border-left: 3px solid #b86b5c;
  color: var(--muted);
}
.form-success.is-shown,
.form-error.is-shown { display: block; }
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.contact-blocks { display: grid; gap: 1.6rem; }
.contact-block h3 { margin-bottom: 0.45rem; }
.contact-block p,
.contact-block a { color: var(--muted); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.hours-table td:last-child { text-align: right; color: var(--muted); }
.map-embed {
  margin-top: 2.75rem;
  aspect-ratio: 21 / 9;
  background: var(--sand);
  overflow: hidden;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(1.05) sepia(0.08);
  transition: filter 0.5s;
}
.map-embed:hover iframe { filter: grayscale(20%) sepia(0.05); }

.login-hero-note {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  background: var(--glass);
  backdrop-filter: blur(6px);
}
.steps { display: grid; gap: 0.9rem; }
.step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.1rem;
  padding: 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--champagne);
  line-height: 1;
}
.step h3 { margin-bottom: 0.35rem; }
.app-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

.login-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
}
.login-primary {
  background: var(--ink);
  color: var(--white);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.login-primary::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 240px;
  height: 240px;
  background: var(--mark-horse) center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.login-primary h2 { position: relative; z-index: 1; }
.login-primary p { color: rgba(248, 245, 240, 0.75); position: relative; z-index: 1; }
.login-side,
.login-secondary {
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  text-align: left;
}
.login-secondary .eyebrow { display: block; }
.login-secondary h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
}
.login-secondary p {
  color: var(--muted);
  margin: 0;
  max-width: 38ch;
}
.login-secondary .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

/* App phone mockups (inloggen) */
.section-apps {
  padding-top: 0.25rem;
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.app-mockups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  justify-items: center;
  align-items: end;
  max-width: 560px;
  margin-inline: auto;
}
.app-mockup {
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 220px;
}
.app-mockup > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  box-shadow: 0 22px 48px rgba(28, 26, 24, 0.18);
}
.app-mockup figcaption {
  margin-top: 1.15rem;
}
.app-mockup figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.app-mockup figcaption span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.phone {
  width: 100%;
  max-width: 200px;
  margin-inline: auto;
  animation: phone-float 6s var(--ease) infinite alternate;
}
.app-mockup:nth-child(2) .phone {
  animation-delay: 0.55s;
  animation-duration: 6.8s;
}
@keyframes phone-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
.phone-bezel {
  background: linear-gradient(160deg, #2a2724 0%, var(--ink) 55%, #12110f 100%);
  border-radius: 1.85rem;
  padding: 0.5rem 0.48rem 0.45rem;
  box-shadow:
    0 22px 48px rgba(28, 26, 24, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-speaker,
.phone-bar {
  display: block;
  width: 30%;
  height: 0.26rem;
  margin: 0.28rem auto;
  border-radius: 999px;
  background: rgba(248, 245, 240, 0.14);
}
.phone-bar { margin-top: 0.45rem; margin-bottom: 0.15rem; width: 26%; }
.phone-screen {
  aspect-ratio: 9 / 19.2;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #12110f;
}
.phone-screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.cta-band-media { position: absolute; inset: 0; }
.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.85);
  animation: kenburns 30s var(--ease) infinite alternate;
}
.cta-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 26, 24, 0.55), rgba(28, 26, 24, 0.35));
}
.cta-band .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 2rem;
  align-items: end;
}
.cta-band h2 { margin: 0.6rem 0 0.85rem; }
.cta-band .lead { color: rgba(248, 245, 240, 0.8); }

.site-footer {
  background: var(--ink);
  color: rgba(248, 245, 240, 0.68);
  padding: 3.75rem 0 1.75rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -20%;
  width: min(420px, 50vw);
  height: min(420px, 50vw);
  background: var(--mark-horse) center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 1;
}
.footer-logo {
  width: min(280px, 85%);
  max-width: 280px;
  margin: 0 auto 0.85rem;
  display: block;
  filter: none;
  opacity: 0.92;
  image-rendering: auto;
}
.footer-grid > div:first-child {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.footer-grid > div:first-child p {
  text-align: center;
  max-width: 22ch;
}
.footer-grid h4 {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-grid a {
  display: block;
  padding: 0.28rem 0;
  transition: color 0.3s;
}
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  position: relative;
  z-index: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 24, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  object-fit: contain;
  animation: fadeIn 0.4s var(--ease);
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: none; }
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* —— Responsive —— */
/* Mid desktop: large logo, tighter menu */
@media (max-width: 1280px) and (min-width: 981px) {
  :root { --nav-h: 100px; }
  .nav-wordmark .nav-logo { height: clamp(56px, 4.5vw, 66px); max-width: min(460px, 38vw); }
  .nav-links { gap: 0.3rem; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 0.035em; }
  .nav-cta { padding: 0.4rem 0.75rem !important; font-size: 0.72rem !important; }
}

/* Wide desktop: full landscape lockup + links */
@media (min-width: 1400px) {
  :root { --nav-h: 112px; }
  .nav-wordmark .nav-logo { height: clamp(68px, 5vw, 80px); max-width: min(580px, 40vw); }
  .nav-links { gap: 0.55rem; }
  .nav-links a { font-size: 0.76rem; }
  .nav-cta { padding: 0.5rem 0.95rem !important; font-size: 0.76rem !important; }
}

@media (max-width: 980px) {
  /* Taller bar so landscape logo fills width between home + hamburger */
  :root { --nav-h: 92px; }
  .header-inner {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 42px;
    align-items: center;
    column-gap: 0.45rem;
    justify-content: stretch;
  }
  .nav-home {
    display: inline-flex;
    grid-column: 1;
    z-index: 10060;
    position: relative;
  }
  .nav-toggle {
    display: block;
    grid-column: 3;
    margin-left: 0;
    z-index: 10060;
  }
  .nav-wordmark {
    grid-column: 2;
    position: static;
    transform: none;
    flex: none;
    width: max-content;
    max-width: min(100%, 68vw);
    margin-right: 0;
    justify-self: center;
    justify-content: center;
    justify-items: center;
    z-index: 1006;
    pointer-events: auto;
  }
  .nav-wordmark .nav-logo {
    /* Keep aspect — avoid width:100% + max-height (crops heart on the left) */
    width: auto;
    height: auto;
    max-width: min(100%, 68vw);
    max-height: calc(var(--nav-h) - 1.5rem);
    object-fit: contain;
    object-position: left center;
  }

  /* Slide-in panel from the right — solid, not a transparent overlay */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(300px, 82vw);
    height: 100%;
    height: 100dvh;
    margin: 0;
    max-width: none;
    padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.5rem) 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.15rem;
    background: #f8f5f0 !important;
    background-color: #f8f5f0 !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: -16px 0 48px rgba(28, 26, 24, 0.22);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.45s var(--ease), visibility 0.45s;
    z-index: 10050;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a {
    color: #1c1a18 !important;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    opacity: 1 !important;
  }
  .nav-links a:hover { opacity: 0.7 !important; }
  .nav-links .nav-cta {
    margin-top: 0.5rem;
    border-color: #1c1a18;
    color: #1c1a18 !important;
    padding: 0.7rem 1.15rem !important;
    font-size: 0.95rem !important;
  }

  /* Dim page behind the drawer */
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(28, 26, 24, 0.48);
    z-index: 10040;
    pointer-events: auto;
  }

  .site-header:has(.nav-links.is-open),
  body.nav-open .site-header {
    background: #f8f5f0;
    box-shadow: 0 1px 0 var(--line);
    z-index: 10055; /* above body.nav-open::after dim layer */
  }
  .site-header:has(.nav-links.is-open) .nav-home,
  body.nav-open .nav-home {
    color: #1c1a18;
  }
  .site-header:has(.nav-links.is-open) .nav-logo--on-dark,
  body.nav-open .nav-logo--on-dark {
    opacity: 0;
    visibility: hidden;
  }
  .site-header:has(.nav-links.is-open) .nav-logo--on-light,
  body.nav-open .nav-logo--on-light {
    opacity: 1;
    visibility: visible;
  }
  .site-header:has(.nav-links.is-open) .nav-toggle span,
  body.nav-open .nav-toggle span {
    background: #1c1a18;
  }

  /* Mobile home hero — approved: centered below nav, scroll visible */
  .hero-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    place-items: unset;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    box-sizing: border-box;
  }
  .hero-center {
    transform: none !important;
    padding: 0.5rem 0 4.5rem;
    justify-content: center;
    width: min(720px, calc(100% - 32px));
  }
  .hero-logo {
    width: min(280px, 72vw);
    margin-bottom: 1rem;
  }
  .hero-scroll-hint {
    display: flex !important;
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  /* Mobile page heroes — approved: clear of menu, glass lower, brand below text */
  .page-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    min-height: min(72vh, 560px);
    padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 2rem) 0 1.75rem;
    box-sizing: border-box;
  }
  .page-hero--tall { min-height: min(72vh, 560px); }
  .page-hero-content {
    position: relative;
    z-index: 3;
    order: 1;
    width: auto;
    max-width: none;
    margin: 0 16px !important;
    text-align: left !important;
  }
  .page-hero--left .page-hero-content,
  .page-hero--right .page-hero-content {
    margin-left: 16px !important;
    margin-right: 16px !important;
    text-align: left !important;
  }
  .page-hero--right .page-hero-content .lead { margin-left: 0; }
  .page-hero-glass {
    max-width: 100%;
    padding: 1.2rem 1.15rem;
  }
  .page-hero-brand {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 3;
    display: flex;
    justify-content: center;
    margin: 1.15rem auto 0;
    order: 2;
  }
  .page-hero-brand img {
    width: min(120px, 36vw);
    opacity: 0.72;
  }

  .editorial,
  .editorial--flip,
  .philosophy-band,
  .facility-panel-inner,
  .facility-feature--flip .facility-panel-inner,
  .rate-board,
  .contact-layout,
  .login-split,
  .footer-grid,
  .form-grid,
  .cta-band .container,
  .stats-ribbon {
    grid-template-columns: 1fr;
  }
  .app-mockups {
    max-width: 420px;
    gap: 1.5rem;
  }
  .app-mockup { max-width: 170px; }
  .phone { max-width: 150px; }
  .facility-toggle {
    grid-template-columns: 3.75rem minmax(0, 1fr) 1.75rem;
    gap: 0.55rem 0.85rem;
    padding: 1.15rem 0;
  }
  .facility-num {
    width: 3.75rem;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }
  .facility-panel-inner,
  .facility-feature--flip .facility-panel-inner {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding-bottom: 1.65rem;
  }
  .facility-feature--flip .facility-media {
    order: 0;
  }
  .editorial--flip .editorial-media { order: 0; }
  .pathway-row { grid-template-columns: 3rem 1fr; }
  .pathway-link { grid-column: 2; }
  .mosaic { grid-template-columns: 1fr; min-height: auto; }
  .mosaic-item:first-child { grid-row: auto; aspect-ratio: 16 / 10; }
  .mosaic-item { aspect-ratio: 16 / 10; }
  .bg-mark {
    width: min(240vw, 2000px);
    opacity: 0.035;
    right: -65%;
    top: -8%;
  }
  .bg-mark--left {
    left: -70%;
    right: auto;
  }
  .gallery-item:nth-child(n) {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }
  .stats-ribbon { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  :root { --nav-h: 86px; }
  .header-inner { column-gap: 0.35rem; }
  .nav-wordmark .nav-logo {
    max-height: calc(var(--nav-h) - 1.4rem);
  }
  .container,
  .container-narrow,
  .container-wide,
  .hero-center { width: calc(100% - 28px); }
  .btn-group { flex-direction: column; align-items: stretch; }
  .gallery-item:nth-child(n) { grid-column: span 12; }
  .map-embed { aspect-ratio: 4 / 3; }
  .hero-logo { width: min(240px, 70vw); }
  h1 { font-size: clamp(1.45rem, 5.8vw, 1.9rem); }
  .page-hero {
    min-height: min(68vh, 480px);
    padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.75rem) 0 1.5rem;
  }
  .hero-center {
    padding: 0.35rem 0 4rem;
  }
  .app-mockups {
    max-width: none;
    gap: 1rem;
  }
  .app-mockup { max-width: min(148px, 42vw); }
  .phone { max-width: min(132px, 38vw); }
  .app-mockup figcaption strong { font-size: 1.15rem; }
}

/* iOS safe areas + touch — do not override hero padding-top alone */
@supports (padding: env(safe-area-inset-top)) {
  .site-header {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav-h) + env(safe-area-inset-top));
  }
}
.nav-links a,
.nav-home,
.nav-toggle,
.btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hero-video {
  /* iOS inline playback */
  -webkit-transform: translateZ(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-slide img { animation: none; }
}
