/* De Schildersezel — public stylesheet.
 *
 * Built from Visual Guides 02 (colour), 03 (typography), 11 (navigation) and
 * 12 (buttons), with layout from Claude.md §12.
 *
 * Deliberately absent, because the brand guides forbid them: gradients, drop shadows,
 * rounded corners, blur/glass surfaces, marquees, parallax, cursor effects, paper
 * texture, and any animation beyond the official logo.
 */

@import url('tokens.css');
@import url('fonts.css');

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--size-body);
    line-height: var(--leading-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img, picture, svg, video {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

a { color: inherit; text-decoration: none; }

/* ==========================================================================
   Typography
   ========================================================================== */

.display-1, .display-2, h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: var(--tracking-display);
    line-height: var(--leading-display);
    /* Sentence case for editorial language. Uppercase is reserved for short
     * navigation items and labels; never set long passages in capitals. */

    /* Even rag. At display sizes a single trailing word on its own line is the
     * most visible typesetting failure on the page, and section headings here are
     * CMS text of unpredictable length. Ignored where unsupported. */
    text-wrap: balance;

    /* Never hyphenate headings: it split the hero into "GEWOR-TELD" and
       "CHRIS-TELIJK" at widths where the words fit perfectly well on their own
       line. break-word only steps in for a word longer than the whole line. */
    overflow-wrap: break-word;
    hyphens: manual;
}

.display-1 { font-size: var(--size-display-1); }
.display-2 { font-size: var(--size-display-2); line-height: 1.12; }

h1 { font-size: var(--size-display-2); }
h2 { font-size: var(--size-heading-1); line-height: var(--leading-heading); }
h3 { font-size: var(--size-heading-2); line-height: 1.25; }

/* pretty only guards the last line against an orphan; it leaves the rest of the
 * paragraph's rag alone, which is what long-form body copy wants. balance would
 * re-flow every line and is wrong at this length. */
p { max-width: var(--measure); text-wrap: pretty; }

.lede {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.15rem + 1.55vw, 2.125rem);   /* 24 -> 34 */
    line-height: 1.38;
    letter-spacing: var(--tracking-display);
    max-width: 22ch;
    text-wrap: balance;
}

/* The recurring editorial label: small, uppercase, wide-tracked, muted. */
.eyebrow {
    font-family: var(--font-body);
    font-size: var(--size-caption);
    font-weight: 500;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: var(--leading-caption);
}

.caption, .metadata {
    font-size: var(--size-caption);
    line-height: var(--leading-caption);
    color: var(--text-muted);
}

.text-muted { color: var(--text-muted); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-3); }
.prose h2, .prose h3 { margin-top: var(--s-6); }
.prose a { text-decoration: underline; text-underline-offset: 0.2em; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote {
    border-left: 1px solid var(--color-stone);
    padding-left: var(--s-3);
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.45;
}
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95em; }
.prose th, .prose td {
    border-bottom: 1px solid var(--line);
    padding: 0.6em 0.8em 0.6em 0;
    text-align: left;
    vertical-align: top;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--page-gutter);
}

.section { padding-block: var(--section-space); }
.section--small { padding-block: var(--small-section-space); }
.section--linen { background: var(--bg-soft); }

/* 12 columns from 1280px, 8 from 768px, a single reading column below that. */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--column-gap);
}
@media (min-width: 768px)  { .grid { grid-template-columns: repeat(8, 1fr); } }
@media (min-width: 1280px) { .grid { grid-template-columns: repeat(12, 1fr); } }

.section-head {
    display: flex;
    flex-wrap: wrap;
    /* flex-end, not baseline. The left side is a block containing an eyebrow above
     * a display heading, so its FIRST baseline is the 12px eyebrow's — baseline
     * alignment pinned the link up beside the label with the heading hanging below
     * it. Aligning the bottom edges sits the link with the heading, which is the
     * pairing the eye expects. */
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-3) var(--s-6);
    margin-bottom: var(--s-8);
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   Accessibility primitives
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--page-gutter);
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--color-moss);
    color: var(--text-on-moss);
    font-size: var(--size-nav);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--s-2); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: var(--focus-width) solid var(--color-moss);
    outline-offset: var(--focus-offset);
}
:focus:not(:focus-visible) { outline: none; }


/* ==========================================================================
   Header — one component: logo square, navigation, bag, menu
   ==========================================================================
   Fixed on every page. The logo square is the bar's full height, so it anchors
   the header instead of hanging below it, and both shrink together.

   Two states:
     top       homepage: transparent over the hero, light text
               interior: bone, dark text, a hairline
     compact   after ~64px of scroll, on every page: lower, translucent olive with
               a restrained blur, light text. Reversible: back near the top, the top
               state returns.
   Where backdrop-filter is unsupported the compact bar is solid olive, so the text
   contrast never depends on the blur.
   ========================================================================== */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    height: var(--header-h);
    background: rgba(245, 241, 232, 0.97);
    color: var(--text);
    border-bottom: 1px solid var(--line);
}
.site-header.is-ready {
    transition: height var(--transition-med),
                background-color var(--transition-med),
                color var(--transition-med),
                border-color var(--transition-med);
}
.site-header.is-compact { --header-h: var(--header-h-compact); }

/* Interior pages reserve the header's (top-state) height so nothing starts
   underneath it. The value does not change on scroll: the bar shrinks over the
   page, it never reflows it. */
.has-fixed-header { padding-top: var(--header-h-top); }
.has-hero { padding-top: 0; }

/* Homepage, top: transparent over the full-bleed hero. A faint top shade keeps the
   links legible on a light patch of photograph without dimming the work. */
.site-header--over-hero {
    background: transparent;
    color: var(--text-on-moss);
    border-bottom-color: transparent;
}
.site-header--over-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: calc(var(--header-h-top) + 48px);
    background: linear-gradient(to bottom, rgba(20, 24, 18, 0.42), rgba(20, 24, 18, 0));
    pointer-events: none;
    z-index: -1;
    transition: opacity var(--transition-med);
}

/* Compact: translucent olive with a restrained blur, every page. */
.site-header.is-compact {
    background: var(--color-moss);
    color: var(--text-on-moss);
    border-bottom-color: rgba(245, 241, 232, 0.12);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header.is-compact {
        background: rgba(69, 81, 63, 0.9);
        -webkit-backdrop-filter: blur(14px) saturate(1.15);
        backdrop-filter: blur(14px) saturate(1.15);
    }
}
.site-header.is-compact::before { opacity: 0; }

.site-header--over-hero :focus-visible,
.site-header.is-compact :focus-visible,
.on-moss :focus-visible {
    outline-color: var(--text-on-moss);
}

/* ---- brand: the logo square and its pause control ---------------------- */

.site-header__brand {
    position: relative;
    flex: 0 0 auto;
    width: var(--header-h);
    height: var(--header-h);
}
.site-header.is-ready .site-header__brand {
    transition: width var(--transition-med), height var(--transition-med);
}

/* The square is the film's own olive (#505D4B), so the opaque video ground and the
   square are one surface: no blend modes, no fake transparency, never recoloured. */
.logo-square {
    position: absolute;
    inset: 0;
    display: block;
    background: var(--color-moss);
    overflow: hidden;
}
.logo-square__still,
.logo-square__film {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* The complete square frame, never cropped: contain on a square box. */
    object-fit: contain;
}
.logo-square__film {
    opacity: 0;
    transition: opacity var(--transition-med);
}
.logo-square__film.is-playing { opacity: 1; }

/* Discreet pause/resume, outside the home link: quiet until hovered or focused,
   always visible on touch where there is no hover. */
.logo-motion-toggle {
    position: absolute;
    right: 2px;
    bottom: 2px;
    z-index: 2;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    padding: 0;
    background: rgba(38, 40, 36, 0.35);
    border: 0;
    color: var(--text-on-moss);
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-fast), background-color var(--transition-fast);
}
.site-header__brand:hover .logo-motion-toggle,
.logo-motion-toggle:focus-visible,
.logo-motion-toggle.is-paused { opacity: 1; }
.logo-motion-toggle:hover { background: rgba(38, 40, 36, 0.6); }
.logo-motion-toggle:focus-visible {
    outline: var(--focus-width) solid var(--text-on-moss);
    outline-offset: -3px;
    background: rgba(38, 40, 36, 0.7);
}
@media (hover: none) { .logo-motion-toggle { opacity: 0.7; } }
@media (max-width: 767px) { .logo-motion-toggle { width: 20px; height: 20px; right: 1px; bottom: 1px; } }

/* Pause glyph: two bars. Paused: a play triangle. Pure CSS, no icon font. */
.logo-motion-toggle__icon {
    width: 8px;
    height: 10px;
    border-left: 2px solid currentColor;
    border-right: 2px solid currentColor;
}
.logo-motion-toggle.is-paused .logo-motion-toggle__icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent currentColor;
}

/* ---- the bar -------------------------------------------------------------- */

.header-bar {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--nav-gap);
    min-width: 0;
    padding-inline: var(--page-gutter);
}

.site-nav { display: none; }
@media (min-width: 1024px) {
    .site-nav {
        display: flex;
        align-items: center;
        gap: var(--nav-gap);
    }
}

/* Sentence case. No icons beside categories. Vertically centred on the bar. */
.site-nav a,
.header-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: var(--tap-target);
    font-size: var(--size-nav);
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: currentColor;
    transition: opacity var(--transition-fast);
}

/* Hover: a fine underline drawn from the left. Active: the underline stays. */
.site-nav a::after,
.header-action::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 10px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}
.site-nav a:hover::after,
.header-action:hover::after,
.site-nav a[aria-current="page"]::after,
.header-bag[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a:not([aria-current]):hover { opacity: 0.82; }

.header-action {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    font-size: var(--size-nav);
}
.header-bag__count { font-variant-numeric: tabular-nums; margin-left: 0.25em; }

.menu-toggle { gap: 0.6rem; }
.menu-toggle::after { display: none; }
.menu-toggle__bars {
    position: relative;
    width: 18px;
    height: 1px;
    background: currentColor;
}
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 1px;
    background: currentColor;
}
.menu-toggle__bars::before { top: -5px; }
.menu-toggle__bars::after { top: 5px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* ==========================================================================
   Mobile menu — full-screen moss field
   ========================================================================== */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    flex-direction: column;
    background: var(--color-moss);
    color: var(--text-on-moss);
    padding: 0 var(--page-gutter) var(--page-gutter);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--transition-med), visibility var(--transition-med);
}
/* Visible at once on opening (only the opacity fades), so focus can move into it
   immediately; on closing, visibility waits for the fade. */
.mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity var(--transition-med), visibility 0s;
}
.mobile-menu :focus-visible { outline-color: var(--text-on-moss); }

/* Set on <body> while the menu is open so the page behind cannot scroll. */
.menu-open { overflow: hidden; }

.mobile-menu__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h-top);
    margin-bottom: var(--s-4);
    border-bottom: 1px solid var(--line-on-moss);
}
.mobile-menu .mobile-menu__brand {
    font-family: var(--font-display);
    font-size: 1.125rem;
}

.mobile-menu nav a {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem);
    line-height: 1.3;
    padding-block: 0.35em;
    border-bottom: 1px solid var(--line-on-moss);
    transform: translateY(6px);
    opacity: 0;
    transition: transform var(--transition-med), opacity var(--transition-med),
                padding-left var(--transition-fast);
}
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 30ms; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 60ms; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 90ms; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 120ms; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: 150ms; }
.mobile-menu nav a[aria-current="page"] { padding-left: 0.6em; }
.mobile-menu nav a[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 0.35em;
    height: 1px;
    margin: 0 0.3em 0.3em -0.6em;
    background: currentColor;
    vertical-align: middle;
}
.mobile-menu .menu-secondary {
    margin-top: var(--s-6);
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-1) var(--s-4);
}
.mobile-menu .menu-secondary a {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap-target);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--line-on-moss);
}
.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: var(--tap-target);
    min-width: var(--tap-target);
    padding: 0;
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    font-size: var(--size-nav);
    letter-spacing: 0.02em;
    cursor: pointer;
}
.mobile-menu-close__x {
    position: relative;
    width: 16px;
    height: 16px;
}
.mobile-menu-close__x::before,
.mobile-menu-close__x::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 1px;
    background: currentColor;
    transform: rotate(45deg);
}
.mobile-menu-close__x::after { transform: rotate(-45deg); }

/* ==========================================================================
   Buttons and actions — Visual Guide 12
   ==========================================================================
   Four levels of emphasis. One primary action per view.
   Radius 0, 1px border, uppercase, centred, tracking 0.08-0.12em.
   Never rounded, never gradient, never shadowed.
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--button-height-touch);
    padding-inline: var(--button-padding-x);
    border: var(--border-width) solid var(--color-moss);
    border-radius: var(--radius);
    background: var(--color-moss);
    color: var(--text-on-moss);
    font-family: var(--font-body);
    font-size: var(--size-caption);
    font-weight: 500;
    letter-spacing: var(--tracking-button);
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast),
                border-color var(--transition-fast);
}
@media (min-width: 768px) { .btn { min-height: var(--button-height); } }

.btn:hover { background: var(--color-moss-deep); border-color: var(--color-moss-deep); }
.btn:focus-visible {
    outline: var(--focus-width) solid var(--color-moss);
    outline-offset: var(--focus-offset);
}
.btn[disabled], .btn.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.btn--secondary {
    background: transparent;
    color: var(--color-moss);
    border-color: var(--color-moss);
}
.btn--secondary:hover {
    background: var(--color-moss);
    color: var(--text-on-moss);
}

.btn--on-moss {
    background: var(--text-on-moss);
    color: var(--color-moss);
    border-color: var(--text-on-moss);
}
.btn--on-moss:hover { background: transparent; color: var(--text-on-moss); }

.btn--block { width: 100%; }

/* Text link: subtle navigation, communicates curiosity.
 *
 * The rule must hug the words. min-height on the element itself put a 44px box
 * around a 20px line box and then drew border-bottom at the bottom of THAT, so the
 * underline floated ~12px beneath the text on every "Naar de winkel →" on the site.
 * The visible link is now its natural size and the tap target is an out-of-flow
 * overlay, so the two requirements stop fighting each other. */
.link-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--size-nav);
    letter-spacing: 0.04em;
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

/* Absolutely positioned, so it is not a flex item and does not disturb `gap`.
 * Centred on the link, it carries the 44px target of Claude.md §13. */
.link-arrow::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 100%;
    min-height: var(--tap-target);
    transform: translateY(-50%);
}

.link-arrow:hover { gap: 0.85em; color: var(--color-moss); }
.on-moss .link-arrow:hover { color: var(--text-on-moss); }

/* Quiet acquisition: reserved for serious interest, deliberately low emphasis. */
.link-quiet {
    display: inline-block;
    font-size: var(--size-nav);
    color: var(--text-muted);
    border-bottom: 1px solid var(--color-stone);
    padding-bottom: 2px;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.link-quiet:hover { color: var(--text); border-color: var(--text); }

.action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2) var(--s-3);
}
@media (max-width: 767px) {
    /* Mobile stacks actions full-width — Guide 12, responsive translation. */
    .action-row { flex-direction: column; align-items: stretch; }
    .action-row .btn { width: 100%; }
}

/* ==========================================================================
   Artwork presentation
   ==========================================================================
   object-fit: contain everywhere. An artwork is never cropped, never given a
   forced aspect ratio, never placed on a white product card, and never shown
   against a decorative background or a simulated interior.
   ========================================================================== */

.artwork { display: block; }

.artwork__frame {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    background: none;
}

.artwork__frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-med);
}
/* Maximum 1.5% growth on hover. */
@media (hover: hover) {
    .artwork:hover .artwork__frame img { transform: scale(1.015); }
}

/* Hover preview layer (main.js). It lies exactly over the cover image and is
   contain-fitted inside it, so an alternate of any proportion appears within the
   cover's box — the card, its title and its price never move. */
.artwork__alt {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    object-position: center bottom;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms var(--ease-quiet), transform var(--transition-med) !important;
}
.section--linen .artwork__alt,
.section--linen.artwork__alt { background: var(--bg-soft); }
.artwork__alt.is-shown { opacity: 1; }

.artwork__meta { margin-top: var(--s-2); }

.artwork__title {
    font-family: var(--font-display);
    font-size: var(--size-heading-2);
    line-height: 1.25;
    display: inline;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;
    transition: background-size var(--transition-med);
}
.artwork:hover .artwork__title,
.artwork:focus-visible .artwork__title { background-size: 100% 1px; }

.artwork__artist,
.artwork__price {
    display: block;
    font-size: var(--size-caption);
    line-height: var(--leading-caption);
    color: var(--text-muted);
}
.artwork__price {
    margin-top: 0.25em;
    color: var(--text);
    /* Inter's default figures are proportional, so prices stacked down a gallery
     * column sat on ragged left edges and digits shifted width between works.
     * Tabular figures line the column up and stop the shift. */
    font-variant-numeric: tabular-nums;
}

.artwork__status {
    display: inline-block;
    margin-top: 0.4em;
    font-size: var(--size-caption);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Placeholder shown while real photography is pending. Quiet, never decorative. */
.media-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--bg-soft);
    border: 1px solid var(--line-soft);
    color: var(--text-muted);
    font-size: var(--size-caption);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    text-align: center;
    padding: var(--s-2);
}

/* ==========================================================================
   Listing wall — shop, archive, artist, article, project, card, course
   ==========================================================================
   Nine templates place artwork cards inside .gallery-wall and nothing styled it,
   so every listing on the site — including the shop and the full archive — stacked
   into a single column the width of the container. The cards themselves were fine;
   there was simply no grid around them.

   auto-fit rather than a fixed count: the wall holds anywhere from one surviving
   available work to the whole archive, and a hard 3-up leaves a lone work stranded
   at a third of the page.
   ========================================================================== */

.gallery-wall {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8) var(--column-gap);
    align-items: start;
}
@media (min-width: 768px) {
    .gallery-wall { grid-template-columns: repeat(2, 1fr); gap: var(--s-10) var(--column-gap); }
}
@media (min-width: 1280px) {
    .gallery-wall { grid-template-columns: repeat(3, 1fr); gap: var(--s-12) var(--column-gap); }
}

/* ==========================================================================
   Breadcrumb — Claude.md §15, on every page below the top level
   ========================================================================== */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5em;
    font-size: var(--size-caption);
    letter-spacing: 0.02em;
    color: var(--text-muted);
}
.breadcrumb a { border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--color-moss); border-bottom-color: currentColor; }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ==========================================================================
   Artwork detail page
   ==========================================================================
   None of this page existed in CSS. Its two panels are children of .grid, so with
   no grid-column of their own each took a single one of the twelve columns and the
   whole page rendered as two ~110px strips — the title breaking one word per line,
   the enquiry button four words tall. This is where every click from a listing
   lands and where the enquiry is made, so it is the page that could least afford it.

   The work leads at 7 columns; the facts follow in 4 and stay in view while the
   viewer scrolls the three-view set (Visual Guide 08).
   ========================================================================== */

.artwork-detail { row-gap: var(--s-8); }

.artwork-detail__media { grid-column: 1 / -1; min-width: 0; }
.artwork-detail__info  { grid-column: 1 / -1; min-width: 0; }

@media (min-width: 768px) {
    .artwork-detail__media { grid-column: 1 / 6; }
    .artwork-detail__info  { grid-column: 6 / -1; }
}
@media (min-width: 1280px) {
    .artwork-detail__media { grid-column: 1 / 8; }
    .artwork-detail__info  { grid-column: 9 / 13; }

    /* Sticky only where there is room for it: below this the info panel sits under
       the work and sticking it would pin it over the next section. */
    .artwork-detail__info {
        position: sticky;
        top: calc(var(--header-h-compact) + var(--s-4));
        align-self: start;
    }
}

/* Each view is its own figure. contain and the true ratio still hold here — this
   is documentation of the work, not a crop of it (Claude.md §5.3). */
.artwork-view { margin: 0; }
.artwork-view + .artwork-view { margin-top: var(--s-8); }
.artwork-view img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.artwork-view figcaption {
    margin-top: var(--s-2);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
}

.artwork-detail__title { margin-top: var(--s-2); }
.artwork-detail__info .eyebrow a { border-bottom: 1px solid currentColor; }

/* Facts, set as a two-column definition list on anything but a phone. */
.spec-list {
    margin-top: var(--s-5);
    padding-top: var(--s-3);
    border-top: 1px solid var(--line);
    font-size: var(--size-caption);
    line-height: var(--leading-caption);
}
.spec-list dt {
    color: var(--text-muted);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
}
.spec-list dd {
    margin: 0 0 var(--s-2);
    color: var(--text);
    font-variant-numeric: tabular-nums;   /* dimensions line up down the column */
}
.spec-list dd:last-child { margin-bottom: 0; }

