/* Moodz Castricum — one page */
:root {
  --bordeaux: #641313;
  --bordeaux-deep: #4f0e0e;
  --wine: #9d191a;
  --offwhite: #f1eace;
  --ink: #1a0505;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bordeaux);
  color: var(--offwhite);
  font: 400 1rem/1.6 var(--body);
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; }
figure { margin: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--offwhite); outline-offset: 3px; }
.contact :focus-visible { outline-color: var(--bordeaux); }

/* ---------- Buttons ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  border-radius: 10px; border: 2px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .9rem; }
.btn--light { background: var(--offwhite); color: var(--bordeaux); }
.btn--light:hover { background: #fff; }
.btn--outline { border-color: var(--offwhite); color: var(--offwhite); background: transparent; }
.btn--outline:hover { background: var(--offwhite); color: var(--bordeaux); }
.btn--dark { background: var(--bordeaux); color: var(--offwhite); }
.btn--dark:hover { background: var(--wine); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Notice ---------- */
.notice {
  background: var(--offwhite); color: var(--bordeaux);
  text-align: center; font-size: .9rem; padding: .5rem var(--gutter);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  height: 64px; padding: 0 var(--gutter);
  background: rgba(100, 19, 19, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(241, 234, 206, .12); }
.nav__logo { justify-self: start; }
.nav__logo img { width: 22px; height: auto; }
.nav__menu { display: flex; gap: 2rem; }
.nav__menu a { font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav__menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: .75rem; }
.nav__toggle { display: none; }

@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0;
    background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span {
    display: block; width: 22px; height: 2px; background: var(--offwhite);
    transition: transform .2s ease;
  }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bordeaux); padding: .5rem var(--gutter) 1.25rem;
    border-bottom: 1px solid rgba(241, 234, 206, .15);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: .85rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(241, 234, 206, .1); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(calc(100svh - 64px), 860px);
  display: grid; place-items: center;
  padding: 4rem var(--gutter);
  overflow: hidden; text-align: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.2);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(100, 19, 19, .72) 0%, rgba(100, 19, 19, .9) 60%, var(--bordeaux) 100%);
}
.hero__logo { width: min(320px, 70vw); height: auto; margin: 0 auto; }
.hero__sub {
  margin: 1.75rem 0 0;
  font: 400 clamp(1.25rem, 3vw, 1.75rem)/1.1 var(--display);
  letter-spacing: .12em;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ---------- About + vinyl ---------- */
.about {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 9vw, 8rem) max(var(--gutter), calc((100% - var(--max)) / 2));
}
.about__text { max-width: 560px; }
.about__text p { font-size: 1.05rem; }
.display {
  font: 400 clamp(2.75rem, 6vw, 4.5rem)/.95 var(--display);
  text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 1.5rem;
}
.display span { display: block; }
.display--md { font-size: clamp(2.5rem, 5vw, 3.75rem); }

.turntable {
  position: relative;
  width: min(620px, 52vw); aspect-ratio: 1;
  justify-self: end;
  margin-right: calc(min(620px, 52vw) * -0.3);
}
.record {
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 3px #1a0505;
}
.record__disc {
  width: 100%; height: 100%;
  animation: spin 1.8s linear infinite;
  will-change: transform;
}
.turntable.is-paused .record__disc { animation-play-state: paused; }
.record__sheen {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg,
    transparent 0deg, rgba(255, 255, 255, .16) 25deg, transparent 60deg,
    transparent 180deg, rgba(255, 255, 255, .12) 205deg, transparent 240deg);
  -webkit-mask: radial-gradient(circle, transparent 34%, #000 35%);
  mask: radial-gradient(circle, transparent 34%, #000 35%);
}
.tonearm {
  position: absolute; top: -4%; left: -8%;
  width: 22%; height: auto;
  transform-origin: 66% 11%;
  transform: rotate(-22deg);
  transition: transform 1.2s cubic-bezier(.3, .7, .2, 1) .3s;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45));
}
.turntable.is-on .tonearm { transform: rotate(0deg); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; padding-right: var(--gutter); }
  .turntable {
    width: min(460px, 92vw); justify-self: center;
    margin: 1rem calc(-1 * var(--gutter)) 0 0;
    transform: translateX(22%);
  }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  padding: 0 var(--gutter) clamp(4rem, 8vw, 7rem);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.g { overflow: hidden; border-radius: var(--radius); background: var(--bordeaux-deep); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g:hover img { transform: scale(1.04); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g--wide img { object-position: 50% 30%; }

@media (max-width: 820px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 220px; }
  .g--tall { grid-row: span 1; grid-column: span 2; }
  .g--tall img { object-position: 50% 35%; }
}

/* ---------- Afhuren ---------- */
.rent {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  border-top: 1px solid rgba(241, 234, 206, .14);
}
.rent__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.rent__media img { width: 100%; height: 100%; object-fit: cover; }
.rent__content > p { font-size: 1.05rem; max-width: 560px; }
.eyebrow {
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  opacity: .8; margin-bottom: .75rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.tags li {
  border: 1px solid rgba(241, 234, 206, .45); border-radius: 999px;
  padding: .35rem .9rem; font-size: .9rem; font-weight: 500;
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; }
.steps li > span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--offwhite); color: var(--bordeaux);
  font: 400 1.35rem/1 var(--display);
}
.steps strong { display: block; font-size: 1.02rem; }
.steps div { opacity: .92; }

