/* ============================================================
   HOME PAGE — Cobra House refinement
   ============================================================ */

.page-home { background: var(--cream); }

/* ============================================================
   VIDEO HERO
   ============================================================ */

.vh-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1100px;
  overflow: hidden;
  background: #1a0a0c;
}

.vh-video, .vh-poster-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.vh-video {
  object-fit: cover;
  animation: vh-zoom-in 16s linear forwards;
}
.vh-poster-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: vh-zoom-in 16s linear forwards;
}
@keyframes vh-zoom-in {
  from { transform: scale(1); }
  to { transform: scale(1.22); }
}
@media (prefers-reduced-motion: reduce) {
  .vh-video, .vh-poster-fallback img { animation: none; transform: scale(1.08); }
}


.vh-vignette {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26,10,12,0.72) 0%, rgba(26,10,12,0.3) 22%, rgba(26,10,12,0.35) 60%, rgba(26,10,12,0.88) 100%),
    radial-gradient(120% 80% at 50% 50%, transparent 25%, rgba(26,10,12,0.55) 100%);
  pointer-events: none;
}

.vh-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex; flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  padding: 40px;
}
.vh-kicker {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 24px;
  white-space: nowrap;
}
.vh-title {
  display: grid;
  justify-items: center;
  gap: 0;
  line-height: 0.85;
}
.vh-script {
  font-family: var(--f-display);
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(17px, 2.1vw, 32px);
  color: var(--gold);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 0.2em;
}
.vh-display {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 104px);
  letter-spacing: 0;
  color: var(--cream-title);
  text-transform: uppercase;
  line-height: 1.0;
}
.vh-rule {
  width: 80px; height: 1px;
  background: var(--cream);
  opacity: 0.5;
  margin: 36px 0 20px;
}
.vh-sub {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.7;
  white-space: nowrap;
}
.vh-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.6;
}
.vh-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--cream), transparent);
  animation: vh-scroll-pulse 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes vh-scroll-pulse {
  0% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 0.8; }
  100% { transform: scaleY(0.4); opacity: 0.3; }
}
.vh-corner-quote {
  position: absolute;
  bottom: 36px;
  right: clamp(20px, 4vw, 56px);
  z-index: 3;
  max-width: 260px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  color: var(--cream);
  opacity: 0.65;
  text-align: right;
}
@media (max-width: 700px) {
  .vh-corner-quote { display: none; }
}
/* Phones — tighten hero padding, let the mono labels wrap instead of clipping */
@media (max-width: 600px) {
  .vh-content { padding: 28px 22px; }
  .vh-kicker { white-space: normal; }
  .vh-sub { white-space: normal; line-height: 1.7; }
  .vh-rule { margin: 26px 0 16px; }
}

/* Hero content entrance — staggered rise on load */
@media (prefers-reduced-motion: no-preference) {
  .vh-content { animation: vh-fade 0.9s ease both; }
  .vh-kicker,
  .vh-title,
  .vh-rule,
  .vh-sub { animation: vh-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .vh-kicker { animation-delay: 0.18s; }
  .vh-title { animation-delay: 0.34s; }
  .vh-rule { animation-delay: 0.54s; }
  .vh-sub { animation-delay: 0.66s; }
  .vh-scroll { animation: vh-fade 1s ease 0.95s both; }
  .vh-corner-quote { animation: vh-fade 1.1s ease 1.05s both; }
}
@keyframes vh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vh-rise {
  from { transform: translateY(22px); }
  to { transform: none; }
}

/* Topbar — transparent on home (over video) until scrolled */
.topbar.hero-mode:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--cream);
}
.topbar.hero-mode:not(.scrolled) .topbar-brand,
.topbar.hero-mode:not(.scrolled) .topbar-nav a,
.topbar.hero-mode:not(.scrolled) .lang-btn,
.topbar.hero-mode:not(.scrolled) .mobile-toggle {
  color: var(--cream);
}
.topbar.hero-mode:not(.scrolled) .topbar-brand b {
  color: var(--cream);
}
.topbar.hero-mode:not(.scrolled) .lang-btn + .lang-btn { border-left-color: rgba(243,235,219,0.3); }
.topbar.hero-mode:not(.scrolled) .lang-btn.active {
  color: var(--cream);
  text-shadow: 0 0 12px rgba(0,0,0,0.5);
}

