/* Montserrat (variable, self-hosted — SIL Open Font License, see assets/fonts/OFL.txt) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream: #efebe3;
  --cream-2: #f3f0ea;
  --ink: #2c2a26;
  --muted: #7d7565;
  --gold: #7c6b47;
  --gold-hover: #6c5d3d;
  --line: #b9b2a4;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html, body { margin: 0; height: 100%; }

body {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #2b2925;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* ---------- Hero (full-bleed video) ---------- */

.hero {
  position: relative;
  flex: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #3a3833;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  animation: media-in 2.4s var(--ease) both;
}

.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  opacity: 0;
  transition: opacity 1.6s var(--ease-in-out);
  will-change: opacity;
}
.hero__video.is-active { opacity: 1; }

.hero__shade {
  position: absolute;
  inset: 0;
  /* bottom gradient keeps the footer text legible over the video */
  background:
    linear-gradient(to top, rgba(18, 16, 13, 0.72) 0%, rgba(18, 16, 13, 0.38) 16%, rgba(18, 16, 13, 0) 34%),
    radial-gradient(ellipse at 50% 50%, rgba(20, 18, 15, 0.18), rgba(20, 18, 15, 0.42) 85%),
    rgba(28, 26, 22, 0.32);
}

@keyframes media-in {
  from { opacity: 0; transform: scale(1.06); filter: blur(6px); }
  to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}

.hero__content {
  /* Only the logo takes up space here, so it sits exactly in the centre;
     the tagline and button hang below it. */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero__cta {
  position: absolute;
  top: 100%;
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 48px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(48px, min(6vw, 9vh), 96px);
}

.hero__logo {
  margin: 0;
  line-height: 0;
}
.hero__logo img {
  width: clamp(220px, min(21vw, 40vh), 360px);
  height: auto;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.12));
}

.hero__tagline {
  font-size: clamp(15px, 1.25vw, 21px);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---------- Button ---------- */

.btn {
  margin-top: clamp(22px, 2.3vw, 34px);
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: clamp(13px, 0.9vw, 15px);
  color: #fff;
  background: var(--gold);
  padding: 0.95em 1.85em;
  border-radius: 1px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  transition:
    background-color 0.5s var(--ease),
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    opacity 1.2s var(--ease),
    translate 1.2s var(--ease);
}
.btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }

/* Hero button: slim, tracked capitals on a translucent gold */
.btn--hero {
  margin-top: clamp(24px, 2.4vw, 34px);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1.35em 3em 1.35em 3.24em; /* extra left pad balances trailing letter-spacing */
  background: rgba(124, 107, 71, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: none;
}
.btn--hero:hover {
  background: rgba(124, 107, 71, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn--block {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 1.1em;
  box-shadow: none;
}
.btn--block:hover { box-shadow: 0 8px 20px rgba(124, 107, 71, 0.25); }
.btn--block:focus-visible { outline-color: var(--gold); }

/* ---------- Footer (transparent, over the video) ---------- */

.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(24px, 3.3vw, 64px) calc(30px + env(safe-area-inset-bottom));
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.footer__street { font-size: 15px; color: #fff; letter-spacing: 0.01em; }
.footer__note { margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, 0.68); }

.footer__link {
  position: relative;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.4s var(--ease);
}
.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 1.1em;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.footer__link .arrow {
  display: inline-block;
  font-size: 0.8em;
  transition: transform 0.4s var(--ease);
}
.footer__link:hover { color: #fff; }
.footer__link:hover::after { transform: scaleX(1); }
.footer__link:hover .arrow { transform: translate(2px, -2px); }

.footer__links {
  display: flex;
  align-items: baseline;
  gap: clamp(24px, 2.6vw, 40px);
}
/* Privacy sits left of "Discover Kattebroek" on desktop, quieter */
.footer__privacy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.4s var(--ease);
}
.footer__privacy:hover { color: #fff; }

/* ---------- Entrance reveal ---------- */

.reveal {
  opacity: 0;
  translate: 0 18px;
  filter: blur(4px);
  transition:
    opacity 1.4s var(--ease) var(--d, 0s),
    translate 1.4s var(--ease) var(--d, 0s),
    filter 1.4s var(--ease) var(--d, 0s);
}
.reveal--soft { translate: 0 8px; filter: none; }
.is-loaded .reveal { opacity: 1; translate: 0 0; filter: blur(0); }
.btn.reveal {
  transition:
    opacity 1.4s var(--ease) var(--d, 0s),
    translate 1.4s var(--ease) var(--d, 0s),
    filter 1.4s var(--ease) var(--d, 0s),
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

/* ---------- Newsletter panel ---------- */

.newsletter {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}
.newsletter.is-open { pointer-events: auto; }

.newsletter__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 22, 18, 0.38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.newsletter.is-open .newsletter__backdrop { opacity: 1; }

.newsletter__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(480px, 100%);
  overflow-y: auto;
  background: var(--cream-2);
  padding: 80px 40px 48px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.85s var(--ease), box-shadow 0.85s var(--ease), visibility 0s linear 0.85s;
}
.newsletter.is-open .newsletter__panel {
  transform: translateX(0);
  visibility: visible;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
  transition: transform 0.85s var(--ease), box-shadow 0.85s var(--ease), visibility 0s;
}

.newsletter__panel > * {
  opacity: 0;
  translate: 24px 0;
  transition: opacity 0.6s var(--ease), translate 0.8s var(--ease);
}
.newsletter.is-open .newsletter__panel > * { opacity: 1; translate: 0 0; }
.newsletter.is-open .newsletter__panel > :nth-child(2) { transition-delay: 0.18s; }
.newsletter.is-open .newsletter__panel > :nth-child(3) { transition-delay: 0.24s; }
.newsletter.is-open .newsletter__panel > :nth-child(4) { transition-delay: 0.32s; }

.newsletter__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.35s var(--ease), transform 0.5s var(--ease);
}
.newsletter__close:hover { background: rgba(124, 107, 71, 0.1); transform: rotate(90deg); }

.newsletter__title {
  margin: 0;
  font-weight: 400;
  font-size: 32px;
  color: var(--muted);
  letter-spacing: 0.005em;
}
.newsletter__lead { margin-top: 14px; font-size: 14px; color: var(--ink); }

.newsletter__form { margin-top: 44px; }

.field { display: block; }
.field__label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.field__input {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 14px 12px;
  outline: none;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}
.field__input::placeholder { color: var(--ink); opacity: 0.9; }
.field__input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 107, 71, 0.12);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field__error {
  min-height: 0;
  margin-top: 8px;
  font-size: 12px;
  color: #9a4a35;
}
.field__error:empty { margin-top: 0; }
.has-error .field__input { border-color: #9a4a35; }

.btn--block:disabled { opacity: 0.7; cursor: default; }

.newsletter__form.is-leaving,
.newsletter__lead.is-leaving {
  opacity: 0 !important;
  translate: 0 -8px !important;
  transition: opacity 0.45s var(--ease), translate 0.45s var(--ease) !important;
}

.newsletter__done {
  margin-top: 36px;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
}
.newsletter.is-open .newsletter__panel > .newsletter__done:not(.is-visible) { opacity: 0; translate: 0 12px; }
.newsletter__done.is-visible { opacity: 1; translate: 0 0; }
.newsletter__done-title {
  margin: 0;
  font-weight: 400;
  font-size: 20px;
  color: var(--muted);
}
.newsletter__done-text { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--ink); max-width: 32ch; }

.newsletter__fine { margin-top: 22px; font-size: 11px; color: var(--ink); }
.newsletter__fine a { border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.newsletter__fine a:hover { border-color: currentColor; }

body.is-locked { overflow: hidden; }

/* ---------- Legal pages (privacy) ---------- */

body.legal {
  background: var(--cream);
  color: var(--ink);
  animation: legal-in 0.9s var(--ease) both;
}
@keyframes legal-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.legal__header {
  display: flex;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) 24px 0;
}
.legal__logo { line-height: 0; transition: opacity 0.4s var(--ease); }
.legal__logo:hover { opacity: 0.7; }
.legal__logo img { width: 120px; height: auto; }

.legal__main {
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) 24px 40px;
  font-size: 15px;
  line-height: 1.75;
}
.legal__main p,
.legal__main address,
.legal__main ul { margin: 0 0 1.1em; }
.legal__main address { font-style: normal; }
.legal__main ul { padding-left: 1.2em; }
.legal__main li { margin-bottom: 0.5em; }
.legal__main li::marker { color: var(--gold); }
.legal__main strong { font-weight: 500; }
.legal__main a {
  color: var(--gold);
  border-bottom: 1px solid rgba(124, 107, 71, 0.3);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.legal__main a:hover { color: var(--gold-hover); border-color: currentColor; }

.legal__title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 40px);
  color: var(--muted);
  letter-spacing: 0.005em;
}
.legal__updated { margin-top: 10px !important; margin-bottom: 2.4em !important; font-size: 12px; color: var(--muted); }

