/* Hallmark · shape: Split Studio (the proof keeps the right) · genre: editorial · theme: Ink (deal 3/3, seed wedding-event-decoration-rental-7192·ecacb475·2026-11-05·r0) · redesign: full · job: hire · draw: 91bcbd (hero swapped from Corridor to Stage: the photograph is the strongest proof a decorator has; nav swapped from banner-over-bar to edge-aligned: there is no announcement to retract)
 * hero: Stage · nav: edge-aligned · footer: colophon block · imagery: photographs, library 6, muted · signature: the laid room as the first picture, big beside the head · ink: paper
 * axes: light/grotesk-sans/chromatic-teal · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S3 R4 V4 · weakest: S, the library holds few wedding photographs, so the hero leads with a laid room and every picture sits in a slot for the owner's own */
/* Hallmark · waive 22 · ink and greys at zero chroma · Dekoration, Mobiliar and Textilien are listed like a catalogue notice, in plain black on white */
/* Hallmark · dropped heroSlider, .slide, .section > .container · the auto-rotating carousel and the scroll reveal are gone: Ink keeps the page still */
/* Hallmark · reworded "Individuelle Konzepte, florale Gestaltung und ein Rundum-Service, der aus Ihrer Feier ein stimmiges Gesamterlebnis macht." to "Individuelle Konzepte, florale Gestaltung und Rundum-Service für Ihre Feier." · 58 names the twelve-word hero line */
/* Hallmark · answered F4 · the contact band inverts, so its one button takes paper over ink */
/* Hallmark · answered F7 · the Warenkorb, Stückzahl and Gäste fields share one field recipe so every input of the Preisliste reads the same */
/* Hallmark · reworded "Individuelle Konzepte, florale Gestaltung und Rundum-Service für Ihre Feier." to "Hussen, Tischdecken, Vasen und Besteck für Ihre Feier mieten." · the page is a rental only, and 58 names the twelve-word hero line */
/* Hallmark · reworded "Hussen, Tischdecken, Vasen und Besteck für Ihre Feier mieten." to "Von der Idee zur Realität: Dekoration mieten für Ihre Feier." · the owner asked for an idea-to-reality voice, and 58 names the nine-word hero line */
/* Hallmark · waive 79 · the photo beside the text runs from y 183 to y 791 of the 900px first screen and the hero section itself fills it · the owner asked for the button directly under the lead, so the text column no longer fills the screen */
/* Hallmark · dropped about, sortiment · the owner asked to remove the "Leidenschaft für Dekoration" intro and the four-row Sortiment */
/* Hallmark · waive 83 · 13 pictures: 4 inspiration photos and the 9 article photos of the price list, 43% of the page below the hero at 1440 · the price list is a rental catalogue where each article is shown by its own photograph, so the pictures carry the product and not decoration */
/* Hallmark · dropped leistungen, ablauf, komplettservice, florist-working · the page is a rental only, so floristry, planning and setup service are gone; Komplettservice became sortiment */
/* Hallmark · dropped feedback, the two couple quotes · the owner asked to remove "Was unsere Paare sagen" */
/* Hallmark · waive 81 · the nine slots wait for the owner's files in images/artikel · the photographs of Stuhl Hussen, Vase and Besteck are the owner's own */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --topbar-h: 4.5rem;
  --radius-input: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.display-s { max-width: 24ch; font-size: var(--text-display-s); line-height: 1.02; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-ink); border-radius: var(--radius-input); background: var(--color-ink); color: var(--color-paper); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--paper { border-color: var(--color-paper); background: var(--color-paper); color: var(--color-ink); }
.btn--paper:hover { background: var(--color-paper-3); }
.btn--paper:focus-visible { outline-color: var(--color-paper); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* nav */
.topbar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.topbar-inner { min-height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: var(--space-sm); text-decoration: none; white-space: nowrap; }
.brand-mark { flex: none; width: 40px; height: 40px; color: var(--color-ink); }
.brand-leaf { fill: var(--color-accent); }
.brand-text { display: grid; gap: var(--space-3xs); line-height: 1; }
.brand-name { font-size: var(--text-xl); font-weight: 700; letter-spacing: var(--tracking-display); }
.brand-sub { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-ink-2); }
.nav { display: flex; align-items: center; gap: var(--space-xl); }
.nav a { font-size: var(--text-md); font-weight: 600; white-space: nowrap; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
.nav a:hover, .brand:hover { text-decoration-color: var(--color-accent); }
.menu-toggle { display: none; width: 44px; min-height: 44px; padding: 0; justify-content: center; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper-2); color: var(--color-ink); font-weight: 600; cursor: pointer; }
.menu-toggle:active { transform: translateY(1px); }
.menu-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* sections */
.section { padding-top: var(--section-gap); }
.section > .container > h2 { margin-bottom: var(--space-2xl); }
.section > .container > h2::before, .offer-head h2::before { content: ""; display: block; width: 3rem; height: 3px; margin-bottom: var(--space-md); background: var(--color-accent); }
#preisliste { margin-top: var(--section-gap); padding-bottom: var(--section-gap); background: var(--color-blush); }
#preisliste + .band-ink { margin-top: 0; }
#preisliste [data-slot] { background: var(--color-paper); }

