/* ==========================================================
   Backlot Media — stylesheet
   Brand: the logo's black, white and red square, plus the
   gold of the original site. One typeface throughout: Jost,
   a geometric sans close to the logo's lettering (light for
   headlines, regular for text).
   ========================================================== */

:root {
  color-scheme: dark;
  --black: #000000;
  --text: #ece8e1;        /* soft white for body text */
  --muted: #a39d93;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #d8b24c;
  --gold-deep: #9c7a22;   /* gold that reads on the pale band */
  --pale: #efe2b8;        /* testimonial band */
  --ink: #1d1a14;
  --red: #e3141b;         /* the square in the logo */

  --font-display: "Jost", "Futura", "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Jost", "Futura", "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;

  --header-h: 84px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.15em; }

/* Headline weights for the single sans-serif family */
.hero-title, .section-title, .page-title, .contact-email a { font-weight: 300; letter-spacing: -0.025em; }
.service h3, .booking-form legend, .terms h2 { font-weight: 400; letter-spacing: -0.01em; }
.slide blockquote p { font-weight: 300; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--black); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  color: var(--gold);
  margin-bottom: 48px;
}

/* ---------- Header with timeline ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--black);
}
.header-inner {
  height: var(--header-h);
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand img { width: 168px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 36px; }
.site-nav a {
  font-size: 15px; font-weight: 400; letter-spacing: .04em;
  text-decoration: none; color: var(--text);
  padding: 6px 0; transition: color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--gold); }

.timeline {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line);
  overflow-x: clip;   /* keeps the playhead's tip inside the screen */
}
.playhead {
  position: absolute; left: 0; top: -1px;
  height: 3px; width: 0;
  background: var(--red);
}
.playhead::after {               /* the playhead knob: the logo's red square */
  content: ""; position: absolute; right: -4px; top: -3px;
  width: 9px; height: 9px; background: var(--red);
}

.nav-toggle { display: none; }

