/* robertacorradi.it: design tokens (zie design-system.md) */
:root {
  --ink: #2b1a18;
  --ink-soft: #5d4a46;
  --bordeaux: #6b100f;
  --bordeaux-dark: #520a0a;
  --blush: #ead2c8;
  --blush-soft: #f4e6e0;
  --paper: #fbf7f4;
  --line: #e6d9d3;
  --white: #ffffff;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 2px;
  --motion: 0.6s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
em.accent, h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--bordeaux); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.label {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--bordeaux); margin: 0 0 1.2rem; display: block;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 38em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 99; }

/* Buttons: accent = alleen de primaire actie */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px;
  padding: .85rem 1.6rem; border-radius: var(--radius); text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  background: var(--bordeaux); color: var(--white); border: 1px solid var(--bordeaux);
  transition: background var(--motion) ease, transform .3s ease;
}
.btn:hover, .btn:focus-visible { background: var(--bordeaux-dark); transform: translateY(-2px); }
.btn--inverse { background: var(--blush); color: var(--bordeaux); border-color: var(--blush); }
.btn--inverse:hover, .btn--inverse:focus-visible { background: var(--white); }
.textlink {
  font-weight: 600; text-decoration: none; background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size var(--motion) ease; padding-bottom: 2px;
}
.textlink:hover, .textlink:focus-visible { background-size: 100% 1px; }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,247,244,.96); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.nav a:not(.btn) { text-decoration: none; font-size: .88rem; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--bordeaux); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); min-width: 48px; min-height: 48px; font: 600 .8rem var(--sans); color: var(--ink); }
.nav .btn { min-height: 44px; padding: .6rem 1.1rem; font-size: .85rem; }
.has-sub { position: relative; }
.has-sub > ul { display: none; position: absolute; top: 100%; left: -1rem; background: var(--paper); border: 1px solid var(--line); padding: .8rem 1rem; flex-direction: column; gap: .5rem; min-width: 16rem; }
.has-sub:hover > ul, .has-sub:focus-within > ul { display: flex; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.5rem; display: none; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .7rem 0; min-height: 44px; }
  .has-sub > ul { display: flex; position: static; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .nav .btn { justify-content: center; margin-top: .5rem; }
}

/* Hero: split-panel */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--blush); }
.hero-panel { display: flex; align-items: center; padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3rem, 7vw, 6rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-inner { max-width: 34rem; animation: rise .9s ease-out both; }
.hero h1 { color: var(--ink); }
.hero .lead { color: var(--ink); opacity: .85; }
.hero-meta { margin-top: 1.6rem; font-size: .9rem; color: var(--ink-soft); }
.hero-meta a { font-weight: 600; }
.hero-media { position: relative; min-height: 34rem; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fade 1.2s ease-out both; }
.hero--page .hero-media { min-height: 30rem; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-media, .hero--page .hero-media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .hero-panel { padding: 2.5rem var(--gutter) 3rem; }
}

/* Breadcrumb */
.crumbs { font-size: .8rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 .4rem; }

/* Oversized quote */
.quote { text-align: left; }
.quote blockquote { margin: 0; max-width: 52rem; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.3; color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--bordeaux); font-style: normal; margin-bottom: .6rem; }
.quote figcaption { margin-top: 1.6rem; font-size: .9rem; color: var(--ink-soft); }

/* Asymmetric serif list */
.treatments-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.treatments-head h2 { margin: 0; max-width: 20ch; }
.tlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tlist li { border-bottom: 1px solid var(--line); }
.tlist a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 2rem; align-items: baseline; padding: 1.8rem 0; text-decoration: none; transition: padding var(--motion) ease, background var(--motion) ease; }
.tlist a:hover, .tlist a:focus-visible { padding-left: 1rem; background: var(--blush-soft); }
.tlist .t-name { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; line-height: 1.15; }
.tlist .t-desc { color: var(--ink-soft); font-size: .98rem; }
.tlist .t-go { font-size: 1.4rem; color: var(--bordeaux); padding-right: 1rem; }
@media (max-width: 760px) { .tlist a { grid-template-columns: 1fr auto; gap: .4rem 1rem; } .tlist .t-desc { grid-column: 1 / -1; grid-row: 2; } }

/* Showstopper: bordeaux block */
.block { background: var(--bordeaux); color: var(--blush-soft); }
.block h2 { color: var(--white); max-width: 18ch; }
.block h2 em { color: var(--blush); }
.block .lead { color: var(--blush); }
.steps { list-style: none; margin: 3rem 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid rgba(234,210,200,.4); padding-top: 1.4rem; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--blush); margin-bottom: .8rem; }
.steps h3 { color: var(--white); }
.steps p { color: var(--blush-soft); font-size: .98rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Editorial image-text (bleed) */
.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.editorial-media { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter))); }
.editorial-media img { width: 100%; height: auto; }
.editorial-media .stack { display: grid; gap: .6rem; }
.editorial-media .stack img { aspect-ratio: 1080 / 330; object-fit: cover; }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } .editorial-media { margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); } }