@media (min-width: 480px) {
    .spec-list {
        display: grid;
        grid-template-columns: minmax(9rem, auto) 1fr;
        gap: 0.55em var(--s-3);
    }
    .spec-list dd { margin-bottom: 0; }
}

.artwork-detail__acquire {
    margin-top: var(--s-6);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line);
}
.artwork-detail__price {
    font-size: var(--size-lede);
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Editions
   ==========================================================================
   A print of a work is bought from a cart; the unique original is not. The two
   live on the same page, so the edition rows are deliberately quieter than the
   original's own acquire block — secondary buttons, factual type.
   ========================================================================== */

.edition-list { margin-top: var(--s-5); }

.edition {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-3) var(--s-5);
    padding: var(--s-4) 0;
    border-top: 1px solid var(--line);
}
.edition:last-child { border-bottom: 1px solid var(--line); }

.edition__label { font-family: var(--font-display); font-size: var(--size-heading-2); }

.edition__buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-3);
}
.edition__price {
    font-size: var(--size-lede);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 599px) {
    /* Stack, and let the button own the full width rather than crushing beside
       a price. */
    .edition__buy { width: 100%; justify-content: space-between; }
    .edition__buy form { flex: 1 1 12rem; }
    .edition__buy .btn { width: 100%; }
}

/* ==========================================================================
   Homepage — 01 hero, full bleed
   ==========================================================================
   The image reaches the very top and both edges, running underneath the fixed
   transparent header — there is no spacer, no body margin and no header in the
   flow above it, so there is nothing to leave a strip. The text is padded down
   to clear the header; the image itself never moves.

   Height: about one visible screen. svh, not vh, so a phone's collapsing toolbar
   does not make the hero jump; vh is the fallback. min-height, never height, so
   a long heading can still grow the section rather than clip.

   object-position comes from the admin (hero_focal), so the subject stays in
   frame however a wide or tall window crops the photograph.
   ========================================================================== */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: max(560px, 92vh);
    min-height: max(560px, 92svh);
    color: var(--text-on-moss);
    isolation: isolate;
    overflow: hidden;
}
@media (min-width: 768px) {
    .hero {
        align-items: center;
        min-height: max(620px, 100vh);
        min-height: max(620px, 100svh);
    }
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--color-charcoal);
}
/* Phones: the photograph fills the upper part of the hero, still edge to edge and
   from the very top, and fades into charcoal; the heading sits beneath the work's
   focal point instead of on top of it. */
@media (max-width: 767px) {
    .hero { background: var(--color-charcoal); min-height: max(600px, 100svh); }
    .hero__media { inset: 0 0 auto 0; height: 62%; }
    .hero__media::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 45%;
        background: linear-gradient(to top, var(--color-charcoal), rgba(38, 40, 36, 0));
    }
}
.hero__media picture { display: contents; }
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* the hero photograph is context; the work itself is shown whole on its own page */
    object-position: var(--hero-focal-mobile, 66% 60%);
}
@media (min-width: 768px) {
    .hero__media img { object-position: var(--hero-focal, 64% 58%); }
}

/* A scrim, not a decorative overlay: it exists so the headline reaches AA over a
   photograph whose luminance we do not control. It sits under the text (left on
   wide screens, bottom on phones) and lifts away from the work's focal point. */
.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to top,
        rgba(20, 24, 18, 0.55) 0%,
        rgba(20, 24, 18, 0.15) 35%,
        rgba(20, 24, 18, 0) 60%
    );
}
@media (min-width: 768px) {
    .hero__scrim {
        background: linear-gradient(
            80deg,
            rgba(20, 24, 18, 0.70) 0%,
            rgba(20, 24, 18, 0.42) 40%,
            rgba(20, 24, 18, 0.08) 72%,
            rgba(20, 24, 18, 0.12) 100%
        );
    }
}

.hero__inner {
    width: 100%;
    padding-top: calc(var(--header-h-top) + var(--s-6));
    padding-bottom: clamp(var(--s-8), 9vh, var(--s-12));
}
@media (min-width: 768px) {
    .hero__inner {
        padding-top: calc(var(--header-h-top) + var(--s-8));
        padding-bottom: var(--s-10);
    }
}

.hero__content { max-width: 34rem; }
@media (min-width: 1280px) { .hero__content { max-width: 38rem; } }

.hero__eyebrow { color: var(--muted-on-moss); }

/* Capitals here are deliberate and approved: the signed-off homepage mockup sets
   this h1 in caps over the full-bleed work. Positive tracking because capitals at
   display scale need the sidebearing lowercase gets for free. */
.hero__heading {
    margin-top: var(--s-3);
    font-family: var(--font-display);
    font-size: clamp(2.125rem, 1.5rem + 2.9vw, 3.75rem);   /* 34 -> 60 */
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text-on-moss);
    text-wrap: balance;
    max-width: 16ch;
}

.hero__rule {
    width: 44px;
    height: 1px;
    margin: var(--s-4) 0 var(--s-3);
    background: var(--muted-on-moss);
    border: 0;
}

.hero .link-arrow {
    color: var(--text-on-moss);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    font-size: var(--size-caption);
}

/* ==========================================================================
   Homepage — 02 nieuwe werken, A-D editorial composition
   ==========================================================================
   Not a masonry grid: the editor assigns each work to a position by hand.
   A is dominant, B and C give the eye somewhere to rest, D closes the row.
   ========================================================================== */

/* Fluid, like every other vertical measure in the system. A fixed 96px gutter read
 * as too tight against the tall A slot at 1680px and too loose at 800px, because it
 * was the one spacing value on the page that did not scale with the viewport. */
.works { row-gap: clamp(72px, 8vw, 120px); }

.works__slot--a { grid-column: 1 / -1; }
.works__slot--b { grid-column: 1 / -1; }
.works__slot--c { grid-column: 1 / -1; }
.works__slot--d { grid-column: 1 / -1; }

@media (min-width: 768px) {
    .works__slot--a { grid-column: 1 / 7; }
    .works__slot--b { grid-column: 1 / 5; }
    .works__slot--c { grid-column: 2 / 6; }
    .works__slot--d { grid-column: 4 / 9; }
}

@media (min-width: 1280px) {
    .works__slot--a { grid-column: 1 / 8; }
    .works__slot--b { grid-column: 9 / 13; align-self: end; }
    .works__slot--c { grid-column: 2 / 6; }
    .works__slot--d { grid-column: 7 / 13; }
}

/* A vacant position is shown as a gap, never backfilled automatically —
 * choosing a replacement work is a curatorial decision (Claude.md §5.6). */
.works__slot--empty { display: none; }

@media (max-width: 767px) {
    /* Mobile is a calm vertical presentation, not a small grid.
     * Each work runs near-full-width with generous breathing room. */
    .works { row-gap: 0; }
    .works__slot { margin-bottom: clamp(64px, 14vw, 88px); }
    .works__slot:last-child { margin-bottom: 0; }
}

/* ==========================================================================
   Homepage — 03 positionering
   ========================================================================== */

.position__label { grid-column: 1 / -1; }
.position__body  { grid-column: 1 / -1; margin-top: var(--s-4); }

@media (min-width: 768px) {
    .position__label { grid-column: 1 / 3; }
    .position__body  { grid-column: 3 / -1; margin-top: 0; }
}
@media (min-width: 1280px) {
    .position__label { grid-column: 1 / 3; }
    .position__body  { grid-column: 5 / 12; }
}

.position__text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.05rem + 2vw, 2.125rem);   /* 24 -> 34 */
    line-height: 1.42;
    letter-spacing: var(--tracking-display);
    max-width: 34ch;
}

/* The row gap has to clear the 44px tap overlays on .link-arrow, not just the
 * visible text. At the old 8px the two stacked links on a phone had overlapping
 * hit areas and the lower one quietly swallowed taps meant for the upper. */
.position__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-4) var(--s-6);
    margin-top: var(--s-6);
}

/* ==========================================================================
   Homepage — 04 uitgelicht project
   ========================================================================== */

.project__media { grid-column: 1 / -1; }
.project__text  { grid-column: 1 / -1; margin-top: var(--s-4); }

@media (min-width: 768px) {
    .project__media { grid-column: 1 / 6; }
    .project__text  { grid-column: 6 / -1; margin-top: 0; align-self: end; }
}
@media (min-width: 1280px) {
    .project__media { grid-column: 1 / 9; }
    .project__text  { grid-column: 9 / 13; }
}

.project__media img { width: 100%; height: auto; object-fit: contain; }
.project__title { margin-top: var(--s-2); }
.project__intro { margin-top: var(--s-3); }
.project__text .link-arrow { margin-top: var(--s-3); }

/* ==========================================================================
   Homepage — 05 kunstenaars
   ========================================================================== */

.artists__media { grid-column: 1 / -1; }
.artists__text  { grid-column: 1 / -1; margin-top: var(--s-4); }

@media (min-width: 768px) {
    .artists__media { grid-column: 1 / 5; }
    .artists__text  { grid-column: 5 / -1; margin-top: 0; align-self: center; }
}
@media (min-width: 1280px) {
    .artists__media { grid-column: 1 / 7; }
    .artists__text  { grid-column: 8 / 13; }
}

.artists__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.artists__body { margin-top: var(--s-3); }
.artists__text .link-arrow { margin-top: var(--s-4); }

/* ==========================================================================
   Homepage — 06 journal
   ========================================================================== */

.journal__lead      { grid-column: 1 / -1; }
.journal__secondary { grid-column: 1 / -1; }

@media (min-width: 768px) {
    .journal__lead      { grid-column: 1 / 5; }
    .journal__secondary { grid-column: 5 / 7; }
    .journal__secondary + .journal__secondary { grid-column: 7 / 9; }
}
@media (min-width: 1280px) {
    .journal__lead      { grid-column: 1 / 7; }
    .journal__secondary { grid-column: 7 / 10; }
    .journal__secondary + .journal__secondary { grid-column: 10 / 13; }
}

/* No cards, no colour panels behind articles, no rounded corners,
 * no "Lees meer" button under every item. The title itself is the link. */
.article { display: block; }
.article__media img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 3 / 2; }
.article__category { margin-top: var(--s-2); }
.article__title {
    margin-top: 0.4em;
    font-family: var(--font-display);
    font-size: var(--size-heading-2);
    line-height: 1.25;
}
.article:hover .article__title { text-decoration: underline; text-underline-offset: 0.15em; }
.journal__lead .article__title { font-size: var(--size-heading-1); }
.article__intro { margin-top: var(--s-2); font-size: 0.95rem; }
.article__date  { margin-top: var(--s-2); }

