/* Talusildid: heritage almanac look.
   An old farm calendar / letterpress print: paper grain, ink, one stamp red.
   Fraktur only for the wordmark (the shop routes Fraktur signs too), EB Garamond for the rest.
   Shape rule: everything square; photos sit in a thin double frame.
   Used by every page; the masthead and contact band markup is copied into each one. */

/* Self-hosted fonts (from Google Fonts, OFL). The latin files are preloaded in each page's <head>
   so they are ready before first paint; latin-ext (š, ž…) only loads if a page uses it. */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/eb-garamond-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/eb-garamond-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("../fonts/eb-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("../fonts/eb-garamond-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "UnifrakturMaguntia"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/unifrakturmaguntia-latin.woff2") format("woff2"); }

/* Georgia tuned to the real fonts' width and line metrics (measured in the browser), so text keeps
   its wrapping and position if the fallback ever paints before the font arrives. */
@font-face { font-family: "EB Garamond Fallback"; font-style: normal; src: local("Georgia"); size-adjust: 85.75%; ascent-override: 117.8%; descent-override: 35%; line-gap-override: 0%; }
@font-face { font-family: "EB Garamond Fallback"; font-style: italic; src: local("Georgia Italic"); size-adjust: 83.76%; ascent-override: 120.6%; descent-override: 35.8%; line-gap-override: 0%; }
@font-face { font-family: "UnifrakturMaguntia Fallback"; src: local("Georgia"); size-adjust: 93.1%; ascent-override: 83.8%; descent-override: 26.9%; line-gap-override: 0%; }

/* Page changes crossfade instead of cutting (Chrome, Edge, Safari; others just cut) */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: 0.2s; }
@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
}

:root {
	--paper: #f1e8d4;
	--paper-2: #e6d9bd;
	--ink: #24201a;
	--ink-soft: #594f43;
	--red: #ad2a1f;
	--red-on-dark: #e0766b;          /* the stamp red lifted for the dark lightbox */
	--shade: rgb(28 24 19 / 0.94);   /* lightbox backdrop, a shade under the ink */
	--wrap: 1120px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

/* Always reserve the scrollbar's space, so short pages (Küttepuud) don't shift sideways against long ones */
html { scrollbar-gutter: stable; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "EB Garamond", "EB Garamond Fallback", Georgia, serif;
	font-size: 1.25rem;
	line-height: 1.55;
}

/* Paper grain on a fixed, non-scrolling layer */
body::before {
	content: "";
	position: fixed; inset: 0; z-index: 100; pointer-events: none;
	opacity: 0.22; mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.35 0 0 0 0 0.2 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sc { font-variant-caps: all-small-caps; letter-spacing: 0.08em; }
/* Visually hidden, still read by screen readers */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: var(--gutter); top: -100px; padding: 8px 14px; background: var(--ink); color: var(--paper); z-index: 110; }
.skip:focus { top: 12px; }

/* Masthead */
.masthead { text-align: center; padding-top: 28px; }
.masthead .wrap { border-bottom: 3px double var(--ink); padding-bottom: 7px; }
/* The 18vw cap only bites with a large phone text setting, where the one-word mark would run off the screen */
.wordmark { display: inline-block; font-family: "UnifrakturMaguntia", "UnifrakturMaguntia Fallback", serif; font-size: min(clamp(3rem, 2rem + 4vw, 5rem), 18vw); line-height: 1; text-decoration: none; }
/* Each link is a 44 px tap target around its small-caps word; the margins are trimmed by the extra
   height, so the menu sits where the bare words did (on phones the second row moves down a little) */
.nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; margin: 7px 0 0; padding: 0; list-style: none; font-size: 1.1875rem; }
.nav a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; text-decoration: none; font-variant-caps: all-small-caps; letter-spacing: 0.1em; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--red); }
.nav-fb svg { width: 0.95em; height: 0.95em; flex: none; }
/* Facebook leaves the site, so it sits apart behind a hairline; icon only on phones to keep the rows short.
   When it wraps onto a row of its own the hairline has nothing to divide: the script after the menu marks it
   .is-alone, and it takes the whole row with the link centred (the full row also stops it hopping back up). */