/* hero: Stage */
.hero { display: grid; align-items: stretch; min-height: calc(100svh - var(--topbar-h)); background: var(--color-blush); }
.hero .hero-grid { max-width: none; padding-inline: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; align-items: stretch; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; align-self: stretch; gap: var(--space-lg); padding: var(--space-2xl) var(--space-xl) var(--space-2xl) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.hero h1 { max-width: 12ch; font-size: clamp(2rem, 4.4vw, 4.5rem); line-height: 1; }
.hero .lead { max-width: 28ch; color: var(--color-ink-2); }
.hero .btn { margin-top: var(--space-xs); }
.photo { margin: 0; border-radius: var(--radius-card); }
.photo > img { outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.hero-photo { min-height: 440px; }
.hero-slides { position: relative; touch-action: pan-y; border-radius: 0; overflow: hidden; background: var(--color-paper-2); }
.hero-slide { position: absolute; inset: 0; border-radius: 0; }
.hero-slide:not(.is-active) { display: none; }
.js .hero-slide { display: block; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.js .hero-slide.is-active { opacity: 1; }
.hero-arrow { position: absolute; top: 50%; z-index: calc(var(--z-raised) + 1); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--color-paper); cursor: pointer; transform: translateY(-50%); filter: drop-shadow(0 0 3px var(--halo-photo)) drop-shadow(0 0 1px var(--halo-photo)); transition: opacity var(--dur-short) var(--ease-out); }
.hero-arrow svg { width: 32px; height: 32px; stroke-width: 2.5; }
.hero-arrow:hover { opacity: 0.8; }
.hero-arrow:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--color-paper); border-radius: var(--radius-input); }
.hero-prev { left: var(--space-md); }
.hero-next { right: var(--space-md); }

/* offer: tiles with a price tooltip */
.offer-head { display: grid; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.offer-head .lead { color: var(--color-ink-2); }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.offer { position: relative; display: grid; gap: var(--space-sm); align-content: start; }
.offer .photo { display: block; aspect-ratio: 4 / 3; }
.select-wrap { position: relative; display: block; flex: 1; min-width: 0; }
.select-wrap select { display: block; width: 100%; min-height: 44px; padding: 0 var(--space-xl) 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font: inherit; text-overflow: ellipsis; cursor: pointer; appearance: none; -webkit-appearance: none; outline: 2px solid transparent; outline-offset: -3px; }
.select-wrap select:hover { background: var(--color-paper-2); }
.select-wrap select:focus-visible { outline-color: var(--color-focus); }
.select-wrap svg { position: absolute; right: var(--space-sm); top: 50%; transform: translateY(-50%); color: var(--color-ink-2); pointer-events: none; }
.offer-name { display: flex; align-items: center; min-height: 44px; font-size: var(--text-lg); font-weight: 600; line-height: 1.2; }
.offer-tip { max-width: calc(100% - var(--space-lg)); overflow-wrap: anywhere; position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-raised); display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-input); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-md); font-weight: 600; pointer-events: none; }

/* language: one dropdown in the top bar */
.lang-menu { position: relative; }
.lang-trigger { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-md); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.lang-trigger:hover { background: var(--color-paper-3); }
.lang-trigger:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.lang-chevron { transition: transform var(--dur-short) var(--ease-out); }
.lang-trigger[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + var(--space-xs)); z-index: var(--z-dropdown); min-width: 11rem; margin: 0; padding: var(--space-3xs); list-style: none; border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-input); background: var(--color-paper); }
.lang-list[hidden] { display: none; }
.lang-btn { display: flex; align-items: center; gap: var(--space-sm); width: 100%; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-input); background: transparent; color: var(--color-ink); font-size: var(--text-md); font-weight: 500; text-align: left; cursor: pointer; }
.lang-btn::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: transparent; }
.lang-btn:hover { background: var(--color-paper-2); }
.lang-btn[aria-pressed="true"] { font-weight: 700; }
.lang-btn[aria-pressed="true"]::before { background: var(--color-accent); }
.lang-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
html:not(.js) .lang-menu { display: none; }