@media (max-width: 767px) {
    .journal__secondary { margin-top: var(--s-8); }
}

/* ==========================================================================
   Homepage — 07 contact en nieuwsbrief
   ==========================================================================
   The one large moss field on the page, besides the logo square.
   ========================================================================== */

.contact-zone {
    background: var(--color-moss);
    color: var(--text-on-moss);
}
.contact-zone h2 { color: var(--text-on-moss); }
.contact-zone p  { color: var(--muted-on-moss); }

.contact-zone__left  { grid-column: 1 / -1; }
.contact-zone__right { grid-column: 1 / -1; margin-top: var(--s-10); }

@media (min-width: 768px) {
    .contact-zone__left  { grid-column: 1 / 5; }
    .contact-zone__right { grid-column: 5 / -1; margin-top: 0; }
}
@media (min-width: 1280px) {
    .contact-zone__left  { grid-column: 1 / 6; }
    .contact-zone__right { grid-column: 7 / 12; }
}

.contact-zone .link-arrow { margin-top: var(--s-4); }
.contact-zone__body { margin-top: var(--s-3); }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { margin-bottom: var(--s-3); }

/* Labels are readable text, not tiny capitals: sentence case at 15px, on one line
   where they can be. Never broken inside a word — "E-mailadres" stays whole. */
.field label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.005em;
    color: var(--text);
    hyphens: manual;
    overflow-wrap: normal;
    word-break: normal;
}
.field__optional { font-weight: 400; color: var(--text-muted); }
.on-moss .field label { color: var(--text-on-moss); }
.on-moss .field__optional { color: var(--muted-on-moss); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="search"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
    width: 100%;
    min-width: 0;
    min-height: var(--button-height-touch);
    padding: 0.75rem 0.95rem;
    background: var(--color-white);
    border: 1px solid rgba(38, 40, 36, 0.24);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.field select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                      linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%;
    background-size: 0.35rem 0.35rem;
    background-repeat: no-repeat;
    text-overflow: ellipsis;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(38, 40, 36, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--color-moss);
    box-shadow: 0 0 0 1px var(--color-moss);
    outline: none;
}

.on-moss .field input,
.on-moss .field select,
.on-moss .field textarea {
    background: transparent;
    border-color: var(--line-on-moss);
    color: var(--text-on-moss);
}
.on-moss .field input::placeholder { color: rgba(245, 241, 232, 0.5); }
.on-moss .field input:focus,
.on-moss .field textarea:focus { border-color: var(--text-on-moss); }

.field--consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.field--consent input { margin-top: 0.3rem; flex: 0 0 auto; }
.field--consent label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.875rem;
    margin: 0;
}

.field__error {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--color-error);
}
.field__error::before { content: "! "; font-weight: 600; }
.field select[aria-invalid="true"] { border-color: var(--color-error); }
.on-moss .field__error { color: #F0C7BE; }

/* ==========================================================================
   Cart

   A transactional table, not a gallery. The works are shown small and factual
   here on purpose: the visitor has already decided, and a second round of
   large reverent imagery at the checkout step reads as a sales push.
   ========================================================================== */

.cart-table {
    width: 100%;
    margin-top: var(--s-6);
    border-collapse: collapse;
}

.cart-table thead th {
    padding-bottom: var(--s-2);
    border-bottom: 1px solid var(--line);
    font-size: var(--size-caption);
    font-weight: 400;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
}
.cart-table__right { text-align: right; }

.cart-line td {
    padding: var(--s-3) var(--s-2) var(--s-3) 0;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}
.cart-line td:last-child { padding-right: 0; }

.cart-line__media { width: 80px; }
.cart-line__media img {
    display: block;
    width: 80px;
    height: auto;
    /* contain, never cover — the aspect rule holds even at thumbnail size */
    object-fit: contain;
}
.media-placeholder--small {
    width: 80px;
    aspect-ratio: 4 / 5;
    font-size: 0;
}

.cart-line__name a { border-bottom: 1px solid transparent; }
.cart-line__name a:hover { border-bottom-color: currentColor; }

.cart-line__option,
.cart-line__warning {
    display: block;
    margin-top: 0.25rem;
    font-size: var(--size-caption);
}
.cart-line__option { color: var(--text-muted); }
.cart-line__warning { color: var(--color-error); }

/* Every money column on the site sets tabular figures, so amounts align on the
 * decimal down a table and a total never changes width as it recalculates. */
.cart-line__price,
.cart-line__total,
.cart-summary__amount,
.cart-line__qty input,
.checkout__lines li > span:last-child,
.checkout__totals { font-variant-numeric: tabular-nums; }

.cart-line__price,
.cart-line__total { white-space: nowrap; }
.cart-line__total { text-align: right; }

.cart-line__qty input {
    width: 4.5rem;
    min-height: var(--tap-target);
    padding: 0.4rem 0.5rem;
    background: var(--color-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    text-align: center;
}
.cart-line__qty input:focus { border-color: var(--color-moss); }

/* A submit button that must read as a quiet text link. Reset the UA chrome
   rather than fight it. */
.cart-line__remove button {
    padding: 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--color-stone);
    font: inherit;
    cursor: pointer;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--s-4);
}

.cart-summary {
    margin-top: var(--s-8);
    margin-left: auto;
    max-width: 26rem;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-4);
    padding-top: var(--s-3);
    border-top: 1px solid var(--line);
}
.cart-summary__amount {
    font-size: var(--size-lede);
    white-space: nowrap;
}
.cart-summary__note {
    margin-top: var(--s-2);
    font-size: var(--size-caption);
}

/* Below the 8-column breakpoint the table stops being a table: each line
   becomes a stacked block. A horizontally scrolling cart is unusable, and
   shrinking six columns onto a 390px screen is worse. */
@media (max-width: 767px) {
    .cart-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .cart-table,
    .cart-table tbody,
    .cart-line { display: block; width: 100%; }

    .cart-line {
        position: relative;
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 0 var(--s-3);
        padding: var(--s-4) 0;
        border-bottom: 1px solid var(--line-soft);
    }
    .cart-line td { padding: 0; border: 0; }

    .cart-line__media { grid-row: 1 / span 4; }
    .cart-line__name  { grid-column: 2; }
    .cart-line__price { grid-column: 2; margin-top: 0.35rem; color: var(--text-muted); }
    .cart-line__qty   { grid-column: 2; margin-top: var(--s-2); }
    .cart-line__total { grid-column: 2; margin-top: var(--s-2); text-align: left; }
    .cart-line__remove { grid-column: 2; margin-top: var(--s-2); }

    .cart-summary { max-width: none; }
    .cart-actions { justify-content: stretch; }
    .cart-actions .btn { width: 100%; }
}

/* ==========================================================================
   Booking — the appointment form
   ==========================================================================
   A numbered sequence on one readable column: type, date, time, details,
   review. Generous but not sprawling; the calendar and the time grid sit
   side by side with the copy, never in a cramped strip.
   ========================================================================== */

.booking-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-8);
}
@media (min-width: 1100px) {
    .booking-page:has(.booking-aside) {
        grid-template-columns: minmax(0, 46rem) minmax(14rem, 1fr);
        align-items: start;
        column-gap: var(--s-12);
    }
}
.booking-page__alt { margin-top: var(--s-4); }

.booking-form { max-width: 46rem; }

.booking-step {
    min-width: 0;   /* fieldsets default to min-content and would push past a phone */
    margin: 0;
    padding: 0 0 var(--s-6);
    border: 0;
}
.booking-step + .booking-step {
    padding-top: var(--s-6);
    border-top: 1px solid var(--line);
}
.booking-step__title {
    /* Floated so it behaves as an ordinary block inside the fieldset: the step's
       top rule and padding then sit above it, not through it. */
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    margin-bottom: var(--s-3);
    font-family: var(--font-display);
    font-size: var(--size-heading-2);
    line-height: 1.25;
}
.booking-step__n {
    display: inline-grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid var(--color-moss);
    border-radius: 50%;
    color: var(--color-moss);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    flex: 0 0 auto;
}
.booking-step__title + * { clear: both; }
.booking-step__hint {
    margin-bottom: var(--s-3);
    font-size: 0.9375rem;
    color: var(--text-muted);
}
.booking-step__hint strong { color: var(--text); font-weight: 500; }

.booking-option {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: var(--s-3);
    border: 1px solid var(--line);
    background: var(--color-white);
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}
.booking-option + .booking-option { margin-top: var(--s-2); }
.booking-option:hover { border-color: rgba(38, 40, 36, 0.4); }
.booking-option:has(input:checked) {
    border-color: var(--color-moss);
    box-shadow: inset 3px 0 0 var(--color-moss);
}
.booking-option input { margin-top: 0.3rem; flex: 0 0 auto; accent-color: var(--color-moss); width: 1.1rem; height: 1.1rem; }

.booking-option__body { display: block; }
.booking-option__name { display: block; font-weight: 500; }
.booking-option__meta {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.booking-option__desc {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* The commission page has one fixed type: shown as a quiet fact, not a choice. */
.booking-chosen {
    margin-bottom: var(--s-6);
    padding: var(--s-3) var(--s-4);
    background: var(--color-white);
    border-left: 3px solid var(--color-moss);
}
.booking-chosen__name { font-family: var(--font-display); font-size: var(--size-heading-2); }

.booking-date-field.is-replaced { display: none; }
.booking-refresh {
    margin-top: var(--s-2);
    padding: 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--color-stone);
    font: inherit;
    font-size: 0.9375rem;
    cursor: pointer;
}

/* Times: a grid of large, explicit choices. Nothing is pre-selected. */
.slots__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
    gap: var(--s-1);
    max-width: 32rem;
}
.slots__grid:focus { outline: none; }
.slot { position: relative; display: block; cursor: pointer; }
.slot input {
    position: absolute;
    opacity: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}
.slot span {
    display: grid;
    place-items: center;
    min-height: var(--tap-target);
    border: 1px solid rgba(38, 40, 36, 0.24);
    background: var(--color-white);
    font-variant-numeric: tabular-nums;
    transition: border-color var(--transition-fast), background-color var(--transition-fast),
                color var(--transition-fast);
}
.slot:hover span { border-color: var(--color-moss); }
.slot input:checked + span {
    background: var(--color-moss);
    border-color: var(--color-moss);
    color: var(--text-on-moss);
}
.slot input:focus-visible + span {
    outline: var(--focus-width) solid var(--color-moss);
    outline-offset: var(--focus-offset);
}

