/* ==========================================================================
   Big Boulder — friendly event-oriented redesign
   ========================================================================== */

:root {
  --bg: #f8f2e4;
  --bg-warm: #f2ead5;
  --paper: #ffffff;
  --ink: #1b140d;
  --ink-soft: #4a3c2c;
  --ink-muted: #8a7a63;
  --accent: #ff5b1f;
  --accent-dark: #e04a10;
  --accent-soft: #ffe9db;
  --sun: #ffc83d;
  --line: rgba(27, 20, 13, 0.12);
  --radius: 7px;
  --radius-lg: 11px;
  --container: 1120px;
  --font-display: "Bricolage Grotesque", "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nav-height: 112px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Keeps the header / logo aligned when short pages have no vertical scrollbar */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 180ms var(--ease); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 760px; }

.container--info {
  max-width: 960px;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 242, 228, 0.9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.nav__brand img {
  height: clamp(76px, 10vw, 96px);
  width: auto;
  max-width: min(400px, 72vw);
  object-fit: contain;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 48px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink-soft);
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.nav__link:hover { color: var(--ink); background: rgba(27, 20, 13, 0.05); }

.nav__link.is-active { color: var(--ink); background: rgba(27, 20, 13, 0.08); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 5px;
  cursor: pointer;
  padding: 0;
}

.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 1px;
  transition: transform 200ms var(--ease);
}

.nav__toggle-bar::before { transform: translateY(-7px); }
.nav__toggle-bar::after { transform: translateY(5px); }

.nav.is-open .nav__toggle-bar { background: transparent; }
.nav.is-open .nav__toggle-bar::before { transform: rotate(45deg); }
.nav.is-open .nav__toggle-bar::after { transform: rotate(-45deg); }

@media (max-width: 700px) {
  .nav__menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms var(--ease);
  }
  .nav.is-open .nav__menu { max-height: 320px; }
  .nav__link { text-align: center; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 48px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease),
    background 160ms var(--ease), color 160ms var(--ease);
  text-align: center;
  line-height: 1.2;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 64px 0 40px;
}

.hero__inner {
  display: grid;
  gap: 32px;
  align-items: end;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: end;
  }
  .hero { padding: 80px 0 48px; }
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: var(--sun);
  z-index: -1;
  border-radius: 2px;
  transform: rotate(-1deg) scaleX(1);
  transform-origin: left center;
}

@keyframes hero-em-underline-redraw {
  0% {
    transform: rotate(-1deg) scaleX(1);
    transform-origin: right center;
  }
  45% {
    transform: rotate(-1deg) scaleX(0);
    transform-origin: right center;
  }
  46% {
    transform: rotate(-1deg) scaleX(0);
    transform-origin: left center;
  }
  100% {
    transform: rotate(-1deg) scaleX(1);
    transform-origin: left center;
  }
}

.hero__title em:hover::after {
  animation: hero-em-underline-redraw 0.6s var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
  .hero__title em:hover::after {
    animation: none;
  }
}

.hero__sub {
  margin: 20px 0 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px rgba(27, 20, 13, 0.14);
  transform: rotate(1deg);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.hero__image:hover img {
  transform: scale(1.05);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* quick facts strip */
.quickfacts {
  margin-top: 56px;
  padding: 24px 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  justify-content: space-between;
  align-items: center;
}

.quickfacts__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1rem;
}

.quickfacts__item strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--sun);
  letter-spacing: -0.02em;
}

.quickfacts__item span {
  opacity: 0.85;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 72px 0;
}

.section--tight { padding: 48px 0; }

/* Tighter wrap for bottom photo grid (home) — ~75% less outer padding than prior */
.section--gallery-tight {
  padding-top: 7px;
  padding-bottom: 10px;
}

.section__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 20px;
}

.section__lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* editorial two-column block */
.block {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .block {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  .block--flip .block__media { order: 2; }
}

.block + .block { margin-top: 72px; }

.block__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 34px rgba(27, 20, 13, 0.14);
}

.block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.block__media:hover img {
  transform: scale(1.05);
}

.block__media--tape::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 24px;
  width: 82px;
  height: 22px;
  background: var(--sun);
  opacity: 0.85;
  transform: rotate(-4deg);
  border-radius: 1px;
  z-index: 2;
}

.block__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 14px;
}

.block__text p {
  color: var(--ink-soft);
}

.block__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 48px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 16px;
}

h2.block__tag,
.block__tag--heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
  padding: 6px 18px;
  margin-bottom: 20px;
}

.block__tag__icon {
  flex-shrink: 0;
  width: 1.35em;
  height: 1.35em;
  color: var(--accent-dark);
}

.block__tag__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
  gap: 1.5px;
  grid-auto-flow: dense;
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 2px;
  }
}

@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 2px;
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 2px;
  background: var(--bg-warm);
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.gallery__item:hover img { transform: scale(1.06); }

.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

@media (max-width: 699px) {
  .gallery__item--tall { grid-row: auto; }
}

/* ==========================================================================
   Page hero (for sub-pages)
   ========================================================================== */

.page-hero {
  padding: 72px 0 32px;
}

.page-hero__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}

.page-hero__title {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  margin: 0;
}