.legal__main h2 {
  margin: 2.4em 0 0.7em;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.legal__main h3 {
  margin: 1.6em 0 0.4em;
  font-weight: 500;
  font-size: 15px;
}

.legal__footer {
  max-width: 660px;
  margin: 0 auto;
  padding: 24px 24px calc(56px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(124, 107, 71, 0.18);
  font-size: 13px;
}
.legal__footer a { color: var(--muted); transition: color 0.3s var(--ease); }
.legal__footer a:hover { color: var(--gold); }

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  /* Logo slightly above centre so the text and button sit comfortably above the address */
  .hero { padding-bottom: 12svh; }
  .hero__cta { padding-top: 44px; }
  .hero__shade {
    background:
      linear-gradient(to bottom, rgba(18, 16, 13, 0.5) 0%, rgba(18, 16, 13, 0) 16%),
      linear-gradient(to top, rgba(18, 16, 13, 0.72) 0%, rgba(18, 16, 13, 0.3) 16%, rgba(18, 16, 13, 0) 32%),
      rgba(28, 26, 22, 0.34);
  }

  .hero__logo img { width: 190px; }
  .hero__tagline { font-size: 15px; }
  .btn--hero { margin-top: 22px; font-size: 10.5px; }

  /* Footer spans the whole screen (click-through) so the links can sit
     in the top corners while the address stays at the bottom. */
  .footer {
    top: 0;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    gap: 0;
    padding: 0 24px calc(32px + env(safe-area-inset-bottom));
    pointer-events: none;
  }
  .footer__address,
  .footer__links a { pointer-events: auto; }
  .footer__street { font-size: 13px; }
  .footer__note { margin-top: 8px; font-size: 11px; }

  /* Top corners: Privacy left, Discover Kattebroek right */
  .footer__links {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
    align-items: center;
    padding: calc(20px + env(safe-area-inset-top)) 22px 0;
  }
  .footer__links a {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 8px 0; /* bigger tap target */
  }
  .footer__privacy { color: rgba(255, 255, 255, 0.82); }
  .footer__link::after { bottom: 3px; right: 1.4em; }

  /* Bottom sheet on mobile */
  .newsletter__panel {
    top: auto;
    bottom: 0;
    height: auto;
    max-height: 92svh;
    width: 100%;
    padding: 64px 24px calc(32px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .newsletter.is-open .newsletter__panel { transform: translateY(0); box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.12); }
  .newsletter__panel > * { translate: 0 16px; }
  .newsletter__title { font-size: 28px; }
}

/* Short phones (e.g. iPhone SE, or with browser bars showing) */
@media (max-width: 720px) and (max-height: 640px) {
  .hero { padding-bottom: 14svh; }
  .hero__logo img { width: 150px; }
  .hero__cta { padding-top: 30px; }
  .btn--hero { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