/* Review: what will be submitted, in plain words. */
.booking-summary {
    display: grid;
    grid-template-columns: minmax(7rem, auto) 1fr;
    gap: 0.5rem var(--s-3);
    margin-bottom: var(--s-3);
    padding: var(--s-3) var(--s-4);
    background: var(--color-white);
    border: 1px solid var(--line);
    font-size: 0.9375rem;
}
.booking-summary dt { color: var(--text-muted); }
.booking-summary dd { margin: 0; font-variant-numeric: tabular-nums; }
.booking-summary--done { max-width: 34rem; margin-top: var(--s-6); }

.booking-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2) var(--s-4);
    margin-top: var(--s-4);
}
.booking-submit .caption { max-width: 32ch; font-size: 0.875rem; }

.booking-aside {
    padding: var(--s-4);
    background: var(--bg-soft);
}
.booking-aside__title { font-size: var(--size-heading-2); margin-bottom: var(--s-2); }
.booking-aside p { margin-bottom: var(--s-3); }

.booking-done { max-width: 46rem; }
.booking-done h1 { margin-top: var(--s-3); }
.booking-done .lede { margin-top: var(--s-3); max-width: 34ch; }
.booking-done__note { margin-block: var(--s-4); color: var(--text-muted); font-size: 0.9375rem; }

/* ==========================================================================
   Checkout

   Two columns on desktop: the form leads, the summary follows and stays in
   view. On mobile the summary comes first — knowing what you are about to
   pay before filling in five address fields is the friendlier order.
   ========================================================================== */

.checkout {
    display: grid;
    gap: var(--s-8);
    margin-top: var(--s-6);
}

.checkout__form { min-width: 0; }

.checkout__summary {
    align-self: start;
    padding: var(--s-5);
    background: var(--bg-soft);
}
.checkout__summary-title {
    font-size: var(--size-lede);
    margin-bottom: var(--s-3);
}

.checkout__lines {
    list-style: none;
    margin: 0 0 var(--s-4);
    padding: 0;
}
.checkout__lines li {
    display: flex;
    justify-content: space-between;
    gap: var(--s-3);
    padding: var(--s-2) 0;
    border-bottom: 1px solid var(--line-soft);
}
.checkout__lines li > span:last-child { white-space: nowrap; }

.checkout__totals > div {
    display: flex;
    justify-content: space-between;
    gap: var(--s-3);
    padding: var(--s-2) 0;
}
.checkout__vat {
    font-size: var(--size-caption);
    color: var(--text-muted);
}
.checkout__total {
    border-top: 1px solid var(--line);
    margin-top: var(--s-2);
    padding-top: var(--s-3) !important;
    font-size: var(--size-lede);
}

.field--wide { flex: 2 1 14rem; }

@media (min-width: 900px) {
    .checkout {
        grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 1fr);
        gap: var(--s-10);
    }
    .checkout__summary { position: sticky; top: calc(var(--header-height, 5rem) + 1rem); }
}

@media (max-width: 899px) {
    /* Summary first on small screens. */
    .checkout__summary { order: -1; }
}

/* ==========================================================================
   Pre-launch holding page
   ========================================================================== */

.launch-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: var(--page-gutter);
}
.launch {
    width: min(38rem, 100%);
    text-align: center;
}
/* The logo animation, on the one canvas it was drawn for.
 *
 * No moss square here: the animation carries its own bone ground, and boxing it in
 * green would mean recolouring the artwork, which Visual Guide 01 rules out. It is
 * sized by height so its 0.829 ratio is preserved exactly — never stretched. */
.launch__logo {
    position: relative;
    display: inline-block;
    margin-bottom: var(--s-6);
}

.launch__logo-media {
    display: block;
    width: auto;
    height: clamp(120px, 22vh, 200px);
    margin-inline: auto;

    /* The asset's ground is #FEFCFE and this canvas is bone #F5F1E8 — close, but far
       enough apart that the video reads as a white card pasted onto the page. multiply
       drops that ground into the canvas (white x anything = anything) while leaving
       the strokes: #4E5B4A over bone resolves to #4B5643, a shift of under 2% that is
       not perceptible beside the original.
     *
     * This is a compositing choice, not a recolour of the mark, but it is the closest
     * this file comes to Visual Guide 01's "add effects", so it is called out rather
     * than buried. Delete this one declaration to show the asset exactly as delivered,
     * white ground and all. The permanent fix is a transparent WebM or a Deep Moss
     * ground version from the designer. */
    mix-blend-mode: multiply;
}

/* The still is the reduced-motion twin of the video, not an extra element: exactly
 * one of the two is ever displayed. Claude.md §4.2 — the static version appears
 * automatically when the visitor has asked for less motion. */
.launch__logo-still { display: none; }

@media (prefers-reduced-motion: reduce) {
    .launch__logo-video  { display: none; }
    .launch__logo-still  { display: block; }
    .launch__logo-toggle { display: none; }
}

/* Quiet until wanted, unmissable on keyboard focus. */
.launch__logo-toggle {
    position: absolute;
    right: 0;
    bottom: calc(-1 * var(--s-4));
    padding: 0.35rem 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--color-stone);
    color: var(--text-muted);
    font-size: var(--size-caption);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}
.launch__logo:hover .launch__logo-toggle,
.launch__logo-toggle:focus-visible { opacity: 1; }
.launch__logo-toggle:hover { color: var(--text); border-bottom-color: var(--text); }

/* Touch has no hover, so the control would otherwise be unreachable there. */
@media (hover: none) {
    .launch__logo-toggle { opacity: 1; }
}

.launch__body      { margin-top: var(--s-4); }
.launch__countdown { margin-top: var(--s-5); color: var(--text-muted); }
.launch__form {
    max-width: 22rem;
    margin: var(--s-8) auto 0;
    text-align: left;
}
.launch__foot { margin-top: var(--s-8); color: var(--text-muted); }

/* ==========================================================================
   Booking calendar
   ==========================================================================
   Four states, each distinguishable without relying on colour alone:
     available   outlined, white, full-strength number
     selected    filled moss, light number
     unavailable faint number, no outline
     past        faint and struck through
   ========================================================================== */

.cal { max-width: 24rem; }

.cal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    margin-bottom: var(--s-2);
}
.cal__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: none;
}
.cal__title::first-letter { text-transform: uppercase; }

.cal__nav {
    min-width: var(--tap-target);
    min-height: var(--tap-target);
    background: var(--color-white);
    border: 1px solid rgba(38, 40, 36, 0.24);
    border-radius: var(--radius);
    color: var(--text);
    font: inherit;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}
.cal__nav:hover:not([disabled]) { border-color: var(--color-moss); }
.cal__nav[disabled] { opacity: 0.3; cursor: default; }

.cal__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.cal__dayname {
    padding-bottom: 0.35rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.cal__pad { aspect-ratio: 1; }

.cal__day {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    min-height: 40px;
    padding: 0;
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: rgba(38, 40, 36, 0.38);
    font: inherit;
    font-size: 0.9375rem;
    font-variant-numeric: tabular-nums;
    cursor: default;
    transition: border-color var(--transition-fast), background-color var(--transition-fast),
                color var(--transition-fast);
}
.cal__day.is-open {
    background: var(--color-white);
    border-color: rgba(80, 93, 75, 0.55);
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
}
.cal__day.is-open:hover { border-color: var(--color-moss); background: #F1F3EE; }
.cal__day.is-selected,
.cal__day.is-selected:hover {
    background: var(--color-moss);
    border-color: var(--color-moss);
    color: var(--text-on-moss);
}
.cal__day.is-past { text-decoration: line-through; text-decoration-color: rgba(38, 40, 36, 0.3); }
.cal__day.is-today { box-shadow: inset 0 -2px 0 rgba(38, 40, 36, 0.35); }

.cal__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.6rem;
    margin-top: var(--s-2);
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.cal__key {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    vertical-align: -0.1rem;
}
.cal__key--open { background: var(--color-white); border: 1px solid rgba(80, 93, 75, 0.55); }
.cal__key--selected { background: var(--color-moss); }
.cal__key--closed { background: transparent; border: 1px dashed rgba(38, 40, 36, 0.25); }

.cal__empty {
    margin-top: var(--s-3);
    padding: var(--s-2) var(--s-3);
    background: var(--bg-soft);
    font-size: 0.9375rem;
}
.cal__empty p { display: inline; }
.cal__empty button { padding: 0; background: none; border: 0; border-bottom: 1px solid var(--color-stone); font: inherit; cursor: pointer; }

.cal[aria-busy="true"] { opacity: 0.6; }

/* ==========================================================================
   Canvas blocks

   Three regimes, and the small one is the whole point:

     >= 1280px   the canvas at its design size, no transform
     768-1279px  scaled down; at 0.6-1.0 the text is still readable
     < 768px     STACKED, not scaled. See templates/_canvas.html for why.
   ========================================================================== */

.canvas-wrap {
    /* The scale transform does not affect layout, so the wrapper carries the
       height the scaled canvas visually occupies. JS keeps this in step. */
    position: relative;
    width: 100%;
    overflow: hidden;
}

.canvas {
    position: relative;
    width: 1280px;
    transform-origin: top left;
    margin-inline: auto;
}

.canvas-block {
    position: absolute;
    box-sizing: border-box;
}
.canvas-block img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.canvas-block--text .prose > :first-child { margin-top: 0; }

@media (max-width: 767px) {
    .canvas-wrap {
        overflow: visible;
        /* The inline height JS wrote for the scaled canvas is meaningless once the
           blocks stack; let content decide. */
        height: auto !important;
    }
    .canvas {
        position: static;
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
        width: 100%;
        height: auto !important;
        transform: none !important;
    }
    .canvas-block {
        position: static;
        width: 100% !important;
        min-height: 0 !important;
        /* mobile_order, or the reading order derived from y then x. */
        order: var(--mo);
    }
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--color-error); }

.form-row {
    display: grid;
    gap: var(--column-gap);
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Flash messages
   ========================================================================== */

/* Clears the header at every width. Pinned to the 64px mobile height, the stack
 * opened underneath the 96px desktop header and the first message was half-hidden
 * behind it — worst on the validation errors that most need reading. */
.flash-stack {
    position: fixed;
    top: calc(var(--header-h-top) + var(--s-2));
    right: var(--page-gutter);
    z-index: 180;
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
    max-width: min(28rem, calc(100vw - 2 * var(--page-gutter)));
}


.flash {
    padding: 0.9rem 1.1rem;
    background: var(--color-moss);
    color: var(--text-on-moss);
    font-size: 0.9375rem;
    border-radius: var(--radius);
}
.flash.error { background: var(--color-error); }
.flash { transition: opacity var(--transition-med), transform var(--transition-med); }
.flash.is-leaving { opacity: 0; transform: translateY(-6px); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding-block: var(--small-section-space) var(--s-6);
    border-top: 1px solid var(--line);
}

.footer-col { grid-column: 1 / -1; margin-bottom: var(--s-6); }
@media (min-width: 768px)  { .footer-col { grid-column: span 4; margin-bottom: 0; } }
@media (min-width: 1280px) { .footer-col { grid-column: span 3; } }

.footer-col h2 {
    font-family: var(--font-display);
    font-size: var(--size-heading-2);
    margin-bottom: var(--s-1);
}
.footer-col li + li { margin-top: 0.5em; }
/* Padding, not line-height, buys the 44px target. line-height: 44px set the leading
 * INSIDE the link too, so any label that wrapped on a phone — "Algemene
 * voorwaarden", "Verzending en levering" — came apart into two lines 44px adrift. */
.footer-col a {
    display: inline-block;
    padding-block: 0.72rem;
    line-height: 1.4;
    font-size: 0.9375rem;
}
@media (min-width: 768px) {
    .footer-col a { padding-block: 0; line-height: 1.9; }
}
.footer-col a:hover { color: var(--color-moss); text-decoration: underline; }

.footer-legal {
    margin-top: var(--s-8);
    padding-top: var(--s-3);
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2) var(--s-4);
    justify-content: space-between;
    font-size: var(--size-caption);
    color: var(--text-muted);
}

/* ==========================================================================
   Error page
   ========================================================================== */

.error-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: var(--section-space);
}
.error-page .link-arrow { margin-top: var(--s-4); align-self: flex-start; }

