/* =========================================================================
   STUDIO KWAST — barbier Leuven (demo)
   Editorial-luxe: espresso + messing, Cormorant + Montserrat.
   Vanilla, self-hosted, 0 externe libraries. Combineert met uniqueness-kit.
   ========================================================================= */

/* ---- Tokens ---- */
:root {
  --espresso:   #1a1714;
  --surface:    #221d19;
  --surface-2:  #2b241f;
  --ink:        #f0e9df;
  --ink-dim:    #c9beae;
  --muted:      #8a7d6b;
  --brass:      #c8963e;
  --brass-soft: #e2bd76;
  --line:       rgba(200, 150, 62, .24);
  --line-soft:  rgba(240, 233, 223, .10);

  --serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans:  'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 3px;

  /* tint de uniqueness-kit voor deze site */
  --tx-ink: #f0e9df;
  --tx-accent: #c8963e;
  --tx-soft: #8a7d6b;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--espresso);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--brass); color: var(--espresso); }

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; }
.display {
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  font-weight: 500;
}
.display em { font-style: italic; color: var(--brass); }
h2.section-title { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-block;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-dim); font-weight: 300; }
.muted { color: var(--muted); }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(5rem, 12vw, 9rem); }
.hairline { height: 1px; background: var(--line-soft); border: 0; }
.index { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .3em; color: var(--muted); }

/* reveal-on-scroll (JS voegt .is-in toe) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 1.15rem var(--gutter);
  transition: background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--espresso) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-soft);
  padding-block: .85rem;
}
.brand { display: flex; align-items: baseline; gap: .6rem; font-family: var(--serif); font-size: 1.5rem; letter-spacing: .02em; }
.brand b { font-weight: 600; }
.brand .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); align-self: center; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a:not(.btn) { font-size: .82rem; letter-spacing: .08em; color: var(--ink-dim); position: relative; padding: .3rem 0; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--brass);
  transition: width .35s cubic-bezier(.22,1,.36,1);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .85rem 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--brass); color: var(--brass);
  transition: background .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brass); color: var(--espresso); }
.btn--solid { background: var(--brass); color: var(--espresso); }
.btn--solid:hover { background: var(--brass-soft); border-color: var(--brass-soft); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: .85rem; }

.nav-toggle { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, var(--espresso) 4%, transparent 45%),
    linear-gradient(to right, color-mix(in srgb, var(--espresso) 75%, transparent), transparent 60%);
}
.hero-grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero-eyebrow { margin-bottom: 1.6rem; }
.hero h1 { max-width: 12ch; margin-bottom: 1.8rem; }
.hero .lead { max-width: 44ch; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-side {
  position: absolute; right: var(--gutter); top: 50%; z-index: 3;
  transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  font-family: var(--sans); font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue { position: absolute; left: var(--gutter); bottom: 1.6rem; z-index: 3; display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue span { width: 46px; height: 1px; background: var(--muted); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: translateX(-100%); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateX(-100%);} 55%,100% { transform: translateX(100%);} }
@media (prefers-reduced-motion: reduce) { .scroll-cue span::after { animation: none; } }

/* hero intro-reveal */
.hero-inner > * { opacity: 0; transform: translateY(20px); animation: heroIn .9s cubic-bezier(.22,1,.36,1) forwards; }
.hero-eyebrow { animation-delay: .1s; }
.hero h1 { animation-delay: .25s; }
.hero .lead { animation-delay: .42s; }
.hero-actions { animation-delay: .58s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-inner > * { opacity: 1; transform: none; animation: none; } }

/* =========================================================================
   MANIFESTO
   ========================================================================= */
.manifesto { text-align: center; }
.manifesto p { font-family: var(--serif); font-size: clamp(1.7rem, 4.4vw, 3.1rem); line-height: 1.28; font-weight: 400; max-width: 20ch; margin-inline: auto; }
.manifesto p em { font-style: italic; color: var(--brass); }
.manifesto .eyebrow { margin-bottom: 2rem; }

/* =========================================================================
   SERVICES
   ========================================================================= */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.sec-head .eyebrow { margin-bottom: 1rem; }