/* cart */
.cart-toggle { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-md); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.cart-toggle:hover { background: var(--color-paper-3); }
.cart-toggle:active { transform: translateY(1px); }
.cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cart-count { display: inline-grid; place-items: center; min-width: 1.5rem; padding: 0 var(--space-xs); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.nav { margin-left: auto; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.btn--quiet:hover { background: var(--color-paper-2); }
.offer-buy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-xs); }
.offer-qty { width: 4.5rem; min-height: 44px; padding: 0 var(--space-xs); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); text-align: center; font-variant-numeric: tabular-nums; outline: 2px solid transparent; outline-offset: -3px; }
.offer-qty:focus-visible { outline-color: var(--color-focus); }
.offer-add { gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-md); }
.offer-add svg { flex-shrink: 0; }
.offer-add .check-icon, .offer-added-label { display: none; }
.offer-add.is-added, .offer-add.is-added:hover { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
.offer-add.is-added .cart-icon, .offer-add.is-added .offer-add-label { display: none; }
.offer-add.is-added .check-icon { display: block; }
.offer-add.is-added .offer-added-label { display: inline; }
.fly-dot { position: fixed; left: 0; top: 0; z-index: var(--z-toast); width: 24px; height: 24px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 3px var(--color-paper); pointer-events: none; }
.cart-toggle.is-bumped { background: var(--color-accent-soft); border-color: var(--color-accent); }
.cart-toggle.is-bumped .cart-count { background: var(--color-accent); color: var(--color-accent-ink); animation: cart-bump var(--dur-long) var(--ease-out); }
@keyframes cart-bump { 40% { transform: scale(1.4); } }
.cart { width: min(34rem, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; border-left: var(--rule-hair) solid var(--color-ink); background: var(--color-paper); color: var(--color-ink); overflow-y: auto; }
.cart::backdrop { background: color-mix(in oklab, var(--color-ink) 45%, transparent); }
.cart-inner { display: grid; gap: var(--space-lg); padding: var(--space-lg); }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.cart-head h2 { max-width: none; font-size: var(--text-2xl); }
.cart-close { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper-2); color: var(--color-ink); font-weight: 600; cursor: pointer; }
.cart-close:hover { background: var(--color-paper-3); }
.cart-list { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }
.cart-item { padding-inline: var(--space-md); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-sm) var(--space-md); align-items: center; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.cart-name { font-size: var(--text-lg); font-weight: 600; }
.cart-price { color: var(--color-ink-2); font-size: var(--text-sm); }
.stepper { display: inline-grid; grid-template-columns: 44px 56px 44px; align-items: stretch; border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); overflow: hidden; }
.stepper button { min-height: 44px; border: 0; background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-lg); font-weight: 600; cursor: pointer; }
.stepper button:hover { background: var(--color-paper-3); }
.stepper button:focus-visible, .stepper input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; }
.stepper input { width: 100%; min-width: 0; border: 0; border-inline: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); text-align: center; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.cart-remove { grid-column: 1; justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.cart-remove:hover { text-decoration-color: var(--color-accent); }
.cart-form { display: grid; gap: var(--space-md); }
.cart-form[hidden] { display: none; }
.cart-form h3 { max-width: none; font-size: var(--text-xl); }
.cart-form label { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); font-weight: 600; }
.cart-form input:not([type="hidden"]):not([type="checkbox"]), .cart-form textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); font-weight: 400; outline: 2px solid transparent; outline-offset: -3px; }
.cart-form input:focus-visible, .cart-form textarea:focus-visible { outline-color: var(--color-focus); }
.cart-form .btn { justify-self: start; }
.cart-note { color: var(--color-ink-2); font-size: var(--text-sm); }
.cart-empty { color: var(--color-ink-2); }
.req { font-weight: 700; }
.form-note { font-size: var(--text-sm); }
.form-status { min-height: 1lh; font-size: var(--text-sm); }
.form-status:not(:empty) { font-weight: 600; }
.form-status:not(:empty)::before { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: var(--space-xs); background: var(--color-muted); }
.form-status[data-state="success"]:not(:empty)::before { background: var(--color-success); }
.form-status[data-state="error"]:not(:empty)::before { background: var(--color-error); }
.band-ink .form-status { color: var(--color-paper); }