/* ==========================================================================
   Scroll reveal
   ==========================================================================
   Gated on html.js, which is set in <head> before paint. Without JavaScript
   nothing is ever hidden, so the page degrades to fully visible rather than blank.
   ========================================================================== */

.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--dur-slow) var(--ease-quiet), transform var(--dur-slow) var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Reduced motion
   ==========================================================================
   Honours the user's system setting: all transitions collapse, revealed
   content is forced visible, and the logo falls back to its static version.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   October 2026 update — shared components
   ==========================================================================
   Everything below belongs to the website refinement: the shop preview, the
   shop's four entrances, the item viewer, the commission journey, the contact
   page and the shared contact invitation. One spacing scale (--s-*), one grid,
   one motion rhythm (tokens.css).
   ========================================================================== */

/* Anchored sections land below the fixed header, not under it. */
[id] { scroll-margin-top: calc(var(--header-h-compact) + var(--s-3)); }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.section--tight { padding-block: var(--small-section-space); }
.section--detail { padding-block: var(--s-4) var(--small-section-space); }
.page-breadcrumb { padding-top: var(--s-5); }

.section-head__intro {
    margin-top: var(--s-2);
    max-width: 46ch;
    color: var(--text-muted);
}

.page-note {
    margin-top: var(--s-4);
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ---- buttons and links: one press language ------------------------------ */

.btn { transition: background-color var(--transition-fast), color var(--transition-fast),
                   border-color var(--transition-fast), transform 120ms var(--ease-quiet); }
.btn:active { transform: translateY(1px); }
.btn.is-busy { opacity: 0.75; cursor: progress; pointer-events: none; }
.link-arrow > span[aria-hidden] { transition: transform var(--transition-fast); }
.link-arrow:hover > span[aria-hidden] { transform: translateX(3px); }
.link-arrow:hover { gap: 0.5em; }

/* ---- status: one wording, one look, everywhere ------------------------- */

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--size-caption);
    font-weight: 500;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--text-muted);
}
.status-pill::before {
    content: "";
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    border: 1px solid currentColor;
}
.status-pill--available { color: var(--color-moss); }
.status-pill--available::before { background: currentColor; }
.status-pill--soon { color: var(--text); }
.status-pill--soon::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

/* ==========================================================================
   Listing cards — type, availability and price, stated in words
   ========================================================================== */

.item-card__type {
    display: block;
    margin-bottom: 0.3em;
    font-size: var(--size-caption);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--text-muted);
}
.item-card__facts {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 var(--s-2);
    margin-top: 0.3em;
}
.item-card__status {
    font-size: var(--size-caption);
    color: var(--color-moss);
}
.item-card__status.is-muted { color: var(--text-muted); }
.item-card__facts .artwork__price { margin-top: 0; }

/* ==========================================================================
   Homepage — 02 uit onze winkel
   ========================================================================== */

.shop-preview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8) var(--column-gap);
    align-items: end;
}
@media (min-width: 600px) {
    .shop-preview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .shop-preview__grid {
        grid-template-columns: repeat(min(var(--items, 4), 4), minmax(0, 1fr));
        gap: var(--s-6) var(--column-gap);
    }
}
/* Keep tall portrait works from towering over the row on wide screens. */
.shop-preview__grid .artwork__frame img { max-height: min(62vh, 560px); width: auto; max-width: 100%; }

/* ==========================================================================
   Homepage — 04 kunst in opdracht
   ========================================================================== */

.commission-block__grid { row-gap: var(--s-6); align-items: center; }
.commission-block__media { grid-column: 1 / -1; }
.commission-block__media img { width: 100%; height: auto; object-fit: contain; }
.commission-block__text { grid-column: 1 / -1; }
@media (min-width: 768px) {
    .commission-block__media { grid-column: 1 / 5; }
    .commission-block__text { grid-column: 5 / -1; }
}
@media (min-width: 1280px) {
    .commission-block__media { grid-column: 1 / 7; }
    .commission-block__text { grid-column: 8 / 13; }
}
.commission-block__grid--text .commission-block__text { grid-column: 1 / -1; max-width: 46rem; }
.commission-block .display-2 { margin-top: var(--s-2); max-width: 16ch; }
.commission-block__body { margin-top: var(--s-3); max-width: 44ch; font-size: 1.0625rem; }
.commission-block__actions { margin-top: var(--s-5); gap: var(--s-3) var(--s-5); }

/* ==========================================================================
   Winkel — four image-led entrances
   ==========================================================================
   A composed row of four on desktop, two by two on tablets, a calm stack of
   wide tiles on phones. The plain category name is always visible; the image
   only supports it. Selected: a moss rule and a darker label.
   ========================================================================== */

.section--entrances { padding-block: var(--s-6) 0; }

.entrances {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
}
@media (min-width: 600px) {
    .entrances { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--column-gap); }
}
@media (min-width: 1024px) {
    .entrances { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.entrance {
    position: relative;
    display: grid;
    grid-template-columns: 7rem 1fr;
    align-items: center;
    gap: var(--s-3);
    height: 100%;
    padding-bottom: var(--s-2);
    border-bottom: 1px solid var(--line);
    transition: border-color var(--transition-fast);
}
@media (min-width: 600px) {
    .entrance { grid-template-columns: 1fr; align-items: start; gap: var(--s-2); padding-bottom: var(--s-3); }
}

.entrance__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-soft);
}
@media (min-width: 600px) { .entrance__media { aspect-ratio: 4 / 5; } }
.entrance__img {
    width: 100%;
    height: 100%;
    /* A category cover is a cropped entrance image, not the artwork itself: the
       editor sets the focal point so the important part stays in frame. */
    object-fit: cover;
    object-position: var(--focal, 50% 50%);
    transition: transform var(--transition-med);
}
.entrance__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: var(--s-3);
    background: var(--bg-soft);
    color: var(--color-moss);
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem);
    font-style: italic;
    text-align: center;
    transition: background-color var(--transition-med);
}
.entrance__placeholder::after {
    content: "";
    position: absolute;
    inset: var(--s-2);
    border: 1px solid rgba(80, 93, 75, 0.25);
}
.entrance:hover .entrance__placeholder { background: #E2DACC; }
@media (max-width: 599px) { .entrance__placeholder { font-size: 1rem; } }
@media (hover: hover) {
    .entrance:hover .entrance__img { transform: scale(1.02); }
}

.entrance__text { display: grid; gap: 0.2rem; padding-right: 1.5rem; position: relative; }
.entrance__label {
    font-family: var(--font-display);
    font-size: var(--size-heading-2);
    line-height: 1.2;
}
.entrance__title { font-size: 0.9375rem; color: var(--text-muted); }
.entrance__arrow {
    position: absolute;
    right: 0;
    top: 0.2rem;
    transition: transform var(--transition-fast);
}
.entrance:hover .entrance__arrow { transform: translateX(3px); }
.entrance:hover { border-bottom-color: var(--text); }

.entrance.is-selected { border-bottom: 2px solid var(--color-moss); }
.entrance.is-selected .entrance__label { color: var(--color-moss); }
.entrance.is-selected .entrance__label::after {
    content: "Gekozen";
    margin-left: 0.6em;
    font-family: var(--font-body);
    font-size: var(--size-caption);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    vertical-align: 0.25em;
}

/* ---- the listing under the entrances ------------------------------------ */

.shop-listing-anchor { transition: opacity var(--transition-med); }
.shop-listing-anchor.is-loading { opacity: 0.45; }

.shop-listing__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-2);
    margin-bottom: var(--s-6);
    padding-bottom: var(--s-2);
    border-bottom: 1px solid var(--line);
}
.shop-listing__bar strong { color: var(--text); font-weight: 500; }

.shop-section + .shop-section { margin-top: var(--section-space); }
.shop-section__title {
    margin-bottom: var(--s-6);
    font-size: var(--size-heading-1);
}

.shop-empty {
    max-width: 40rem;
    padding: var(--s-5);
    background: var(--bg-soft);
}
.shop-empty + .shop-empty,
.shop-section + .shop-empty { margin-top: var(--s-6); }
.shop-empty__title { font-size: var(--size-heading-2); margin-bottom: var(--s-2); }
.shop-empty p { margin-bottom: var(--s-4); }

.shop-listing__more { margin-top: var(--s-10); }