.nav-aside { display: flex; align-items: center; gap: 28px; }
.nav-aside::before { content: ""; height: 1.7em; border-left: 1px solid var(--ink-soft); }
.nav-aside.is-alone { flex-basis: 100%; justify-content: center; }
.nav-aside.is-alone::before { content: none; }
@media (max-width: 480px) {
	.nav ul { column-gap: 14px; }
	.nav-fb-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	/* The bare icon sits centred in its 44 px tap target; take that padding off both sides of the hairline
	   gap so the icon stands as far from the hairline as the word before it does */
	.nav-aside { --pad: max(0px, (44px - 0.95em) / 2); column-gap: calc(14px - var(--pad)); }
	.nav-aside:not(.is-alone) .nav-fb { margin-inline-end: calc(-1 * var(--pad)); }
}

/* Ornamental rule: two hairlines and a fleuron */
.orn { display: flex; align-items: center; gap: 18px; margin: 0 auto; max-width: 420px; color: var(--red); font-size: 1.5rem; line-height: 1; }
.orn::before, .orn::after { content: ""; flex: 1; border-top: 1px solid var(--ink); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 50px; padding: 10px 26px;
	border: 1.5px solid var(--ink);
	font: inherit; font-size: 1.1875rem; line-height: 1.2; white-space: nowrap; text-decoration: none;
	font-variant-caps: all-small-caps; letter-spacing: 0.1em;
	transition: background-color 150ms ease-out, color 150ms ease-out, transform 100ms ease-out;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--red); border-color: var(--red); }
.btn-line:hover { background: var(--paper-2); }

/* Hero */
.hero { text-align: center; padding-block: clamp(24px, 3.5vw, 44px) clamp(56px, 7vw, 96px); }
/* Like the wordmark, the vw caps only bite with a large phone text setting, where a long word would run off the screen */
.hero h1 { font-size: min(clamp(2.5rem, 1.4rem + 4vw, 4.5rem), 13vw); max-width: 16em; margin: 22px auto 0; }
.hero h1 em { color: var(--red); }
.hero p { max-width: 40ch; margin: 22px auto 0; font-size: 1.375rem; color: var(--ink-soft); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.frame { display: block; margin: 0; padding: 8px; border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 4px; background: var(--paper); }
/* Hero carousel: stacked slides crossfade in one frame; it opens the page, above the headline */
.carousel { margin-bottom: clamp(20px, 3vw, 36px); }
.slides { display: grid; }
.slides img { grid-area: 1 / 1; width: 100%; aspect-ratio: 900 / 425; object-fit: cover; opacity: 0; transition: opacity 900ms ease-in-out; }
.slides img.is-on { opacity: 1; }
/* Small diamonds on 44 px buttons, so a thumb can hit them; the margin is trimmed to match */
.dots { display: flex; justify-content: center; margin-top: 6px; }
.dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots button::before { content: ""; display: block; width: 10px; height: 10px; margin: auto; border: 1px solid var(--ink); transform: rotate(45deg); transition: background-color 200ms ease-out; }
.dots button[aria-current="true"]::before { background: var(--red); border-color: var(--red); }
.dots button:hover::before { background: var(--ink); }
.dots button:focus-visible { outline: 2px solid var(--red); outline-offset: 0; }
/* A slide that failed to load keeps the frame's size but never shows its broken-image box; with fewer
   than two slides left, or no script to work them, the dots go too */
.slides img.is-broken { visibility: hidden; }
.dots[hidden] { display: none; }
@media (scripting: none) { .dots { display: none; } }

@media (prefers-reduced-motion: no-preference) {
	.rise { animation: rise 800ms var(--ease-out) both; }
	.rise-2 { animation-delay: 140ms; }
	@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
}

.section { padding-block: clamp(56px, 7vw, 104px); }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); margin-top: 16px; }

