/* ==========================================================================
   H-ART-MANN – child theme «Passe-partout» on top of themes/basis (basis.css loads first).
   1. Fonts · 2. Library tokens (values from v1, agency/contracts/tokens.css) · 3. Base & library blocks restyled
   through the class scheme · 4. Child components (artwork, agenda, detail pages, lightbox) · 5. Footer, print.
   No layout via style attributes; variants are data attributes / classes.
   ========================================================================== */

/* ----- 1. Fonts (SIL OFL 1.1, fonts/*-OFL.txt) ----- */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; 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: "Newsreader"; src: url("fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-0151, U+0154-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; 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: "Instrument Sans"; src: url("fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0100-0151, U+0154-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 98.4%; ascent-override: 74.7%; descent-override: 26.9%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 100%; ascent-override: 97%; descent-override: 25%; line-gap-override: 0%; }

/* ----- 2. Tokens ----- */
:root {
  /* library tokens */
  --color-bg: #faf8f4;            /* paper */
  --color-fg: #13223a;            /* ink */
  --color-muted: #4b5566;         /* ink soft, 7.4:1 on paper */
  --color-surface: #f0ece4;       /* passe-partout */
  --color-border: #d8d2c6;
  --color-accent: #0a5fa8;
  --color-on-accent: #ffffff;
  --color-focus: #0a5fa8;
  --font-body: "Instrument Sans", "Instrument Sans Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-heading: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --text-base: clamp(1.0625rem, 1.03rem + .15vw, 1.1875rem);
  --text-scale: 1.25;
  --radius: 2px;
  --radius-lg: 2px;
  --space-section: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --space-gap: clamp(1.25rem, .8rem + 1.9vw, 2.5rem);
  --container: 86rem;
  --container-narrow: 46rem;
  --shadow: 0 12px 32px -12px rgb(19 34 58 / .35);
  --motion-duration: 600ms;
  --motion-distance: 14px;
  --motion-ease: cubic-bezier(.2, .7, .2, 1);
  /* own tokens */
  --color-line-strong: #7a7568;
  --color-accent-hover: #084b86;
  --color-accent-surface: #e8eff7;
  --color-field: #ffffff;
  --color-sold: #8c3a2b;
  --color-available: #2f6b3a;
  --weight-display: 380;
  --step--1: clamp(.9375rem, .914rem + .095vw, 1rem);
  --step-1: clamp(1.3125rem, 1.22rem + .38vw, 1.5625rem);
  --step-2: clamp(1.625rem, 1.44rem + .76vw, 2.125rem);
  --step-3: clamp(2rem, 1.63rem + 1.52vw, 3rem);
  --step-4: clamp(2.25rem, 1.55rem + 2.86vw, 4.125rem);
  --step-5: clamp(2.5rem, 1.46rem + 4.4vw, 5.5rem);
  --measure: 62ch;
  --measure-narrow: 38ch;
  --passe-partout: clamp(1.25rem, 6%, 4.5rem);
  --art-max-s: 26rem;
  --art-max-m: 40rem;
  --shadow-art: drop-shadow(0 1px 2px rgb(19 34 58 / .18));
}

/* Tones: accent = light blue surface (v1 «accent»), dark = night blue (v1 «dark»). */
[data-tone="accent"], .nwp-bg-accent {
  --color-bg: #e8eff7;
  --color-fg: #13223a;
  --color-muted: #3f4a5c;
  --color-surface: #f6f9fc;
  --color-border: #c4d2e2;
  --color-accent: #0a5fa8;
  --color-on-accent: #ffffff;
  --color-focus: #0a5fa8;
  color-scheme: light;
}
[data-tone="dark"], .nwp-bg-dark, .site-footer {
  --color-bg: #13223a;
  --color-fg: #faf8f4;
  --color-muted: #c5ccd8;
  --color-surface: #1c2d48;
  --color-border: #3c4a60;
  --color-line-strong: #6b7a91;
  --color-accent: #9fc3ea;
  --color-accent-hover: #c3dbf3;
  --color-on-accent: #13223a;
  --color-focus: #9fc3ea;
  color-scheme: dark;
}
.nwp-bg-muted { --color-bg: #f0ece4; --color-surface: #faf8f4; }

/* ----- 3. Base ----- */
body { font-synthesis: none; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-weight: var(--weight-display); letter-spacing: -.01em; line-height: 1.08; font-optical-sizing: auto; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: 0; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-base); line-height: 1.4; }
@media (max-width: 29.99rem) { h1, h2 { hyphens: auto; } }
p { text-wrap: pretty; }
a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
.prose a, .nwp-text a, .faq-item__answer a, .form-privacy a { color: var(--color-accent); }
.nowrap, time, .tel span { white-space: nowrap; }
.break { overflow-wrap: anywhere; }
.icon { width: 1.2em; height: 1.2em; }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--color-muted); }
.eyebrow a { color: inherit; }
.lead { font-size: var(--step-1); line-height: 1.45; max-width: var(--measure-narrow); }
.prose { max-width: var(--measure); }
.blk-title { font-size: var(--step-4); max-width: 20ch; }
.blk-title--small { font-size: var(--step-3); }
.blk-intro { font-size: var(--step-1); line-height: 1.45; max-width: var(--measure); }
.blk-head { max-width: none; display: grid; gap: .75rem; }
.blk-head > * { margin: 0; }
@media (min-width: 64rem) {
  .blk:not([data-align="center"]) > .container > .blk-head:has(.blk-intro) { grid-template-columns: 5fr 7fr; align-items: end; column-gap: clamp(3rem, 6vw, 6rem); }
  .blk:not([data-align="center"]) > .container > .blk-head:has(.blk-intro) .eyebrow { grid-column: 1 / -1; }
}
.blk[data-align="center"] .blk-head { max-width: 46rem; justify-items: center; }
/* Two light sections in a row: a hairline instead of a colour change. */
.flow > .blk[data-tone="light"] + .blk[data-tone="light"], .flow > .nwp-blocks > .nwp-b:has(> .blk[data-tone="light"]) + .nwp-b > .blk[data-tone="light"] { border-top: 1px solid var(--color-border); }