/* ==========================================================================
   Item pages — the image viewer
   ==========================================================================
   One stable stage. Images are contain-fitted inside it, so portrait and
   landscape photographs both show whole, with natural breathing space, and the
   page below never jumps when the image changes. Without JavaScript (no
   .is-enhanced) the slides simply stack.
   ========================================================================== */

.viewer { position: relative; }

.viewer__slide { margin: 0; }
.viewer__slide + .viewer__slide { margin-top: var(--s-6); }
.viewer__frame img { width: 100%; height: auto; object-fit: contain; }
.viewer__caption {
    margin-top: var(--s-2);
    font-size: var(--size-caption);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--text-muted);
}

/* The stage is a quiet mat: a faint linen field with even breathing space, so a
   landscape photograph in a portrait-shaped window reads as deliberately matted,
   not as an accidental gap. */
.viewer.is-enhanced .viewer__stage {
    position: relative;
    height: min(92vw, 68vh);
    min-height: 280px;
    padding: clamp(12px, 3%, 32px);
    background: rgba(232, 225, 213, 0.5);
    touch-action: pan-y;   /* vertical page scroll stays the browser's */
    user-select: none;
}
@media (min-width: 768px) {
    .viewer.is-enhanced .viewer__stage { height: clamp(380px, 70vh, 780px); }
}
.viewer.is-enhanced:not(.viewer--single) .viewer__slide { inset: clamp(12px, 3%, 32px); }
.viewer.is-enhanced.viewer--single .viewer__stage { height: auto; min-height: 0; }
.viewer.is-enhanced .viewer__stage:focus-visible { outline-offset: 4px; }

.viewer.is-enhanced:not(.viewer--single) .viewer__slide {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    margin: 0;
    opacity: 0;
    transition: opacity 420ms var(--ease-quiet);
}
.viewer.is-enhanced .viewer__slide.is-near { display: flex; }
.viewer.is-enhanced .viewer__slide.is-active { display: flex; opacity: 1; z-index: 1; }
.viewer.is-instant .viewer__slide { transition: none; }

.viewer.is-enhanced:not(.viewer--single) .viewer__frame {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.viewer.is-enhanced:not(.viewer--single) .viewer__frame img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.viewer.is-enhanced:not(.viewer--single) .viewer__caption { flex: 0 0 auto; text-align: center; }

.viewer__controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    margin-top: var(--s-3);
}
.viewer.is-enhanced .viewer__controls { display: flex; }
.viewer__nav {
    width: var(--tap-target);
    height: var(--tap-target);
    display: grid;
    place-items: center;
    background: var(--color-white);
    border: 1px solid rgba(38, 40, 36, 0.24);
    border-radius: var(--radius);
    color: var(--text);
    font: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}
.viewer__nav:hover { border-color: var(--color-moss); }
.viewer__nav:active { transform: translateY(1px); }
.viewer__count {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.viewer__thumbs {
    display: flex;
    gap: var(--s-1);
    margin-top: var(--s-3);
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.viewer__thumbs li { flex: 0 0 auto; }
.viewer__thumb {
    display: block;
    width: 76px;
    height: 76px;
    padding: 3px;
    border: 1px solid var(--line);
    background: var(--color-white);
    opacity: 0.72;
    transition: opacity var(--transition-fast), border-color var(--transition-fast);
}
.viewer__thumb img { width: 100%; height: 100%; object-fit: contain; }
.viewer__thumb:hover { opacity: 1; border-color: rgba(38, 40, 36, 0.4); }
.viewer__thumb.is-active { opacity: 1; border-color: var(--color-moss); box-shadow: inset 0 0 0 1px var(--color-moss); }
@media (min-width: 768px) { .viewer__thumb { width: 88px; height: 88px; } }

.viewer-empty { aspect-ratio: 4 / 5; }

/* ---- item page information column --------------------------------------- */

.artwork-detail__subtitle { margin-top: var(--s-2); font-size: 1.125rem; color: var(--text-muted); }
.artwork-detail__acquire .status-pill { margin-bottom: var(--s-2); }
.artwork-detail__note { margin-top: var(--s-2); max-width: 40ch; font-size: 0.9375rem; color: var(--text-muted); }
.artwork-detail__actions { margin-top: var(--s-4); gap: var(--s-2) var(--s-4); }
.artwork-detail__text { margin-top: var(--s-6); }
.artwork-detail__info .spec-list { margin-top: var(--s-6); }

.form-intro { margin-top: var(--s-2); margin-bottom: var(--s-4); }
.narrow-form { max-width: var(--measure-narrow); }
.enquiry-form { margin-top: var(--s-4); }

/* ==========================================================================
   Kunst in opdracht — the commission page
   ========================================================================== */

.commission-page { padding-top: var(--s-5); padding-bottom: var(--small-section-space); }
.commission-page__head { margin-top: var(--s-6); max-width: 48rem; }
.commission-page__head .display-2 { margin-top: var(--s-2); }
.commission-page__intro {
    margin-top: var(--s-4);
    max-width: 44ch;
    font-family: var(--font-display);
    font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
    line-height: 1.5;
}

.commission-page__body {
    display: grid;
    gap: var(--s-8);
    margin-top: var(--s-10);
}
@media (min-width: 1024px) {
    .commission-page__body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: var(--s-12); }
}
.commission-page__figure { margin: 0; }
.commission-page__figure img { width: 100%; height: auto; object-fit: contain; }

.commission-steps__title { font-size: var(--size-heading-1); margin-bottom: var(--s-5); }
.commission-steps__list { display: grid; gap: var(--s-5); counter-reset: steps; }
.commission-steps__list li {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    column-gap: var(--s-3);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line);
}
.commission-steps__n {
    grid-row: 1 / span 2;
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1;
    color: var(--color-moss);
}
.commission-steps__list h3 { font-size: var(--size-heading-2); }
.commission-steps__list p { margin-top: var(--s-1); color: var(--text-muted); }
.commission-steps__more { margin-top: var(--s-6); }

.commission-plan__head { max-width: 46rem; }
/* "kennismakingsgesprek" is one 20-letter word: on a narrow phone it gets a size
   at which it fits whole, rather than being broken or hyphenated. */
@media (max-width: 479px) {
    .commission-plan__head .display-2 { font-size: 1.75rem; }
}
.commission-plan__head p { margin-top: var(--s-2); }
.commission-plan .booking-page { row-gap: var(--s-5); }
.commission-plan .booking-form { margin-top: 0; }

/* ==========================================================================
   Contact page — direct routes ~40%, the form ~60%
   ==========================================================================
   Its own two-track grid. The previous version placed both columns in the
   12-column grid without a span, which made each ONE column wide (~110px).
   ========================================================================== */

.contact-page { padding-top: var(--small-section-space); padding-bottom: var(--section-space); }
.contact-page__head { max-width: 48rem; }
.contact-page__intro { margin-top: var(--s-3); font-size: 1.1875rem; max-width: 46ch; }

.contact-layout {
    display: grid;
    gap: var(--s-10);
    margin-top: var(--s-10);
}
@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: minmax(16rem, 2fr) minmax(0, 3fr);
        gap: var(--s-12);
        align-items: start;
    }
}

.contact-routes { display: grid; gap: var(--s-6); align-content: start; }
@media (min-width: 640px) and (max-width: 1023px) {
    .contact-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
}
.contact-routes__group { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.contact-routes__title { font-size: var(--size-heading-2); margin-bottom: var(--s-2); }
.contact-routes__group p { margin-bottom: var(--s-2); }
.contact-routes__list { display: grid; gap: var(--s-2); }
.contact-routes__list li { display: grid; gap: 0.1rem; }
.contact-routes__label { font-size: var(--size-caption); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); }
.contact-routes__list a { border-bottom: 1px solid var(--color-stone); justify-self: start; overflow-wrap: anywhere; }
.contact-routes__list a:hover { border-color: var(--text); }
.contact-routes__address { font-style: normal; margin-bottom: var(--s-2); }

.contact-form h2 { font-size: var(--size-heading-1); margin-bottom: var(--s-4); }
.contact-form__form { max-width: 44rem; }
.contact-form__submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2) var(--s-4);
    margin-top: var(--s-2);
}
.contact-form__submit .caption { max-width: 34ch; }

.form-success {
    padding: var(--s-5);
    background: var(--bg-soft);
    border-left: 3px solid var(--color-moss);
}
.form-success:focus { outline: none; }
.form-success h2 { margin-bottom: var(--s-2); }
.form-success p { margin-bottom: var(--s-3); }

/* ==========================================================================
   The shared contact invitation above the footer
   ========================================================================== */

.contact-cta { padding-block: var(--small-section-space); border-top: 1px solid var(--line); }
.contact-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-3) var(--s-6);
}
.contact-cta__heading {
    font-size: var(--size-heading-1);
    max-width: 24ch;
}
.contact-cta + .site-footer { border-top-color: var(--line-soft); }

.next-step { max-width: 46rem; }
.next-step__title { font-size: var(--size-heading-2); margin-bottom: var(--s-1); }
.next-step p { margin-bottom: var(--s-2); color: var(--text-muted); }

.footer-col__secondary { margin-top: var(--s-3); padding-top: var(--s-2); border-top: 1px solid var(--line-soft); }

/* ---- error and "not offered" pages -------------------------------------- */

.error-page h1 { margin-top: var(--s-2); }
.error-page__body { margin-top: var(--s-3); }
.error-page__actions { margin-top: var(--s-5); gap: var(--s-3) var(--s-5); }
.error-page .link-arrow { margin-top: 0; }

/* ---- newsletter on moss ------------------------------------------------- */

.newsletter-form { margin-top: var(--s-4); }
.on-moss .field input[type="email"],
.on-moss .field input[type="text"] { border-color: var(--line-on-moss); }
.on-moss .field input:focus { box-shadow: 0 0 0 1px var(--text-on-moss); }

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
    .site-header, .mobile-menu, .flash-stack, .contact-zone, .skip-link { display: none; }
    body { background: #fff; color: #000; }
}



/* =====================================================================
   Essays, questions and projects — content handoff, November 2026.
   Scoped to their own classes and built only from the tokens above: no new
   colours, no radii, no shadows. Images keep their natural proportions
   everywhere (width: 100%; height: auto) — nothing here crops a reproduction.
   ===================================================================== */

.preview-banner {
    max-width: none;
    padding: var(--s-1) var(--page-gutter);
    background: var(--color-moss);
    color: var(--text-on-moss);
    font-size: var(--size-nav);
    text-align: center;
}