/* Language switch (EN / NL) */
.lang-switch {
  margin-left: 32px;
  display: inline-grid; place-items: center;
  min-width: 40px; height: 30px; padding: 0 10px;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; letter-spacing: .12em;
  color: var(--text); text-decoration: none;
  transition: border-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(620px, calc(100svh - var(--header-h)));
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media { display: block; }
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 30%;
  animation: settle 2.6s cubic-bezier(.2, .7, .2, 1) backwards;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 30%, rgba(0,0,0,.18) 56%, rgba(0,0,0,0) 70%),
    linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 35%);
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 96px var(--gutter) clamp(56px, 9vh, 104px);
  animation: rise 1.4s .5s cubic-bezier(.2, .7, .2, 1) backwards;
}
.hero-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: clamp(50px, 7.2vw, 108px);
  line-height: 1;
  margin-bottom: 36px;
}
.hero-subtitle {
  font-size: 15px; font-weight: 500; letter-spacing: .12em;
  color: var(--text);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.hero-subtitle::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero-text { max-width: 33em; color: var(--text); margin-bottom: 36px; }

.button {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 15px; font-weight: 400; letter-spacing: .06em;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.button:hover { background: var(--gold); color: var(--black); }

@keyframes settle { from { transform: scale(1.06); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Services ---------- */
.services { padding: clamp(88px, 12vw, 152px) 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.service {
  padding: 44px clamp(20px, 3vw, 44px) 8px;
  border-left: 1px solid var(--line);
}
.service:first-child { border-left: 0; padding-left: 0; }

.service-icon {
  width: 44px; height: 44px; margin-bottom: 28px;
  fill: none; stroke: var(--gold); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-icon circle { fill: var(--gold); stroke: none; }

.service h3 {
  font-family: var(--font-display);
  font-size: 28px; line-height: 1.2;
  color: #fff;
  margin-bottom: 22px;
}
.service li {
  position: relative;
  padding-left: 22px;
  font-size: 17px; line-height: 1.6;
}
.service li + li { margin-top: 12px; }
.service li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 6px; height: 6px; background: var(--gold);
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--pale);
  color: var(--ink);
  padding: clamp(72px, 8vw, 104px) var(--gutter) 48px;
  text-align: center;
}
.slides {
  max-width: 880px; margin: 0 auto;
  display: grid; align-items: center;
}
.slide { margin: 0; grid-area: 1 / 1; }
.slide.is-entering { animation: fade .7s ease both; }
.slide blockquote { margin: 0 0 28px; }
.slide blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.55;
}
.slide blockquote p::before {
  content: "“";
  display: block;
  font-style: normal;
  font-size: 88px; line-height: .6;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.slide figcaption { font-size: 16px; font-weight: 400; letter-spacing: .03em; }
.slide figcaption a { text-underline-offset: 4px; text-decoration-color: var(--gold-deep); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.slide-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 40px;
}
.slide-btn {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  color: var(--ink); opacity: .6; transition: opacity .2s;
  display: grid; place-items: center;
}
.slide-btn:hover { opacity: 1; }
.slide-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.slide-dots { display: flex; gap: 2px; }
.slide-dots button {
  width: 32px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.slide-dots button::before {
  content: ""; width: 20px; height: 2px;
  background: var(--ink); opacity: .22; transition: opacity .25s, background .25s;
}
.slide-dots button[aria-current="true"]::before { opacity: 1; background: var(--gold-deep); }

/* ---------- About ---------- */
.about { padding: clamp(88px, 12vw, 152px) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-media { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 62% 40%;
}
.about-text { max-width: 38em; font-size: 17.5px; line-height: 1.8; }
.about-text .section-title { margin-bottom: 36px; }

/* ---------- Contact / footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(88px, 12vw, 152px) 0 40px;
}
.site-footer .section-title { margin-bottom: 28px; }
.contact-email { margin-bottom: 10px; }
.contact-email a {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 60px);
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat;
  transition: background-size .4s ease, color .25s;
  overflow-wrap: anywhere;
}
.contact-email a:hover { background-size: 100% 2px; color: var(--gold); }
.contact-phone a { font-size: 20px; text-decoration: none; color: var(--text); }
.contact-phone a:hover { color: var(--gold); }

.footer-base {
  margin-top: clamp(80px, 10vw, 128px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-logo { width: 150px; }
.copyright { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: 1fr; border-top: 0; }
  .service, .service:first-child {
    border-left: 0; border-top: 1px solid var(--line);
    padding: 40px 0;
    display: grid; grid-template-columns: 64px 1fr; column-gap: 24px;
  }
  .service-icon { grid-row: span 2; margin: 4px 0 0; }
  .about-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 820px) {
  :root { --header-h: 68px; }
  body { font-size: 17px; }

  .brand img { width: 140px; }

  .site-nav { margin-left: 0; }
  .lang-switch { margin-left: auto; margin-right: 6px; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; margin-right: -10px;
    padding: 0; border: 0; background: none; cursor: pointer; color: var(--text);
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 24px; height: 1.5px; background: currentColor; position: relative;
    transition: transform .25s, background .25s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 26px; letter-spacing: 0; }

  .hero { display: block; min-height: 0; }
  .hero::after { display: none; }
  .hero-media img { position: static; aspect-ratio: 4 / 3.4; object-position: 80% 30%; }
  .hero-content { padding: 40px var(--gutter) 72px; }
  .hero-title { margin-bottom: 28px; }

  .service, .service:first-child { grid-template-columns: 1fr; }
  .service-icon { grid-row: auto; margin-bottom: 20px; }

  .testimonials { padding-top: 72px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: static; order: -1; }
  .about-media img { aspect-ratio: 4 / 4; }

  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .hero-content, .slide.is-entering { animation: none; }
}

/* ==========================================================
   Booking & terms pages
   ========================================================== */
.services-cta { margin: 56px 0 0; font-size: 17px; color: var(--muted); }
.services-cta a { color: var(--gold); text-underline-offset: 4px; margin-left: 6px; }

.copyright a { color: inherit; text-underline-offset: 3px; }
.copyright a:hover { color: var(--gold); }

.page { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 128px); }
.page-narrow { max-width: 860px; }
.page-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.page-lead { font-size: 20px; max-width: 34em; margin-bottom: 12px; }
.page-note { font-size: 15px; color: var(--muted); margin-bottom: 56px; }
.page-note a { color: var(--text); text-underline-offset: 3px; }
.page-back { margin-top: 64px; }

.site-footer--compact { padding: 0 0 40px; border-top: 0; }
.site-footer--compact .footer-base { margin-top: 0; }

/* ---------- Form ---------- */
.booking-form fieldset {
  border: 0; margin: 0; padding: 40px 0 8px;
  border-top: 1px solid var(--line);
}
.booking-form legend {
  float: left; width: 100%;
  font-family: var(--font-display);
  font-size: 28px; color: #fff;
  margin-bottom: 28px; padding: 0;
}
.booking-form legend + * { clear: left; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.field-row--three { grid-template-columns: 2fr 1fr 1fr; }
.field { margin-bottom: 28px; min-width: 0; }
.field label { display: block; font-size: 15px; font-weight: 400; margin-bottom: 8px; }
.req { color: var(--gold); }
.optional { color: var(--muted); font-weight: 300; }

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form input[type="time"],
.booking-form textarea {
  width: 100%;
  font: inherit; font-size: 17px; color: #fff;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .32);
  border-radius: 0;
  padding: 10px 0;
  color-scheme: dark;
  transition: border-color .2s;
}
.booking-form textarea { resize: vertical; line-height: 1.5; }
.booking-form input::placeholder, .booking-form textarea::placeholder { color: #6f6a62; }
.booking-form input:focus, .booking-form textarea:focus { outline: none; border-bottom-color: var(--gold); }
.booking-form input:focus-visible, .booking-form textarea:focus-visible { box-shadow: 0 1px 0 0 var(--gold); }
.was-validated input:invalid, .was-validated textarea:invalid { border-bottom-color: #ff6b6b; }

.field-hint { font-size: 15px; color: var(--muted); margin: -12px 0 20px; }
#km-note { margin: 20px 0 24px; }
.field-error, .form-status.is-error { color: #ff8a80; font-size: 15px; }
.field-error { margin: -8px 0 24px; }

.choices { display: grid; gap: 10px; }
.choice {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.choice:hover { border-color: rgba(216, 178, 76, .5); }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(216, 178, 76, .08); }
.choice-name { font-size: 17px; font-weight: 400; }
.choice-name small { display: block; font-size: 14px; font-weight: 300; color: var(--muted); }
.choice-price { font-variant-numeric: tabular-nums; color: var(--gold); white-space: nowrap; }

.booking-form input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; margin: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  display: grid; place-items: center; cursor: pointer;
}
.booking-form input[type="checkbox"]::before {
  content: ""; width: 10px; height: 10px; background: var(--gold);
  transform: scale(0); transition: transform .15s;
}
.booking-form input[type="checkbox"]:checked { border-color: var(--gold); }
.booking-form input[type="checkbox"]:checked::before { transform: scale(1); }
.was-validated .agree input:invalid { border-color: #ff6b6b; }

.agree { display: flex; align-items: flex-start; gap: 14px; margin: 8px 0 32px; cursor: pointer; font-size: 17px; }
.agree input { flex: none; margin-top: 4px !important; }
.agree a { color: var(--gold); text-underline-offset: 3px; }

.botcheck { position: absolute; left: -9999px; }

.form-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 8px; }
.button--solid { background: var(--gold); color: var(--black); font-weight: 500; border: 1px solid var(--gold); cursor: pointer; font-family: var(--font-body); }
.button--solid:hover { background: transparent; color: var(--gold); }
.button--solid:disabled { opacity: .5; cursor: wait; }
.form-status { margin: 0; font-size: 15px; }

.booking-thanks { padding-top: 24px; font-size: 19px; max-width: 34em; }
.booking-thanks:focus { outline: none; }

/* ---------- Terms ---------- */
.terms { margin-top: 48px; font-size: 16.5px; line-height: 1.75; }
.terms section { padding: 32px 0; border-top: 1px solid var(--line); }
.terms h2 { font-family: var(--font-display); font-size: 24px; color: #fff; margin-bottom: 16px; }
.terms ul { padding-left: 1.2em; list-style: disc; margin: 0 0 1.1em; }
.terms li + li { margin-top: 8px; }
.terms a { color: var(--gold); }
.terms dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; }
.terms dt { font-weight: 500; }
.terms dd { margin: 0; }

@media (max-width: 820px) {
  .field-row { grid-template-columns: 1fr; }
  .field-row--three { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .field-row--three .field:first-child { grid-column: 1 / -1; }
  .choice { grid-template-columns: auto 1fr; }
  .choice-price { grid-column: 2; margin-top: -10px; }
  .terms dl { grid-template-columns: 1fr; gap: 4px; }
  .terms dd { margin-bottom: 12px; }
}

/* ==========================================================
   Scroll motion
   Elements marked data-reveal rise and fade in as they enter
   the screen; the About photo opens like a film wipe; the
   service icons draw themselves. Only runs with JavaScript on
   and when the visitor hasn't asked for reduced motion.
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition:
      opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
      transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Film wipe on the portrait */
  .js [data-reveal="wipe"] { opacity: 1; transform: none; }
  .js [data-reveal="wipe"] img {
    clip-path: inset(0 100% 0 0);
    transform: scale(1.12);
    transition:
      clip-path 1.3s cubic-bezier(.7, 0, .2, 1) var(--d, 0s),
      transform 1.8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
  }
  .js [data-reveal="wipe"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

  /* Service icons draw their outline */
  .js .service[data-reveal] .service-icon path,
  .js .service[data-reveal] .service-icon rect {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.6s cubic-bezier(.6, 0, .2, 1) calc(var(--d, 0s) + .3s);
  }
  .js .service[data-reveal] .service-icon circle { opacity: 0; transition: opacity .4s ease calc(var(--d, 0s) + 1.4s); }
  .js .service.is-in .service-icon path,
  .js .service.is-in .service-icon rect { stroke-dashoffset: 0; }
  .js .service.is-in .service-icon circle { opacity: 1; }

  /* Hero: photo drifts slower than the page (set by script) */
  .hero-media img { will-change: transform; }
}