/* sets on the inspiration pictures */
.set-btn { position: absolute; top: var(--space-md); left: var(--space-md); z-index: calc(var(--z-raised) + 1); display: inline-flex; align-items: center; max-width: calc(100% - var(--space-lg)); min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-input); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-md); font-weight: 600; text-align: left; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.set-btn:hover { background: var(--color-ink-2); }
.set-btn:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--color-paper); }
.set-tip { overflow-wrap: anywhere; }
.set-btn.is-added::after { content: "\2713\00a0" attr(data-added); }
.set-btn.is-added .set-tip { display: none; }
.set-btn.is-added, .set-btn.is-added:hover { background: var(--color-accent-soft); color: var(--color-accent-soft-ink); }

/* the whole inspiration picture opens a large view; only the pill orders */
.zoom-btn { position: absolute; left: 0; top: 0; z-index: var(--z-raised); display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.zoom-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; box-shadow: inset 0 0 0 5px var(--color-paper); }
.zoom-icon { position: absolute; right: var(--space-md); bottom: var(--space-md); display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); }
.lightbox { width: min(96vw, 1400px); max-width: none; max-height: 100dvh; padding: 0; border: 0; background: transparent; color: var(--color-paper); overflow: visible; }
.lightbox::backdrop { background: color-mix(in oklab, var(--color-ink) 88%, transparent); }
.lightbox-inner { display: grid; gap: var(--space-sm); justify-items: end; }
.lightbox-frame { width: 100%; }
.lightbox img { width: 100%; max-height: calc(100dvh - 7rem); object-fit: contain; border-radius: var(--radius-card); }
html { scrollbar-gutter: stable; }
html:has(dialog[open]) { overflow: hidden; }
dialog { overscroll-behavior: contain; }
.set-dialog { max-height: calc(100dvh - 2rem); overflow-y: auto; width: min(30rem, calc(100% - 2rem)); padding: 0; border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); }
.set-dialog::backdrop { background: color-mix(in oklab, var(--color-ink) 45%, transparent); }
.set-inner { display: grid; gap: var(--space-lg); padding: var(--space-lg); }
.set-inner h2 { max-width: none; font-size: var(--text-2xl); }
.set-guests { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); font-weight: 600; }
.set-guests input { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); font-weight: 400; font-variant-numeric: tabular-nums; outline: 2px solid transparent; outline-offset: -3px; }
.set-guests input:focus-visible { outline-color: var(--color-focus); }
.set-list-head { margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 600; }
.set-items { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }
.set-items li { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); font-variant-numeric: tabular-nums; }
.set-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.set-actions .btn { gap: var(--space-xs); }
.cart-item:nth-child(odd) { background: var(--color-paper-2); }
.cart-set > div { grid-column: 1 / -1; }
.cart-guests { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-block: var(--space-xs); }
.cart-line-total { grid-column: 2; justify-self: end; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.set-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-xs) var(--space-sm); }
.set-line-info { display: flex; align-items: center; gap: var(--space-xs); min-width: 0; }
.set-line-price { text-align: right; white-space: nowrap; }
.set-line-remove { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-input); background: transparent; color: var(--color-ink-2); cursor: pointer; }
.set-line-remove:hover { background: var(--color-paper-3); }
.set-line-remove:focus-visible, .set-line-restore:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.set-line-restore { white-space: nowrap; grid-column: 2 / 4; min-height: 44px; padding: 0 var(--space-xs); border: 0; background: none; color: var(--color-ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.set-line.is-removed .set-line-info { color: var(--color-muted); text-decoration: line-through; }
.cart-summary { display: grid; gap: var(--space-2xs); }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); font-size: var(--text-lg); font-weight: 600; }
.cart-sum strong { font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
.set-sum { margin-top: var(--space-md); }
.cart-set-items { margin: var(--space-xs) 0 0; padding: 0; list-style: none; color: var(--color-ink-2); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }

/* gallery: bento, 8 and 4 over 4 and 8 */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(18rem, 32vw, 32rem); gap: var(--space-sm); margin-inline: calc(50% - 50vw + var(--space-md)); }
.gallery-a { grid-column: 1 / 9; }
.gallery-b { grid-column: 9 / 13; }
.gallery-c { grid-column: 1 / 5; }
.gallery-d { grid-column: 5 / 13; }