/* --------------------------------------------------------------- essay */
.essay__crumbs { padding-top: var(--s-6); }
.essay__head {
    display: grid;
    gap: var(--s-6);
    padding-top: var(--s-5);
    padding-bottom: var(--s-8);
    align-items: end;
}
@media (min-width: 1024px) {
    .essay__head {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: var(--s-10);
    }
}
.essay__title {
    margin-top: var(--s-2);
    max-width: 18ch;
    font-family: var(--font-display);
    font-size: var(--size-display-2);
    font-weight: 400;
    line-height: var(--leading-display);
    letter-spacing: var(--tracking-display);
    text-wrap: balance;
}
.essay__deck {
    margin-top: var(--s-3);
    max-width: 40ch;
    font-family: var(--font-display);
    font-size: var(--size-heading-2);
    line-height: 1.45;
    color: var(--text-muted);
}
.essay__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25em 1.25em;
    margin-top: var(--s-4);
}

.essay-figure { margin: 0; min-width: 0; }
.essay-figure__link { display: block; }
.essay-figure img { display: block; width: 100%; height: auto; }
.essay-figure__caption {
    display: flex;
    flex-direction: column;
    gap: 0.15em;
    margin-top: var(--s-2);
    max-width: 62ch;
    font-size: var(--size-caption);
    line-height: var(--leading-caption);
    color: var(--text-muted);
}
.essay-figure__artist {
    font-weight: 500;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--text);
}
.essay-figure__work { font-style: italic; }
.essay-figure__caption a { text-decoration: underline; text-underline-offset: 0.2em; }

.essay__grid {
    display: grid;
    gap: var(--s-6);
    padding-bottom: var(--section-space);
}
.essay__rail {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
    border-top: 1px solid var(--line);
    padding-top: var(--s-3);
    min-width: 0;
}
@media (min-width: 1024px) {
    .essay__grid {
        grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
        gap: var(--s-10);
    }
    .essay__rail {
        position: sticky;
        top: calc(var(--header-h-compact) + var(--s-4));
        align-self: start;
    }
}
.essay__toc ol { display: grid; gap: 0.5em; margin-top: var(--s-2); }
.essay__toc a {
    display: inline-block;
    padding: 0.2em 0;
    font-size: var(--size-nav);
    line-height: 1.4;
}
.essay__toc a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Reading column: about 65-75 characters at the serif body size. */
.essay__body {
    min-width: 0;
    max-width: 66ch;
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 1.08rem + 0.22vw, 1.25rem);
    line-height: 1.7;
}
.essay__body > * + * { margin-top: 1.1em; }
.essay__body p { max-width: none; }
.essay__body h2 {
    margin-top: 2em;
    font-family: var(--font-display);
    font-size: var(--size-heading-1);
    font-weight: 400;
    line-height: var(--leading-heading);
}
.essay__body [id], .faq-item { scroll-margin-top: calc(var(--header-h-compact) + var(--s-3)); }
.essay__quote {
    margin-block: 1.6em;
    padding-left: var(--s-3);
    border-left: 2px solid var(--color-moss);
}
.essay__quote p {
    font-size: var(--size-heading-2);
    line-height: 1.45;
    color: var(--color-moss);
}
.essay__sources {
    margin-top: var(--s-8);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: var(--size-body);
    line-height: var(--leading-body);
}
.essay__sources h2 { margin-top: 0; font-size: var(--size-heading-2); }
.essay__sources ul { margin-top: var(--s-2); list-style: disc; padding-left: 1.25em; }
.essay__sources li + li { margin-top: 0.6em; }

/* --------------------------------------------------------------- share */
.share__controls {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-1);
    margin-top: var(--s-2);
}
.share__btn {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap-target);
    padding: 0 0.9em;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: var(--size-nav);
    cursor: pointer;
}
.share__btn[hidden] { display: none; }
.share__btn:hover { border-color: var(--color-moss); color: var(--color-moss); }
.share__status:empty { display: none; }
.share__manual { margin-top: var(--s-2); }
.share__manual label { display: block; font-size: var(--size-caption); color: var(--text-muted); }
.share__manual input {
    width: 100%;
    min-height: var(--tap-target);
    margin-top: 0.25em;
    padding: 0 0.6em;
    border: 1px solid var(--line);
    background: var(--color-white);
    font: inherit;
    font-size: var(--size-nav);
}

/* ----------------------------------------------------------- questions */
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item[hidden] { display: none; }
.faq-item__question {
    position: relative;
    display: block;
    min-height: var(--tap-target);
    padding: var(--s-3) 2.5em var(--s-3) 0;
    list-style: none;
    font-family: var(--font-display);
    font-size: var(--size-heading-2);
    line-height: 1.35;
    cursor: pointer;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
    content: "+";
    position: absolute;
    right: 0.25em;
    top: var(--s-3);
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--color-moss);
}
.faq-item[open] > .faq-item__question::after { content: "\2013"; }
.faq-item__question:hover { color: var(--color-moss); }
.faq-item__answer { max-width: 62ch; padding-bottom: var(--s-4); }
.faq-item__answer p + p { margin-top: var(--s-2); }
.faq-item__sources {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-2);
    margin-top: var(--s-3);
}

.faq-block__grid { display: grid; gap: var(--s-6); }
.faq-block__intro > * + * { margin-top: var(--s-2); }
@media (min-width: 1024px) {
    .faq-block__grid {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        gap: var(--s-10);
    }
}

/* Homepage: the image beside the questions on wide screens, directly above them on
   narrow ones — one section either way. */
.home-faq__grid {
    display: grid;
    gap: var(--s-5);
    grid-template-areas: "intro" "art" "list" "all";
}
.home-faq__intro { grid-area: intro; }
.home-faq__intro .display-2 { margin-top: var(--s-2); }
.home-faq__lede { margin-top: var(--s-3); }
.home-faq__art { grid-area: art; min-width: 0; }
.home-faq__essay { margin-top: var(--s-3); }
.home-faq__list { grid-area: list; }
.home-faq__all { grid-area: all; }
@media (min-width: 1024px) {
    .home-faq__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        grid-template-rows: auto auto 1fr;
        grid-template-areas: "intro list" "art list" "all list";
        column-gap: var(--s-10);
        align-items: start;
    }
    .home-faq--text .home-faq__grid {
        grid-template-rows: auto 1fr;
        grid-template-areas: "intro list" "all list";
    }
}

.faq-search { max-width: 32rem; margin-bottom: var(--s-8); }
.faq-search[hidden] { display: none; }
.faq-search label { display: block; font-size: var(--size-nav); }
.faq-search input {
    width: 100%;
    min-height: var(--button-height);
    margin-top: 0.4em;
    padding: 0 0.75em;
    border: 1px solid var(--line);
    background: var(--color-white);
    font: inherit;
}
.faq-group { display: grid; gap: var(--s-4); }
.faq-group[hidden] { display: none; }
.faq-group + .faq-group { margin-top: var(--s-10); }
.faq-group__head h2 {
    margin-top: var(--s-1);
    font-family: var(--font-display);
    font-size: var(--size-heading-1);
    font-weight: 400;
    line-height: var(--leading-heading);
}
@media (min-width: 1024px) {
    .faq-group {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        gap: var(--s-10);
    }
}
.faq-page__note { margin-top: var(--s-10); }

/* ------------------------------------------------------------- project */
.project-page__head > * + * { margin-top: var(--s-2); }
.project-page__head .lede { max-width: 32ch; margin-top: var(--s-4); }
.project-page__cover { max-width: 1100px; margin-top: var(--s-8); }
.project-page__zoom { display: block; }
.project-page__cover img { display: block; width: 100%; height: auto; }
.project-page__cover figcaption { max-width: 70ch; margin-top: var(--s-2); }
.project-page__body { display: grid; gap: var(--s-8); margin-top: var(--s-8); }
@media (min-width: 1024px) {
    .project-page__body {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        gap: var(--s-10);
    }
}
.project-status, .project-doc { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.project-doc { margin-top: var(--s-6); }
.project-status > * + *, .project-doc > * + * { margin-top: var(--s-2); }
.project-status__phase, .project-doc__title {
    font-family: var(--font-display);
    font-size: var(--size-heading-2);
}
.project-doc__actions { margin-top: var(--s-3); }

.process-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-6) var(--column-gap);
    margin-top: var(--s-5);
}
@media (min-width: 600px) {
    .process-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .process-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.process-gallery__item { margin: 0; }
.process-gallery__item a { display: block; }
.process-gallery__item img { display: block; width: 100%; height: auto; }
.process-gallery__item figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    margin-top: var(--s-2);
}
.process-gallery__num {
    font-size: var(--size-caption);
    letter-spacing: var(--tracking-label);
    color: var(--text-muted);
}
.process-gallery__item strong {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
}

/* ------------------------------------------------------ artwork extras */
.spec-list__note { font-size: 0.9em; color: var(--text-muted); }
.prints__intro { margin-top: var(--s-2); }
.viewer__zoom {
    display: inline-block;
    margin-left: 0.75em;
    padding: 0.4em 0;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    white-space: nowrap;
}
.viewer__kind {
    font-size: 0.85em;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
}
.article__textcard {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-3);
    font-family: var(--font-display);
    text-align: center;
}


/* -------------------------------------------- homepage artists, full bleed
   The joint photograph spans the full viewport width. It keeps a calm 3:2
   band but never grows taller than the screen; the admin focal point decides
   which part stays in view when it is cropped. Text follows below, not on top. */
.artists-feature { padding-bottom: var(--section-space); }
.artists-feature__media {
    width: 100%;
    margin: 0;
    aspect-ratio: 3 / 2;
    max-height: 88vh;
    max-height: 88svh;
    overflow: hidden;
    background: var(--bg-soft);
}
.artists-feature__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--artists-focal-mobile, 50% 40%);
}
@media (min-width: 768px) {
    .artists-feature__img { object-position: var(--artists-focal, 50% 40%); }
}
.artists-feature__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.artists-feature__text { padding-top: var(--s-8); row-gap: var(--s-3); }
.artists-feature__heading,
.artists-feature__body { grid-column: 1 / -1; }
.artists-feature__body .artists__body { margin-top: 0; }
.artists-feature__body .link-arrow { margin-top: var(--s-4); }
@media (min-width: 768px) {
    .artists-feature__heading { grid-column: 1 / 5; }
    .artists-feature__body { grid-column: 5 / -1; }
}
@media (min-width: 1280px) {
    .artists-feature__heading { grid-column: 1 / 6; }
    .artists-feature__body { grid-column: 7 / 12; }
}