@media (max-width: 820px) {
  .rent { grid-template-columns: 1fr; }
  .rent__media { aspect-ratio: 4 / 3; }
  .rent__media img { object-position: 50% 40%; }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--offwhite); color: var(--bordeaux);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
}
.contact__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.contact__tag { font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.contact__title { font: 800 clamp(2.25rem, 5vw, 3.25rem)/1.1 var(--body); letter-spacing: -.01em; margin-bottom: .5rem; }
.contact__head a { font-weight: 600; text-underline-offset: 3px; }

.form { max-width: 620px; margin: 0 auto; display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; }
.form__row[hidden] { display: none; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .form__subject legend { font-size: .85rem; font-weight: 600; }
.field label span { font-weight: 400; opacity: .7; }
.field input, .field textarea {
  display: block; min-width: 0; max-width: 100%;
  width: 100%; font: inherit; color: var(--ink);
  background: transparent;
  border: 1px solid var(--bordeaux); border-radius: 10px;
  padding: .75rem .9rem; min-height: 48px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--bordeaux); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 140px; }

.form__subject { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.form__subject legend { margin-bottom: .5rem; padding: 0; }
.form__subject label {
  position: relative; cursor: pointer;
  border: 1px solid var(--bordeaux); border-radius: 999px;
  padding: .55rem 1rem; font-size: .9rem; font-weight: 600;
  transition: background-color .15s ease, color .15s ease;
}
.form__subject input { position: absolute; opacity: 0; pointer-events: none; }
.form__subject label:has(input:checked) { background: var(--bordeaux); color: var(--offwhite); }
.form__subject label:has(input:focus-visible) { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form__note:empty { display: none; }
.field__error { margin: .1rem 0 0; font-size: .85rem; font-weight: 600; color: var(--wine); }
.field__error:empty { display: none; }
.field__error::before { content: "↳ "; }
.field input[aria-invalid], .field textarea[aria-invalid] { border-width: 2px; border-color: var(--wine); background: rgba(157, 25, 26, .05); }
.form__note[data-state="ok"] { font-size: 1rem; font-weight: 600; opacity: 1; }
.form__note { font-size: .85rem; text-align: center; opacity: .75; margin: 0; }

/* iOS Safari: date inputs keep a native min-width and centred text unless reset */
.field input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"]::-webkit-calendar-picker-indicator { margin-left: auto; }

@media (max-width: 560px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.footer { background: var(--offwhite); color: var(--bordeaux); padding: 0 var(--gutter) 1.5rem; }
.footer__card {
  max-width: var(--max); margin: 0 auto;
  background: var(--bordeaux); color: var(--offwhite);
  border-radius: 16px; box-shadow: 0 12px 30px rgba(79, 14, 14, .35);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1.3fr 1.1fr 1fr .8fr; gap: 2.5rem;
}
.footer__brand img { width: min(220px, 60vw); height: auto; }
.footer h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .9rem; padding: .3rem .5rem; margin: 0 -.5rem; border-radius: 6px;
}
.hours li.is-today { background: rgba(241, 234, 206, .14); font-weight: 700; }
.hours li.is-today span:first-child::after { content: " · vandaag"; font-weight: 500; opacity: .8; }
.small { font-size: .8rem; opacity: .85; margin: .75rem 0 0; }
.links li { margin-bottom: .6rem; font-size: .92rem; }
.links a { text-underline-offset: 3px; }
.social { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.social:hover { text-decoration: underline; }
.footer__bottom {
  max-width: var(--max); margin: 1.25rem auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  font-size: .8rem;
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .footer__card { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__card { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .record__disc { animation: none; }
  .tonearm, .js .reveal, .g img, .btn { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- SEO content blocks ---------- */
.hero__title { margin: 0; line-height: 0; }
.about .eyebrow { margin-bottom: 1rem; }

.nights {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  border-top: 1px solid rgba(241, 234, 206, .14);
}
.nights__head { max-width: 720px; margin-bottom: 2.5rem; }
.nights__head p:last-child { font-size: 1.05rem; }
.nights__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.night {
  background: var(--bordeaux-deep);
  border: 1px solid rgba(241, 234, 206, .12);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.night h3 { font: 400 1.75rem/1 var(--display); letter-spacing: .02em; margin-bottom: .6rem; }
.night p { margin: 0; opacity: .92; }
.night--cta { background: var(--wine); border-color: transparent; }
.night--cta p { margin-bottom: 1rem; }
@media (max-width: 960px) { .nights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nights__grid { grid-template-columns: 1fr; } }

.footer__tagline { font-size: .9rem; opacity: .85; margin: 1rem 0 0; max-width: 240px; }
