:root {
  --ink: #14272d;
  --ink-soft: #41555b;
  --deep: #10242b;
  --teal: #1f6f6b;
  --teal-soft: #2f928c;
  --sand: #f6efe4;
  --sand-2: #efe5d4;
  --gold: #c79a4b;
  --rose: #c97d6d;
  --card: #ffffff;
  --line: #e4dac8;
  --shadow: 0 18px 50px -22px rgba(20, 39, 45, 0.45);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

a { color: var(--teal); }

/* ============ PASSCODE LOCK ============ */
.lock {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(120% 90% at 50% -10%, #1d4a4f 0%, var(--deep) 55%, #0b1a20 100%);
  z-index: 50;
}
.lock.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.lock-card {
  width: min(420px, 100%);
  text-align: center;
  color: #f4ede0;
  animation: rise 0.7s ease both;
}
.lock-emblem {
  font-size: 30px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
  opacity: 0.9;
}
.lock-title {
  font-size: clamp(24px, 5.8vw, 33px);
  color: #fbf6ec;
  margin-bottom: 12px;
  text-wrap: balance;
}
.lock-sub {
  color: #c5d2d1;
  font-size: 15px;
  margin: 0 0 30px;
}
.code-inputs {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-bottom: 18px;
}
.code-box {
  width: 46px;
  height: 58px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  caret-color: var(--gold);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.code-box:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(199, 154, 75, 0.25);
}
.code-box.filled { border-color: rgba(199, 154, 75, 0.7); }
.lock-error {
  min-height: 20px;
  margin: 0 0 14px;
  font-size: 14px;
  color: #ffb4a6;
}
.btn {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 15px 28px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-unlock {
  width: 100%;
  background: linear-gradient(180deg, var(--gold), #b3853a);
  color: #1c1407;
  box-shadow: 0 12px 26px -12px rgba(199, 154, 75, 0.8);
}
.btn-unlock:hover { box-shadow: 0 16px 30px -12px rgba(199, 154, 75, 0.9); }
.lock-hint {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: #8fa3a2;
  letter-spacing: 0.3px;
}
.lock.shake .lock-card { animation: shake 0.45s ease; }

/* ============ PORTAL ============ */
.portal { animation: fade 0.8s ease both; }

/* Hero */
.hero { position: relative; }
.hero-photo {
  position: relative;
  height: min(78vh, 620px);
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 36, 43, 0.15) 0%, rgba(16, 36, 43, 0.05) 40%, rgba(16, 36, 43, 0.82) 100%);
}
.hero-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 26px 38px;
  text-align: center;
  color: #fff;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 8px;
}
.hero-title {
  font-size: clamp(36px, 10vw, 62px);
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-lead {
  max-width: 480px;
  margin: 0 auto 22px;
  font-size: 16px;
  color: #ecf1f0;
}
.hero-scroll {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.hero-scroll:hover { background: rgba(255, 255, 255, 0.15); }

/* Oppas-rijmpje callout */
.callout {
  max-width: 620px;
  margin: 0 auto;
  padding: 30px 20px 8px;
}
.callout-card {
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #fbf5ea);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow);
}
.callout-emoji {
  display: inline-block;
  font-size: 26px;
  margin-bottom: 12px;
}
.callout-rhyme {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(19px, 4.6vw, 23px);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}
.callout-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* Tabs */
.tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 12px;
  background: rgba(246, 239, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s ease;
}
.tab-emoji { font-size: 18px; }
.tab:hover { background: var(--sand-2); }
.tab.is-active {
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow);
}

/* World sections */
.world {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 20px 10px;
  animation: fade 0.5s ease both;
}
.world-banner {
  margin: 0 0 26px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.world-banner img {
  width: 100%;
  height: clamp(200px, 38vw, 320px);
  object-fit: cover;
  display: block;
}
.banner-wellness img { object-position: center 30%; }
.world-banner figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 20px 14px;
  color: #fff;
  font-size: 14px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
.world-intro { text-align: center; margin-bottom: 26px; padding: 0 6px; }
.world-intro h2 { font-size: clamp(28px, 6vw, 38px); margin-bottom: 10px; }
.world-intro p { color: var(--ink-soft); margin: 0 auto; max-width: 540px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}
.card-wide { grid-column: 1 / -1; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card-emoji {
  font-size: 26px;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: var(--sand-2);
  border-radius: 14px;
}
.card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--teal);
}
.card h3 { font-size: 23px; margin-bottom: 6px; }
.card-desc { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 16px; flex: 1; }

.voucher {
  margin: 0;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  display: grid;
  gap: 8px;
}
.voucher > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.voucher dt { color: var(--ink-soft); font-size: 13px; margin: 0; }
.voucher dd { margin: 0; font-weight: 600; font-size: 14px; text-align: right; }
.voucher dd.code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  letter-spacing: 0.5px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 9px;
  color: var(--ink);
}

/* How-to */
.howto {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-bottom: 34px;
  box-shadow: var(--shadow);
}
.howto h3 { font-size: 24px; margin-bottom: 16px; }
.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14.5px;
}
.note-important { background: #fbf2dd; border: 1px solid #ecd6a3; }
.note-icon { font-size: 20px; line-height: 1.4; }
.note p { margin: 0; }
.steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.steps li { padding-left: 4px; }
.steps strong { color: var(--ink); }

/* Footer */
.portal-foot {
  text-align: center;
  padding: 10px 22px 60px;
  max-width: 620px;
  margin: 0 auto;
}
.foot-photo-row img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  object-position: center 25%;
}
.foot-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 10px;
}
.foot-from {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  letter-spacing: 0.2px;
}
.foot-meta { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* Mobile */
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .world { padding-top: 22px; }
}

/* Animations */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