.sec-head p { color: var(--ink-dim); max-width: 42ch; font-weight: 300; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  position: relative; padding: 2.4rem 2rem 2.6rem; border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 60%, var(--espresso)));
  overflow: hidden; transition: border-color .4s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--brass);
  transition: width .5s cubic-bezier(.22,1,.36,1);
}
.service:hover { border-color: var(--line); transform: translateY(-6px); }
.service:hover::before { width: 100%; }
.service .s-num { font-family: var(--serif); font-size: 2.4rem; color: var(--brass); line-height: 1; margin-bottom: 1.4rem; font-style: italic; }
.service h3 { margin-bottom: .9rem; }
.service p { color: var(--ink-dim); font-weight: 300; font-size: .96rem; }
.service .s-tag { margin-top: 1.6rem; display: inline-block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* =========================================================================
   PRICING
   ========================================================================= */
.pricing { background: var(--surface); }
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.price-list { display: flex; flex-direction: column; }
.price-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-soft); }
.price-row:first-child { border-top: 1px solid var(--line-soft); }
.price-row .p-name { font-family: var(--serif); font-size: 1.5rem; }
.price-row .p-desc { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); letter-spacing: .02em; margin-top: .1rem; }
.price-row .p-amt { font-family: var(--serif); font-size: 1.6rem; color: var(--brass); white-space: nowrap; }
.price-aside { position: sticky; top: 6rem; }
.price-aside h2 { margin-bottom: 1.4rem; }
.price-aside p { color: var(--ink-dim); font-weight: 300; margin-bottom: 1.8rem; }
.price-note { font-size: .82rem; color: var(--muted); border-left: 2px solid var(--brass); padding-left: 1rem; }

/* =========================================================================
   TEAM
   ========================================================================= */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.member { text-align: center; padding: 2.6rem 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); transition: border-color .4s ease, background .4s ease; }
.member:hover { border-color: var(--line); background: var(--surface); }
.avatar {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 2.4rem; color: var(--brass);
  background: radial-gradient(circle at 50% 35%, var(--surface-2), var(--espresso));
  border: 1px solid var(--line); box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--espresso) 70%, transparent);
}
.member h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.member .role { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* =========================================================================
   BOOKING / CTA
   ========================================================================= */
.booking { background: var(--surface); overflow: hidden; }
.booking-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.booking h2 { margin-bottom: 1.4rem; }
.booking .lead { margin-bottom: 2.2rem; }
.info-list { display: flex; flex-direction: column; gap: 1.3rem; }
.info-item { display: grid; grid-template-columns: 128px 1fr; gap: 1.2rem; align-items: baseline; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line-soft); }
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.info-item .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
.info-item .v { font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; }
.info-item .v small { display: block; font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.booking-cta { text-align: center; padding: clamp(2.5rem, 6vw, 4rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--espresso)); }
.booking-cta .big { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .6rem; }
.booking-cta .big em { color: var(--brass); font-style: italic; }
.booking-cta p { color: var(--ink-dim); font-weight: 300; margin-bottom: 2rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 3rem; border-bottom: 1px solid var(--line-soft); }
.footer .brand { font-size: 2rem; margin-bottom: 1rem; }
.footer-tag { max-width: 26ch; font-weight: 300; }
.footer-col h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: var(--ink-dim); font-size: .92rem; font-weight: 300; margin-bottom: .5rem; transition: color .3s; }
.footer-col a:hover { color: var(--brass); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .78rem; color: var(--muted); }
.footer-bottom a { color: var(--brass); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .services-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .price-wrap, .booking-grid { grid-template-columns: 1fr; }
  .price-aside { position: static; }
  .hero-side { display: none; }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem; padding: 3rem 2rem; background: var(--surface); border-left: 1px solid var(--line-soft); transform: translateX(100%); transition: transform .45s cubic-bezier(.22,1,.36,1); }
  .nav-links.is-open { transform: none; }
  .nav-links a:not(.btn) { font-size: 1.1rem; }
  .nav-links .btn { margin-top: 1rem; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; z-index: 120; padding: .4rem; }
  .nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: transform .35s, opacity .35s; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .services-grid, .team-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .price-row .p-name { font-size: 1.3rem; }
}
