/* Hairboutique by Bianca: demo-homepage.
   Eén lettertype (Montserrat, variabel), één accentkleur (inkt). De haartinten zijn beeld, geen accent.
   Vormregel: knoppen zijn pillen, vlakken 28px, invoervelden 14px. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #f3f2f1;
  --blush: #f1e0d9;
  --ink: #2b2a2a;
  --muted: #5b5756;
  --ash: #cbc7c4;
  --rose: #ebbdb3;
  --honey: #e8c79b;
  --copper: #d4906a;
  --chestnut: #8d5b45;
  --deep: #5a3b2e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --header: 72px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { touch-action: manipulation; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.25em; }
::selection { background: var(--honey); color: var(--ink); }
input, textarea { caret-color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 40;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px;
  font-size: 0.875rem; text-decoration: none; transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  font: 500 0.9375rem/1 var(--font); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); background: #3d3b3b; }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.08s; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.nowrap, a[href^="tel:"] { white-space: nowrap; }
.btn--small { min-height: 42px; padding: 0 22px; font-size: 0.8125rem; }

/* Kop */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.header.is-scrolled {
  background: rgba(243, 242, 241, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(43, 42, 42, 0.08);
}
.brand { display: block; width: 112px; opacity: 0; transform: translateY(6px); visibility: hidden; transition: opacity 0.35s ease, transform 0.45s var(--ease), visibility 0s 0.35s; }
.header.is-branded .brand { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); margin-left: auto; }
.nav a:not(.btn) {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding: 8px 2px; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease);
}
.nav a:not(.btn):hover { background-size: 100% 1px; }

