@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&family=Cormorant+Garamond:ital,wght@0,500;1,500&display=swap');

/* Belvedere Villa Inrichting. Colours from their own theme style.css and logo (dark #2d2926, taupe #b9a388, sand #dac3a6, stone #c6baab, cream #f3f2eb), see ../BRAND.md */
:root {
  --ink: #2d2926;        /* their dark: header band and text in style.css */
  --black: #0e0e0c;      /* their near black page background */
  --taupe: #b9a388;      /* their link and menu colour */
  --taupe-ink: #6f6050;  /* shade of their taupe for text on light, AA on cream */
  --sand: #dac3a6;       /* their light sand */
  --stone: #c6baab;      /* their logo band */
  --cream: #f3f2eb;      /* their light background */
  --paper: #faf9f5;      /* lightest tint of their cream */
  --muted: #5c554f;
  --line: #d9d2c6;       /* tint of their stone, used as rule */
  --line-dark: rgba(218, 195, 166, .22);
  --white: #fff;

  --f: 'Jost', 'Century Gothic', system-ui, sans-serif;  /* echoes the wide geometric letters of their logo */
  --f-quote: 'Cormorant Garamond', Georgia, serif;     /* only for the quotes from their fanmail page */
  --r: 2px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.7 var(--f); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 300; }
h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
figure { margin: 0; }
::selection { background: var(--sand); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--sand); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--white); color: var(--ink); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: .5rem; }

/* Buttons: small radius, one filled + one outlined */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: var(--r); border: 1px solid var(--ink); background: var(--ink); color: var(--cream); font: 500 .9rem/1.2 var(--f); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--black); border-color: var(--black); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.dark .btn { background: var(--sand); border-color: var(--sand); color: var(--black); }
.dark .btn:hover { background: var(--cream); border-color: var(--cream); }
.dark .btn.ghost { background: transparent; color: var(--cream); border-color: rgba(243, 242, 235, .55); }
.dark .btn.ghost:hover { background: var(--cream); color: var(--black); }
.textlink { font-weight: 500; text-decoration: underline; }

/* Header: their logo on cream, menu in spaced capitals like the old site */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 242, 235, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-in { display: flex; align-items: center; gap: 2rem; min-height: 78px; }
.brand { display: block; flex: none; }
.brand img { width: 230px; height: auto; }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 1.75rem; position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; width: auto; height: auto; overflow: visible; }
.nav-link { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: .35rem 0; border-bottom: 1px solid transparent; color: var(--muted); }
.nav-link:hover { color: var(--ink); border-bottom-color: var(--taupe); }
.nav-link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.menu-btn { display: none; }
.header-call { min-height: 42px; }
.header-call .num { white-space: nowrap; }