/* Stat + press */
.proof { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.stat { font-family: var(--serif); font-weight: 700; font-size: clamp(5rem, 11vw, 8.5rem); line-height: .9; color: var(--bordeaux); }
.stat small { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--ink-soft); line-height: 1.5; margin-top: 1rem; max-width: 14rem; }
.press { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.press li { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.press strong { font-family: var(--serif); font-size: 1.15rem; }
.press span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; } .press li { grid-template-columns: 1fr; gap: .2rem; } }

/* Contact + signature tile */
.contact { display: grid; grid-template-columns: 1.45fr 1fr; gap: 0; }
.tile-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100%; }
.tile-split > div { padding: clamp(2rem, 5vw, 3.5rem); }
.tile-split .a { background: var(--blush); color: var(--ink); }
.tile-split .b { background: var(--bordeaux); color: var(--blush-soft); }
.tile-split .b a { color: var(--white); }
.tile-split h2 { margin-bottom: .4em; }
.tile-split .b h3 { color: var(--white); font-size: 1.2rem; }
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.contact-list li { margin-bottom: 1rem; }
.contact-list b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .8; }
.contact-list a { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
@media (min-width: 961px) { .tile-split .a { min-width: 0; } .contact-list a { overflow-wrap: normal; } }
.map { border: 0; width: 100%; height: 100%; min-height: 24rem; display: block; filter: grayscale(.2); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .tile-split { grid-template-columns: 1fr; } }

/* Treatment page content */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5em; }
.definition { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.5; border-left: 3px solid var(--bordeaux); padding: .2rem 0 .2rem 1.4rem; margin: 0 0 2.5rem; }
.aside { position: sticky; top: 100px; background: var(--blush-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.aside h2 { font-size: 1.35rem; }
.aside p { font-size: .95rem; color: var(--ink-soft); }
.aside ul { list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .95rem; }
.aside li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .content { grid-template-columns: 1fr; } .aside { position: static; } }

.faq { border-top: 1px solid var(--line); margin-top: 1rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.05rem; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--bordeaux); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.2rem; margin: 0; color: var(--ink-soft); }

.disclaimer { font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 3rem; }

.cta-band { background: var(--blush); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 24ch; }

.band img { width: 100%; height: clamp(14rem, 32vw, 30rem); object-fit: cover; }

.related { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 1rem 0 0; }

/* About */
.about { display: grid; grid-template-columns: 22rem 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about figure { margin: 0; }
.about figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: .6rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about figure { max-width: 18rem; } }

/* Footer */
.site-footer { background: var(--ink); color: #d9c9c3; padding: 4rem 0 2.5rem; font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font-size: 1.2rem; color: var(--white); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; font-size: .8rem; color: #a8958f; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Motion: safe gate */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--motion) ease-out, transform var(--motion) ease-out; }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal:nth-child(2) { transition-delay: .08s; }
html.js .reveal:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-inner, .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}
.prose .press, .prose .related { padding-left: 0; }

/* Persoonlijke lagen (website-studio personal.md): wie, waar, bewijs */
.hero-person {
  position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 2;
  display: flex; align-items: center; gap: .9rem; padding: .6rem 1.1rem .6rem .6rem;
  background: var(--paper); color: var(--ink); text-decoration: none; border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(43, 26, 24, .14); animation: rise 1s .5s ease-out both;
}
.hero-person .hero-person-img { position: static; width: 64px; height: 64px; object-fit: cover; object-position: 62% 30%; border-radius: 50%; animation: none; }
.hero-person span { font-size: .85rem; line-height: 1.35; color: var(--ink-soft); }
.hero-person b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.hero-person:hover b, .hero-person:focus-visible b { color: var(--bordeaux); }

.who { background: var(--blush-soft); }
.who-grid { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.who-photo { margin: 0; }
.who-photo .portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 30%; border-radius: var(--radius); }
.who-role { color: var(--ink-soft); max-width: 36em; }
.who-quote { margin: 1.4rem 0 1.4rem; padding-left: 1.4rem; border-left: 2px solid var(--bordeaux); max-width: 40rem; }
.who-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; margin: 0 0 .6rem; color: var(--ink); }
.who-quote footer { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } .who-photo { max-width: 12rem; } }

.where-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.where-head p { color: var(--ink-soft); margin: 0; }
.where-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.where-strip figure { margin: 0; }
.where-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.where-strip figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; }
@media (max-width: 760px) { .where-head { grid-template-columns: 1fr; } .where-strip { grid-template-columns: 1fr; } }

.proof-layer { padding-top: 0; }
.press li.match strong { color: var(--bordeaux); }