/* Buttons and links */
.btn, .nwp-button, .nwp-form-submit { min-height: 48px; padding: .75rem 1.4rem; border-width: 2px; font-weight: 600; }
.btn-primary:hover, .nwp-button--primary:hover, .nwp-form-submit:hover { background: var(--color-accent-hover); }
.btn-secondary { border-color: var(--color-fg); }
.more { min-height: 44px; text-decoration: underline; text-decoration-thickness: 1px; }
.more .icon { transition: transform calc(var(--motion-duration) * .4) var(--motion-ease); }
.more:hover .icon { transform: translateX(3px); }
.tel { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: inherit; font-weight: 600; font-variant-numeric: tabular-nums; }
.link-back { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: inherit; }

/* Header */
.site-header { background: var(--color-bg); }
.site-header__inner { min-height: 5.25rem; padding-block: .5rem; }
.brand { font: 600 1.125rem/1 var(--font-body); letter-spacing: .02em; text-decoration: none; }
/* Logo SVG (viewBox ≈ 378 × 121): legible tagline «Painting & Coaching» from about 11rem */
.brand { flex-shrink: 0; }
.brand__logo img, img.brand__logo { display: block; height: auto; width: 11.5rem; max-width: 55vw; }
.nav-toggle { border: 1px solid var(--color-fg); border-radius: var(--radius); padding-inline: .75rem; }
.site-nav__link { font: var(--weight-display) var(--step-2)/1.2 var(--font-heading); }
.site-nav__item + .site-nav__item { border-top: 1px solid var(--color-border); }
@media (min-width: 64rem) {
  .site-header__inner { min-height: 6.5rem; gap: 1.5rem; }
  .brand__logo img, img.brand__logo { width: 13rem; }
  .site-nav__item + .site-nav__item { border: 0; }
  .site-nav__link { padding: .6rem .5rem; font: 500 .975rem/1.2 var(--font-body); }
  .site-nav__link[aria-current], .site-nav__link.is-active { box-shadow: inset 0 -2px 0 var(--color-fg); border-radius: 0; color: var(--color-fg); }
  .site-menu { gap: 1rem; }
  .site-menu__tools .btn { display: none; }
}
@media (min-width: 80rem) {
  .site-nav__link { padding-inline: .75rem; font-size: 1rem; }
  .brand__logo img, img.brand__logo { width: 15.5rem; }
  .site-menu { gap: 1.5rem; }
  .site-menu__tools .btn { display: inline-flex; }
}

