/* RemArt3 – site styles. Mobile-first, light + dark theme, no external fonts. */
:root {
  --bg: #f6f2ea;
  --surface: #fffdf9;
  --surface-2: #efe8dc;
  --ink: #2a2420;
  --muted: #6a5f55;
  --line: #e2d9cb;
  --accent: #4f6b22;
  --accent-ink: #ffffff;
  --accent-soft: #e5ecd6;
  --wood: #8a5a2b;
  --shadow: 0 1px 2px rgb(42 36 32 / .06), 0 8px 24px rgb(42 36 32 / .08);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171412; --surface: #1f1b18; --surface-2: #2a2420; --ink: #efe9e1; --muted: #b5aa9e;
    --line: #3a322c; --accent: #a9c873; --accent-ink: #1a1a12; --accent-soft: #2c3320; --wood: #d39b62;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; } /* <picture> only chooses the file format; layout rules keep applying to the <img> inside */
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wood); margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--alt { background: var(--surface-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 85%, var(--ink)); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--light { border-color: rgb(255 255 255 / .8); color: #fff; }
.btn--light:hover { background: rgb(255 255 255 / .12); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 50%; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 24px var(--gutter) 40px; display: none; flex-direction: column; overflow-y: auto; }
.nav-open .site-nav { display: flex; }
/* backdrop-filter creates a containing block for fixed children – drop it while the menu is open */
.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav-open { overflow: hidden; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .85rem 0; font: 600 1.6rem/1.2 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-contact { margin-top: auto; padding-top: 2rem; display: grid; gap: .5rem; }
.nav-contact a { border: 0; font: 500 1.05rem/1.4 var(--sans); padding: .35rem 0; display: inline-flex; gap: .6rem; align-items: center; color: var(--muted); }
@media (min-width: 900px) {
  .nav-toggle, .nav-contact { display: none; }
  .site-nav { position: static; display: block; padding: 0; background: none; overflow: visible; }
  .site-nav ul { display: flex; gap: .25rem; }
  .site-nav a { font: 600 .95rem/1 var(--sans); letter-spacing: .02em; padding: .75rem .9rem; border: 0; border-radius: 999px; }
  .site-nav a:hover { background: var(--surface-2); }
  .site-nav a[aria-current="page"] { background: var(--accent-soft); }
  .site-nav .nav-cta a { background: var(--accent); color: var(--accent-ink); margin-left: .5rem; }
  .site-nav .nav-cta a:hover { background: color-mix(in srgb, var(--accent) 85%, var(--ink)); }
}

/* Language menu (works without JS: <details>) */
.site-header .brand { margin-right: auto; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 999px; font: 600 .85rem/1 var(--sans); letter-spacing: .06em; color: var(--ink); cursor: pointer; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--surface-2); }
.lang-switch summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-switch .icon { width: 18px; height: 18px; }
.lang-switch .lang-switch__caret { width: 14px; height: 14px; transition: rotate .2s; }
.lang-switch[open] .lang-switch__caret { rotate: 180deg; }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; margin: 0; padding: .4rem; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.lang-switch a { display: flex; align-items: center; gap: .7rem; padding: .65rem .75rem; border-radius: 6px; color: var(--ink); text-decoration: none; font: 500 .95rem/1.2 var(--sans); }
.lang-switch a:hover { background: var(--surface-2); }
.lang-switch a[aria-current] { background: var(--accent-soft); font-weight: 650; }
.lang-switch__code { min-width: 1.8em; font: 700 .72rem/1 var(--sans); letter-spacing: .08em; color: var(--muted); }
.nav-open .lang-switch { visibility: hidden; }
@media (min-width: 900px) {
  .lang-switch { order: 3; }
  .nav-open .lang-switch { visibility: visible; }
}

/* Hero */
.hero { position: relative; min-height: min(88svh, 820px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 15 10 / .15) 0%, rgb(20 15 10 / .25) 40%, rgb(20 15 10 / .82) 100%); }
.hero .container { padding-block: clamp(48px, 10vw, 120px); }
.hero h1 { max-width: 14ch; color: #fff; }
.hero p { max-width: 52ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgb(255 255 255 / .9); margin-bottom: 2rem; }
.hero .eyebrow { color: #e6cfa6; }
/* On a phone the logo already says RemArt3: keep the hero label on one line */
@media (max-width: 599px) { .hero .eyebrow__brand { display: none; } }
.hero .btn--primary { background: #fff; color: #2a2420; }
.hero .btn--primary:hover { background: #efe8dc; }

.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(24px, 4vw, 48px); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero--image { position: relative; color: #fff; isolation: isolate; padding-block: clamp(88px, 16vw, 200px) clamp(32px, 6vw, 64px); overflow: hidden; }
.page-hero--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 15 10 / .1), rgb(20 15 10 / .75)); }
.page-hero--image .lead { color: rgb(255 255 255 / .9); max-width: 60ch; }

/* Intro + features */
.intro { display: grid; gap: clamp(32px, 6vw, 72px); }
@media (min-width: 900px) { .intro { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature__icon { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.feature__icon .icon { width: 24px; height: 24px; }
/* Illustrated accent icons (render.php R_ART): wood in the accent colour, outlines in the text colour */
.feature__art { grid-row: span 2; display: block; width: 56px; height: 56px; color: var(--muted); }
.feature__art svg { display: block; width: 100%; height: 100%; overflow: visible; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.feature__art .l, .feature__art .t { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.feature__art .l { stroke-width: 2.2; }
.feature__art .k { stroke-width: 3.2; }
.feature__art .t { stroke-width: 1.3; opacity: .7; }
.feature__art .f { fill: currentColor; fill-opacity: .1; }
.feature__art .f2 { fill: currentColor; fill-opacity: .04; }
.feature:hover .feature__art svg { transform: rotate(-3deg); }
@media (prefers-reduced-motion: reduce) { .feature__art svg { transition: none; } }
.feature h3 { margin: 0; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Cards / product grid */
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__title { font-size: 1.2rem; margin: 0; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__meta { color: var(--muted); font-size: .92rem; margin: 0; }
.card__tag { align-self: flex-start; font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--wood); }
.card__dims { margin-top: auto; padding-top: .5rem; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .25rem .9rem; }

.filters { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin: 0 calc(var(--gutter) * -1) clamp(20px, 3vw, 32px); padding-inline: var(--gutter); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .92rem/1 var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .count { opacity: .6; font-weight: 500; margin-left: .3em; }
[hidden] { display: none !important; }

/* Product detail */
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: inherit; }
.product { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 960px) { .product { grid-template-columns: 1.25fr 1fr; align-items: start; } .product__info { position: sticky; top: calc(var(--header-h) + 24px); } }
.gallery-main { display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); cursor: zoom-in; aspect-ratio: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--accent); }
.subtitle { color: var(--wood); font-weight: 600; margin-bottom: 1.5rem; }
.params { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 1.75rem; }
.params div { background: var(--surface); padding: .85rem 1rem; }
.params dt { font: 600 .72rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.params dd { margin: .25rem 0 0; font: 600 1.15rem/1.3 var(--serif); }
.story { margin-top: clamp(32px, 5vw, 56px); }
.story p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 3.4em; line-height: .9; padding: .06em .1em 0 0; color: var(--wood); }
.credit { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(40px, 6vw, 72px); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; gap: .2rem; text-decoration: none; color: var(--ink); padding: .5rem 0; }
.pager a span { font-size: .82rem; color: var(--muted); }
.pager a strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.pager .next { text-align: right; grid-column: 2; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(12 10 8 / .96); color: #fff; }
.lightbox::backdrop { background: rgb(12 10 8 / .96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 20px; font-size: .9rem; color: rgb(255 255 255 / .75); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 8px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.lb-caption { padding: 10px 20px 18px; text-align: center; font-size: .9rem; color: rgb(255 255 255 / .75); min-height: 1.5em; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgb(255 255 255 / .2); }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 8px; translate: none; } }

/* Video / embeds (click-to-load for privacy) */
.videos { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (min-width: 760px) { .videos { grid-template-columns: 1fr 1fr; } }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1c1814; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed__load { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; color: #fff; background: #1c1814; }
.embed__load img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .3s; }
.embed__load:hover img { opacity: .85; }
.embed__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%; background: rgb(255 255 255 / .92); color: #2a2420; display: grid; place-items: center; box-shadow: 0 6px 24px rgb(0 0 0 / .35); }
.embed__play .icon { width: 28px; height: 28px; margin-left: 4px; }
.embed__note { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem 1rem; font-size: .8rem; background: linear-gradient(transparent, rgb(0 0 0 / .7)); text-align: left; }
.embed--map { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .embed--map { aspect-ratio: 16 / 10; } }

/* Clients */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.clients a { display: grid; place-items: center; height: 110px; padding: 18px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.clients a:hover { box-shadow: var(--shadow); }
.clients img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.clients a:hover img { filter: none; opacity: 1; }

/* CTA band */
.cta { background: var(--ink); color: var(--bg); border-radius: calc(var(--radius) * 1.5); padding: clamp(32px, 6vw, 64px); display: grid; gap: 1.5rem; }
.cta h2 { color: var(--bg); margin: 0; }
.cta p { color: color-mix(in srgb, var(--bg) 80%, transparent); margin: 0; max-width: 56ch; }
.cta .btn--primary { background: var(--bg); color: var(--ink); }
.cta .btn--ghost { color: var(--bg); }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr auto; align-items: center; } }

/* About */
.prose { font-size: 1.08rem; }
.prose p { margin-bottom: 1.2em; }
.about { display: grid; gap: clamp(32px, 6vw, 72px); }
@media (min-width: 960px) { .about { grid-template-columns: 1.6fr 1fr; } .about aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.poem { margin: 0; padding: 1.75rem; border-left: 3px solid var(--wood); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font: italic 1.25rem/1.6 var(--serif); white-space: pre-line; }
.cards3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.info-card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card h3 { color: var(--wood); }
.info-card p { margin: 0; color: var(--muted); }

/* Press */
.press-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 32px); }
.press-item { display: grid; gap: 1.25rem; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 860px) { .press-item { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.press-item time { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wood); }
.press-item h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: .5rem 0 .75rem; }
.press-item p { color: var(--muted); }
.press-media { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.press-media button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--surface-2); aspect-ratio: 4 / 3; }
.press-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Contact */
.contact { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.3fr; } }
.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 12px; }
.contact-item { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s; }
a.contact-item:hover { border-color: var(--accent); }
.contact-item .feature__icon { width: 44px; height: 44px; }
.contact-item small { display: block; color: var(--muted); font-size: .82rem; }
.contact-item strong { font-size: 1.1rem; word-break: break-word; }

/* Workshop map (MapLibre, coloured from the --map-* tokens below) */
.map-card { display: grid; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.map {
  position: relative; aspect-ratio: 4 / 3; min-height: 300px; background: var(--surface-2); color: var(--ink); isolation: isolate;
  --map-land: #f1ebe1; --map-wood: #e3dccb; --map-town: #ebe2d5; --map-water: #c7d3d6; --map-road: #ffffff; --map-road-major: #ecd3a3;
  --map-motorway: #d8a557; --map-building: #e0d5c6; --map-rail: #b9ad9c; --map-boundary: #a8957d; --map-label: var(--ink); --map-water-label: #5d6f75; --map-halo: var(--bg);
}
@media (min-width: 900px) { .map { aspect-ratio: 16 / 11; } }
@media (prefers-color-scheme: dark) {
  .map {
    --map-land: #1f1b18; --map-wood: #1b1916; --map-town: #26211d; --map-water: #172024; --map-road: #3a332d; --map-road-major: #6e5a3e;
    --map-motorway: #a07a43; --map-building: #2c2621; --map-rail: #4a4239; --map-boundary: #6b5d4c; --map-water-label: #8aa0a8;
  }
}
.map__fallback { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: .5rem; padding: 1rem; color: var(--muted); text-align: center; }
.map__fallback .icon { width: 40px; height: 40px; color: var(--accent); }
.map--ready .map__fallback { display: none; }
.map .maplibregl-canvas:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.map-card__bar { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: center; justify-content: space-between; padding: 1rem 1.25rem 1.15rem; }
.map-card__place { display: grid; gap: .1rem; }
.map-card__place small { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.map-card__place strong { font-size: 1.05rem; }
.map-card__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.map-pin { display: grid; justify-items: center; gap: .4rem; pointer-events: none; }
.map-pin__label { padding: .4em .85em; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 .8rem/1.2 var(--sans); white-space: nowrap; box-shadow: var(--shadow); }
.map-pin__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); animation: map-pulse 2.4s ease-out infinite; }
@keyframes map-pulse { to { box-shadow: 0 0 0 22px transparent; } }
@media (prefers-reduced-motion: reduce) { .map-pin__dot { animation: none; } }
/* MapLibre's own controls in the site's colours */
.map .maplibregl-ctrl-group { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.map .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.map .maplibregl-ctrl-group button + button { border-top-color: var(--line); }
/* (MapLibre's stylesheet loads later, so these selectors are one class stronger than its own) */
.map .maplibregl-ctrl.maplibregl-ctrl-attrib { background: color-mix(in srgb, var(--surface) 85%, transparent); color: var(--muted); font-size: .7rem; border-radius: 10px 0 0 0; }
.map .maplibregl-ctrl.maplibregl-ctrl-attrib.maplibregl-compact { border-radius: 12px; margin: 8px; }
.map .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-inner a { color: inherit; }
.map .maplibregl-cooperative-gesture-screen { background: color-mix(in srgb, var(--bg) 72%, transparent); color: var(--ink); font: 600 1rem/1.4 var(--sans); padding: 1rem; }
@media (prefers-color-scheme: dark) {
  .map .maplibregl-ctrl-icon, .map .maplibregl-ctrl-attrib-button { filter: invert(1) hue-rotate(180deg); }
}
.person { margin-bottom: 1.5rem; }
.person h2 { font-size: 1.6rem; margin-bottom: .2rem; }

/* Footer */
.site-footer { margin-top: clamp(56px, 9vw, 112px); background: var(--surface-2); border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 64px) 24px; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand img { height: 41px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-contact a { display: inline-flex; gap: .5rem; align-items: center; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: var(--muted); font-size: .85rem; }

/* Reveal on scroll (progressive) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

.notfound { text-align: center; padding-block: clamp(80px, 14vw, 160px); }

/* Utilities (no inline styles – the CSP forbids them) */
.section-lead { max-width: 60ch; margin-top: 1rem; }
.section--tight-top { padding-top: clamp(24px, 4vw, 48px); }
.product__title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cards3--spaced { margin-bottom: clamp(40px, 6vw, 72px); }
.btn-row--center { justify-content: center; }
