/* Structural styles for the page components, shared by every theme.
   Themes (ember.css, terra.css) only set the colour, glass, backdrop and brand variables plus a few details. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { color: #14100c; }
.brand { position: relative; }
.brand-logo { display: none; }

body[data-theme] { --font-display: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; }
body[data-theme] h1, body[data-theme] h2, body[data-theme] h3 { font-family: var(--font-display); font-weight: 400; }
body[data-theme] h1 { letter-spacing: -.01em; }
body[data-theme] .main-nav a, body[data-theme] .languages a { text-decoration: none; }
body[data-theme] .main-nav a:hover, body[data-theme] .languages a:hover { text-decoration: underline; text-underline-offset: .4em; }
body[data-theme] [aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
body[data-theme] .menu-toggle { color: var(--ink); }
body[data-theme] .site-footer { color: var(--muted); font-size: .875rem; }

.button { background: var(--accent); color: var(--accent-ink); font-weight: 600; letter-spacing: .04em; padding: .85rem 1.6rem; }
.button:hover { background: var(--accent); color: var(--accent-ink); filter: brightness(1.12); }
.button--outline { background: transparent; color: inherit; border: 1px solid currentColor; }
.button--outline:hover { background: var(--accent-ink); color: var(--accent); filter: none; }

.hero { position: relative; display: flex; align-items: var(--hero-align, flex-end); min-height: clamp(30rem, 82vh, 46rem); color: var(--on-hero, inherit); }
.hero-inner { width: 100%; max-width: 74rem; margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) 1.5rem; }
.hero h1 { margin: 0 0 1rem; font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1.02; }
.hero .lead { max-width: 34rem; margin: 0 0 1rem; font-size: clamp(1.1rem, 2.4vw, 1.4rem); }
.hero-text p { max-width: 34rem; margin: 0 0 1rem; }
.hero a:focus-visible { outline-color: currentColor; }

.section { max-width: 74rem; margin-inline: auto; padding: clamp(3rem, 8vw, 6rem) 1.5rem; }
.section > h2 { margin: 0 0 .5rem; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.1; }
.section-intro { max-width: 36rem; margin: 0 0 2rem; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.product-card { display: flex; flex-direction: column; background: var(--surface, #fff); border: 1px solid var(--line); }
.product-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--media-bg, #f1ede4); }
.product-media .product-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-card--placeholder .product-media .product-image { object-fit: contain; padding: 1.5rem; }
.product-body { display: flex; flex-direction: column; flex-grow: 1; gap: .4rem; padding: 1.1rem 1.25rem 1.25rem; }
.product-category { margin: 0; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product-name { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.product-description { margin: 0; color: var(--muted); }
.product-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: auto; padding-top: .6rem; color: var(--accent); font-weight: 600; text-decoration: none; }
.product-link:hover { text-decoration: underline; text-underline-offset: .3em; }

/* Product catalogue: one detailed presentation per set, with native disclosure sections. */
body[data-theme] .catalogue-title { margin: 0 0 1.5rem; font: 600 .8rem/1.4 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product-showcase { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: clamp(1.5rem, 4vw, 3.25rem); scroll-margin-top: 7rem; }
.product-showcase + .product-showcase { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.product-story { min-width: 0; }
.product-eyebrow { margin: 0 0 .6rem; color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
body[data-theme] .product-story h2 { margin: 0 0 1rem; font: 600 clamp(1.6rem, 2.5vw, 2.15rem)/1.2 system-ui, sans-serif; letter-spacing: -.035em; }
.product-short-description { margin: 0 0 1.5rem; font-size: 1rem; line-height: 1.7; }
.product-intention { margin: 0 0 1.75rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); color: var(--ink); }
.product-intention p { margin: 0; line-height: 1.5; }
.product-intention p:first-child { font-weight: 650; }
.product-intention p + p { margin-top: .2rem; color: var(--muted); font-size: .9rem; }
.product-accordion { border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.product-accordion:last-child { border-bottom: 1px solid var(--line); }
.product-accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; padding: 1rem .15rem; cursor: pointer; list-style: none; font-weight: 550; }
.product-accordion summary::-webkit-details-marker { display: none; }
.product-accordion summary:hover { color: var(--accent); }
.product-accordion summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: .3rem; }
.product-accordion summary svg { flex: none; transition: transform .2s ease; }
.product-accordion[open] summary svg { transform: rotate(180deg); }
.product-section-content { padding: 0 .15rem 1.5rem; font-size: .95rem; line-height: 1.75; overflow-wrap: anywhere; }
.product-section-content > :first-child { margin-top: 0; }
.product-section-content > :last-child { margin-bottom: 0; }
body[data-theme] .product-section-content h3 { margin: 1.5rem 0 .5rem; font: 650 1rem/1.5 system-ui, sans-serif; }
.product-section-content ul { margin: .5rem 0 1rem; padding-left: 1.25rem; }
.product-section-content li + li { margin-top: .45rem; }
.product-note { padding: 1rem; border-left: 3px solid var(--accent); border-radius: 0 .5rem .5rem 0; background: var(--surface); color: var(--ink); }

.product-gallery { min-width: 0; margin: 0; position: sticky; top: 7.5rem; }
.gallery-main { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius-sm, .75rem); overflow: hidden; background: var(--media-bg); }
.gallery-open { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-open:focus-visible { outline-offset: -5px; }
.gallery-zoom { position: absolute; top: .85rem; right: .85rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(255, 255, 255, .88); color: #262219; }
.gallery-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(25, 21, 16, .68); color: #fff; cursor: pointer; transform: translateY(-50%); }
.gallery-arrow:hover { background: rgba(25, 21, 16, .92); }
.gallery-arrow--previous { left: .75rem; }
.gallery-arrow--next { right: .75rem; }
.gallery-count { position: absolute; right: .85rem; bottom: .85rem; padding: .2rem .65rem; border-radius: 999px; color: #fff; background: rgba(25, 21, 16, .68); font-size: .75rem; }
.gallery-thumbnails { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .85rem; }
.gallery-thumbnails[hidden] { display: none; }
.gallery-thumbnail { display: block; flex: none; width: 4.25rem; padding: 3px; border: 2px solid transparent; border-radius: .5rem; overflow: hidden; }
.gallery-thumbnail[aria-current="true"] { border-color: var(--accent); }
.gallery-thumbnail img { display: block; width: 100%; height: 4.5rem; border-radius: .25rem; object-fit: cover; }
.product-gallery figcaption { margin-top: .6rem; color: var(--muted); font-size: .75rem; }
.has-product-lightbox { overflow: hidden; }
.product-lightbox { width: min(76rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 1rem; border: 1px solid #4a4136; border-radius: 1rem; background: #191610; color: #f6f3ed; }
.product-lightbox::backdrop { background: rgba(10, 9, 7, .88); }
.product-lightbox:not([open]) { display: none; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.lightbox-toolbar p { margin: 0; font-size: .9rem; }
.lightbox-close { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #6d6253; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.lightbox-close:hover { background: #352e24; }
.gallery-zoom svg, .lightbox-close svg { display: block; width: 1.25rem; height: 1.25rem; }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 10rem; }
.lightbox-stage > img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 10rem); object-fit: contain; }
.lightbox-count { margin: .75rem 0 0; text-align: center; font-size: .85rem; }
@media (max-width: 60rem) {
  .product-showcase { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .product-gallery { position: static; }
  .gallery-main { aspect-ratio: 4 / 5; max-height: none; }
  .product-lightbox { width: calc(100% - 1rem); padding: .65rem; }
  .lightbox-stage .gallery-arrow--previous { left: .25rem; }
  .lightbox-stage .gallery-arrow--next { right: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .product-accordion summary svg { transition: none; }
}

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; max-width: 74rem; margin-inline: auto; padding: 0 1.5rem clamp(3rem, 8vw, 6rem); }
.tile { display: flex; align-items: flex-end; min-height: 16rem; padding: 1.5rem; color: #f4efe6; text-decoration: none; background-size: cover; background-position: center; }
.tile:hover { color: #f4efe6; }
.tile:hover .tile-title { text-decoration: underline; text-underline-offset: .2em; }
.tile a:focus-visible, .tile:focus-visible { outline-color: #f4efe6; }
.tile--about { background-image: linear-gradient(rgba(20, 16, 12, .5), rgba(20, 16, 12, .5)), url('/assets/images/tile-about.jpg'); }
.tile--usage { background-image: linear-gradient(rgba(20, 16, 12, .5), rgba(20, 16, 12, .5)), url('/assets/images/tile-usage.jpg'); }
.tile-title { display: block; font-family: var(--font-display, serif); font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.1; }
.tile-text { display: block; max-width: 26rem; margin-top: .4rem; }

.band { background: var(--accent); color: var(--accent-ink); }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 74rem; margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.band h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.1; }
.band a:focus-visible { outline-color: currentColor; }

/* Shared look (rounded, glass, fixed backdrop). Sizes live here; colours, glass, backdrop and brand values come from the theme.
   Header sizes: --header-h is the roomy size at the top of the page and also the layout offset; body.is-scrolled (main.js) shrinks the bar. */
body[data-theme] {
  --radius: 1.5rem; --radius-lg: calc(var(--radius) + .5rem); --radius-sm: calc(var(--radius) - .5rem); --pill: 999px;
  --gutter: clamp(.75rem, 2.5vw, 2rem); --bar-pad: max(var(--gutter), calc((100% - 86rem) / 2)); --panel-max: 78rem; --panel-pad: clamp(1.75rem, 4vw, 3.5rem);
  --header-h: 5.25rem; --bar-h: var(--header-h); --logo-h: 3.9rem; --nav-fs: clamp(1.025rem, .675rem + .5vw, 1.175rem);
  --lang-h: 2.75rem; --flag-s: 1.9rem; --lang-fs: .9375rem; --menu-h: 2.6rem; --menu-fs: 1.075rem;
}
body[data-theme].is-scrolled { --bar-h: 3.5rem; --logo-h: 2.4rem; --nav-fs: clamp(.85rem, .5rem + .4vw, .95rem); --lang-h: 2.25rem; --flag-s: 1.5rem; --lang-fs: .8rem; --menu-h: 2.25rem; --menu-fs: .85rem; }
html:has(body[data-theme]) { scroll-padding-top: 6rem; }

/* Fixed backdrop: the picture stays put while the page scrolls. */
body[data-theme] .backdrop {
  display: block; position: fixed; inset: 0; z-index: -2;
  background: linear-gradient(var(--veil-top), var(--veil-bottom)), var(--backdrop-image) var(--backdrop-pos, center) / cover no-repeat;
}

/* Header: full-width bar flush with the top edge. Roomy at the top, it shrinks (bar stays) once the page is scrolled. */
body[data-theme] .site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; min-height: var(--bar-h);
  flex-wrap: nowrap; gap: clamp(.75rem, 2vw, 1.75rem); padding: 0 var(--bar-pad);
  border: 0; border-bottom: 1px solid var(--glass-edge); border-radius: 0;
  background: var(--glass-bar); box-shadow: var(--shadow-bar);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  transition: min-height .25s ease, grid-template-rows .25s ease;
}
/* Brand: the logo mark (colour via --logo-filter); the text stays for screen readers. */
body[data-theme] .brand-logo { display: block; height: var(--logo-h); width: auto; filter: var(--logo-filter, none); transition: height .25s ease; }
body[data-theme] .brand-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body[data-theme] .main-nav { justify-content: center; flex-wrap: nowrap; gap: clamp(.9rem, 1.8vw, 1.75rem); }
body[data-theme] .main-nav a { font-size: var(--nav-fs); white-space: nowrap; transition: font-size .25s ease; }
body[data-theme] .skip-link:focus { z-index: 30; }

body[data-theme] .languages { flex-wrap: nowrap; gap: 2px; padding: 3px; border-radius: var(--pill); background: var(--tint); }
body[data-theme] .languages a { display: inline-flex; align-items: center; gap: .5rem; height: var(--lang-h); padding: 0 .95rem 0 .45rem; border-radius: var(--pill); font-size: var(--lang-fs); font-weight: 600; letter-spacing: .05em; text-decoration: none; transition: height .25s ease, font-size .25s ease; }
body[data-theme] .languages a:hover { background: var(--tint-hover); color: inherit; text-decoration: none; }
body[data-theme] .languages a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); text-decoration: none; }
body[data-theme] .languages a[aria-current="page"]:hover { background: var(--accent); color: var(--accent-ink); }
body[data-theme] .flag { display: inline-block; flex: none; width: var(--flag-s); height: var(--flag-s); border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); transition: width .25s ease, height .25s ease; }
body[data-theme] .flag--pl { background-image: url('/assets/images/flags/pl.svg'); }
body[data-theme] .flag--en { background-image: url('/assets/images/flags/gb.svg'); }
body[data-theme] .flag--de { background-image: url('/assets/images/flags/de.svg'); }

body[data-theme] .menu-toggle { height: var(--menu-h); padding: 0 1rem; border: 1.5px solid var(--accent); border-radius: var(--pill); color: var(--accent); font-size: var(--menu-fs); font-weight: 600; transition: height .25s ease, font-size .25s ease; }

/* Shared glass surfaces: subpage content, home sections, footer. */
body[data-theme] .container {
  width: calc(100% - 2 * var(--gutter)); max-width: var(--panel-max);
  margin: calc(var(--header-h) + 2.5rem) auto 2rem; padding: var(--panel-pad);
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
body[data-theme] .page-intro { margin-block: 0 1.5rem; }
/* Trial: text-only subpages (About, Usage, Social) get a half-width panel on the left, so the photo shows on the right. */
@media (min-width: 60.01rem) {
  body[data-theme] .container:has(> .page-intro:only-child) {
    width: min(39rem, calc(100% - 2 * var(--gutter))); max-width: none;
    margin-left: max(var(--gutter), calc((100% - var(--panel-max)) / 2)); margin-right: auto;
  }
}
body[data-theme] .section {
  width: calc(100% - 2 * var(--gutter)); max-width: var(--panel-max); margin: 0 auto 2rem; padding: var(--panel-pad);
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
/* Footer: full-width bar flush with the bottom edge (body is a column, so it stays at the bottom on short pages). */
body[data-theme] { min-height: 100vh; display: flex; flex-direction: column; }
body[data-theme] main { flex: 1 0 auto; }
body[data-theme] .site-footer {
  margin: 0; padding: .7rem 0;
  border: 0; border-top: 1px solid var(--glass-edge); border-radius: 0; background: var(--glass-bar);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
}
.site-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .65rem; width: calc(100% - 2 * var(--gutter)); max-width: var(--panel-max); margin-inline: auto; padding-inline: var(--panel-pad); text-align: center; }
.site-footer-separator { opacity: .65; }

/* Home: the hero sits straight on the backdrop. */
body[data-theme] .hero-inner { width: calc(100% - 2 * var(--gutter)); max-width: var(--panel-max); padding: calc(var(--header-h) + clamp(3rem, 10vh, 7rem)) var(--panel-pad) clamp(2.5rem, 6vw, 5rem); }
body[data-theme] .tiles { width: calc(100% - 2 * var(--gutter)); max-width: var(--panel-max); padding: 0; margin: 0 auto 2rem; }
body[data-theme] .tile { border-radius: var(--radius-lg); overflow: hidden; }
body[data-theme] .band { width: calc(100% - 2 * var(--gutter)); max-width: var(--panel-max); margin: 0 auto 2rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--band-bg); color: var(--band-ink, var(--ink)); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
body[data-theme] .band-inner { padding: clamp(1.75rem, 4vw, 3rem) var(--panel-pad); }
body[data-theme] .band .button { margin: 0; background: var(--accent); color: var(--accent-ink); border: 0; }
body[data-theme] .band .button:hover { background: var(--accent); color: var(--accent-ink); filter: brightness(1.15); }

/* Rounded buttons, product cards and empty states. */
body[data-theme] .button { border-radius: var(--pill); }
body[data-theme] .product-card { padding: .65rem; border-radius: var(--radius); overflow: hidden; }
body[data-theme] .product-media { border-radius: var(--radius-sm); }
body[data-theme] .product-body { padding: 1rem .65rem .65rem; }
body[data-theme] .product-link { align-self: flex-start; min-height: 2.5rem; padding: 0 1.25rem; border: 1.5px solid var(--accent); border-radius: var(--pill); font-size: .9rem; }
body[data-theme] .product-link:hover { background: var(--accent); color: var(--accent-ink); text-decoration: none; }
/* A single product fills the home section as a featured row instead of leaving empty grid columns. */
.product-grid--single { grid-template-columns: minmax(0, 1fr); }
.product-grid--single .product-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
.product-grid--single .product-media { aspect-ratio: 1 / 1; }
body[data-theme] .product-grid--single .product-body { justify-content: center; align-items: flex-start; gap: .9rem; min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem); }
body[data-theme] .product-grid--single .product-name { font-size: clamp(1.6rem, 2.8vw, 2.35rem); line-height: 1.2; }
.product-grid--single .product-description { max-width: 48ch; color: var(--ink); line-height: 1.75; }
body[data-theme] .product-grid--single .product-link { margin-top: .5rem; min-height: 2.75rem; }
@media (max-width: 60rem) {
  .product-grid--single .product-card { grid-template-columns: minmax(0, 1fr); }
  .product-grid--single .product-media { aspect-ratio: 4 / 3; }
}
body[data-theme] .empty-state { border-radius: var(--radius); }

@media (prefers-reduced-motion: reduce) {
  body[data-theme] .site-header, body[data-theme] .brand-logo, body[data-theme] .main-nav a, body[data-theme] .languages a, body[data-theme] .flag, body[data-theme] .menu-toggle { transition: none; }
}

/* Medium widths (also long German labels): flags only, smaller header sizes and tighter navigation so the bar never overflows. */
@media (max-width: 75rem) {
  body[data-theme] { --header-h: 4.5rem; --logo-h: 3.2rem; --nav-fs: .985rem; --lang-h: 2.5rem; --flag-s: 1.75rem; }
  body[data-theme].is-scrolled { --bar-h: 3.25rem; --logo-h: 2.3rem; --nav-fs: .82rem; --lang-h: 2.25rem; --flag-s: 1.5rem; }
  body[data-theme] .main-nav { gap: .8rem; }
  body[data-theme] .languages a { padding: 0 .4rem; }
  body[data-theme] .lang-code { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 60rem) {
  body[data-theme] { --header-h: 4.25rem; --logo-h: 3rem; --lang-h: 2.75rem; --flag-s: 1.9rem; --gutter: .75rem; }
  body[data-theme].is-scrolled { --bar-h: 3.25rem; --logo-h: 2.1rem; --lang-h: 2.5rem; --flag-s: 1.6rem; }
  body[data-theme] .backdrop { background: linear-gradient(var(--veil-top), var(--veil-bottom)), var(--backdrop-image) var(--backdrop-pos-m, var(--backdrop-pos, center)) / cover no-repeat; }
  body[data-theme] .site-header {
    padding: 0 .5rem 0 .75rem; column-gap: .5rem;
    grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: var(--bar-h) auto;
  }
  /* An opened menu rounds the bottom corners of the bar. */
  body[data-theme] .site-header:has(.main-nav.is-open) { border-radius: 0 0 var(--radius) var(--radius); }
  body[data-theme] .main-nav { justify-content: flex-start; padding: .25rem 0 .75rem; }
  body[data-theme] .main-nav a { padding: .7rem .75rem; border-radius: var(--pill); font-size: 1rem; }
  body[data-theme] .languages { gap: 0; padding: 2px; }
  body[data-theme] .languages a { justify-content: center; width: var(--lang-h); min-width: 0; padding: 0; }
  body[data-theme] .lang-code { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body[data-theme] .container { margin-top: calc(var(--header-h) + 2rem); }
  body[data-theme] .site-footer-inner { flex-direction: column; gap: .15rem; }
  .site-footer-separator { display: none; }
  .hero { min-height: clamp(28rem, 78vh, 38rem); }
}