/* Breadcrumbs & page head */
.breadcrumbs { padding-top: .5rem; font-size: var(--step--1); color: var(--color-muted); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; content: "/" / ""; margin-inline: .5rem; color: var(--color-line-strong); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.breadcrumbs__current span { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 47.99rem) { .breadcrumbs__current { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
.page-head__title { font-size: var(--step-5); max-width: 16ch; }
.page-head__intro { font-size: var(--step-1); color: var(--color-fg); max-width: var(--measure); }
/* margin-block only: .back is also a .container, whose margin-inline: auto centres it in the grid */
.back { padding-block: 2rem clamp(3rem, 6vw, 6rem); margin-block: 0; }

/* Hero: the image sits in the passe-partout, artworks are never cropped */
.blk-hero[data-size="full"] .hero__title, .hero__title { font-size: var(--step-5); max-width: 13ch; }
.blk-hero[data-size="compact"] .hero__title { font-size: var(--step-4); max-width: 18ch; }
.hero__text { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; color: var(--color-fg); }
.hero__media { display: grid; place-items: center; padding: var(--passe-partout); background: var(--color-surface); }
.hero__media img { width: 100%; height: auto; max-height: min(70vh, 44rem); border-radius: 0; object-fit: contain; filter: var(--shadow-art); }
@media (min-width: 60rem) {
  .blk-hero.has-media:not([data-align="center"]) .hero__inner { grid-template-columns: 6fr 5fr; align-items: end; gap: clamp(3rem, 6vw, 6rem); }
}

/* Split */
.split__media img { border-radius: 0; }
.split__text { color: var(--color-fg); max-width: var(--measure); }
.split__text > * + * { margin-top: 1rem; }
@media (min-width: 60rem) { .blk-split.has-media .split__inner { grid-template-columns: 6fr 5fr; gap: clamp(3rem, 6vw, 6rem); } .blk-split.has-media[data-media="start"] .split__inner { grid-template-columns: 5fr 6fr; } }

/* Cards: editorial, a rule on top instead of a box */
.card, .blk:not([data-tone="light"]) .card { border: 0; border-top: 1px solid var(--color-fg); border-radius: 0; background: transparent; overflow: visible; }
.card__media { margin-top: 1.25rem; }
.card__media img { aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 1.25rem 0 0; gap: .6rem; }
.card__title { font-size: var(--step-2); }
.card__text { color: var(--color-fg); max-width: var(--measure-narrow); }
.card__meta { font-size: var(--step--1); }
.card__icon { margin: 1.25rem 0 0; background: none; color: var(--color-accent); }
.blk-cards[data-kind="feature"] .card { border-top: 1px solid var(--color-line-strong); }
.blk-cards[data-kind="feature"] .card__title { font-size: var(--step-1); }
.blk-cards[data-kind="feature"] .card__body { padding-top: 1rem; }

/* Steps: numbers in the display face */
.step { padding-left: 0; padding-top: 3.75rem; border-top: 1px solid var(--color-line-strong); }
.step::before { content: counter(step, decimal-leading-zero); top: 1rem; width: auto; height: auto; border-radius: 0; background: none; color: var(--color-accent); font: var(--weight-display) var(--step-3)/1 var(--font-heading); font-variant-numeric: tabular-nums lining-nums; }
.blk-steps[data-layout="timeline"] .step::after { display: none; }
@media (min-width: 64rem) { .blk-steps[data-layout="list"] .step { padding-top: 3.75rem; } }

/* FAQ */
.faq-item__heading, h3.faq-item__question { font: var(--weight-display) var(--step-1)/1.3 var(--font-heading); }
.faq__list > .faq-item:first-child, .faq__list > .nwp-blocks > .nwp-b:first-child .faq-item { border-top-color: var(--color-fg); }
.faq-item__answer { color: var(--color-fg); }

/* Pricing */
.price, .blk:not([data-tone="light"]) .price { border: 0; border-top: 1px solid var(--color-fg); border-radius: 0; padding: 1.5rem 0 0; background: transparent; }
.price.is-highlight { border: 0; border-top: 3px solid var(--color-accent); box-shadow: none; }
.price__name { font-size: var(--step-1); }
.price__value { font: var(--weight-display) var(--step-3)/1.05 var(--font-heading); font-variant-numeric: tabular-nums lining-nums; }
.price__badge { border-radius: 999px; }
.pricing__note { text-align: start; }

/* CTA, contact */
.cta__title { font-size: var(--step-4); max-width: 18ch; }
.cta__text { font-size: var(--step-1); line-height: 1.45; }
.contact-details__item { display: flex; align-items: center; gap: .5rem; }
.contact-details__item a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 600; }
.contact-details__name { font-weight: 600; }
.contact__form { padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--color-surface); }

/* Testimonials */
.testimonial { border: 0; border-top: 1px solid var(--color-fg); border-radius: 0; background: transparent; padding: 1.5rem 0 0; }
.testimonial__quote p { font: var(--weight-display) var(--step-2)/1.3 var(--font-heading); }
.testimonial__quote p::before { display: none; }

/* Entry list filters as chips */
.filter-btn { min-height: 44px; border-color: var(--color-line-strong); font-weight: 500; }
.filter-btn[aria-pressed="true"] { border-color: var(--color-fg); background: var(--color-fg); color: var(--color-bg); }

/* Core blocks */
.nwp-quote { border-left: 0; padding-left: 0; }
.nwp-quote p { font: var(--weight-display) var(--step-3)/1.2 var(--font-heading); max-width: 24ch; }
.nwp-image img, .nwp-gallery img { border-radius: 0; }
.nwp-section { padding-block: calc(var(--space-section) * .6); }
.nwp-section__inner > * + *, .nwp-section__inner > .nwp-blocks > .nwp-b + .nwp-b { margin-top: 2rem; }
.nwp-section__inner > .blk + *, .nwp-section__inner > * + .blk, .nwp-section__inner > .nwp-blocks > .nwp-b + .nwp-b:has(> .blk) { margin-top: clamp(3rem, 6vw, 5rem); }
.nwp-table thead th { border-bottom-color: var(--color-fg); }

/* Forms */
.nwp-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .nwp-form select, .nwp-form textarea { min-height: 48px; border-color: var(--color-line-strong); background: var(--color-field); color: #13223a; }
.nwp-form-option { min-height: 44px; align-items: center; }
.nwp-form input[type="checkbox"], .nwp-form input[type="radio"] { width: 1.375rem; height: 1.375rem; margin: 0; accent-color: var(--color-accent); }
[data-tone="accent"] .nwp-form-wrap, .nwp-form-wrap { --nwp-form-error: #8c3a2b; }
[data-tone="dark"] .nwp-form-wrap { --nwp-form-error: #f2a594; }
.form-privacy { margin-top: 1rem; font-size: var(--step--1); color: var(--color-muted); }
.form-nojs { margin-top: 1rem; font-weight: 600; }
.form-nojs__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }

/* ----- 4. Child components ----- */

/* Passe-partout: the whole artwork on the mat, box size from width/height attributes (no layout shift) */
.passe { display: grid; place-items: center; padding: var(--passe-partout); background: var(--color-surface); }
.passe picture { display: contents; }
.passe img { width: 100%; height: auto; max-height: 75vh; object-fit: contain; filter: var(--shadow-art); }
.passe[data-size="s"] img { max-width: min(100%, var(--art-max-s)); }
.passe[data-size="m"] img { max-width: min(100%, var(--art-max-m)); }
[data-tone="accent"] .passe { background: #faf8f4; }

/* Work card (entry_list works, series, exhibitions) */
.work-card { position: relative; min-width: 0; }
.work-card .passe { position: relative; aspect-ratio: 1; padding: 0; }
.work-card .passe img { position: absolute; inset: 10%; width: 80%; height: 80%; max-width: none; max-height: none; object-fit: contain; }
.work-card .passe[data-size="s"] img { inset: 14%; width: 72%; height: 72%; }
.work-card__link { color: inherit; text-decoration: none; }
.work-card__link::after { content: ""; position: absolute; inset: 0; }
.work-card__link:focus-visible { outline: none; }
.work-card:has(:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.work-card__title { margin: .85rem 0 0; font-size: var(--step-1); line-height: 1.3; }
.work-card:hover .work-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.work-card__meta, .work-card__price { margin: .2rem 0 0; font-size: var(--step--1); color: var(--color-muted); }
.work-card__price { color: var(--color-fg); font-variant-numeric: tabular-nums; }
.work-card .passe img { transition: transform var(--motion-duration) var(--motion-ease); }
.work-card:hover .passe img { transform: scale(1.025); }
.blk-entry-list[data-collection="works"] .grid { row-gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 39.99rem) { .blk-entry-list[data-collection="works"] .grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; } }

/* Status (dot + text) */
.status { display: inline-flex; align-items: center; gap: .45em; margin: .2rem 0 0; font-size: var(--step--1); font-weight: 600; }
.status::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.status--available::before { background: var(--color-available); }
.status--sold::before { background: var(--color-sold); }
.status--reserved::before { background: transparent; box-shadow: inset 0 0 0 .275em var(--color-sold); border-radius: 0; transform: rotate(45deg) scale(.85); }
[data-tone="dark"] .status--available::before { background: #8fd19e; }
[data-tone="dark"] .status--sold::before { background: #f2a594; }

/* Art print card */
.print-card { position: relative; display: grid; gap: .5rem; align-content: start; }
.print-card__link { color: inherit; text-decoration: none; }
.print-card__link::after { content: ""; position: absolute; inset: 0; }
.print-card__link:focus-visible { outline: none; }
.print-card:has(:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.print-card__media { background: var(--color-surface); }
.print-card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.print-card__title { margin: .75rem 0 0; font-size: var(--step-2); }
.print-card:hover .print-card__title { text-decoration: underline; text-decoration-thickness: 1px; }
.print-card__text { margin: 0; color: var(--color-muted); max-width: var(--measure-narrow); }
.print-card__price { margin: 0; font: var(--weight-display) var(--step-1)/1.2 var(--font-heading); font-variant-numeric: tabular-nums lining-nums; }
.print-card__unit { font: 400 var(--step--1)/1.4 var(--font-body); color: var(--color-muted); }

/* Agenda: list with date badge */
.date-list, .cv { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-fg); }
.date-item { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: .5rem 1rem; padding-block: clamp(1.25rem, 3vw, 2rem); border-bottom: 1px solid var(--color-border); }
.date-badge { display: grid; align-content: start; gap: .1rem; white-space: normal; }
.date-badge__day { font: var(--weight-display) var(--step-3)/1 var(--font-heading); font-variant-numeric: tabular-nums lining-nums; }
.date-badge__month { font-size: var(--step--1); font-weight: 600; line-height: 1.35; }
.date-badge__year { font-size: var(--step--1); line-height: 1.35; color: var(--color-muted); }
.date-item__body { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.date-item__body > * { margin: 0; }
.date-item__kind, .date-card__kind { margin: 0; font-size: var(--step--1); font-weight: 600; color: var(--color-muted); }
.date-item__title { font-size: var(--step-2); }
.date-item__title a { color: inherit; text-decoration: none; }
.date-item__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.date-item__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: var(--step--1); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.date-item__fact { display: inline-flex; align-items: center; gap: .4rem; }
.date-item__fact .icon { width: 1.1em; height: 1.1em; }
.date-item.is-past .date-item__title { font-size: var(--step-1); }
.is-cancelled .date-item__title, .is-cancelled .date-card__title { text-decoration: line-through; text-decoration-thickness: 1px; }
.badge { justify-self: start; display: inline-block; margin: 0; padding: .15rem .6rem; border: 1px solid currentColor; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--color-sold); }
[data-tone="dark"] .badge { color: #f2a594; }
@media (min-width: 48rem) { .date-item { grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); } }

/* Agenda: cards with image */
.date-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-gap); margin: 0; padding: 0; list-style: none; }
.date-card { position: relative; display: grid; gap: .4rem; align-content: start; border-top: 1px solid var(--color-fg); padding-top: 1.25rem; }
.date-card > * { margin: 0; }
.date-card__link { display: grid; gap: .4rem; color: inherit; text-decoration: none; }
.date-card__link::after { content: ""; position: absolute; inset: 0; }
.date-card__link:focus-visible { outline: none; }
.date-card:has(:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.date-card__media { order: -1; margin-bottom: .75rem; background: var(--color-surface); }
.date-card__media:empty { display: none; }
.date-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.date-card__title { margin: 0; font-size: var(--step-2); }
.date-card:hover .date-card__title { text-decoration: underline; text-decoration-thickness: 1px; }
.date-card__date { font: var(--weight-display) var(--step-1)/1.25 var(--font-heading); }
.date-card__place { font-size: var(--step--1); color: var(--color-muted); }
@media (min-width: 48rem) { .date-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .date-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Agenda: compact (CV of exhibitions) */
.cv__item { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--color-border); }
.cv__year { font: var(--weight-display) var(--step-1)/1.3 var(--font-heading); font-variant-numeric: tabular-nums lining-nums; color: var(--color-muted); }
.cv__body { display: grid; gap: .15rem; min-width: 0; }
.cv__title { font: var(--weight-display) var(--step-1)/1.3 var(--font-heading); color: inherit; text-decoration: none; }
.cv__title:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.cv__meta { font-size: var(--step--1); color: var(--color-muted); }
@media (min-width: 64rem) {
  .blk-agenda[data-layout="compact"] > .container { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .blk-agenda[data-layout="compact"] .blk-head { grid-template-columns: none; margin: 0; }
  .blk-agenda[data-layout="compact"] .blk-agenda__empty, .blk-agenda[data-layout="compact"] .blk-foot { grid-column: 2; }
}
.blk-agenda__empty { display: grid; gap: .75rem; justify-items: start; max-width: var(--measure); padding: 1.5rem; background: var(--color-surface); border-left: 2px solid var(--color-accent); }
.blk-agenda__empty-text { margin: 0; font-size: var(--step-1); line-height: 1.45; }
.blk-foot { margin-top: 1.5rem; }

/* Detail pages (work, date, print) */
.detail { padding-block: 1rem clamp(3rem, 6vw, 6rem); }
.detail__inner { display: grid; gap: 2rem; }
.detail__inner > * { min-width: 0; }
.detail__text { display: grid; gap: 1rem; align-content: start; }
.detail__text > * { margin: 0; }
.detail__title { font-size: var(--step-4); max-width: 18ch; }
.detail--date .detail__title { font-size: var(--step-5); }
.detail__date { display: grid; gap: .15rem; font: var(--weight-display) var(--step-3)/1.15 var(--font-heading); font-variant-numeric: tabular-nums lining-nums; }
.detail__date time { white-space: normal; }
.detail__time { font-size: .7em; color: var(--color-muted); }
.detail__price { font: var(--weight-display) var(--step-3)/1.1 var(--font-heading); font-variant-numeric: tabular-nums lining-nums; }
.detail__unit { font: 400 var(--step--1)/1.4 var(--font-body); color: var(--color-muted); }
.detail__note { font-size: var(--step--1); color: var(--color-muted); max-width: var(--measure-narrow); }
.detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.detail__description { color: var(--color-fg); }
.detail__media--photo img { width: 100%; }
.detail--work .detail__media .passe, .detail--print .detail__media .passe { min-height: 16rem; }
@media (min-width: 64rem) {
  .detail__inner { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .detail--work .detail__media, .detail--print .detail__media { position: sticky; top: 1.5rem; }
  .detail--date .detail__inner:has(.detail__media) { grid-template-columns: 7fr 5fr; }
}
.data-list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1.5rem; padding-block: 1rem; border-block: 1px solid var(--color-border); font-variant-numeric: tabular-nums; }
.data-list dt { padding-top: .15em; font-size: var(--step--1); color: var(--color-muted); }
.data-list dd { margin: 0; }
.data-list__price { font: var(--weight-display) var(--step-2)/1.2 var(--font-heading); }
.data-list--program { border-top-color: var(--color-fg); }
.notice { display: grid; gap: .25rem; padding: 1rem 1.25rem; background: var(--color-surface); border-left: 2px solid var(--color-fg); }
.notice > * { margin: 0; }
.notice--alert { border-left-color: var(--color-sold); }
.notice__title { font-weight: 600; }

/* Request form on work pages: one button that opens the form */
.request__summary { list-style: none; }
.request__summary::-webkit-details-marker { display: none; }
.request[open] .request__summary { background: var(--color-accent-hover); }
.request__body { margin-top: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--color-surface); }

/* Programme, «inclus» */
.program { display: grid; gap: 2.5rem; }
.program__col > :last-child { margin-bottom: 0; }
@media (min-width: 64rem) { .program { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); } }
.checklist { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .9rem; height: .5rem; border-left: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: rotate(-45deg); }

/* Motifs of an art print */
.motifs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; margin: 0; padding: 0; list-style: none; }
.motif > * { margin: 0; }
.motif__media { background: var(--color-bg); }
.motif__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.motif__name { margin-top: .5rem; font-size: var(--step--1); }
.motif__number { font-weight: 600; font-variant-numeric: tabular-nums; }
.motif__status { font-size: var(--step--1); font-weight: 600; color: var(--color-sold); }
.motif__price { font-size: var(--step--1); font-variant-numeric: tabular-nums lining-nums; }
/* «Ajouter» per motif (shop.js disables the button when the motif is sold out → label «épuisé» instead). */
.motif__buy { display: grid; gap: .35rem; justify-items: start; margin-top: .5rem; }
.motif__buy .motif__status { display: none; }
.motif__buy:has(.motif__add:disabled) .motif__add { display: none; }
.motif__buy:has(.motif__add:disabled) .motif__status { display: block; }
.motif:has(.motif__add:disabled) .motif__media { opacity: .55; }
.motif__added { font-size: var(--step--1); }
/* simple shop button (core 0.20): shop.js replaces the class of its stock status, so it is selected by attribute –
   read by screen readers (aria-describedby), visible stays the theme label .motif__status; no outline flash */
.motif__buy [data-shop-add-stock] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.motif__add.nwp-shop-added-flash { outline: none; }
.motif__added a, .buy__added a { font-weight: 600; }
@media (min-width: 48rem) { .motifs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 80rem) { .motifs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Further views of a work, photo grids (gallery block, recap) */
.views__list { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.views__item { width: min(100%, 14rem); }
.views .passe, .views__item .passe { padding: 1rem; }
.views__link, .photo-grid__link { display: block; cursor: zoom-in; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.photo-grid__item img { width: 100%; height: auto; }
@media (min-width: 40rem) { .photo-grid, .photo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .photo-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .photo-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow > .container:has(> .photo-grid), .flow > .nwp-blocks > .nwp-b > .container:has(> .photo-grid) { margin-block: 2rem; }

/* Video file */
.video-file { display: grid; gap: .75rem; max-width: 60rem; margin: 0; }
.video-file__player { width: 100%; background: #13223a; }
.video-file__caption { font-size: var(--step--1); color: var(--color-muted); }
.video-file__transcript { max-width: var(--measure); margin-top: 1rem; border-block: 1px solid var(--color-border); }
.video-file__transcript summary { display: flex; align-items: center; min-height: 3rem; font-weight: 600; cursor: pointer; }
.video-file__transcript p { padding-bottom: 1rem; }

/* Form section (date, print) */
.form-section { scroll-margin-top: 1rem; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.form-section__inner { display: grid; gap: 2rem; }
.form-section__head { display: grid; gap: .75rem; align-content: start; }
.form-section__head > * { margin: 0; }
.form-section__form { max-width: 40rem; }
@media (min-width: 64rem) { .form-section__inner { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }

/* Large view (theme.js) */
.lightbox { width: min(96vw, 80rem); max-width: none; max-height: 96vh; padding: 3.5rem 1rem 1rem; border: 0; background: #faf8f4; color: #13223a; box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgb(19 34 58 / .88); }
.lightbox__figure { margin: 0; }
.lightbox__img { width: auto; max-height: 80vh; margin-inline: auto; object-fit: contain; }
.lightbox__count { margin-top: .5rem; text-align: center; font-size: var(--step--1); color: #4b5566; }
.lightbox__btn { position: absolute; display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #7a7568; border-radius: var(--radius); background: #faf8f4; color: #13223a; cursor: pointer; }
.lightbox__close { top: .5rem; right: .5rem; }
.lightbox__prev { top: 50%; left: .5rem; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: .5rem; transform: translateY(-50%); }
html.has-lightbox { overflow: hidden; }

/* ----- 5. Footer (dark tokens, see tones) ----- */
.site-footer { border-top: 0; background: var(--color-bg); color: var(--color-fg); padding-bottom: 2rem; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__brand { font: 600 1rem/1.4 var(--font-body); letter-spacing: .08em; }
.site-footer__text { color: var(--color-muted); max-width: 32ch; }
.site-footer__title { font: 600 var(--step--1)/1.4 var(--font-body); letter-spacing: .02em; text-transform: none; color: var(--color-muted); }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer address, .site-footer .contact-details__hours { color: var(--color-muted); }
.site-footer .contact-details__item a { min-height: 44px; }
@media (min-width: 64rem) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
  .site-footer__about { grid-column: 1; grid-row: 1; }
  .site-footer__contact { grid-column: 1; grid-row: 2; }
  .site-footer__col:not(.site-footer__contact) { grid-row: 1 / span 2; }
}
.site-footer__bottom { border-top: 1px solid var(--color-border); padding-top: 1.5rem; font-size: var(--step--1); }

@media print {
  .breadcrumbs, .request, .form-section, .lightbox, .back, .cart-toast { display: none !important; }
  body { background: #fff; }
  .passe { background: none; padding: 0; }
}

/* ------------------------------------------------------------------ shop (plugin «shop», shop.css + tokens) */
:root {
  --nwp-shop-accent: var(--color-accent);
  --nwp-shop-line: var(--color-border);
  --nwp-shop-muted: var(--color-muted);
  --nwp-shop-surface: var(--color-field);
  --nwp-shop-soft: var(--color-accent-surface);
  --nwp-shop-danger: var(--color-sold);
  --nwp-shop-ok: var(--color-available);
  --nwp-shop-radius: var(--radius);
}
.cart-link { position: relative; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius); color: var(--color-fg); }
.cart-link:hover { background: var(--color-surface); }
.cart-link__count {
  position: absolute; top: .1rem; right: .05rem; min-width: 1.25rem; height: 1.25rem; padding: 0 .3rem; border-radius: 1rem;
  background: var(--color-accent); color: var(--color-on-accent); font: 700 .75rem/1.25rem var(--font-body); text-align: center;
  font-variant-numeric: tabular-nums;
}
.cart-link__count[hidden] { display: none; }
/* Cart toast (theme.js): bottom of the screen after «add to cart», replaces the small notice under the button.
   The inline notices stay as fallback when theme.js does not run (no .has-cart-toast). */
.has-cart-toast .motif__added, .has-cart-toast .buy__added { display: none !important; }
.cart-toast {
  position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem .75rem;
  padding: .875rem .875rem .875rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius);
  background: var(--color-bg); color: var(--color-fg); box-shadow: var(--shadow);
  animation: toast-in .25s var(--motion-ease);
}
.cart-toast[hidden] { display: none; }
.cart-toast.is-leaving { opacity: 0; transform: translateY(.5rem); transition: opacity .2s, transform .2s; }
.cart-toast__icon { flex: none; width: 1.5rem; height: 1.5rem; color: var(--color-available); }
.cart-toast__text { margin: 0; font-size: var(--step--1); line-height: 1.4; overflow-wrap: anywhere; }
.cart-toast__title { display: block; font-weight: 600; }
.cart-toast__title[hidden] { display: none; }
.cart-toast__link { grid-column: 2; justify-self: start; }
.cart-toast__close {
  grid-column: 3; grid-row: 1; align-self: start; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  margin: -.5rem -.5rem 0 0; padding: 0; border: 0; border-radius: var(--radius); background: none; color: var(--color-muted); cursor: pointer;
}
.cart-toast__close:hover { background: var(--color-surface); color: var(--color-fg); }
@media (min-width: 48rem) {
  .cart-toast { left: auto; right: 1.5rem; bottom: 1.5rem; width: 26rem; }
}
@keyframes toast-in { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
/* the button that was used confirms with a check for a moment */
.motif__add.is-added::before, .buy .is-added::before { content: "✓" / ""; margin-right: .4em; }
/* Add to cart without motifs (gift voucher, block «In den Warenkorb») */
.buy { display: grid; gap: .75rem; margin: 1.5rem 0; max-width: 28rem; }
.buy__price { margin: 0; font: var(--weight-display) var(--step-3)/1.1 var(--font-heading); font-variant-numeric: tabular-nums lining-nums; }
.detail__text .buy__price { display: none; } /* the product page shows the price above */
.buy__row { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
.buy__field { display: grid; gap: .3rem; }
.buy__field label { font-size: var(--step--1); font-weight: 600; }
.buy__field input, .buy__field select { min-height: 2.75rem; padding: .4rem .6rem; border: 1px solid var(--color-line-strong); border-radius: var(--radius); background: var(--color-field); color: var(--color-fg); font: inherit; }
.buy__field--qty input { width: 5.5rem; }
.buy__stock, .buy__added, .buy__note { margin: 0; font-size: var(--step--1); }
.buy__stock:empty { display: none; }
.detail__price--request { font-size: var(--step-2); }
/* Shop pages: cart, checkout and order summary sit in the content column */
.nwp-shop-cart, .nwp-shop-checkout, .nwp-shop-order { font-size: 1rem; }
/* Since core 0.42 shop.css sits in @layer plugins, so the basis rule `a { color }` beats its own link colours: the
   primary button as a link («Passer à la caisse») would turn accent on accent. The theme sets them again. */
a.nwp-shop-button--primary, a.nwp-shop-button--primary:visited, a.nwp-shop-button--primary:hover { color: var(--color-on-accent); }
.nwp-shop-card-link, .nwp-shop-badge { color: inherit; }
.nwp-shop-checkout-form legend { font: var(--weight-display) var(--step-1)/1.2 var(--font-heading); }


/* ------------------------------------------------------------------ 6. Audit 06.11.2026
 * Header that comes back on scrolling up, compact desktop nav, call button on small screens, single card across,
 * short page cross-fade, hover zoom only with motion, work page extras (large view, previous/next), works filter.
 */
@media (prefers-reduced-motion: no-preference) {
  /* page changes: a short cross-fade only – 600 ms made every page look faded in */
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; animation-timing-function: ease-out; }
}
.site-header { position: sticky; top: var(--nwp-inset-top, 0px); transition: transform .28s var(--motion-ease), box-shadow .28s var(--motion-ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-stuck { box-shadow: 0 6px 18px -14px rgb(19 34 58 / .45); }
:target, .form-section, #demande { scroll-margin-top: 7.5rem; }
@media (min-width: 64rem) {
  .detail--work .detail__media, .detail--print .detail__media { top: 7.5rem; }
}
/* desktop nav 64–80rem: one line, never wraps under the logo */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .site-header__inner { gap: 1rem; }
  .brand__logo img, img.brand__logo { width: 11.5rem; }
  .site-nav__list { flex-wrap: nowrap; }
  .site-nav__link { padding-inline: .45rem; font-size: .95rem; }
  .site-nav__toggle { margin-left: -.35rem; }
}
.site-nav__sub { min-width: 17rem; }
.site-nav__sublink { white-space: nowrap; }
/* call button next to the cart (small screens) */
.tel--header { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; min-height: 0; border-radius: var(--radius); color: var(--color-fg); }
.tel--header .nowrap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tel--header:hover { background: var(--color-surface); }
@media (min-width: 64rem) { .tel--header { display: none; } }
/* cards: a single card spans the row (image beside the text) */
.cards__grid > :only-child { grid-column: 1 / -1; }
@media (min-width: 48rem) {
  .cards__grid > .card.has-media:only-child { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .cards__grid > .card.has-media:only-child .card__media { margin-top: 1.25rem; }
  .cards__grid > .card.has-media:only-child .card__title { font-size: var(--step-3); }
}
/* the cart badge pops when an item is added (theme.js watches the number) */
@keyframes badge-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.cart-link.is-bumped .cart-link__count { animation: badge-pop .45s var(--motion-ease); }
@media (prefers-reduced-motion: reduce) {
  .work-card:hover .passe img { transform: none; }
  .cart-toast, .cart-toast.is-leaving { animation: none; transition: none; transform: none; }
  .site-header { transition: none; }
}
/* work page: large view on the main image, previous/next */
.detail__zoom { display: block; cursor: zoom-in; color: inherit; }
.work-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; border-top: 1px solid var(--color-border); padding-top: 1.25rem; }
.work-nav a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: inherit; font-weight: 600; }
.work-nav__next { margin-left: auto; text-align: end; }
/* works list: availability toggle and live count */
.entry-list__filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.filter-btn--toggle[aria-pressed="true"] { border-color: var(--color-available); background: var(--color-available); color: #fff; }
.entry-list__count { margin: 1rem 0 0; font-size: var(--step--1); color: var(--color-muted); }
.entry-list__count:empty { display: none; }
.date-badge__prefix { font-size: var(--step--1); font-weight: 600; line-height: 1.35; color: var(--color-muted); }
.entry-list__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 clamp(2rem, 4vw, 2.75rem); }
/* directly under the technique filter: one group, the list keeps its distance */
.entry-list__filters:not([hidden]) + .entry-list__tools { margin-top: -.75rem; }
.entry-list__tools[hidden] { display: none; }
.entry-list__tools .entry-list__count { margin: 0; }
/* small screens: logo · call · cart · menu (icon button), nothing shrinks */
.tel--header, .cart-link, .nav-toggle { flex-shrink: 0; }
@media (max-width: 63.99rem) {
  .site-header__inner { gap: .35rem; }
  .brand { margin-right: auto; }
  .tel--header { order: 1; }
  .site-header__inner > .cart-link { order: 2; }
  .nav-toggle { order: 3; margin-left: .25rem; }
  .site-menu { order: 4; }
}
@media (max-width: 29.99rem) {
  .brand__logo img, img.brand__logo { width: 10.5rem; }
  .nav-toggle { width: 2.75rem; justify-content: center; padding-inline: 0; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* open mobile menu: language switch and «Contact» first, then the pages */
@media (max-width: 63.99rem) {
  .site-menu:target, .site-menu.is-open { display: flex; flex-direction: column; }
  .has-js .site-menu:target:not(.is-open) { display: none; }
  .site-menu__tools { order: -1; margin: 0 0 .5rem; padding: 0 0 1rem; border-top: 0; border-bottom: 1px solid var(--color-border); }
}
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.not-found__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: inherit; }
