/* Shared layout for all pages after the gate: Header, SwitchPill, Drawer, Footer, Hero, TileGrid. */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

/* Track colours: the only visual difference between Events and Styling */
.track-events  { --tag-bg: var(--tag-events-bg);  --tag-ink: var(--tag-events-ink); }
.track-styling { --tag-bg: var(--tag-styling-bg); --tag-ink: var(--tag-styling-ink); }

/* Small uppercase label, shared by nav, pills and table heads */
.header__nav a, .switch-pill, .price-table thead th, .split h3, .details-list dt, .lightbox__count {
  font: 500 var(--fs-label)/1.3 var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .5rem 1rem;
}
.skip-link:focus { top: 8px; }

/* ---------- Header: transparent at the top, white with a hairline once the page scrolls (.is-stuck from js/site.js) ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.header.is-stuck { background: rgba(255, 255, 255, .97); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: .6rem; min-height: 64px; }
.header .logo { margin-right: auto; }
.header .logo__word { font-size: .9rem; }
.header .logo--horizontal img { width: 34px; }

.header__nav { display: none; }
.header__nav ul { display: flex; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.header__nav a { text-decoration: none; padding-block: .3rem; border-bottom: 1px solid transparent; }
.header__nav a:hover, .header__nav a[aria-current="page"] { border-bottom-color: currentColor; }
.social.header__social { display: none; }

.switch-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  min-width: 6.75rem; /* same width for "Salon →" and "Events →", so the nav does not shift when switching tracks */
  min-height: 40px; padding: .5rem .9rem; white-space: nowrap;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--t-button) var(--ease), color var(--t-button) var(--ease);
}
.switch-pill:hover, .switch-pill:focus-visible { background: var(--ink); color: var(--paper-raised); }

.header__burger {
  flex: none; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink);
  border: none; border-radius: var(--radius);
  cursor: pointer;
}
.header__burger svg { width: 22px; height: 22px; }

@media (min-width: 960px) {
  .header__inner { min-height: 76px; gap: 1.6rem; }
  .header .logo__word { font-size: 1rem; }
  .header .logo--horizontal img { width: 40px; }
  .header__nav { display: block; }
  .social.header__social { display: flex; }
  .header__burger { display: none; }
}

/* ---------- Social links ---------- */
.social { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; color: var(--ink-soft);
}
.social a:hover { color: var(--ink); }
.social svg { width: 18px; height: 18px; }

/* ---------- Drawer (native <dialog>: focus trap + Esc for free) ---------- */
.drawer {
  margin: 0 0 0 auto; padding: 0;
  width: min(320px, 85vw); max-width: none; height: 100dvh; max-height: none;
  border: none; background: var(--paper-raised); color: var(--ink);
  box-shadow: -8px 0 24px rgba(0, 0, 0, .12);
}
.drawer::backdrop { background: rgba(24, 22, 22, .4); }
.drawer__inner { display: flex; flex-direction: column; min-height: 100%; padding: 1rem 1.4rem 1.6rem; }
.drawer__close {
  align-self: flex-end; width: 40px; height: 40px; margin-bottom: .6rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: transparent;
  font-size: 1.3rem; line-height: 1; color: var(--ink); cursor: pointer;
}
.drawer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.drawer li a { display: block; padding: .6rem 0; text-decoration: none; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.drawer hr { border: none; border-top: 1px solid var(--line); margin: .8rem 0; width: 100%; }
.drawer__switch { font-weight: 500; }
.drawer .social { flex-direction: row; margin-top: 1rem; margin-left: -.5rem; }
.drawer .social a { padding: 0; }
.drawer__back { margin-top: auto; padding-top: 1.5rem; font-size: var(--fs-small); color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { padding-block: 2rem 3rem; }
.hero__grid { display: grid; gap: 2rem; }
.hero h1 { margin-bottom: 1.2rem; }
/* Slogan under the H1 (styling): light, uppercase, about 17px on phones to 22px on desktop. */
.hero .hero__slogan { font: 300 clamp(1.05rem, .9rem + .6vw, 1.4rem)/1.35 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.4rem; }
.hero p { color: var(--ink-2); margin-bottom: 1.8rem; }
.hero p:has(+ p) { margin-bottom: 1rem; }
.hero .photo { max-width: 480px; width: 100%; }
@media (min-width: 768px) {
  .hero { padding-block: 3rem 5rem; }
  /* Text starts at the top of the photo, so the H1 sits at the same height on every page (no jump when switching). */
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 4rem; }
  .hero .photo { justify-self: end; }
}

/* ---------- Content sections ---------- */
.section { padding-block: 3rem; border-top: 1px solid var(--line); }
.section h2 { margin-bottom: 1.2rem; }
.section p { color: var(--ink-2); }
.section p + p { margin-top: 1rem; }
.section .btn { margin-top: 1.8rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }

/* ---------- Footer: dark ground ---------- */
.footer { background: var(--dark); color: var(--dark-ink); padding-block: 3rem 2rem; font-size: var(--fs-small); }
.footer__grid { display: grid; gap: 1.8rem; }
.footer address { font-style: normal; display: flex; flex-direction: column; gap: .3rem; }
.footer a { color: var(--dark-ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .social { margin-left: -.5rem; }
.footer .social a { color: var(--dark-ink); }
.footer__switch { font-size: 1.1rem; font-weight: 300; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }
.footer__switch a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.footer__switch a:hover { text-decoration: none; color: var(--paper-raised); border-bottom-color: var(--paper-raised); }
.footer__legal { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--ink-2); display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--ink-faint); font-size: var(--fs-label); }
.footer__legal a { color: var(--ink-faint); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: auto 1fr auto; align-items: start; gap: 3rem; }
  .footer__switch { justify-self: end; text-align: right; }
}

