/* Round 3 — Afisz, reworked. Poster scale kept; the cake is now something you want to eat. */
:root {
  --bg: #f4eee5;
  --ground: #dcd1c2;
  --letter: #eae1d4;
}

.top { background: var(--ground); }
.masthead { display: grid; gap: 0.75rem; justify-items: center; padding-block: 1.25rem 0.5rem; }
.masthead .nav { justify-content: center; }
@media (max-width: 59.99rem) { .masthead .wordmark { order: -1; } }
@media (min-width: 60rem) {
  .masthead { grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: stretch; }
  .masthead .nav:first-of-type { justify-content: flex-start; }
  .masthead .nav:last-of-type { justify-content: flex-end; }
}

/* ——— Hero: the year at poster scale, a slice lifted across it ——— */
.poster { background: var(--ground); position: relative; overflow: clip; }
.stage { position: relative; height: 104vw; max-height: 34rem; }
.stage .word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 74vw; text-align: center; }
.stage .word br { display: inline; }
.hero-slice { position: absolute; margin: 0; right: -26vw; bottom: 6%; width: 120vw; max-width: none; }
.hero-slice img { width: 100%; filter: drop-shadow(0 1.5rem 1.25rem rgb(60 40 25 / 0.22)); }
.hero-cake { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); width: 84vw; }
.hero-cake--tall { width: 58vw; }
.poster__foot { display: grid; gap: 1.5rem; padding-block: 1rem clamp(2.75rem, 6vw, 4.5rem); }
.poster__foot .lede { color: var(--muted); max-width: 25rem; font-size: 1.1rem; }
.poster__side > * + * { margin-top: 1.4rem; }
@media (min-width: 60rem) {
  .stage { height: min(54vh, 34rem); max-height: none; }
  .stage .word { font-size: min(37vw, 38rem); top: 54%; }
  .stage .word br { display: none; }
  .hero-slice { right: -2vw; bottom: 3%; width: auto; height: 100%; }
  .hero-slice img { width: auto; height: 100%; }
  .hero-cake { width: auto; height: 96%; }
  .hero-cake img { width: auto; height: 100%; }
  .poster__foot { grid-template-columns: 8fr 4fr; align-items: end; column-gap: 3rem; padding-top: 1.75rem; }
  .poster__foot h1 { position: relative; font-size: clamp(3.4rem, 6vw, 5.6rem); }
}

/* ——— Doors ——— */
.doors { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); }
.door { padding: clamp(1.25rem, 3vw, 2.5rem) clamp(0.9rem, 2vw, 2rem); text-decoration: none; display: grid; gap: 0.75rem; align-content: space-between; min-height: 11rem; transition: background-color 0.35s ease; }
.door:nth-child(odd) { border-right: 1px solid var(--rule); }
.door:nth-child(-n + 2) { border-bottom: 1px solid var(--rule); }
.door:hover { background: var(--ground); }
.door__t { font: 400 clamp(1.5rem, 3.4vw, 2.9rem)/1 var(--display); }
.door__d { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
@media (min-width: 60rem) {
  .doors { grid-template-columns: repeat(4, 1fr); }
  .door { min-height: 14rem; border-bottom: 0 !important; border-right: 1px solid var(--rule); }
  .door:last-child { border-right: 0; }
}

section { padding-block: var(--gap); }
.bleed { padding-block: 0; }

/* ——— Ingredients: the shopping list, photographed ——— */
.sklad { display: grid; gap: 2.25rem; align-items: center; }
.sklad__img { margin-left: calc(var(--gutter) * -1); }
.sklad__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sklad__text > * + * { margin-top: 1.5rem; }
.lista { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; border-top: 1px solid var(--fg); }
.lista li { padding-block: 0.6rem; border-bottom: 1px solid var(--rule); font: italic 400 1.3rem/1.2 var(--display); }
.nie { font-size: 0.95rem; color: var(--muted); }
@media (min-width: 60rem) { .sklad { grid-template-columns: 7fr 5fr; column-gap: 5rem; } }

/* ——— Cakes: an editorial feature, not a catalogue ——— */
.torty { position: relative; overflow: clip; }
.torty__word { position: absolute; left: 50%; top: clamp(1.5rem, 4vw, 3rem); transform: translateX(-50%); font-size: 26vw; color: #e9dfd2; }
@media (min-width: 60rem) { .torty__word { font-size: min(25vw, 31rem); } }
.torty__head { position: relative; padding-top: clamp(4.5rem, 14vw, 12.5rem); display: grid; gap: 1.25rem; }
@media (min-width: 60rem) { .torty__head { grid-template-columns: 7fr 5fr; align-items: end; column-gap: 3rem; } }
.przekroj { position: relative; margin-top: clamp(2rem, 5vw, 4rem); }
.przekroj img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 50%; }
.przekroj figcaption { margin-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem; }
.przekroj figcaption em { font: italic 400 clamp(1.3rem, 2.4vw, 2rem)/1.15 var(--display); }
@media (min-width: 48rem) { .przekroj img { aspect-ratio: 16 / 9; } }
.realizacje { margin-top: clamp(3.5rem, 8vw, 7rem); display: grid; gap: 3.5rem; }
.realizacje__col { display: grid; gap: clamp(3.5rem, 8vw, 7rem); align-content: start; }
.real img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s ease; }
.real__frame { overflow: hidden; }
.real:hover img { transform: scale(1.03); }
.real figcaption { margin-top: 1.25rem; display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1.5rem; align-items: baseline; }
.real h3 { font: italic 400 clamp(1.7rem, 3vw, 2.6rem)/1 var(--display); }
.real .label { color: var(--muted); }
.real p { grid-column: 1 / -1; color: var(--muted); max-width: 30rem; }
@media (min-width: 60rem) {
  .realizacje { grid-template-columns: 5fr 6fr; column-gap: 8.33%; }
  .realizacje__col:last-child { margin-top: 11rem; }
}
.torty .facts { margin-top: clamp(3rem, 7vw, 5.5rem); }