/* ============================================================
   WELCOME
   ============================================================ */

.hm-welcome {
  padding: var(--section-y) 0;
}
.hm-welcome-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.hm-welcome-title {
  margin-top: var(--head-kicker-gap);
  max-width: var(--head-maxw);
}
.hm-welcome-title .dual-title-script { white-space: pre-line; }
.hm-welcome-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 36px;
}
.hm-welcome-quote {
  margin: 56px 0 0;
  padding: 0;
  border: 0;
  font-family: var(--f-serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.4;
  color: var(--accent);
  max-width: 26ch;
}
.hm-welcome-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hm-welcome-illustr { overflow: hidden; }
.hm-welcome-illustr img {
  /* Ruimte staat vast voordat de foto er is, dus niets verschuift meer. */
  aspect-ratio: 1066 / 1600;
  height: auto;
  opacity: 0;
  transform: scale(1.03) translateY(14px);
  transition: opacity 2s ease, transform 2.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
  max-width: 480px;
  border-radius: var(--r-image);
  box-shadow: 0 18px 40px rgba(91,26,27,0.12);
}
.hm-welcome-visual.reveal-in .hm-welcome-illustr img { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hm-welcome-illustr img { opacity: 1; transform: none; transition: none; }
}
.hm-welcome-tag {
  position: absolute;
  bottom: 4%;
  right: -4%;
  background: var(--cream-soft);
  padding: 16px 22px;
  display: grid; gap: 4px;
  text-align: center;
  border: 1px solid var(--line);
  transform: rotate(3deg);
  box-shadow: 0 14px 36px rgba(91,26,27,0.15);
}
.hm-welcome-tag-script {
  font-family: var(--f-display);
  font-style: normal;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
  line-height: 1.2;
}
@media (max-width: 900px) {
  .hm-welcome-grid { grid-template-columns: 1fr; }
  .hm-welcome-tag { right: 0; }
}

/* ============================================================
   CHAPTERS TABS
   ============================================================ */

.ch-tabs {
  padding: calc(var(--section-y) + 44px) 0 var(--section-y);
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ch-tabs-head { margin-bottom: var(--head-mb); }
.ch-tabs-title {
  max-width: var(--head-maxw);
}
.ch-tabs-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: start;
}
.ch-tabs-nav { display: grid; gap: 12px; }
.ch-tabs-hint {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 8px;
}
.ch-tabs-hint::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.ch-tabs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ch-tab-btn {
  position: relative;
  display: flex; align-items: baseline; gap: 14px;
  width: 100%;
  padding: 18px 14px 18px 16px;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.ch-tab-btn::before {
  content: "";
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ch-tab-btn:hover { color: var(--ink); padding-left: 22px; }
.ch-tab-btn:hover::before { transform: scaleY(0.55); }
.ch-tab-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ch-tab-btn.active { color: var(--accent); padding-left: 22px; }
.ch-tab-btn.active::before { transform: scaleY(1); }
/* Dunne lijn onder het actieve hoofdstuk die volloopt tot de volgende wisselt. */
.ch-tab-progress {
  position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
  animation: ch-progress 6s linear both;
  pointer-events: none;
}
.ch-tab-progress.is-paused { animation-play-state: paused; }
@keyframes ch-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .ch-tab-progress { display: none; } }
@media (max-width: 900px), (pointer: coarse) { .ch-tab-progress { display: none; } }

.ch-tab-arrow {
  margin-left: auto;
  font-family: Georgia, serif;
  font-size: 15px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.ch-tab-btn:hover .ch-tab-arrow { opacity: 0.7; transform: none; }
.ch-tab-btn.active .ch-tab-arrow { opacity: 1; transform: none; }
.ch-tab-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.6;
}
.ch-tab-btn.active .ch-tab-num { opacity: 1; }
.ch-tab-name {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.ch-tab-panel {
  min-height: 340px;
}
/* Bij elke klik komt het paneel in drie stappen binnen: cijfer, titel, tekst.
   De React-sleutel wisselt met het hoofdstuk, dus de animatie start opnieuw. */
.ch-tab-panel-inner { display: grid; gap: 18px; align-content: start; position: relative; }
.ch-tab-panel-inner::before {
  content: "";
  position: absolute; left: -22px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--accent), color-mix(in oklch, var(--accent) 12%, transparent));
  transform: scaleY(0); transform-origin: top center;
  animation: ch-rule-draw 0.9s cubic-bezier(0.22, 0.68, 0.18, 1) 0.05s both;
}
.ch-tab-panel-num { animation: ch-num-in 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) 0.04s both; }
.ch-tab-panel-title { animation: ch-part-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.16s both; }
.ch-tab-panel p { animation: ch-part-in 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) 0.28s both; }
@keyframes ch-rule-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ch-num-in {
  from { opacity: 0; transform: translateY(22px) scale(0.94); letter-spacing: 0.12em; }
  to { opacity: 1; transform: none; letter-spacing: 0.02em; }
}
@keyframes ch-part-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-tab-panel-inner::before, .ch-tab-panel-num,
  .ch-tab-panel-title, .ch-tab-panel p { animation: none; transform: none; opacity: 1; }
}