/* ---------- Compact page intro ---------- */
.hero--compact { padding-block: 2rem 1rem; }
.hero--compact p { margin-bottom: 0; }
.hero--compact p + p { margin-top: 1rem; }
.hero--compact .btn { margin-top: 1.8rem; }
.hero .photo--wide { max-width: none; margin-top: 2rem; }
@media (min-width: 768px) { .hero--compact { padding-block: 3rem 2rem; } } /* same top as .hero: H1 at one height on every page */

.section--plain { border-top: none; padding-top: 0; }

/* ---------- Text helpers ---------- */
.list { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; max-width: 65ch; color: var(--ink-2); }
.list li::marker { color: var(--tag-ink); }
.note { margin-top: 1rem; font-size: var(--fs-small); color: var(--ink-soft); }
.section .note { margin-top: 1rem; }
.placeholder { font-style: italic; outline: 1px dashed var(--line-strong); outline-offset: 4px; }
.split { display: grid; gap: 2rem; margin-top: 2rem; }
.split h3 { color: var(--ink-soft); margin-bottom: .8rem; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* ---------- PriceTable ---------- */
.price-table { width: 100%; max-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 1rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.price-table thead th { color: var(--ink-soft); border-bottom-color: var(--ink); }
.price-table td, .price-table thead th:last-child { text-align: right; }
.price-table td { font-weight: 500; }

/* ---------- Services (Disclosure) ---------- */
.services { display: grid; gap: 3rem; padding-block: 1rem 3rem; }
.service-group > h2 { margin-bottom: .8rem; }
.service-group > p { color: var(--ink-2); margin-bottom: 1.4rem; }
.service { border-top: 1px solid var(--line); padding-block: 1rem; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; min-height: 32px; }
.service summary::-webkit-details-marker { display: none; }
.service summary::after { content: "+"; font: 300 1.5rem/1 var(--font); color: var(--ink); }
.service[open] summary::after { content: "\2013"; }
.service h3 { font: 500 1rem/1.3 var(--font); letter-spacing: .06em; }
.service__body { display: grid; gap: .8rem; padding-top: .8rem; color: var(--ink-2); }
.service__body .note { margin-top: 0; }
@media (min-width: 768px) {
  .services { grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 2rem 5rem; }
  .service summary { cursor: default; }
  .service summary::after { display: none; }
}

/* ---------- Gallery + Lightbox ---------- */
.gallery { margin: 0; padding: 0 0 3rem; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: 5rem; } .gallery--2 { grid-template-columns: 1fr 1fr; } }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--radius); cursor: zoom-in; }