.contact-banner-wrap {
  padding: 36px 0 16px;
}

.contact-banner {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(27, 20, 13, 0.12);
  aspect-ratio: 1024 / 333;
}

.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 420ms var(--ease);
}

.contact-banner:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Prose
   ========================================================================== */

.prose {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose h2 { margin: 40px 0 14px; font-size: 1.5rem; }
.prose h3 { margin: 28px 0 10px; font-size: 1.2rem; }
.prose p { color: var(--ink-soft); }
.prose ul { padding-left: 22px; color: var(--ink-soft); }
.prose ul li { margin: 6px 0; }
.prose a { color: var(--accent-dark); border-bottom: 1.5px solid rgba(255, 91, 31, 0.35); }
.prose a:hover { border-bottom-color: var(--accent-dark); }
.prose strong { color: var(--ink); }

/* ==========================================================================
   Informatie page — three distinct panels
   ========================================================================== */

.info-page-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-page-row {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .info-page-row {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .info-page-row > .info-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  .info-page-row .info-panel--receipt .receipt-paper {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .info-page-row .info-panel--receipt .receipt-paper__fine {
    margin-top: auto;
  }

  .info-page-row > .info-panel--checklist .checklist {
    flex: 1;
  }
}

.info-page-row .info-panel--receipt {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.info-panel {
  margin: 0;
  padding: 26px 28px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(27, 20, 13, 0.08);
}

.info-panel__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}

/* --- Checklist (Specificaties) --- */
.info-panel--checklist {
  position: relative;
  padding-left: 42px;
  background-color: #fdf8ee;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 26px,
    rgba(120, 90, 60, 0.08) 26px,
    rgba(120, 90, 60, 0.08) 27px
  );
  transform: rotate(-0.35deg);
}

.info-panel--checklist::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 56px;
  bottom: 32px;
  width: 10px;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 10px,
    rgba(27, 20, 13, 0.18) 10px,
    rgba(27, 20, 13, 0.18) 16px
  );
  border-radius: 2px;
  opacity: 0.85;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist__item {
  display: block;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.checklist__text strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin-right: 4px;
}

/* --- Receipt (Kosten) --- */
.info-panel--receipt {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 24px 26px;
  background: #eceae4;
  border: 1px dashed rgba(27, 20, 13, 0.28);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.65) inset, 0 12px 24px rgba(27, 20, 13, 0.1);
  transform: rotate(0.4deg);
}

.receipt-paper {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink);
}

.receipt-paper__line {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px dotted rgba(27, 20, 13, 0.22);
}

.receipt-paper__line--dotted {
  border-bottom-style: dashed;
}

.receipt-paper__line strong {
  font-weight: 600;
}

.receipt-paper__fine {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(27, 20, 13, 0.22);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* jagged “tear” bottom like a printed receipt */
.info-panel--receipt::after {
  content: "";
  display: block;
  height: 10px;
  margin: 18px -24px -10px;
  background: linear-gradient(135deg, #eceae4 25%, transparent 25%) 0 0 / 12px 12px,
    linear-gradient(225deg, #eceae4 25%, transparent 25%) 0 0 / 12px 12px;
  background-color: var(--bg);
}

/* --- Rules board (Regels) --- */
.info-panel--rules {
  background: linear-gradient(180deg, #f4f6f9 0%, #eef1f5 100%);
  border: 1px solid rgba(27, 20, 13, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 28px rgba(27, 20, 13, 0.07);
}

.rules-board {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-board__item {
  position: relative;
  margin: 0 0 14px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid rgba(27, 20, 13, 0.12);
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(27, 20, 13, 0.05);
}

.rules-board__item:last-child {
  margin-bottom: 0;
}

.rules-board__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}

.rules-board__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 520px) {
  .info-panel--checklist {
    padding-left: 34px;
    transform: none;
  }
  .info-panel--checklist::before {
    left: 10px;
  }
  .info-panel--receipt {
    transform: none;
    max-width: none;
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

.contact-direct {
  font-size: 1.08rem;
  line-height: 1.9;
}

.contact-direct dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  display: inline;
  margin-right: 6px;
}

.contact-direct dd {
  display: inline;
  margin: 0;
  color: var(--ink-soft);
}

.contact-direct dd a {
  color: var(--accent-dark);
  font-weight: 600;
}

.contact-direct .row { display: block; margin-bottom: 2px; }

.contact-form {
  display: grid;
  gap: 14px;
  background: var(--paper);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1.5px solid var(--line);
  background: var(--bg-warm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form__result {
  margin: 0;
  padding: 12px 14px;
  border-radius: 5px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form__result--pending {
  background: rgba(27, 20, 13, 0.06);
  color: var(--ink-soft);
}

.contact-form__result--success {
  background: rgba(19, 122, 62, 0.12);
  color: #0d4d28;
}

.contact-form__result--error {
  background: rgba(224, 74, 16, 0.12);
  color: var(--accent-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.site-footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__image img,
  .block__media img,
  .gallery__item img,
  .contact-banner img {
    transition: none;
  }
  .hero__image:hover img,
  .block__media:hover img,
  .gallery__item:hover img,
  .contact-banner:hover img {
    transform: none;
  }
}