/* De hoofdstukken in de lijst komen na elkaar binnen bij het scrollen. */
.ch-tabs-nav.reveal .ch-tab-li { opacity: 0; transform: translateX(-14px); }
.ch-tabs-nav.reveal-in .ch-tab-li {
  opacity: 1; transform: none;
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22, 0.68, 0.18, 1);
}
.ch-tabs-nav.reveal-in .ch-tab-li:nth-child(1) { transition-delay: 0.1s; }
.ch-tabs-nav.reveal-in .ch-tab-li:nth-child(2) { transition-delay: 0.2s; }
.ch-tabs-nav.reveal-in .ch-tab-li:nth-child(3) { transition-delay: 0.3s; }
.ch-tabs-nav.reveal-in .ch-tab-li:nth-child(4) { transition-delay: 0.4s; }
.ch-tabs-nav.reveal-in .ch-tab-li:nth-child(5) { transition-delay: 0.5s; }

/* Niet-actieve hoofdstukken reageren op de muis: naam schuift mee, cijfer licht op. */
@media (hover: hover) and (pointer: fine) {
  .ch-tab-name, .ch-tab-num { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, color 0.35s ease; }
  .ch-tab-btn:hover .ch-tab-name { transform: translateX(4px); }
  .ch-tab-btn:hover .ch-tab-num { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-tabs-nav.reveal .ch-tab-li { opacity: 1; transform: none; }
}
.ch-tab-panel-num {
  font-family: var(--f-display);
  font-size: clamp(64px, 6.5vw, 112px);
  color: var(--accent);
  line-height: 1.0;
  letter-spacing: 0.02em;
}
.ch-tab-panel-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--accent);
}
.ch-tab-panel p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 48ch;
}
.ch-tab-inline { display: none; }
@media (max-width: 900px) {
  .ch-tabs-grid { grid-template-columns: 1fr; }
  .ch-tab-panel { display: none; }
  /* Op mobiel wordt de lijst een accordeon: tekst opent onder de titel zelf. */
  .ch-tab-btn { padding: 20px 4px; }
  .ch-tab-btn:hover, .ch-tab-btn.active { padding-left: 4px; }
  .ch-tab-btn::before { display: none; }
  .ch-tab-arrow { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s; opacity: 0.45; transform: rotate(90deg); }
  .ch-tab-btn.active .ch-tab-arrow { opacity: 1; transform: rotate(-90deg); }
  .ch-tab-li { border-bottom: 1px solid var(--line); }
  .ch-tab-li .ch-tab-btn { border-bottom: 0; }
  .ch-tab-inline {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .ch-tab-li.open .ch-tab-inline { grid-template-rows: 1fr; }
  .ch-tab-inline p {
    overflow: hidden;
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    padding-right: 8px;
  }
  .ch-tab-li.open .ch-tab-inline p { padding-bottom: 22px; }
}

/* ============================================================
   DORIA WEEKENDS — secondary teaser band
   ============================================================ */
.hm-weekends-teaser {
  background: var(--accent-deep);
  color: var(--cream);
  padding: clamp(60px, 7vw, 100px) 0;
}
.hm-weekends-teaser-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 34px;
}
.hm-weekends-teaser .eyebrow {
  white-space: nowrap;
  margin-bottom: 2px;
}
.hm-weekends-teaser-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: var(--t-section);
  line-height: 1.06;
  margin: 0;
  color: var(--cream-title);
}
.hm-weekends-teaser p {
  max-width: 68ch;
  margin-top: -4px;
  text-wrap: balance;
  color: var(--cream);
  opacity: 0.88;
  margin: 0;
}
.hm-weekends-teaser .btn { margin-top: 10px; }
.hm-weekends-teaser-logo { line-height: 0; margin: 4px 0 2px; }
.hm-weekends-teaser-logo img { display: block; width: clamp(240px, 34vw, 420px); height: auto; }

