/* ============================================================
   De Nassau-Kerk — 90th anniversary book, redesign
   Theme: locked dark "museum stage" (ink + parchment + gold foil)
   ============================================================ */

:root {
  --ink: #14130f;
  --ink-1: #1a1812;
  --ink-2: #201e17;
  --ink-3: #29271e;
  --paper: #f4efe3;
  --paper-dim: #e7e0cf;
  --muted: #a89d87;
  --muted-2: #756c5a;
  --gold: #c9a15a;
  --gold-bright: #ddb877;
  --line: rgba(244, 239, 227, 0.12);
  --line-strong: rgba(244, 239, 227, 0.22);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 6px;
  --radius-pill: 999px;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { display: block; }

.icon { width: 1em; height: 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
}

/* italic emphasis needs descender clearance */
em, i { font-style: italic; line-height: 1.15; padding-bottom: 0.08em; display: inline-block; }

/* fixed grain overlay, never on scrolling containers */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(4.5rem, 9vw, 8rem) var(--gutter); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  margin-bottom: 1.75rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #211a0d;
  box-shadow: 0 12px 30px -10px rgba(201, 161, 90, 0.45);
}
.btn--primary:hover { box-shadow: 0 16px 36px -8px rgba(201, 161, 90, 0.6); }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--paper);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn--text {
  padding: 0.9rem 0.2rem;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.btn--text:hover { color: var(--paper); border-color: var(--line-strong); }

.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 var(--gutter);
  background: rgba(20, 19, 15, 0.5);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(20, 19, 15, 0.86);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__brand { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.nav__brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.nav__brand-sub { font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted-2); }

.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a { font-size: 0.9rem; color: var(--muted); transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--paper); }

.nav__cta { padding: 0.6rem 1.3rem; font-size: 0.85rem; }

.nav__toggle { display: none; padding: 0.4rem; }
.nav__toggle .icon { width: 22px; height: 22px; }
.nav__toggle .icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- hero ---------- */
.hero { --hero-pb: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: var(--hero-pb); }
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__visual { align-self: end; margin-bottom: calc(-1 * var(--hero-pb)); margin-left: clamp(1rem, 3vw, 2.5rem); }
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.15;
  max-width: 30ch;
}
.hero__subtext {
  margin-top: 1.5rem;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero__actions { margin-top: 2.25rem; display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }

.hero__visual-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1538 / 1018;
  width: calc(100% + clamp(10px, 4vw, 40px));
}
.hero__visual-frame::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(closest-side, rgba(201, 161, 90, 0.16), transparent 72%);
  pointer-events: none;
}
.hero__visual-frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 55%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1.02); }
  50% { transform: translateY(-10px) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual-frame img { animation: none; }
}

/* ---------- panorama (full-bleed archival strip) ---------- */
.panorama { padding: 0; }
.panorama__figure { margin: 0; }
.panorama__frame {
  width: 100%;
  height: clamp(140px, 16vw, 220px);
  overflow: hidden;
  position: relative;
}
.panorama__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 15, 0.35), transparent 20%, transparent 80%, rgba(20, 19, 15, 0.5));
  pointer-events: none;
}
.panorama__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(0.1) sepia(0.08) contrast(1.03);
  animation: kenburns 42s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.14) translateX(-2.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .panorama__frame img { animation: none; }
}
.panorama__figure figcaption {
  text-align: center;
  padding: 1rem var(--gutter) 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted-2);
}

/* ---------- history ---------- */
.history__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.history__collage {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 1.75rem);
}
.history__figure,
.history__clipping {
  flex: 1 1 0;
  min-width: 0;
  background: var(--paper-dim);
  padding: 0.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.history__figure { transform: rotate(-1.5deg); }
.history__clipping { transform: rotate(1.5deg); }
.history__figure:hover,
.history__clipping:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 30px 60px -14px rgba(0, 0, 0, 0.65);
}
.history__figure img,
.history__clipping img { border-radius: 3px; width: 100%; }
.history__figure figcaption,
.history__clipping figcaption {
  padding: 0.85rem 0.4rem 0.3rem;
  font-size: 0.78rem;
  color: #4a4436;
  font-style: italic;
}
@media (prefers-reduced-motion: reduce) {
  .history__figure, .history__clipping { transition: none; }
}

.history__text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.5rem; }
.history__text p { color: var(--muted); max-width: 56ch; margin-bottom: 1rem; }
.history__text p:last-child { margin-bottom: 0; }

/* ---------- bell (full-bleed feature) ---------- */
.bell { padding: 0; }
.bell__media {
  position: relative;
  height: clamp(420px, 62vw, 620px);
  overflow: hidden;
}
.bell__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  transition: transform 1.6s var(--ease);
}
.bell__media.is-visible img { transform: scale(1); }
.bell__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 9, 6, 0.88), rgba(10, 9, 6, 0.25) 45%, transparent 75%);
}
.bell__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.bell__content h2 {
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  padding-bottom: 0.15em;
  color: var(--gold-bright);
}
.bell__content p { margin-top: 1rem; max-width: 52ch; color: var(--paper); font-size: 1.02rem; }
@media (prefers-reduced-motion: reduce) {
  .bell__media img { transition: none; }
}

/* ---------- facts ---------- */
.facts__header { max-width: 60ch; margin: 0 auto 3.5rem; text-align: center; }
.facts__header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.facts__header p { margin-top: 1rem; color: var(--muted); }