/* ——— Wedding table ——— */
.bleed { position: relative; background: #cfc6ba; }
.bleed picture img { width: 100%; height: min(92vh, 52rem); object-fit: cover; object-position: 60% 60%; }
.bleed__text { position: absolute; left: var(--gutter); right: var(--gutter); top: clamp(1.5rem, 6vw, 5rem); max-width: 30rem; color: #27211d; }
.bleed__text > * + * { margin-top: 1.1rem; }

/* ——— Companies / Christmas ——— */
.firmy__grid { display: grid; gap: 2.5rem; align-items: center; }
.firmy__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.firmy__text > * + * { margin-top: 1.4rem; }
.firmy .facts { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 60rem) { .firmy__grid { grid-template-columns: 7fr 5fr; column-gap: 4.5rem; } }
:root[data-sezon="swieta"] .sezon-up { background: var(--accent); color: var(--on-accent); --fg: var(--on-accent); --muted: #e6cbc7; --rule: #8d3a48; --btn-bg: var(--on-accent); --btn-fg: var(--accent); }

/* ——— 1977: the album as a magazine feature ——— */
.arch { background: var(--ground); }
.arch__top { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 7vw, 6rem); }
.arch__year { line-height: 0.8; }
.arch__year .script { display: block; font-size: clamp(3.5rem, 9vw, 7.5rem); line-height: 0.45; padding-left: 0.12em; }
.arch__year .year { display: block; font: 400 clamp(6.5rem, 26vw, 23rem)/0.8 var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 96; letter-spacing: -0.03em; margin-left: -0.04em; }
.arch__lead { font: italic 400 clamp(1.5rem, 2.7vw, 2.3rem)/1.2 var(--display); max-width: 18ch; }
.arch__lead + .label { margin-top: 1.25rem; color: var(--muted); }
@media (min-width: 60rem) { .arch__top { grid-template-columns: 8fr 4fr; column-gap: 3rem; } }
.arch__grid { display: grid; gap: 2.5rem; }
.plate { margin: 0; }
.plate__img { background: #fbf8f2; padding: clamp(0.5rem, 1vw, 0.85rem); }
.plate img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.plate figcaption { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0 0.5rem; margin-top: 1rem; align-items: baseline; }
.plate figcaption i { font: italic 400 1.9rem/1 var(--display); color: var(--accent); }
.plate figcaption b { font: 400 1.5rem/1.1 var(--display); }
.plate figcaption span { grid-column: 2; color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; max-width: 26rem; }
.arch__side { display: grid; gap: 2.5rem; align-content: start; }
@media (min-width: 60rem) {
  .arch__grid { grid-template-columns: 7fr 4fr; column-gap: 8.33%; }
  .arch__side { margin-top: 9rem; }
}
.dzis { display: grid; gap: 2rem; align-items: center; margin-top: clamp(3.5rem, 8vw, 7rem); padding-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--fg); }
.dzis img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.dzis__text > * + * { margin-top: 1.25rem; }
@media (min-width: 60rem) { .dzis { grid-template-columns: 5fr 7fr; column-gap: 8.33%; } .dzis img { order: 2; } }

/* ——— Visit ——— */
.visit { text-align: center; }
.visit .display { margin-block: 1rem 2rem; }
.visit .hours { max-width: 26rem; margin-inline: auto; }
.visit__links { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; }

footer { background: #27211d; color: #f4eee5; padding-block: 3rem 6rem; }
.band { background: var(--ground); }
.gen-note { font: 400 0.68rem/1.4 var(--text); letter-spacing: 0.08em; color: var(--muted); }

/* ——— Home hero: "Stół". One wide photograph, the headline set on the empty wall. ——— */
.h { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; overflow: clip; isolation: isolate; padding-block: 0; }
.h > .wrap { width: 100%; }
.h img.h__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.h .today { border-color: color-mix(in srgb, currentColor 25%, transparent); color: inherit; }
.h .today a { color: inherit; }
.h__body { display: grid; align-content: center; padding-block: 2rem; }
.h__body > * + * { margin-top: 1.5rem; }
.h h1 { font-size: clamp(2.9rem, 6.6vw, 6.25rem); line-height: 0.96; max-width: 11ch; font-optical-sizing: none; font-variation-settings: "opsz" 96; }
.h .lede { max-width: 24rem; font-size: 1.08rem; }
.h__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.75rem 2rem; padding-block: 1.25rem 2.5rem; }
.od { font: 400 clamp(2.2rem, 4vw, 3.4rem)/0.8 var(--script); color: var(--accent); }
.od b { font: 400 0.62em/1 var(--display); letter-spacing: 0.02em; margin-left: 0.15em; color: var(--fg); }
.h--stol { color: #27211d; --fg: #27211d; --muted: #4f463e; --accent: #7c3f22; --rule: #b9aa98; background: #d9cfc2; }
:root[data-sezon="swieta"] .h--stol { --accent: #6d1a29; }
.h--stol img.h__bg { object-position: 78% 50%; }
.h--stol::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(226 217 205 / 0.55) 0%, rgb(226 217 205 / 0) 55%); }
/* Portrait screens: the photograph stands on its own, the words sit on plain ground below it. */
@media (max-width: 47.99rem), (max-aspect-ratio: 4 / 3) {   /* 2026-11-18: was 1 / 1; landscape tablets stack too */
  .h { display: flex; flex-direction: column; min-height: 0; }
  .h > header { order: 0; }
  .h img.h__bg { order: 1; position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; z-index: 0; }
  .h__body { order: 2; padding-block: 2rem 1rem; }
  .h__foot { order: 3; padding-bottom: 2.5rem; }
  .h::before { display: none; }
  .h--stol { background: #e2d8cb; }
  .h--stol img.h__bg { object-position: 80% 50%; }
}
@media (min-width: 48rem) and (max-aspect-ratio: 4 / 3) { .h img.h__bg { aspect-ratio: 3 / 2; } }
:root[data-sezon="swieta"] .h { min-height: calc(100svh - 2.6rem); }
/* Preview-only switch: centred so it never covers the hero's corner captions. */
.sezon-switch { left: 50%; transform: translateX(-50%); }

/* ═══ Round 3b: all pages ═══ */
/* A photograph that does not exist yet. Says what belongs here; never a stand-in picture. */
.ph { background: #d3c7b8; color: #5d544b; display: grid; place-items: center; text-align: center; outline: 1px dashed #8f8274; outline-offset: -0.9rem; padding: 2.5rem 2rem; font: 500 0.68rem/1.8 var(--text); letter-spacing: 0.16em; text-transform: uppercase; }
.ph b { display: block; font: italic 400 1.5rem/1.2 var(--display); letter-spacing: 0; text-transform: none; margin-bottom: 0.5rem; color: #27211d; }
.ph--32 { aspect-ratio: 3 / 2; }
.ph--45 { aspect-ratio: 4 / 5; }
.h--ph { color: #27211d; --fg: #27211d; --muted: #4f463e; --rule: #b3a594; background: #d3c7b8; }
.h > .h__bg.ph { position: absolute; inset: 0; z-index: -2; justify-items: end; padding-right: clamp(2rem, 9vw, 9rem); outline-offset: -1.25rem; }
.h > .h__bg.ph > span { max-width: 20rem; }
@media (max-width: 47.99rem), (max-aspect-ratio: 1 / 1) {
  .h > .h__bg.ph { order: 1; position: relative; inset: auto; aspect-ratio: 4 / 5; z-index: 0; justify-items: center; padding: 2rem; }
}
/* A composite: their real pastries on a generated set. Labelled, so nobody takes it for a photo of a wedding. */
.viz { position: relative; margin: 0; }

/* Home, 1977: closes on what has not changed */
.arch__end { margin-top: clamp(3.5rem, 8vw, 7rem); display: grid; gap: clamp(2rem, 4vw, 3rem); }
.arch__end .display { max-width: 21ch; }
.arch { --rule: #c3b8aa; }

/* Cakes: the order facts sit beside the last photograph */
.zamow { display: grid; gap: 2rem; align-content: start; }
@media (min-width: 60rem) { .facts--2 div { border-bottom: 1px solid var(--rule); } }
.warstwy { grid-column: 1 / -1; margin-top: 0.5rem; border-top: 1px solid var(--rule); font-size: 0.92rem; }
.warstwy div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.warstwy dt { font: 500 0.66rem/1.9 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Inner pages: the poster head */
.afisz { position: relative; overflow: clip; background: var(--ground); padding-block: 0 clamp(3rem, 7vw, 5.5rem); }
.afisz > .word { position: absolute; left: 50%; top: clamp(1rem, 3vw, 2.5rem); transform: translateX(-50%); font-size: 26vw; }
@media (min-width: 60rem) { .afisz > .word { font-size: min(25vw, 31rem); } }
.afisz__head { position: relative; padding-top: clamp(5rem, 15vw, 13rem); display: grid; gap: 1.5rem; }
.afisz__side > * + * { margin-top: 1.4rem; }
.afisz .lede { color: var(--muted); font-size: 1.1rem; max-width: 27rem; }
@media (min-width: 60rem) { .afisz__head { grid-template-columns: 7fr 5fr; align-items: end; column-gap: 3rem; } }
.afisz__lead { position: relative; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.afisz__lead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 50%; }
@media (min-width: 48rem) { .afisz__lead img { aspect-ratio: 16 / 9; } }
.cap { margin-top: 0.8rem; font-size: 0.92rem; color: var(--muted); max-width: 34rem; }
.head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.head .label { margin-bottom: -0.25rem; }
@media (min-width: 60rem) { .head { grid-template-columns: 7fr 5fr; align-items: end; column-gap: 3rem; } .head .label { grid-column: 1 / -1; } }

/* Picture beside text */
.split { display: grid; gap: 2.25rem; align-items: center; }
.split figure { margin: 0; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split__text > * + * { margin-top: 1.4rem; }
@media (min-width: 60rem) {
  .split { grid-template-columns: 7fr 5fr; column-gap: 5rem; }
  .split--rev > :first-child { order: 2; }
  .split--p { grid-template-columns: 5fr 7fr; column-gap: 8.33%; }
}
.split--p img, .split--p .ph { aspect-ratio: 4 / 5; }

/* Wedding: three tables */
.style { display: grid; gap: clamp(4rem, 9vw, 7.5rem); }
.styl img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 48rem) { .styl img { aspect-ratio: 16 / 9; } }
.styl__text { display: grid; gap: 0.9rem 3rem; margin-top: 1.5rem; align-items: start; }
.styl__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; }
.styl__name i { font: italic 400 1.9rem/1 var(--display); color: var(--accent); min-width: 2.4rem; }
.styl__name h3 { font: 400 clamp(2.2rem, 4.6vw, 4rem)/1 var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 96; }
.styl__text p { color: var(--muted); max-width: 28rem; }
.styl__lista .label { display: block; margin-bottom: 0.4rem; color: var(--fg); }
@media (min-width: 60rem) { .styl__text { grid-template-columns: 5fr 4fr 3fr; } }

/* For companies: three services, four numbers each */
.uslugi { border-top: 1px solid var(--fg); }
.usluga { display: grid; gap: 1.25rem 3rem; padding-block: 2rem; border-bottom: 1px solid var(--rule); }
.usluga h3 { font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.05 var(--display); }
.usluga dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.usluga dt { font: 500 0.66rem/1.5 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.usluga dd { font-size: 0.95rem; line-height: 1.5; }
@media (min-width: 60rem) { .usluga { grid-template-columns: 4fr 8fr; } .usluga dl { grid-template-columns: repeat(4, 1fr); } }
.smaki em { display: block; font-style: normal; font-size: 0.88rem; color: var(--accent); margin-top: 0.3rem; }

/* Workshop: what is not here, what is */
.twin { display: grid; gap: 3rem; }
.twin h3 { font: 500 0.72rem/1.4 var(--text); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.lista--1 { grid-template-columns: 1fr; }
.twin--no li { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
@media (min-width: 60rem) { .twin { grid-template-columns: 1fr 1fr; column-gap: 5rem; } }
.codz { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.25rem; }
.codz figure { margin: 0; }
.codz img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 60rem) { .codz { grid-template-columns: repeat(4, 1fr); column-gap: 1.75rem; } .codz figure:nth-child(even) { margin-top: 4rem; } }

/* Contact */
.form select, .form textarea { width: 100%; font: 400 1.1rem/1.4 var(--text); color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--fg); border-radius: 0; padding: 0.5rem 0; }
.form textarea { min-height: 9rem; resize: vertical; border: 1px solid var(--fg); padding: 0.8rem; }
.adres { font-style: normal; font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.3 var(--display); }
.adres a { text-decoration: none; }
.next { text-align: center; }
.next .display { margin-bottom: 2rem; }
footer .nav { margin-bottom: 2.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid #4a413a; }
footer .nav a:hover { color: #e6cbc7; }
.facts .tbc, .hours .tbc { white-space: normal; display: inline-block; line-height: 1.5; }

/* ═══ Na święta (na-swieta.html): one Christmas page for home and for companies ═══ */
.termin { display: flex; align-items: baseline; gap: 0.75rem; }
.termin b { font: 400 clamp(2rem, 3.4vw, 3rem)/1 var(--display); color: var(--accent); }
.termin span { max-width: 11rem; }
/* Hero: the stacked gifts beside the two ways in */
.ns-lead { position: relative; margin-top: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 2rem; }
.ns-lead img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ns-drogi { display: grid; border-top: 1px solid var(--fg); align-content: end; }
.ns-droga { display: grid; gap: 0.75rem; padding-block: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); text-decoration: none; }
.ns-droga__t { font: 400 clamp(2rem, 4.3vw, 3.6rem)/1 var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 96; }
.ns-droga__t em { color: var(--accent); }
.ns-droga__d { color: var(--muted); max-width: 28rem; }
.ns-droga:hover .ns-droga__t { color: var(--accent); }
@media (min-width: 60rem) { .ns-lead { grid-template-columns: 5fr 7fr; column-gap: 8.33%; align-items: end; } }
/* Pierniki: one photograph and the shapes as an index, not a catalogue of cut-outs */
.ns-pierniki { display: grid; gap: 2.5rem; align-items: start; }
.indeks { border-top: 1px solid var(--fg); display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; margin-bottom: 2rem; }
.indeks li { display: flex; align-items: baseline; gap: 0.6rem; padding-block: 0.55rem; border-bottom: 1px solid var(--rule); font: 400 1.3rem/1.2 var(--display); }
.indeks i { font: italic 400 0.95rem/1 var(--display); color: var(--accent); min-width: 2.1rem; }
@media (min-width: 60rem) { .ns-pierniki { grid-template-columns: 7fr 5fr; column-gap: 5rem; } }
/* Four gifts, two by two, the second column set lower */
.prezenty { display: grid; gap: 3.5rem 2.5rem; }
.prezent h3 { font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.05 var(--display); margin: 1.25rem 0 0.6rem; }
.prezent > p { color: var(--muted); max-width: 30rem; }
.prezent .warstwy { margin-top: 1rem; }
@media (min-width: 48rem) { .prezenty { grid-template-columns: 1fr 1fr; } .prezent:nth-child(even) { margin-top: 5rem; } }
/* Premium pack: the page's one burgundy band (not .sezon-up, which the season reorders) */
.ns-bordo { background: var(--accent); color: var(--on-accent); --fg: var(--on-accent); --muted: #e6cbc7; --rule: #8d3a48; --btn-bg: var(--on-accent); --btn-fg: var(--accent); }
.zestaw { border-top: 1px solid var(--fg); }
.zestaw li { display: grid; gap: 0.15rem 1.5rem; padding-block: 0.75rem; border-bottom: 1px solid var(--rule); }
.zestaw b { font: 400 1.35rem/1.2 var(--display); }
.zestaw span { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 40rem) { .zestaw li { grid-template-columns: 13rem 1fr; align-items: baseline; } }
.ns-bordo .facts { margin-top: 0.5rem; }
/* Personalisation: four numbered rows, a picture for each */
.logo-opcje { border-top: 1px solid var(--fg); }
.logo-opcje li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem 1.5rem; padding-block: clamp(1.75rem, 4vw, 2.75rem); border-bottom: 1px solid var(--rule); align-items: start; }
.logo-opcje li > i { font: italic 400 2.2rem/1 var(--display); color: var(--accent); }
.logo-opcje h3 { font: 400 clamp(1.8rem, 3.4vw, 2.9rem)/1 var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 96; margin-bottom: 0.75rem; }
.logo-opcje li > div > p:not(.label) { color: var(--muted); max-width: 32rem; }
.logo-opcje .label { margin-top: 1rem; }
.logo-opcje .ph { grid-column: 1 / -1; }
.ph--11 { aspect-ratio: 1 / 1; }
@media (min-width: 60rem) {
  .logo-opcje li { grid-template-columns: 5rem 1fr 22rem; column-gap: 3rem; }
  .logo-opcje .ph { grid-column: auto; }
}
.logo-opcje li > div > p + p { margin-top: 0.6rem; }
.logo-opcje__foto { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; min-width: 0; }
.logo-opcje__foto .ph { grid-column: auto; min-width: 0; overflow-wrap: anywhere; padding: 1.5rem 0.9rem; outline-offset: -0.6rem; letter-spacing: 0.08em; }
.logo-opcje__foto .ph b { font-size: 1.2rem; }
@media (min-width: 60rem) {
  .logo-opcje li.logo-opcje__dwa { grid-template-columns: 5rem 1fr 30rem; }
  .logo-opcje__foto { grid-column: auto; }
}
.ns-skala { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
/* Closing: two ways to order */
.ns-kontakt { display: grid; gap: 3rem; text-align: left; margin-top: 1rem; }
.ns-kontakt > div > * + * { margin-top: 1.1rem; }
.ns-kontakt .adres a { text-decoration: none; }
.ns-kontakt .hours { max-width: none; margin: 1.25rem 0 0; }
@media (min-width: 60rem) { .ns-kontakt { grid-template-columns: 1fr 1fr; column-gap: 5rem; } }

/* Home, weddings: a 3.7:1 panorama shown whole, the headline on the page above it */
.bleed--pano { background: var(--bg); padding-top: var(--gap); }
.bleed--pano .bleed__text { position: static; max-width: var(--max); color: var(--fg); margin-bottom: clamp(2rem, 4vw, 3rem); }
.bleed--pano picture img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 48rem) { .bleed--pano picture img { aspect-ratio: 3072 / 840; } }

/* A giant word with an accented capital (Ś): drop it by the accent's height so the accent is not cut off */
.afisz > .word--akcent { top: calc(clamp(1rem, 3vw, 2.5rem) + 0.16em); }

/* ═══ Wesela: switched off for now (2026-11-15). wesela.html stays; every link to it carries
   data-wesela. Delete this whole block to bring the page back. ═══ */
[data-wesela] { display: none !important; }
.doors { grid-template-columns: repeat(3, 1fr); counter-reset: drzwi; }
.doors > .door { border-bottom: 0; border-right: 1px solid var(--rule); }
.doors > .door:last-child { border-right: 0; }
.doors > .door:not([data-wesela]) { counter-increment: drzwi; }
.doors > .door > .label:first-child { font-size: 0; }
.doors > .door > .label:first-child::before { content: "0" counter(drzwi); font-size: 0.72rem; }
@media (min-width: 60rem) { .doors { grid-template-columns: repeat(3, 1fr); } }
/* end Wesela switch */

/* ═══ Zestaw Premium: in the Christmas theme the burgundy band on the home page (index.html #firmy)
   becomes the way into dla-firm.html, the company gifts page with the configurator (2026-11-17: shown in both themes). Delete this block and the sezon-only div
   in #firmy to undo. The configurator's own styles are in zestaw-premium.css. ═══ */
.zp-pas { display: grid; gap: 2.25rem; align-items: center; }
.zp-pas__tekst > * + * { margin-top: 1.4rem; }
.zp-pas__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.zp-pas__foto { display: block; overflow: hidden; }
.zp-pas__foto figure { margin: 0; }
.zp-pas__foto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s ease; }
.zp-pas__foto:hover img { transform: scale(1.03); }
.zp-pas .display { overflow-wrap: break-word; }
@media (min-width: 60rem) { .zp-pas { grid-template-columns: 7fr 5fr; column-gap: 4.5rem; } }
/* end Zestaw Premium home band */

/* ═══ Na święta (na-swieta.html): photographs of the four gifts, 4:5 like the placeholders they replace ═══ */
.prezent__foto { margin: 0; }
.prezent__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* end Na święta gift photos */

/* ═══ Dla firm = prezenty firmowe (2026-11-17). The home band (#firmy) sits right under the doors in both
   themes; in the Christmas theme the doors are four (Torty, Na święta, Dla firm, Sklep): 2 × 2 on a phone,
   one row from 60rem. Delete this block to undo. ═══ */
main > #firmy { order: 2; }
/* .sezon-only shows with display: revert, which makes the <a> inline; a door must stay a grid */
:root[data-sezon="swieta"] .door.sezon-only { display: grid !important; }
:root[data-sezon="swieta"] .doors { grid-template-columns: repeat(2, 1fr); }
:root[data-sezon="swieta"] .doors > .door { border-right: 0; }
/* counted among visible doors only, so it works with or without the hidden Wesela door in the markup */
:root[data-sezon="swieta"] .doors > .door:nth-child(odd of .door:not([data-wesela])) { border-right: 1px solid var(--rule); }
:root[data-sezon="swieta"] .doors > .door:nth-child(-n + 2 of .door:not([data-wesela])) { border-bottom: 1px solid var(--rule); }
@media (min-width: 60rem) {
  :root[data-sezon="swieta"] .doors { grid-template-columns: repeat(4, 1fr); }
  :root[data-sezon="swieta"] .doors > .door { border-bottom: 0 !important; border-right: 1px solid var(--rule); }
  :root[data-sezon="swieta"] .doors > .door:last-child { border-right: 0; }
}
/* end Dla firm */

/* ═══ Archive prints (2026-11-17): one plain line of fact, like a note on the back of a print, instead of
   numeral + title + description. Remove class="fakt" from the figcaptions and this block to undo. ═══ */
.plate figcaption.fakt { display: block; }
.plate figcaption.fakt span { display: block; margin-top: 0; }
/* end archive captions */

/* ═══ Phones and tablets (2026-11-17). Below 60rem the two menu lists flow as one centred list under the
   wordmark (no lone item on its own row); "Strona główna" is hidden there, the wordmark is the way home.
   Small inline links (phone, e-mail, strip) get a taller tap area without moving the text. Delete to undo. ═══ */
@media (max-width: 59.99rem) {
  .masthead { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.1rem 1.6rem; }
  .masthead .wordmark { flex-basis: 100%; margin-bottom: 0.5rem; }
  .masthead .nav { display: contents; }
  .masthead .nav li:has(> a[href="index.html"]), .masthead .nav li:has(> a[href="/"]) { display: none; }   /* afisz file / live site */
}
.strip a, .colophon a { padding-block: 0.6rem; }
.today a { padding-block: 0.6rem; margin-block: -0.6rem; }   /* flex item: cancel the padding in the layout */
/* Doors: number, title and text start at the same height in every door, whatever the text length */
.doors > .door { align-content: start; }
.doors > .door .door__t { margin-top: clamp(0.75rem, 2.5vw, 2rem); }
/* Smallest phones (320px): the home headline and the gingerbread index must fit the width */
@media (max-width: 22.5rem) {
  .h h1 { font-size: 2.5rem; }
  .indeks { grid-template-columns: 1fr; }
  .ns-pierniki { grid-template-columns: minmax(0, 1fr); }
  .tbc { white-space: normal; display: inline-block; }   /* price placeholders */
  /* three doors side by side do not fit: stack them (the Christmas theme's 2 × 2 is unaffected) */
  :root:not([data-sezon="swieta"]) .doors { grid-template-columns: 1fr; }
  :root:not([data-sezon="swieta"]) .doors > .door { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 0; }
  :root:not([data-sezon="swieta"]) .doors > .door:last-child { border-bottom: 0; }
}
/* "Z czego pieczemy": below 60rem the ingredients photo runs edge to edge on both sides (it bleeds only left on desktop) */
@media (max-width: 59.99rem) { .sklad__img { margin-inline: calc(var(--gutter) * -1); } }
/* Home sweet-table band (2026-11-18): the whole wide panorama on every screen, edge to edge, no square crop */
.bleed--pano > img { display: block; width: 100%; height: auto; aspect-ratio: 3072 / 840; object-fit: cover; }
/* end phones and tablets */

/* ═══ Realizacje, option B (2026-11-17): one featured cake, two small ones and a "Wszystkie realizacje"
   button, on torty.html and index.html; every cake opens realizacje.html#… Delete this block and the .wyr
   markup to undo. ═══ */
.wyr { display: grid; gap: 2.5rem; margin-top: clamp(1.5rem, 4vw, 3rem); }
.wyr__label { margin-top: clamp(3rem, 7vw, 5.5rem); }
.wyr__label + .wyr { margin-top: 1.25rem; }
.wyr__item { display: block; text-decoration: none; color: inherit; }
.wyr__item img { width: 100%; height: auto; aspect-ratio: 880 / 1184; object-fit: cover; transition: transform 1.2s ease; }   /* the photos' own shape: nothing cut */
.wyr__item:hover img { transform: scale(1.03); }
.wyr__name { font: italic 400 clamp(1.7rem, 3vw, 2.6rem)/1 var(--display); margin: 1.1rem 0 0.4rem; }
.wyr__item .label { color: var(--muted); }
.wyr__item p { color: var(--muted); max-width: 30rem; margin-top: 0.6rem; }
.wyr__item:hover .wyr__name { color: var(--accent); }
.wyr__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; align-content: start; }
.wyr__side .wyr__name { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.wyr__all { margin-top: clamp(2.5rem, 6vw, 4rem); }   /* under the whole group, where the section ends */
.wyr__all .btn { width: 100%; text-align: center; }
@media (min-width: 48rem) { .wyr__all .btn { width: auto; } }
@media (min-width: 60rem) {
  .wyr { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }   /* both columns end at about the same height */
  .wyr__side { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}
.wyr__all + .zamow { margin-top: clamp(3rem, 7vw, 5rem); }
.wyr + .zamow { margin-top: clamp(3rem, 7vw, 5rem); }   /* home page: no button between the cakes and the facts */
.real[id] { scroll-margin-top: 2rem; }   /* realizacje.html#… lands with air above the photo */
/* end Realizacje option B */

/* ═══ Salon hang on torty.html (2026-11-17): the eight cakes on the plinth hung like prints on a gallery wall.
   From 60rem: four columns of different widths, each starting at its own height. Below: two columns, the right
   one set lower. Delete this block and the .salon markup to undo. ═══ */
.salon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1rem; margin-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: 2.5rem; }
.salon__col { display: contents; }
.salon__col > .salon__item:nth-child(2) { transform: translateY(2.5rem); }
.salon__item { display: block; text-decoration: none; color: inherit; }
.salon__frame { display: block; overflow: hidden; }
.salon__frame img { display: block; width: 100%; height: auto; aspect-ratio: 880 / 1184; object-fit: cover; transition: transform 1.2s ease; }
.salon__item:hover img { transform: scale(1.03); }
.salon__name { display: block; font: italic 400 clamp(1.2rem, 1.8vw, 1.6rem)/1.1 var(--display); margin: 0.8rem 0 0.3rem; }
.salon__item:hover .salon__name { color: var(--accent); }
.salon__item .label { color: var(--muted); }
@media (min-width: 60rem) {
  .salon { grid-template-columns: 4fr 3fr 5fr 3fr; column-gap: clamp(1.5rem, 3vw, 3rem); align-items: start; padding-bottom: 0; }
  .salon__col { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-content: start; }
  .salon__col > .salon__item:nth-child(2) { transform: none; }
  .salon__col--b { margin-top: 9rem; }
  .salon__col--c { margin-top: 3.5rem; }
  .salon__col--d { margin-top: 15rem; }
}
@media (prefers-reduced-motion: reduce) { .salon__frame img { transition: none; } }
figure.salon__item { margin: 0; }   /* 2026-11-18: cakes are photos now, not links */
/* end Salon hang */

/* ═══ Symmetric gallery on torty.html (2026-11-17): eight cakes, all the same size, centred captions.
   From 48rem: rows of 3 · 2 · 3 on a six-column grid, the middle pair centred, so the cake outlines
   (short · tall · short / tall · tall / tall · short · tall) mirror around the centre. Phones: an even
   2-column grid. Not in use since 2026-11-18: torty.html is back to the salon hang above. Kept for a quick switch. ═══ */
.galeria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1rem; margin: clamp(1.5rem, 4vw, 3rem) auto 0; max-width: 62rem; }
.galeria__item { display: block; text-decoration: none; color: inherit; text-align: center; }
.galeria__frame { display: block; overflow: hidden; }
.galeria__frame img { display: block; width: 100%; height: auto; aspect-ratio: 880 / 1184; object-fit: cover; transition: transform 1.2s ease; }
.galeria__item:hover img { transform: scale(1.03); }
.galeria__name { display: block; font: italic 400 clamp(1.2rem, 1.8vw, 1.55rem)/1.1 var(--display); margin: 0.9rem 0 0.3rem; }
.galeria__item:hover .galeria__name { color: var(--accent); }
.galeria__item .label { color: var(--muted); }
.galeria__all { text-align: center; }
@media (min-width: 48rem) {
  .galeria { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: clamp(2.5rem, 5vw, 4rem); }
  .galeria__item { grid-column: span 2; }
  .galeria__item:nth-child(4) { grid-column: 2 / span 2; }
  .galeria__item:nth-child(5) { grid-column: 4 / span 2; }
}
@media (prefers-reduced-motion: reduce) { .galeria__frame img { transition: none; } }
/* end Symmetric gallery */

/* ═══ Home hero in a <picture> (2026-11-18): phones get their own 4:5 cut. The picture box steps aside so the
   image stays a flex item of .h; the .h__bg rules above now say ".h img.h__bg" instead of ".h > img.h__bg". ═══ */
.h > picture.h__pic { display: contents; }
/* With the picture "contents", its empty <source> tags would become grid rows and push the header down. */
.h > picture.h__pic > source { display: none; }
/* The PŁ cake stands near the middle of its photo: keep the photo against the right edge and the headline a
   little smaller, so the words stay on the plain wall at the left. */
.h--stol img.h__bg { object-position: 100% 50%; }
@media (min-width: 48rem) { .h h1 { font-size: clamp(2.9rem, 5.6vw, 5.25rem); } }
/* Desktop menu up to 80rem: four items on the left wrap, so "Strona główna" goes (the wordmark is the way home) */
@media (max-width: 79.99rem) { .masthead .nav li:has(> a[href="index.html"]), .masthead .nav li:has(> a[href="/"]) { display: none; }   /* afisz file / live site */ }
/* end home hero picture */

/* ═══ Torty hero (2026-11-18): phones get the photo's own 4:5 cut instead of a 4:3 crop of the wide one. ═══ */
.afisz__lead picture { display: block; }
@media (max-width: 47.99rem) { .afisz__lead--tel img { aspect-ratio: 4 / 5; object-position: 50% 50%; } }
/* end Torty hero */

/* ═══ Na święta, #pierniki (2026-11-18): the photo of all nine shapes in place of the placeholder ═══ */
.ns-pierniki__foto { margin: 0; }
.ns-pierniki__foto img { display: block; width: 100%; height: auto; }
/* end pierniki photo */

/* ═══ Dla firm, "Jak zamówić" (2026-11-18): the shipping photo in place of the placeholder ═══ */
.firmy-wysylka img { display: block; width: 100%; height: auto; }
/* end shipping photo */

/* ═══ Dla firm, "Logo na pierniku" (2026-11-18): photos in the two square slots beside the text ═══ */
.logo-opcje__zdj { margin: 0; min-width: 0; }
.logo-opcje__zdj img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
/* end logo photos */

/* ═══ Kontakt map (2026-11-18): the live site's Google Maps embed, framed like a photograph; slightly
   desaturated so Google's colours don't shout over the paper (as .map in app/src/styles/site.css). ═══ */
.mapa { background: var(--ground); border: 1px solid var(--rule); min-width: 0; }
.mapa iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; filter: saturate(0.6) sepia(0.12); }
/* end Kontakt map */

/* ═══ Online shop link in the menu (2026-11-19): the site's own .btn, trimmed to the menu's line height so the
   header does not grow. Delete with the "Sklep" menu items to undo. ═══ */
.masthead .nav a.btn { padding: 0.55rem 1.1rem; }
.masthead .nav a.btn:hover { color: var(--btn-bg); }
/* Na święta: "Kup w sklepie" under each product */
.ns-sklep { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.75rem; }

/* /na-swieta product photos in <picture> (2026-11-21, P-04): AVIF/WebP first, the JPG stays as fallback */
.prezent__foto picture, .ns-pierniki__foto picture, .viz > picture { display: block; }

/* ═══ Online shop switched off (2026-11-22): the Shoper shop is not ready yet. Hides every link to it
   (menu button, footer, "Kup w sklepie" on Na święta, 404). Afisz pages mark them data-sklep; the live site
   writes the shop address into href. Delete this block to show the shop again. ═══ */
a[data-sklep], li:has(> a[data-sklep]), li:has(> strong > a[data-sklep]),
a[href*="shoparena.pl"], li:has(> a[href*="shoparena.pl"]), li:has(> strong > a[href*="shoparena.pl"]),
.ns-sklep:not(:has(a:not([data-sklep]):not([href*="shoparena.pl"])))
{ display: none !important; }