/* ============================================================
   TWO WORLDS — refined (legacy)
   ============================================================ */

.hm-worlds {
  padding: var(--section-y) 0;
}
.hm-worlds-head {
  display: grid;
  gap: var(--head-gap);
  margin-bottom: var(--head-mb);
  max-width: 40ch;
}
.hm-worlds-title {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hm-worlds-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}
.hm-worlds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3vw, 48px);
}
.hm-world {
  display: grid;
  gap: 28px;
}
.hm-world-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-soft);
}
.hm-world-image .ph { width: 100%; }
.hm-world-image > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.hm-world:hover .hm-world-image > img { transform: scale(1.04); }
.hm-world-image-stripes {
  aspect-ratio: 4/3;
  background-image: repeating-linear-gradient(
    90deg,
    var(--accent) 0 56px,
    var(--cream-paper) 56px 112px
  );
  display: grid; place-items: center;
}
.hm-world-image-stripes img {
  max-width: 56%;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.hm-world-image-poster {
  aspect-ratio: 4/3;
  background: var(--accent);
  display: grid; place-items: center;
  overflow: hidden;
}
.hm-world-image-poster > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.hm-world-meta {
  display: flex; flex-direction: column; gap: 16px;
  padding-inline: clamp(4px, 1vw, 8px);
}
.hm-world-name {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--accent);
}
.hm-world p {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}
.hm-world .btn { align-self: flex-start; }
@media (max-width: 900px) {
  .hm-worlds-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRIVATE TEASER — calmer
   ============================================================ */

.hm-private {
  padding: var(--section-y) 0;
  background: var(--cream-soft);
}
.hm-private-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hm-private-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/6;
}
.hm-private-image > img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}
.hm-private-image .ph { width: 100%; }

