/* ==========================================================================
   ANN PMU Studio — stylesheet
   Warm, minimal, editorial. Geen frameworks, geen build step.
   ========================================================================== */

:root {
  --cream:  #F4EFE8;
  --white:  #FFFFFF;
  --ink:    #2A2623;
  --muted:  #6B615A;   /* 5.3:1 op cream — veilig voor kleine tekst */
  --taupe:  #B8AC9E;   /* alleen als vlak, nooit als tekstkleur */
  --brown:  #3B2A1E;
  --pigment-bg: #F8F3ED;   /* gemeten gemiddelde achtergrondkleur van pigment.mp4 */

  /* doorschijnende, licht vervaagde balk bovenaan */
  --glass: rgba(244, 239, 232, 0.78);
  --glass-blur: saturate(180%) blur(16px);

  --hairline: rgba(42, 38, 35, 0.22);
  --hairline-strong: rgba(42, 38, 35, 0.45);

  --wrap: 1280px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);

  --sp-section: clamp(4.5rem, 11vw, 9.5rem);
  --sp-block: clamp(2.25rem, 5vw, 4rem);

  --header-h: 68px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-wordmark: 'Cormorant Garamond', 'Times New Roman', Times, serif;
}

/* --------------------------------------------------------------- reset -- */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

/* ------------------------------------------------------------ a11y ------ */

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
  border-radius: 2px;
}

.on-dark :focus-visible,
.hero :focus-visible { outline-color: var(--cream); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brown);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------- layout bits ---- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-section); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--pigment { background: var(--pigment-bg); }

.section__head { max-width: 46ch; margin-bottom: var(--sp-block); }

/* ---------------------------------------------------------- typography -- */

.h1, .h2 {
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(2.5rem, 7.2vw, 6rem);
  text-wrap: balance;
}

  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

.subline {
  margin-top: 1.1rem;
  color: var(--muted);
  max-width: 52ch;
}

.body-text { max-width: 62ch; }
.body-text p + p { margin-top: 1.1em; }

.muted { color: var(--muted); }

/* ------------------------------------------------------------ buttons --- */

.btn {
  --btn-bg: var(--brown);
  --btn-fg: var(--cream);
  --btn-bd: var(--brown);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.85rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { --btn-bg: #26190F; --btn-bd: #26190F; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--hairline-strong);
}
.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-bd: var(--ink);
}

.btn--sm { min-height: 44px; padding: 0.7rem 1.4rem; font-size: 0.7rem; }

.btn__wa { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

/* ------------------------------------------------------------- header --- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--hairline);
}

/* Browsers zonder backdrop-filter krijgen een dekkende balk. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header,
  .mobile-nav { background: var(--cream); }
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
  padding-block: 9px;          /* aanraakvlak van 48px */
}
.logo img { width: auto; height: 30px; }
.logo__text {
  font-family: var(--font-wordmark);
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.nav { display: none; }

.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 2rem);
  margin: 0;
}

.nav__link {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav__link:hover,
.nav__link[aria-current="page"] { border-bottom-color: var(--ink); }

.header__cta { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  margin-right: -11px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobiel uitklapmenu */
.mobile-nav {
  display: none;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1.75rem;      /* lucht onder de knop */
}
.mobile-nav.is-open { display: block; }

.mobile-nav__list { list-style: none; margin: 0; padding: 0.25rem 0 0; }
.mobile-nav__list li { border-top: 1px solid var(--hairline); }
.mobile-nav__link {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.mobile-nav .btn { display: flex; width: 100%; margin-top: 1.75rem; }

@media (min-width: 62rem) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
}

/* --------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brown);
  color: var(--cream);
}

.hero__media,
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero__fallback { display: none; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 22, 16, 0.35) 0%, rgba(30, 22, 16, 0.30) 45%, rgba(30, 22, 16, 0.72) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 9vw, 6rem);
  width: 100%;
}

.hero .h1 { color: var(--cream); }

.hero__sub {
  margin-top: 1.35rem;
  max-width: 54ch;
  color: rgba(244, 239, 232, 0.92);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.6;
}

.hero__cta { margin-top: 2.25rem; }
.hero__cta .btn { --btn-bg: var(--cream); --btn-fg: var(--brown); --btn-bd: var(--cream); }
.hero__cta .btn:hover { --btn-bg: var(--white); --btn-bd: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__fallback { display: block; }
}

/* ------------------------------------------------------- behandelingen -- */

.rule-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline-strong);
}

.rule-grid > * {
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 48rem) {
  .rule-grid--3 { grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 3vw, 3rem); }
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  margin-top: var(--sp-block);
}
@media (min-width: 40rem) {
  .photo-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  background: var(--taupe);
}


.treatment__name { margin-bottom: 0.6rem; }
.treatment__desc { color: var(--muted); max-width: 40ch; }

/* ------------------------------------------------------------- prijzen -- */

.price-list { list-style: none; border-top: 1px solid var(--hairline-strong); }

.price-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: clamp(1.15rem, 2.2vw, 1.55rem);
  border-bottom: 1px solid var(--hairline);
}