/* Hero */
.hero {
  position: relative; min-height: 100dvh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center;
  padding: 96px var(--gutter) 48px;
}
.hero__copy { position: relative; z-index: 2; max-width: 640px; display: grid; gap: 28px; justify-items: start; }
.hero__logo { width: clamp(250px, 26vw, 400px); margin-left: -6px; }
.hero__logo .logo { width: 100%; height: auto; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.hero__lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 300; max-width: 30em; color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

/* Kleurenwaaier */
.fan {
  --L: min(70vh, 40vw);
  --spread: 14deg;
  position: absolute; z-index: 1; right: 3vw; bottom: -3vh;
  width: var(--L); height: var(--L);
}
.band {
  position: absolute; left: 50%; bottom: 0; width: calc(var(--L) * 0.2); height: var(--L);
  margin-left: calc(var(--L) * -0.1);
  transform-origin: 50% 94%;
  transform: rotate(calc((var(--i) - 2.5) * var(--spread)));
}
.band b { display: block; width: 100%; height: 100%; border-radius: 999px; background: var(--c); }
.band:nth-child(1) { --c: var(--ash); }
.band:nth-child(2) { --c: var(--rose); }
.band:nth-child(3) { --c: var(--honey); }
.band:nth-child(4) { --c: var(--copper); }
.band:nth-child(5) { --c: var(--chestnut); }
.band:nth-child(6) { --c: var(--deep); }

/* Secties */
.section { padding: clamp(88px, 14vh, 168px) var(--gutter); }
.wrap { max-width: 1280px; margin: 0 auto; }
.h2 { font-size: clamp(2.2rem, 4.2vw, 3.9rem); }

/* Over Bianca */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.about__main { display: grid; gap: 36px; max-width: 46em; }
.about__main .big { font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; }
.about__main p { color: var(--muted); }
.about__sign { color: var(--ink); font-weight: 500; }
.facts { display: grid; gap: 40px; padding-top: 12px; }
.fact { display: grid; gap: 6px; }
.fact strong { font-weight: 300; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -0.02em; line-height: 1; }
.fact span { color: var(--muted); font-size: 0.9375rem; max-width: 18em; }

/* Strook haartinten: de waaier staat erop */
.swatches { display: flex; height: clamp(14px, 2.4vw, 28px); }
.hero .swatches { position: absolute; inset: auto 0 0 0; z-index: 3; }
.swatches i { flex: 1; background: var(--c); }
.swatches i:nth-child(1) { --c: var(--ash); }
.swatches i:nth-child(2) { --c: var(--rose); }
.swatches i:nth-child(3) { --c: var(--honey); }
.swatches i:nth-child(4) { --c: var(--copper); }
.swatches i:nth-child(5) { --c: var(--chestnut); }
.swatches i:nth-child(6) { --c: var(--deep); }

/* Behandelingen */
.services { display: grid; gap: clamp(40px, 6vh, 72px); }
.cells { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.cell { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 300px; }
.cell h3 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); font-weight: 400; }
.cell p { max-width: 30em; }
.cell--color { grid-column: span 7; grid-row: span 2; background: var(--honey); min-height: 520px; }
.cell--cut { grid-column: span 5; background: var(--rose); }
.cell--style { grid-column: span 5; background: var(--ash); min-height: 460px; padding-top: 270px; }
.cell__photo {
  position: absolute; inset: 0 0 auto 0; z-index: 0; width: 100%; height: 250px; object-fit: cover; object-position: 50% 32%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.cell--color .big { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 300; line-height: 1.5; }
.cell--color .circles { position: absolute; top: -10%; right: -8%; width: 54%; aspect-ratio: 1; pointer-events: none; }
.circles i { position: absolute; border-radius: 50%; }
.circles i:nth-child(1) { inset: 0 28% 28% 0; background: var(--copper); }
.circles i:nth-child(2) { inset: 24% 0 0 30%; background: var(--rose); }
.circles i:nth-child(3) { inset: 50% 40% 6% 10%; background: var(--chestnut); }
.cell > :not(.circles):not(.cell__photo) { position: relative; z-index: 1; }
.cell--color > :not(.circles) { max-width: 26em; }

/* Een stoel, alle aandacht */
.alone { position: relative; overflow: hidden; background: var(--blush); }
.alone__text { position: relative; z-index: 1; display: grid; gap: 28px; }
.alone h2 { font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 300; }
.alone h2 .line { display: block; white-space: nowrap; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.alone h2 .line > span { display: block; }
.alone p { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 300; max-width: 24em; }
.alone__art { position: absolute; right: -6vmin; bottom: -14vmin; width: min(62vmin, 560px); aspect-ratio: 1; pointer-events: none; }
.alone__art i { position: absolute; border-radius: 50%; }
.alone__art i:nth-child(1) { inset: 0 34% 34% 0; background: var(--honey); }
.alone__art i:nth-child(2) { inset: 18% 0 14% 30%; background: var(--copper); }
.alone__art i:nth-child(3) { inset: 52% 44% 0 16%; background: var(--chestnut); }

/* Openingstijden */
.hours { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.hours__intro { display: grid; gap: 24px; }
.hours__intro p { color: var(--muted); max-width: 24em; }
.days { margin: 0; display: grid; grid-template-columns: max-content 1fr; column-gap: clamp(28px, 6vw, 88px); row-gap: 22px; align-items: baseline; }
.days dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.days dd { margin: 0; font-variant-numeric: tabular-nums; font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 300; letter-spacing: -0.01em; }
.days dd.is-soft { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.125rem); }

/* Contact */
.contact { background: var(--paper); padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.contact__info { display: grid; gap: 36px; }
.contact__list { display: grid; gap: 22px; font-style: normal; margin: 0; }
.contact__list div { display: grid; gap: 2px; }
.contact__list dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact__list dd { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 300; }
.contact__list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.form { display: grid; gap: 20px; padding: clamp(24px, 3vw, 40px); background: #fff; border-radius: 28px; }
.form h3 { font-size: 1.5rem; font-weight: 400; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.875rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1.5px solid #8a8584; border-radius: 14px; padding: 14px 16px; min-height: 52px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.form__note { font-size: 0.9375rem; color: var(--muted); min-height: 1.5em; }
.form__note.is-shown { color: var(--ink); font-weight: 500; }

/* Voet */
.footer { background: var(--blush); color: var(--ink); padding: 56px var(--gutter) 40px; }
.footer__grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer .logo { width: 150px; color: var(--ink); }
.footer address { font-style: normal; font-size: 0.9375rem; font-weight: 300; line-height: 1.7; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; justify-content: flex-end; }


/* Tablet en kleiner */
@media (max-width: 1024px) {
  .about, .hours, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 0; }
  .cell--color, .cell--cut, .cell--style { grid-column: span 12; grid-row: auto; min-height: 280px; }
  .cell--color { min-height: 420px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__links { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-content: start; padding-bottom: calc(min(52vh, 78vw) * 0.62); }
  .fan { --L: min(52vh, 78vw); right: 50%; margin-right: calc(var(--L) * -0.5); bottom: -4vh; --spread: 12deg; }
}
@media (max-width: 720px) {
  :root { --header: 64px; }
  .brand { width: 96px; }
  .hero { padding-top: 88px; }
  .hero__logo { width: min(260px, 70vw); }
  .hero__copy { gap: 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .cell--color { padding-top: 210px; }
  .cell--color .circles { width: 64%; top: -12%; right: -10%; }
  .alone { padding-bottom: calc(clamp(88px, 14vh, 168px) + 46vw); }
  .alone__art { width: 62vw; right: -8vw; bottom: -12vw; }
  .days { row-gap: 18px; }
}

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