.dark { background: var(--ink); color: #ddd6cc; }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }
.tint { background: var(--cream); }

section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.intro { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.intro h2 { margin-bottom: 1rem; }
.intro p { color: var(--muted); font-size: 1.1rem; }
.dark .intro p { color: #cfc7bb; }

/* Home hero: text left, their own fabric wall photo right */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); background: var(--cream); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero-lead { font-size: 1.2rem; max-width: 33rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.hero-photo img { width: 100%; aspect-ratio: 920 / 639; object-fit: cover; border-radius: var(--r); }
.hero-photo figcaption, .cap { font-size: .9rem; color: var(--muted); margin-top: .7rem; }
.dark .cap { color: #b9b0a4; }

/* Facts as label/value rows */
.facts { list-style: none; border-top: 1px solid var(--line); margin-top: 2.25rem; max-width: 34rem; }
.facts li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.facts b { font-weight: 500; }

/* Register list (collection rows) */
.register { list-style: none; border-top: 1px solid var(--line); }
.register li { border-bottom: 1px solid var(--line); }
.register a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 28px; gap: 1.5rem; align-items: center; padding: 1.35rem 0; text-decoration: none; }
.register .name { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 300; line-height: 1.2; }
.register .desc { font-size: .97rem; color: var(--muted); }
.register svg { width: 22px; height: 22px; color: var(--taupe-ink); transition: transform .2s; }
.register a:hover .name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.register a:hover svg { transform: translateX(4px); }

/* Wide photo band with caption */
.band img { width: 100%; aspect-ratio: 1800 / 760; object-fit: cover; }

/* Split: photo left, text right */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { width: 100%; border-radius: var(--r); }
.split h2 { margin-bottom: 1rem; }
.split p { color: var(--muted); }
.dark .split p { color: #cfc7bb; }

/* Ordered work steps as rows */
.steps { list-style: none; border-top: 1px solid var(--line-dark); counter-reset: s; }
.steps li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.steps b { font-weight: 500; color: var(--cream); }
.steps span { color: #cfc7bb; }

/* Fanmail quotes, from their own site */
.quotes { display: grid; gap: 2.5rem 3rem; }
.quotes blockquote { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.quotes p { font: italic 500 1.45rem/1.4 var(--f-quote); color: var(--ink); margin-bottom: .6rem; }
.quotes cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* Visit block */
.visit { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.rows .k { font-weight: 500; font-size: .95rem; }
.rows .v a { text-decoration: underline; }
.dark .rows, .dark .rows li { border-color: var(--line-dark); }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 20rem; }

/* Collection page */
.page-head { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); background: var(--cream); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 1rem; }
.page-head p { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.75rem; list-style: none; }
.jump a { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.coll { padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--line); }
.coll:nth-of-type(even) { background: var(--cream); }
.coll-grid { display: grid; gap: clamp(1.75rem, 4vw, 4rem); }
.coll h2 { margin-bottom: 1rem; }
.coll p { color: var(--muted); }
.sub { list-style: none; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.sub li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.sub b { font-weight: 500; }
.sub span { color: var(--muted); }
.brands { font-size: .95rem; color: var(--muted); }
.brands b { color: var(--ink); font-weight: 500; }
.coll img { width: 100%; border-radius: var(--r); }

/* Team */
.team { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
.team img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--white); }
.team span { display: block; margin-top: .6rem; font-weight: 500; }

/* Forms (demo only) */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field textarea, .field select { font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1px solid #b3a99b; border-radius: var(--r); background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.form-note { padding: .9rem 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); }
.small { font-size: .9rem; color: var(--muted); }

/* CTA band */
.cta { text-align: center; }
.cta h2 { max-width: 30ch; margin: 0 auto 1rem; }
.cta p { max-width: 38rem; margin: 0 auto; color: #cfc7bb; }
.cta .actions { justify-content: center; }

/* Footer with labelled groups */
.site-footer { background: var(--black); color: #cfc7bb; padding: 4rem 0 6rem; font-size: .98rem; }
.footer-name { font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); margin-bottom: .4rem; }
.footer-grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
.f-label { font-size: .82rem; color: #9b9286; margin-bottom: .6rem; }
.site-footer ul { list-style: none; display: grid; gap: .35rem; }
.site-footer a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(218, 195, 166, .45); }
.site-footer a:hover { text-decoration-color: var(--sand); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(218, 195, 166, .18); font-size: .88rem; color: #9b9286; }

/* Mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--ink); display: none; }
.callbar .btn { width: 100%; justify-content: center; background: var(--sand); border-color: var(--sand); color: var(--black); }

/* Reveal */
.reveal.pre { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.pre.in { opacity: 1; transform: none; }

@media (min-width: 861px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .split.flip > :first-child { order: 2; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .coll-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .coll-grid.flip > :first-child { order: 2; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .team { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 1180px) { .header-call .num { display: none; } }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .45rem; font: 500 .85rem var(--f); letter-spacing: .1em; text-transform: uppercase; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: .55rem .8rem; color: var(--ink); cursor: pointer; }
  .menu-btn svg { width: 20px; height: 20px; }
  .nav-list:popover-open { display: grid; gap: 0; position: fixed; inset: 78px 0 auto 0; margin: 0; width: 100%; background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; }
  .nav-list:not(:popover-open) { display: none; }
  .nav-list .nav-link { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .header-call { display: none; }
}

@media (max-width: 860px) {
  .callbar { display: block; }
  .register a { grid-template-columns: minmax(0, 1fr) 24px; gap: .25rem 1rem; }
  .register .name { grid-row: 2; }
  .register .desc { grid-column: 1; grid-row: 1; font-size: .9rem; }
  .register svg { grid-column: 2; grid-row: 1 / 3; }
  .steps li, .rows li, .sub li { grid-template-columns: 1fr; gap: .2rem; }
  .facts li { grid-template-columns: 7rem 1fr; }
  .band img { aspect-ratio: 4 / 3; }
  .brand img { width: 190px; }
  .header-in { gap: 1rem; min-height: 70px; }
  .nav-list:popover-open { inset: 70px 0 auto 0; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .brand img { width: 165px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.f-small { font-size: .9rem; color: #9b9286; margin-top: .4rem; }
.split.top { align-items: start; }