/* Styles as almanac entries with a dotted leader to the price */
.styles { margin: 0; padding: 0; list-style: none; counter-reset: stiil; }
.style { display: grid; grid-template-columns: 5fr 6fr; gap: 20px 48px; align-items: center; padding-block: 30px; border-top: 1px solid var(--ink); counter-increment: stiil; }
.style:last-child { border-bottom: 1px solid var(--ink); }
.style .frame { padding: 5px; outline-offset: 3px; }
/* Wraps (price under the name) only when a large text setting leaves no room on one line */
.style > * { min-width: 0; }
.style-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin-bottom: 8px; }
.style-head::before { content: counter(stiil, upper-roman) "."; color: var(--red); font-weight: 600; min-width: 2.2em; }
.style h3 { font-size: 1.625rem; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: 0.06em; }
.leader { flex: 1; border-bottom: 2px dotted var(--ink-soft); transform: translateY(-6px); min-width: 24px; }
.price { flex: none; font-size: 1.625rem; font-weight: 600; color: var(--red); font-variant-numeric: oldstyle-nums; }
.style p { color: var(--ink-soft); padding-left: calc(2.2em + 10px); }
@media (max-width: 760px) {
	.style { grid-template-columns: 1fr; }
	.style p { padding-left: 0; }
}

.notes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 28px; margin-top: 44px; }
.notes :is(h2, h3) { font-size: 1.375rem; font-variant-caps: all-small-caps; letter-spacing: 0.08em; margin-bottom: 6px; }
.notes p { color: var(--ink-soft); }
.notes p + p { margin-top: 8px; }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }

/* Sizes: a ruled table and two newspaper columns with a drop cap */
.band { background: var(--paper-2); border-block: 3px double var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 44px; border-block: 1px solid var(--ink); }
.facts div { padding: 22px 24px; text-align: center; }
.facts div + div { border-left: 1px solid var(--ink); }
.facts dt { font-variant-caps: all-small-caps; letter-spacing: 0.1em; color: var(--ink-soft); }
.facts dd { margin: 4px 0 0; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 600; line-height: 1.1; }
.facts dd.facts-text { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-style: italic; font-weight: 500; }
.details { columns: 2; column-gap: 56px; column-rule: 1px solid var(--ink-soft); color: var(--ink-soft); hyphens: auto; }
.details p { margin-bottom: 14px; }
.details p:first-child::first-letter { float: left; font-size: 4.2em; line-height: 0.82; padding: 6px 10px 0 0; color: var(--red); font-weight: 600; }
.details a { color: var(--ink); font-style: italic; }
@media (max-width: 760px) {
	.facts { grid-template-columns: 1fr; }
	.facts div + div { border-left: 0; border-top: 1px solid var(--ink); }
	.details { columns: 1; }
}

/* Firewood: one framed photo beside a short ledger, under a "besides signs" kicker */
.firewood { display: grid; grid-template-columns: 6fr 5fr; gap: 36px 56px; align-items: center; }
.firewood .frame { overflow: hidden; }
.firewood img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(0.15); transition: filter 400ms ease-out; }
.kicker { color: var(--red); font-variant-caps: all-small-caps; letter-spacing: 0.1em; }
.firewood .section-title { margin-top: 4px; }
.firewood-lead { margin-top: 14px; font-size: 1.375rem; font-style: italic; color: var(--ink-soft); }
.firewood .ledger { margin-top: 22px; }
.firewood-note { margin-top: 16px; color: var(--ink-soft); }
/* Standalone links get a 44 px tall tap target; the margins are trimmed so the text sits where it did */
.tile-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--red); font-style: italic; }
.tile-link:hover { text-decoration: underline; }
@media (hover: hover) { .firewood:has(a:hover) img { filter: none; } }
@media (max-width: 760px) { .firewood { grid-template-columns: 1fr; } }