.price-list__name { font-size: clamp(1.05rem, 1.9vw, 1.3rem); font-weight: 400; }
.price-list__note { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }
.price-list__amount {
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ------------------------------------------------------- media section -- */

.media-split {
  display: grid;
  gap: var(--sp-block);
  align-items: center;
}
@media (min-width: 52rem) {
  .media-split { grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); }
}

/* De verhouding is exact die van pigment.mp4 (630x360), en met object-fit:
   contain wordt er nooit iets van de video afgesneden. De achtergrond is
   dezelfde kleur als de video, zodat het beeld naadloos in de sectie opgaat. */
.media-frame { position: relative; aspect-ratio: 630 / 360; background: var(--pigment-bg); }
.media-frame img,
.media-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.media-frame__fallback { display: none; }

/* De browser kleurbeheert video net iets anders dan een CSS-kleur, waardoor er
   een flinterdunne rand zichtbaar kan blijven. Deze zachte vervaging laat de
   randen van het beeld oplossen in de achtergrond van de sectie. */
.media-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  box-shadow: inset 0 0 26px 12px var(--pigment-bg);
}

@media (prefers-reduced-motion: reduce) {
  .media-frame video { display: none; }
  .media-frame__fallback { display: block; }
}

/* --------------------------------------------------------- resultaten --- */

.results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.5rem, 1.4vw, 1rem);
}
@media (min-width: 48rem) { .results { grid-template-columns: repeat(4, 1fr); } }

.results img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--taupe);
}


/* --------------------------------------------------------------- over --- */

.over__cta,
.section__cta { margin-top: clamp(2rem, 4vw, 3rem); }
.section__cta .btn { width: 100%; }
@media (min-width: 34rem) { .section__cta .btn { width: auto; } }

/* ------------------------------------------------------------- footer --- */

.footer {
  background: var(--cream);
  border-top: 1px solid var(--hairline-strong);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
}

.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 48rem) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

.footer__logo img { height: 34px; width: auto; }
.footer__logo .logo__text { font-size: 2.1rem; }

.footer h2 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer ul { list-style: none; }

.footer address { font-style: normal; color: var(--muted); }

/* Links krijgen een aanraakvlak van 44px. De onderstreping blijft strak onder
   de tekst doordat we text-decoration gebruiken in plaats van een border. */
.footer li a {
  display: inline-block;
  padding-block: 11px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
}
.footer li a:hover { text-decoration-color: var(--ink); }

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  text-decoration: none !important;
}
.ig-link span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
}
.ig-link:hover span { text-decoration-color: var(--ink); }
.ig-link svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------------------------------------------------------- page head --- */

.page-head { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.page-head .lead { margin-top: 1.25rem; }

/* ----------------------------------------------------------- prose ------ */

.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.prose h3 { font-size: 1.05rem; font-weight: 500; margin-top: 1.75rem; }
.prose p { margin-top: 0.9rem; }
.prose ul { margin-top: 0.9rem; padding-left: 1.15rem; }
.prose li { margin-top: 0.35rem; }
.prose a { color: var(--ink); }

.updated { color: var(--muted); font-size: 0.92rem; }

/* -------------------------------------------------------------- forms --- */

.form { max-width: 46rem; }

.fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--hairline-strong);
}

.fieldset__legend {
  padding: 0;
  margin-bottom: 1.75rem;
  display: block;
  width: 100%;
}
.fieldset__num {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.fieldset__title {
  display: block;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.field { margin-bottom: 1.6rem; }
.field:last-child { margin-bottom: 0; }

.label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
}

.hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }

.req { color: var(--ink); }

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-size: 16px;              /* voorkomt inzoomen op iOS */
  line-height: 1.5;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.textarea { min-height: 120px; resize: vertical; }

.select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232A2623' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.75rem;
}

.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); }

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] { border-color: #8E2F1D; border-width: 2px; }

.error {
  display: none;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #8E2F1D;
  line-height: 1.4;
}
.error.is-visible { display: block; }

/* keuzelijsten */
.choices { display: grid; gap: 0.15rem; }

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.6rem 0;
  cursor: pointer;
  line-height: 1.5;
}

.choice input[type="checkbox"],
.choice input[type="radio"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0.22rem 0 0;
  accent-color: var(--brown);
  cursor: pointer;
}

.choice span { font-size: 1rem; }

.conditional[hidden] { display: none; }
.conditional {
  margin-top: 1.1rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--taupe);
}

.consent { padding-top: 0.25rem; }
.consent .choice { padding-block: 0.8rem; border-bottom: 1px solid var(--hairline); align-items: flex-start; }
.consent .choice span { font-size: 0.98rem; }

.form__submit { margin-top: 2.5rem; }
.form__submit .btn { width: 100%; }
@media (min-width: 34rem) { .form__submit .btn { width: auto; min-width: 16rem; } }

.form-note { margin-top: 1.25rem; font-size: 0.9rem; color: var(--muted); max-width: 52ch; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------ bedankt --- */

.centered-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.centered-page .h1 { max-width: 18ch; }