/* contact: the ink band */
.band-ink { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.contact-text { grid-column: 1 / 6; display: grid; gap: var(--space-lg); justify-items: start; }
.contact-text h2 { font-size: var(--text-section); }
.contact-text p { color: var(--color-rule); }
.contact-form { grid-column: 7 / 13; display: grid; gap: var(--space-md); }
.contact-form label { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); font-weight: 400; outline: 2px solid transparent; outline-offset: -3px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline-color: var(--color-focus); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; margin-top: var(--space-xs); }

/* footer: colophon block */
.footer { margin-top: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.footer-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); padding-block: var(--space-2xl); align-items: baseline; }
.footer-name { grid-column: 1 / 7; font-size: var(--text-lg); font-weight: 700; letter-spacing: var(--tracking-display); }
.socials { grid-column: 7 / 13; display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: flex-start; }
.socials a { font-weight: 600; white-space: nowrap; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
.socials a:hover { text-decoration-color: var(--color-accent); }
.legal-links { grid-column: 1 / 13; display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.legal-links a { font-size: var(--text-sm); color: var(--color-ink-2); }
.legal-links a:hover { text-decoration-color: var(--color-accent); }

/* legal pages */
.legal { padding-block: var(--space-2xl) var(--section-gap); }
.legal-inner { max-width: 46rem; display: grid; gap: var(--space-md); }
.legal h1 { max-width: none; font-size: var(--text-section); margin-bottom: var(--space-md); }
.legal h2 { max-width: none; margin-top: var(--space-lg); font-size: var(--text-xl); }
.legal ul { margin: 0; padding-left: var(--space-lg); }
.legal li + li { margin-top: var(--space-xs); }
.legal-note { padding: var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-input); background: var(--color-paper-2); font-weight: 600; }
.legal mark { padding: 0 var(--space-2xs); background: var(--color-accent-soft); color: var(--color-accent-soft-ink); }
.back-link { font-weight: 600; }


a:hover { text-decoration-color: var(--color-accent); }

/* narrow screens */
@media (max-width: 60rem) {
  .menu-toggle { display: inline-flex; align-items: center; order: 3; }
  .cart-toggle { order: 2; margin-left: auto; }
  .js .nav { display: flex; visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0); pointer-events: none; transition: opacity var(--dur-long) var(--ease-out), clip-path var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); position: absolute; inset: var(--topbar-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: var(--space-md); padding: var(--space-lg) var(--gutter); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .js .nav.is-open { visibility: visible; opacity: 1; clip-path: inset(0); pointer-events: auto; transition-delay: 0s; }
  .lang-list { position: static; margin-top: var(--space-xs); }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .nav { flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); }
  html:not(.js) .topbar-inner { flex-wrap: wrap; padding-block: var(--space-sm); }

  .hero { min-height: 0; }
  .hero .btn { margin-top: var(--space-xs); }
  .hero h1 { max-width: 14ch; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding: var(--space-xl) var(--gutter); }

  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-text, .contact-form,
  .footer-name, .socials, .legal-links { grid-column: 1 / -1; }
  .contact-grid { row-gap: var(--space-xl); }

  .gallery { grid-auto-rows: 14rem; }
  .gallery-a, .gallery-d { grid-column: 1 / -1; }
  .gallery-b, .gallery-c { grid-column: span 6; }
}

@media (max-width: 40rem) and (min-width: 22.51rem) {
  .offer-add-label, .offer-added-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 40rem) {
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: var(--text-lg); }
  .gallery-b, .gallery-c { grid-column: 1 / -1; }
  .offer-name { font-size: var(--text-md); }
}

@media (max-width: 22.5rem) {
  .set-line { grid-template-columns: minmax(0, 1fr) auto; }
  .set-line-info { grid-column: 1 / -1; }
  .set-line-restore { grid-column: 1 / -1; justify-self: start; }
  .topbar-inner { gap: var(--space-xs); }
  .brand { gap: var(--space-xs); }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: var(--text-md); }
  .brand-sub { display: none; }
  .cart-toggle { padding: 0 var(--space-sm); }
  .cart-item { grid-template-columns: minmax(0, 1fr); }
  .offers { grid-template-columns: minmax(0, 1fr); }
  .contact-form .btn { justify-self: stretch; }
}