.hm-private-title {
  margin-top: var(--head-kicker-gap);
  max-width: var(--head-maxw);
}
.hm-private-title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1em;
  display: inline;
  color: var(--accent);
  font-weight: 500;
}
.hm-private-copy .btn { align-self: flex-start; margin-top: 28px; }
@media (max-width: 900px) {
  .hm-private-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRIVATE ROOM — intimate dining (4–6)
   ============================================================ */
.hm-proom { padding: var(--section-y) 0; }
.hm-proom-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.hm-proom-title {
  margin-top: var(--head-kicker-gap);
  max-width: var(--head-maxw);
}
.hm-proom-copy { min-width: 0; }
.hm-proom-copy .lede { font-size: clamp(16px, 1.5vw, 20px); }
.hm-proom-copy .btn { align-self: flex-start; }

/* Private room — "in het kort" facts panel (replaces photo) */
.hm-proom-facts { min-width: 0; padding-top: 6px; }
.hm-proom-facts-eye {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hm-proom-facts ul { list-style: none; margin: 0; padding: 0; }
.hm-proom-facts li {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.hm-proom-facts .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hm-proom-facts .v {
  font-family: var(--f-serif);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  transition: color 0.2s ease;
}
.hm-proom-facts li:hover .v { color: var(--accent); }
.hm-proom-facts li:hover .k { color: var(--accent); }
.hm-proom-note {
  margin-top: 22px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 42ch;
}
.hm-proom-cta { margin-top: 26px; }

/* On-scroll: de tekstkolom komt van links, daarna vullen de feiten zich
   regel na regel, elk met een lijntje dat naar rechts uitloopt. */
.hm-proom-copy.reveal > * { opacity: 0; transform: translateY(14px); }
.hm-proom-copy.reveal-in > * {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.22, 0.68, 0.18, 1);
}
.hm-proom-copy.reveal-in > *:nth-child(1) { transition-delay: 0.05s; }
.hm-proom-copy.reveal-in > *:nth-child(2) { transition-delay: 0.16s; }
.hm-proom-copy.reveal-in > *:nth-child(3) { transition-delay: 0.3s; }
.hm-proom-copy.reveal-in > *:nth-child(4) { transition-delay: 0.42s; }

.hm-proom-facts li { position: relative; }
.hm-proom-facts li::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent);
  opacity: 0.28;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22, 0.68, 0.18, 1);
}
.hm-proom-facts.reveal .hm-proom-facts-eye { opacity: 0; transform: translateY(10px); }
.hm-proom-facts.reveal li > * { opacity: 0; transform: translateY(10px); }
.hm-proom-facts.reveal .hm-proom-cta { opacity: 0; transform: translateY(12px); }
.hm-proom-facts.reveal-in .hm-proom-facts-eye {
  opacity: 1; transform: none;
  transition: opacity 0.55s ease 0.18s, transform 0.65s cubic-bezier(0.22, 0.68, 0.18, 1) 0.18s;
}
.hm-proom-facts.reveal-in li > * {
  opacity: 1; transform: none;
  transition: opacity 0.5s ease var(--fd), transform 0.65s cubic-bezier(0.22, 0.68, 0.18, 1) var(--fd);
}
.hm-proom-facts.reveal-in li::after { transform: scaleX(1); transition-delay: calc(var(--fd) + 0.1s); }
.hm-proom-facts li { --fd: 0.3s; }
.hm-proom-facts li:nth-child(1) { --fd: 0.3s; }
.hm-proom-facts li:nth-child(2) { --fd: 0.42s; }
.hm-proom-facts li:nth-child(3) { --fd: 0.54s; }
.hm-proom-facts li:nth-child(4) { --fd: 0.66s; }
.hm-proom-facts li:nth-child(n+5) { --fd: 0.78s; }
.hm-proom-facts.reveal-in .hm-proom-cta {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease 0.9s, transform 0.7s cubic-bezier(0.22, 0.68, 0.18, 1) 0.9s,
              background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .hm-proom-facts.reveal-in .hm-proom-cta:hover { transform: translateY(-2px); transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-proom-copy.reveal > *,
  .hm-proom-facts.reveal .hm-proom-facts-eye,
  .hm-proom-facts.reveal li > *,
  .hm-proom-facts.reveal .hm-proom-cta { opacity: 1; transform: none; }
  .hm-proom-facts li::after { transform: none; }
}

/* Consistent title → body spacing across all home section headers */
.page-home .dual-title + .lede,
.hm-newsletter-title + p,
.hm-final-title + .lede {
  margin-top: var(--head-title-gap);
}
@media (max-width: 900px) {
  .hm-proom-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   GALLERY
   ============================================================ */

.hm-gallery {
  padding: var(--section-y) 0;
}
.hm-gallery-headings { display: grid; gap: 10px; }
.hm-gallery-title { line-height: 1; }
.hm-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.wk-gallery-head {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}
.wk-gallery-title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: var(--t-section);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.hm-gallery-sub {
  font-family: var(--f-serif);
  font-style: normal;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 30ch;
}
.hm-gallery-grid {
  /* Drie kolommen; de vierkante tegels bepalen zelf de rijhoogte via hun
     verhouding, de twee hoge beelden overspannen twee rijen. Zo klopt het
     vierkant op elke breedte en blijft er geen kolom leeg. */
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
  grid-auto-flow: row dense;
}
.hm-tile { overflow: hidden; margin: 0; }
/* Rustig en gespreid: de tegels komen één na één op, met een lange fade en
   een nauwelijks merkbare verschuiving. De harde sprong is eruit. */
.hm-tile.reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  transition: opacity 1.5s ease, transform 1.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hm-tile.reveal-in { opacity: 1; transform: none; }
.hm-gallery-grid .hm-tile:nth-child(1) { transition-delay: 0s !important; }
.hm-gallery-grid .hm-tile:nth-child(2) { transition-delay: 0.12s !important; }
.hm-gallery-grid .hm-tile:nth-child(3) { transition-delay: 0.24s !important; }
.hm-gallery-grid .hm-tile:nth-child(4) { transition-delay: 0.36s !important; }
.hm-gallery-grid .hm-tile:nth-child(5) { transition-delay: 0.48s !important; }
.hm-gallery-grid .hm-tile:nth-child(6) { transition-delay: 0.6s !important; }
.hm-gallery-grid .hm-tile:nth-child(n+7) { transition-delay: 0.72s !important; }

/* De koppen boven de galerij ook rustiger. */
.hm-gallery .hm-gallery-head.reveal {
  transition: opacity 1.3s ease, transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Nieuwsbrief en slotsectie: dezelfde lange, zachte fade. */
.hm-newsletter .shell > *.reveal,
.hm-final .shell > *.reveal {
  transform: translateY(16px);
  transition: opacity 1.5s ease, transform 1.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hm-newsletter .shell > *.reveal-in,
.hm-final .shell > *.reveal-in { transform: none; }
.hm-tile > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s ease;
}
.hm-tile:hover > img { transform: scale(1.05); }
.hm-tile .ph { width: 100%; height: 100%; aspect-ratio: auto; }
/* Editorial masonry — varied row/col spans */
.hm-gallery-grid .hm-tile {
  margin: 0;
  aspect-ratio: 1 / 1;
}
/* Twee hoge beelden voor het ritme: die vullen twee rijen en laten hun
   verhouding dus door het raster bepalen. */
.hm-gallery-grid .hm-tile-1,
.hm-gallery-grid .hm-tile-5 { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 900px) {
  .hm-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* Twee kolommen: de rij-overspanningen eruit, anders blijft er een half
     vakje leeg. Eerste beeld leidt over de volle breedte, de rest vierkant. */
  .hm-gallery-grid .hm-tile-1,
  .hm-gallery-grid .hm-tile-5 { grid-row: auto; aspect-ratio: 1 / 1; }
  .hm-gallery-grid .hm-tile-1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}
/* Phones — abandon the fixed-row masonry (it makes tall skinny slivers).
   Use a clean 2-up grid with uniform tiles + one full-width feature. */
@media (max-width: 600px) {
  .hm-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ============================================================
   NEWSLETTER
   ============================================================ */

.hm-newsletter {
  padding: var(--section-y) 0;
  background: var(--accent-deep);
  color: var(--cream);
}
.hm-newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hm-newsletter .chapter-num { color: var(--blush); }
.hm-newsletter-title {
  margin-top: var(--head-kicker-gap);
}
.hm-newsletter-title .dual-title-display,
.hm-final-title .dual-title-display {
  font-size: var(--t-section);
  line-height: 1.18;
  margin-bottom: 11px; /* match the line gap of every other dual-title */
}
.hm-newsletter-title .dual-title-display { color: var(--cream-title); }
.hm-newsletter-title .dual-title-script,
.hm-final-title .dual-title-script {
  font-size: var(--t-section);
  line-height: 1.18;
}
.hm-newsletter p { opacity: 0.7; font-size: 15px; }
.hm-newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}
.hm-newsletter-form .hm-newsletter-input {
  display: flex; flex-direction: column;
  border-bottom: 1px solid rgba(242,234,215,0.4);
}
.hm-newsletter-form input {
  font: inherit;
  font-family: var(--f-serif);
  font-style: normal;
  font-size: 16px;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(242,234,215,0.55);
  color: var(--cream);
  padding: 14px 2px;
  outline: none;
  width: 100%;
  transition: border-color 0.25s ease;
}
.hm-newsletter-form input:focus { border-bottom-color: var(--cream); }
.hm-newsletter-form input::placeholder { color: rgba(242,234,215,0.62); }
.hm-newsletter-form .btn {
  border-color: var(--cream);
  background: transparent;
  color: var(--cream);
  align-self: end;
}
.hm-newsletter-form .btn:hover { background: var(--cream); color: var(--accent-deep); }
@media (max-width: 700px) {
  .hm-newsletter-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hm-newsletter-form { grid-template-columns: 1fr; gap: 16px; }
  .hm-newsletter-form .btn { justify-self: stretch; justify-content: center; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.hm-final {
  padding: var(--section-y) 0;
  background: var(--cream);
  text-align: center;
}
.hm-final-inner {
  display: grid;
  justify-items: center;
  gap: 0;
}
.hm-final-title {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-top: var(--head-kicker-gap);
}
.hm-final-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 34px;
}
@media (max-width: 480px) {
  .hm-final-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hm-final-actions .btn { justify-content: center; }
}

/* mobile nav fixes — keep colored on dark hero (match nav breakpoint 1000px) */
@media (max-width: 1000px) {
  .topbar.hero-mode:not(.scrolled) .mobile-toggle {
    color: var(--cream);
  }
}