.lightbox { margin: 0; padding: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; }
.lightbox::backdrop { background: rgba(24, 22, 22, .92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; padding: 4rem 1rem; }
.lightbox__stage { container-type: size; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--radius); }
.lightbox__btn {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(244, 241, 238, .5); background: rgba(24, 22, 22, .6); color: var(--paper);
  font: 300 1.5rem/1 var(--font); cursor: pointer;
}
.lightbox__btn:focus-visible { outline-color: var(--paper); }
.lightbox__close { top: .8rem; right: .8rem; }
.lightbox__prev { left: .8rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .8rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); margin: 0; color: var(--paper); }
@media (min-width: 768px) { .lightbox__inner { padding: 4rem 5rem; } .lightbox__prev { left: 1.5rem; } .lightbox__next { right: 1.5rem; } }

/* ---------- InquiryForm ---------- */
.form { display: grid; gap: 1.3rem; max-width: 680px; padding-bottom: 1rem; }
.form__row { display: grid; gap: 1.3rem; }
@media (min-width: 768px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; align-content: start; }
.field > label { font-weight: 500; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .6rem .8rem;
  font: inherit; color: var(--ink); background: var(--paper-raised);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: var(--fs-small); color: var(--ink-soft); }
.field__error { margin: 0; font-size: var(--fs-small); font-weight: 500; color: var(--error); }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; column-gap: .7rem; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: .15rem 0 0; accent-color: var(--ink); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 2; }
.form__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-weight: 500; }
.form__status:empty { display: none; }
.form__status--error { color: var(--error); }
.form__success { max-width: 680px; padding: 1.6rem 1.8rem; border: 1px solid var(--line); background: var(--accent-pale); }
.form__success p { font: 400 var(--fs-h3)/1.2 var(--font); text-transform: uppercase; color: var(--ink); }
.form__fallback { margin-top: 1.4rem; padding-bottom: 3rem; color: var(--ink-soft); }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Contact details ---------- */
.details-list { display: grid; grid-template-columns: 1fr; gap: .1rem; margin: 0; }
.details-list dt { color: var(--ink-soft); line-height: 1.6; }
.details-list dd { margin: 0 0 .9rem; }
@media (min-width: 480px) {
  .details-list { grid-template-columns: max-content 1fr; gap: .7rem 1.6rem; }
  .details-list dt { padding-top: .2rem; }
  .details-list dd { margin: 0; }
}
.contact-grid { display: grid; gap: 0; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; column-gap: 4rem; }
  .contact-grid > :first-child { grid-row: span 2; }
}

/* ---------- Location map (Google Maps embed, styling #salon and events) ----------
   Fixed ratio so the lazy iframe never shifts the layout; capped in height for landscape phones. */
.map { margin-top: 2.5rem; aspect-ratio: 4 / 3; min-height: 240px; max-height: 75svh; background: var(--paper); border: 1px solid var(--line); }
.map--flush { margin-top: 0; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 768px) { .map { aspect-ratio: 16 / 7; } }

/* ---------- Photo strip (styling #salon) ----------
   Phones: a swipeable row with the next photo peeking in. From 768px: five equal columns in one row. */
.strip {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: .7rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin;
}
.strip > li { scroll-snap-align: start; }
.strip:focus-visible { outline-offset: 4px; }
.section > .strip:first-child { margin-top: 0; }
@media (min-width: 768px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); gap: 1rem; overflow: visible; }
}

/* ---------- Collage (feesttuin "De kleine details") ----------
   A large 3:4 photo with a smaller square one overlapping its top right corner, framed by a paper border.
   Phones: below the text. From 768px: next to the text. */
.with-collage { display: grid; gap: 2.5rem; }
.collage { position: relative; max-width: 420px; padding-top: 12%; }
.collage__big { width: 74%; }
.collage__small { position: absolute; top: 0; right: 0; width: 50%; border: 6px solid var(--paper); }
@media (min-width: 768px) {
  .with-collage { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 4rem; align-items: start; }
  .collage { justify-self: end; width: 100%; }
}