/* Contact */
.contact { text-align: center; }
.contact-phone { display: inline-block; margin-top: 18px; font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem); font-weight: 500; line-height: 1.1; text-decoration: none; font-variant-numeric: lining-nums; }
.contact-phone:hover { color: var(--red); }
.contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 1.3125rem; font-style: italic; overflow-wrap: anywhere; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }

/* Kontakt page: a ruled ledger with dotted leaders, like the style entries */
.ledger { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--ink); }
.ledger div { display: flex; align-items: baseline; gap: 10px; padding-block: 24px; border-bottom: 1px solid var(--ink); }
.ledger dt { flex: 1; display: flex; align-items: baseline; gap: 10px; font-size: 1.375rem; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: 0.08em; }
.ledger dt::after { content: ""; flex: 1; min-width: 24px; border-bottom: 2px dotted var(--ink-soft); transform: translateY(-6px); }
.ledger dd { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-variant-numeric: lining-nums; }
.ledger a { display: inline-block; padding-block: 7px; margin-block: -7px; text-decoration: none; }
.ledger a:hover { color: var(--red); text-decoration: underline; }
.ledger .ledger-big { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 500; }
@media (max-width: 600px) {
	.ledger div { flex-direction: column; gap: 2px; }
	.ledger dt::after { content: none; }
	.ledger dd { overflow-wrap: anywhere; }
}
.ledger + .notes { max-width: 760px; margin-inline: auto; }
/* Compact ledger for short spec lists (front-page firewood) */
.ledger-sm div { padding-block: 12px; }
.ledger-sm dt { font-size: 1.1875rem; }
.ledger-sm dd { font-size: 1.375rem; }
/* Values are short, so the leader row holds even on phones */
@media (max-width: 600px) {
	.ledger-sm div { flex-direction: row; gap: 10px; }
	.ledger-sm dt::after { content: ""; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Windows high contrast: the system drops fills and the grain, so the current dot gets the system
   highlight and the grain layer steps aside */
@media (forced-colors: active) {
	body::before { display: none; }
	.dots button::before { border-color: CanvasText; }
	.dots button[aria-current="true"]::before { background: Highlight; border-color: Highlight; forced-color-adjust: none; }
}

/* Print: the page on paper, without the grain, the carousel controls or the jump links */
@media print {
	body { font-size: 12pt; background: none; }
	body::before, .skip, .dots, .nav-aside, .to-top, .lightbox { display: none; }
	.rise { animation: none; }
	.band { background: none; }
	.section { padding-block: 24pt; }
	.style, .plate, .facts, .notes > div, .faq details { break-inside: avoid; }
	/* KKK answers print even when their question is closed (Chrome, Edge, Safari) */
	.faq details::details-content { content-visibility: visible; }
	.faq summary::after { content: none; }
	/* Contact lines print as what they are */
	.contact-list a[href^="http"]::after { content: "\a0(" attr(href) ")"; font-size: 0.85em; }
}

.flush-top { padding-top: 0; }

/* Inner pages: a centred title block, then the work */
.page-head { text-align: center; padding-block: clamp(36px, 5vw, 64px) clamp(36px, 5vw, 56px); }
.page-head h1 { font-size: min(clamp(2.5rem, 1.5rem + 3.4vw, 4rem), 13vw); margin-top: 22px; }
.page-head p { max-width: 44ch; margin: 18px auto 0; font-size: 1.375rem; font-style: italic; color: var(--ink-soft); }
.wrap-narrow { max-width: 1000px; }

/* Gallery: one column on phones. On wider screens wide signs take the whole row
   and the rest pair up in equal mounts (contain, so no sign loses letters).
   Plates fill in markup order (no dense packing), so the Tab key meets them as the eye does;
   a lone paired plate between two wide ones leaves a gap beside it. */
.gallery { display: grid; gap: 36px; align-items: start; }
.plate { margin: 0; }
.plate .frame { padding: 5px; outline-offset: 3px; }
.plate img { width: 100%; }
.plate figcaption, .photo-note { margin-top: 14px; text-align: center; font-style: italic; color: var(--ink-soft); }
@media (min-width: 761px) {
	.gallery { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
	.plate-wide { grid-column: 1 / -1; }
	.plate:not(.plate-wide) img { aspect-ratio: 16 / 9; object-fit: contain; }
	/* Näited, with its script running: each pair shares the row by the signs' own shapes, so both
	   pictures stand at the same height and fill their mounts (no letterbox). The script sets --share,
	   a plate's part of the row (its width ÷ height over the pair's sum); 12px is the mount's padding and border.
	   A plate left without a partner sits centred at half width. */
	.gallery.is-justified { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
	.gallery.is-justified .plate { flex: 0 0 calc(12px + (100% - 40px - 24px) * var(--share, 0.5)); min-width: 0; }
	.gallery.is-justified .plate-wide { flex-basis: 100%; }
	.gallery.is-justified .is-fit img { aspect-ratio: auto; }
}
/* Näited: each sign links to its full picture (a bigger file can go in the href later);
   the script on that page opens it in the lightbox below instead of leaving the page. */
.zoom { display: block; cursor: zoom-in; }
html.lb-open { overflow: hidden; }
.lightbox {
	position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0; background: transparent; color: var(--paper);
	overflow: hidden; cursor: zoom-out;
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox::backdrop { background: transparent; }
.lb-shade { position: absolute; inset: 0; background: var(--shade); }
.lb-frame { position: relative; padding: 8px; outline-offset: 4px; }
.lb-frame img { width: 100%; height: 100%; }
.lb-caption, .lb-nav { position: relative; }
.lb-caption { max-width: 60ch; padding-inline: 16px; text-align: center; font-style: italic; color: var(--paper-2); }
.lb-caption:empty { display: none; }
.lb-nav { display: flex; align-items: center; gap: 6px; font-variant-caps: all-small-caps; letter-spacing: 0.1em; font-variant-numeric: lining-nums; color: var(--paper-2); }
.lb-count { min-width: 5.5em; text-align: center; }
.lightbox button {
	display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; background: none; color: var(--paper); font: inherit; font-size: 2rem; line-height: 1; cursor: pointer;
	transition: color 150ms ease-out;
}
.lightbox button:hover { color: var(--red-on-dark); }
.lightbox button:focus-visible { outline: 2px solid var(--paper); outline-offset: -2px; }
.lb-close { position: absolute; top: 8px; right: 8px; }
.lb-nav button { font-size: 2.5rem; padding-bottom: 6px; }

.to-top { margin-top: 56px; text-align: center; font-style: italic; }
.to-top a { color: var(--red); }

@media (min-width: 761px) {
	.gallery-photos .plate:not(.plate-wide) img { aspect-ratio: 4 / 3; object-fit: cover; }
	/* An odd photo out sits centred on the last row */
	.gallery-photos .plate:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 20px); }
	/* Sample sheets: pair up but keep the whole photo */
	.gallery-uncropped .plate img { aspect-ratio: auto; }
}

/* KKK page: ruled question rows that open in place, Estonian first, English below */
.lang-switch { font-size: 1.1875rem; }
.page-head .lang-switch { margin-top: 14px; font-style: normal; }
.section-head .lang-switch { margin-top: 12px; }
.lang-switch a { color: var(--red); font-style: italic; }
.faq-group { max-width: 760px; margin-inline: auto; }
.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 56px); }
.faq-title { margin-bottom: 10px; font-size: 1.375rem; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: 0.08em; color: var(--red); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq-title + details { border-top: 1px solid var(--ink); }
.faq summary { display: flex; align-items: baseline; gap: 16px; padding-block: 16px; cursor: pointer; list-style: none; font-size: 1.375rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; margin-left: auto; color: var(--red); font-size: 1.625rem; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red); }
.faq summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.faq details p { max-width: 62ch; padding-bottom: 20px; color: var(--ink-soft); }
.faq details a { color: var(--ink); }
.faq-en { border-top: 3px double var(--ink); }
.contact-note { margin-top: 14px; font-style: italic; color: var(--ink-soft); }
.contact-note span { display: block; }