.facts__list {
  max-width: 860px;
  margin: 0 auto;
}
.facts__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.facts__item:last-child { border-bottom: 1px solid var(--line); }
.facts__num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  font-weight: 600;
}
.facts__body h3 { font-size: 1.4rem; margin-bottom: 0.65rem; }
.facts__body p { color: var(--muted); max-width: 62ch; }

/* ---------- showcase (book spotlight) ---------- */
.showcase__header { max-width: 60ch; margin: 0 auto 3.5rem; text-align: center; }
.showcase__header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.showcase__header p { margin-top: 1rem; color: var(--muted); }

.showcase__panel {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.showcase__stage {
  position: relative;
  padding: clamp(0.5rem, 2vw, 1.25rem) 0.5rem;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.showcase__stage[data-reveal] {
  opacity: 0;
  transform: scale(0.86) translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase__stage[data-reveal].is-visible { opacity: 1; transform: scale(1) translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .showcase__stage[data-reveal] { opacity: 1; transform: none; transition: none; }
}
.showcase__spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--spot-x, 50%) var(--spot-y, 35%),
    rgba(201, 161, 90, 0.22),
    transparent 65%
  );
  pointer-events: none;
  transition: background 0.15s linear;
}
.showcase__spotlight--ambient {
  background: radial-gradient(360px circle at 50% 38%, rgba(201, 161, 90, 0.14), transparent 70%);
  animation: ambient-glow 6s ease-in-out infinite;
}
@keyframes ambient-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase__spotlight--ambient { animation: none; opacity: 0.8; }
}

.showcase__book-shadow {
  position: absolute;
  left: 50%;
  bottom: clamp(2.6rem, 7vw, 5rem);
  width: min(56%, 260px);
  height: 34px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent 75%);
  transform: translate(calc(-50% + var(--shadow-x, 0px)), 0) scaleX(1.1);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}

.showcase__book {
  position: relative;
  width: min(96%, 480px);
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
  transition: transform 0.4s var(--ease);
  will-change: transform;
}
.showcase__book img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.showcase__shine {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  overflow: hidden;
  pointer-events: none;
}
.showcase__shine::before {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 245, 220, 0.55), transparent);
  transform: translateX(-40%) rotate(8deg);
  opacity: 0;
}
.showcase__stage.is-visible .showcase__shine::before {
  animation: sweep 1.6s var(--ease) 0.3s 1;
}
.showcase__book:hover .showcase__shine::before {
  animation: sweep 1.1s var(--ease) 1;
}
@keyframes sweep {
  0% { transform: translateX(-40%) rotate(8deg); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateX(340%) rotate(8deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase__book { transform: none !important; }
  .showcase__shine::before { animation: none !important; }
}

.specs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.specs__tile {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
}
.specs__tile .icon { width: 26px; height: 26px; color: var(--gold); margin-bottom: 0.9rem; }
.specs__tile h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.specs__tile p { color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.specs__tile--large {
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.specs__num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--gold-bright); }
.specs__tile--large p { color: var(--muted); font-size: 1.02rem; max-width: 30ch; }

/* ---------- preorder ---------- */
.preorder__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.preorder__text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.preorder__text > p { margin-top: 1rem; color: var(--muted); max-width: 48ch; }

.preorder__steps { margin-top: 2.75rem; display: flex; flex-direction: column; gap: 1.75rem; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step__num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; color: var(--gold-bright);
  font-size: 0.95rem;
}
.step h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.step p { color: var(--muted); font-size: 0.92rem; max-width: 44ch; }

.preorder__card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.preorder__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.preorder__price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.preorder__price-unit { color: var(--muted-2); font-size: 0.9rem; }

.payment .icon { width: 24px; height: 24px; color: var(--gold); margin-bottom: 0.75rem; }
.payment__label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.payment__account { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-top: 0.3rem; }
.payment__name { color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }
.payment__note { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* ---------- credits ---------- */
.credits__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.credits__inner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 2.5rem; }
.credits__list { display: flex; flex-direction: column; gap: 1.1rem; }
.credits__row {
  display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.credits__row:last-child { border-bottom: none; }
.credits__row dt { color: var(--gold-bright); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.credits__row dd { color: var(--muted); margin: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3.5rem var(--gutter) 2.5rem; }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer__brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.footer__tagline { margin-top: 0.6rem; max-width: 34ch; color: var(--muted); font-style: italic; font-size: 0.92rem; }
.footer__note { margin-top: 0.75rem; max-width: 42ch; color: var(--muted-2); font-size: 0.88rem; }
.footer__bottom { text-align: right; }
.footer__contact { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold-bright); font-size: 0.92rem; }
.footer__contact .icon { width: 18px; height: 18px; }
.footer__copy { margin-top: 0.75rem; color: var(--muted-2); font-size: 0.8rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; align-self: auto; margin-bottom: 1.5rem; }
  .history__inner { grid-template-columns: 1fr; }
  .showcase__panel { grid-template-columns: 1fr; }
  .preorder__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; margin-left: auto; }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(20, 19, 15, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--gutter) 2rem;
    gap: 1.25rem;
  }
  .nav__links.is-open a { font-size: 1.05rem; }

  section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .facts__item { grid-template-columns: 56px 1fr; gap: 1rem; }
  .facts__num { font-size: 2.2rem; }
  .credits__row { flex-direction: column; gap: 0.3rem; }

  .history__collage { flex-direction: column; }
  .history__figure, .history__clipping { flex: none; width: 100%; transform: none; }
  .history__figure:hover, .history__clipping:hover { transform: translateY(-4px); }

  .bell__content p { max-width: 100%; }
}
