
/* ===== compat: Elementor's containers and widget wrappers behave as the plain elements they mirror (mirror elements only) ===== */
[data-elementor-type]:where(.elementor), .elementor-location-header, .elementor-location-footer, .elementor-widget-template.cg, .elementor-widget-template.cg > .elementor-widget-container, .elementor-widget-template.cg .elementor-template { display: contents; }
body .e-con:where(.cg) { display: block; position: static; z-index: auto; width: auto; max-width: none; min-width: auto; height: auto; min-height: auto; margin: 0; padding: 0; gap: normal; flex: 0 1 auto; flex-wrap: nowrap; justify-content: normal; align-items: normal; align-content: normal; align-self: auto; overflow: visible; border: 0 none; border-radius: 0; text-align: inherit; transition: none; order: 0; }
body .e-con.e-flex:where(.cg) { flex-direction: row; flex: 0 1 auto; }
/* Elementor's background-overlay ::before (content, block, absolute, 100% box, opacity, blend, border, transition) */
body .e-con:where(.cg)::before { content: normal; display: inline; position: static; width: auto; height: auto; top: auto; left: auto; opacity: 1; mix-blend-mode: normal; border: 0 none; border-radius: 0; transition: none; }
body .elementor-widget:where(.cg) { position: static; margin: 0; max-width: none; min-width: auto; width: auto; flex: 0 1 auto; align-self: auto; order: 0; transition: none; gap: normal; }
body .e-con .elementor-widget:where(.cg) { min-width: auto; }
body .cg > .elementor-heading-title { display: contents; font: inherit; color: inherit; letter-spacing: inherit; word-spacing: inherit; text-transform: inherit; text-align: inherit; text-decoration: inherit; line-height: inherit; margin: 0; padding: 0; }
body .cg.t-a > .elementor-heading-title > a { display: contents; color: inherit; font: inherit; text-decoration: inherit; }
body .elementor-widget:where(.cg-img, .cg-raw, .cg-tpl) { display: contents; }
body .elementor-widget-image:where(.cg) img { vertical-align: baseline; border-radius: 0; box-shadow: none; }
body .elementor a:where(.t-a, .cg *) { box-shadow: none; text-decoration: revert; }
body .e-con:where(.cg)[hidden], body .elementor-widget:where(.cg)[hidden] { display: none; }
/* user-agent display of the mirrored tags (the source's own rules override these) */
body .cg:where(.t-span, .t-a, .t-em, .t-strong, .t-b, .t-i, .t-small, .t-cite, .t-label, .t-time, .t-output, .t-q, .t-abbr, .t-text, .t-kbd, .t-sup, .t-sub) { display: inline; }
body .cg:where(.t-button) { display: inline-block; text-align: center; cursor: pointer; }
body .cg:where(.t-li) { display: list-item; }
body .cg:where(.t-summary) { display: list-item; cursor: pointer; }
body .cg:where(.t-ul, .t-ol) { display: block; margin-block: 1em; padding-inline-start: 40px; list-style-type: disc; }
body .cg:where(.t-ol) { list-style-type: decimal; }
body .cg:where(.t-dl) { display: block; margin-block: 1em; }
body .cg:where(.t-dd) { margin-inline-start: 40px; }
body .cg:where(.t-figure, .t-blockquote) { margin: 1em 40px; }
body .cg:where(.t-fieldset) { margin-inline: 2px; padding: .35em .75em .625em; border: 2px groove ThreeDFace; min-inline-size: min-content; }
body .cg:where(.t-legend) { padding-inline: 2px; }
body .cg:where(.t-address, .t-em, .t-i, .t-cite) { font-style: italic; }
body .cg:where(.t-strong, .t-b) { font-weight: bolder; }
body .cg:where(.t-small) { font-size: smaller; }
body .cg:where(.t-h1) { font-size: 2em; font-weight: bold; margin-block: .67em; }
body .cg:where(.t-h2) { font-size: 1.5em; font-weight: bold; margin-block: .83em; }
body .cg:where(.t-h3) { font-size: 1.17em; font-weight: bold; margin-block: 1em; }
body .cg:where(.t-h4) { font-weight: bold; margin-block: 1.33em; }
body .cg:where(.t-p) { margin-block: 1em; }
body .cg:where(.t-a, .t-button, .t-summary, .t-label) { cursor: pointer; }
/* ===== end compat ===== */
/* styles.css (rewritten for the Elementor mirror) */
/* Czystegroby.pl, homepage. Handhold system: cream canvas, black ink, whisper serif, Inter 400, pills, no shadows, plus the original
   logo gold as the one accent.
   Deliberate deviations for a 60+ audience: body 18px, muted grey darkened to #595959, serif at 400 below 32px. */

:root {
  --paper: #f2f1ed;
  --paper-deep: #e8e6df;
  --card: #ffffff;
  --ink: #000000;
  --text: #1c1c1c;
  --line: #dbd7cd;
  --line-strong: #c4bfb3;
  --muted: #595959;
  --faint: #8d877b;
  --gold: #b59450;
  --gold-text: #9a7b3f;
  --gold-deep: #7d602a;
  --gold-line: rgba(181, 148, 80, .55);
  --sand: #e9dfc8;
  --blush: #ead9d3;
  --mist: #dfe4e7;
  --primrose: #f3e9c6;
  --znicz: #a4382f;
  --serif: 'Cormorant Garamond', ui-serif, Georgia, 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-band: 40px;
  --r-lg: 32px;
  --r-card: 28px;
  --r-md: 20px;
  --r-sm: 16px;
  --r-xs: 12px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --inset: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
  --lift: 0px;
  /* the content column's edge, for copy that sits on a full-width photo: on a full-width box (hero) and inside an inset band
     (image bands, closing band, seasons strip). Percentages resolve where the variable is used. */
  --edge-page: max(var(--gutter), (100% - var(--wrap)) / 2);
  --edge-band: max(var(--gutter) - var(--inset), (100% - var(--wrap)) / 2);
}

body.cg *,body.cg  *::before,body.cg  *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.cg {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 18px/1.6 var(--sans);
  letter-spacing: -0.009em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.cg img { display: block; max-width: 100%; height: auto; }
body.cg :where(a,.t-a):not(cg-x) { color: inherit; }
body.cg :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { margin: 0; }
body.cg :where(h1:not(.elementor-heading-title),.t-h1):not(cg-x),body.cg :where(h2:not(.elementor-heading-title),.t-h2):not(cg-x),body.cg :where(h3:not(.elementor-heading-title),.t-h3):not(cg-x),body.cg :where(h4:not(.elementor-heading-title),.t-h4):not(cg-x) { margin: 0; font-weight: 400; }
body.cg :where(ul,.t-ul):not(cg-x),body.cg :where(ol,.t-ol):not(cg-x) { margin: 0; padding: 0; }
body.cg :where(figure,.t-figure):not(cg-x) { margin: 0; }
body.cg :where(button,.t-button):not(cg-x) { font: inherit; color: inherit; }
body.cg ::selection { background: var(--ink); color: #fff; }
body.cg :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

body.cg .wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
body.cg .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.cg .skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none; }
body.cg .skip:focus { top: 12px; }

body.cg .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* type */
body.cg .display,body.cg  .display-sm,body.cg  .h2,body.cg  .h3,body.cg  .h4 {
  font-family: var(--serif);
  font-feature-settings: "liga" 1, "kern" 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
body.cg .display { font-weight: 300; font-size: clamp(48px, 7vw, 100px); line-height: 0.98; text-wrap: balance; }
body.cg .display-sm { font-weight: 300; font-size: clamp(42px, 5vw, 68px); line-height: 1; text-wrap: balance; }
body.cg .h2 { font-weight: 300; font-size: clamp(40px, 4.8vw, 64px); line-height: 1; text-wrap: balance; }
body.cg .h3 { font-weight: 400; font-size: clamp(32px, 3vw, 42px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
body.cg .h4 { font-weight: 400; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.12; letter-spacing: -0.02em; }
body.cg .lead { font-size: 19px; line-height: 1.7; }

body.cg .sec-index { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
body.cg .sec-index::before { content: ""; flex: none; width: 22px; height: 1px; background: var(--gold); }
body.cg .sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
body.cg .sec-head-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
body.cg .sec-aside { display: grid; gap: 16px; justify-items: start; max-width: 30em; padding-bottom: 6px; }
body.cg .sec-aside :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { color: var(--muted); }

body.cg .link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--line-strong); font-size: 17px; transition: text-decoration-color .3s; }
body.cg .link-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
body.cg .link-arrow:hover { text-decoration-color: currentColor; }
body.cg .link-arrow:hover .icon { transform: translateX(4px); }

/* buttons */
body.cg .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 400 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
body.cg .btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
body.cg .btn:hover .icon { transform: translateX(4px); }
body.cg .btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
body.cg .btn-ink { background: var(--ink); color: #fff; }
body.cg .btn-ink:hover { background: #2b2b2b; }
body.cg .btn-paper { background: var(--paper); color: var(--ink); }
body.cg .btn-paper:hover { background: #fff; }
body.cg .btn-glass { background: rgba(22, 18, 12, .3); color: #fff; border-color: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.cg .btn-glass:hover { background: rgba(255, 255, 255, .24); }
body.cg .btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
body.cg .btn-line:hover { background: var(--ink); color: #fff; }
body.cg .btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
body.cg .btn-ghost-light:hover { border-color: #fff; }

body.cg .card { background: var(--card); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); }
body.cg .card-ink { background: var(--ink); color: #fff; }

body.cg .tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; letter-spacing: .02em; }
body.cg .tag-ink { background: var(--ink); color: #fff; }

/* announcement + header: a thin utility line, then the original wordmark and candle, a quiet pill of links with a soft cue that
   slides under the pointer, and one ink button; once the page scrolls the row floats as a white pill
   (refs: In Common With and Coda on Mobbin, 21st.dev Tubelight Navbar) */
body.cg .announce { border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
body.cg .announce-row { display: flex; justify-content: flex-end; align-items: center; gap: 6px 24px; min-height: 40px; max-width: calc(var(--wrap) + var(--gutter) * 2); }
body.cg .announce :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { display: flex; align-items: center; gap: 12px; }
body.cg .announce-note { color: var(--muted); }
body.cg .announce :where(a,.t-a):not(cg-x) { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; white-space: nowrap; }
body.cg .announce :where(a,.t-a):not(cg-x) .icon { width: 15px; height: 15px; }
body.cg .announce :where(a,.t-a):not(cg-x):hover { text-decoration: underline; text-underline-offset: 4px; }
body.cg .announce-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

body.cg .site-header { position: sticky; top: 0; z-index: 50; padding: 10px 0; }
body.cg .header-row { display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 4px; border: 1px solid transparent; border-radius: 999px; transition: background-color .4s, border-color .4s, padding .5s var(--ease), margin .5s var(--ease); }
body.cg .site-header.is-scrolled .header-row { padding: 0 8px 0 24px; background: rgba(255, 255, 255, .88); border-color: var(--line); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); }

/* 13 Nov, client: a bigger logo, and the candle as tall as the letters, from the tip of the flame to its base. --logo-w sets the
   wordmark width; the letters fill 93% of the wordmark box and the candle 96% of its own, so both heights follow from it. */
body.cg .logo { --logo-w: 236px; display: inline-flex; align-items: center; gap: calc(var(--logo-w) * .045); flex-shrink: 0; color: var(--ink); text-decoration: none; }
body.cg .logo-candle,body.cg  .logo-word { display: block; flex-shrink: 0; background: currentColor; forced-color-adjust: none; }
body.cg .logo-candle { width: calc(var(--logo-w) * .0664); height: calc(var(--logo-w) * .0982); -webkit-mask: url("/wp-content/uploads/cg-media/logo-candle.webp") center / contain no-repeat; mask: url("/wp-content/uploads/cg-media/logo-candle.webp") center / contain no-repeat; }
body.cg .logo-word { width: var(--logo-w); aspect-ratio: 2332 / 236; -webkit-mask: url("/wp-content/uploads/cg-media/logo-wordmark.webp") center / contain no-repeat; mask: url("/wp-content/uploads/cg-media/logo-wordmark.webp") center / contain no-repeat; }

body.cg .nav { position: relative; margin: 0 auto; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .62); transition: background-color .4s, border-color .4s; }
body.cg .site-header.is-scrolled .nav { background: transparent; border-color: transparent; }
body.cg .nav-cue { position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--cue-w, 0px); border-radius: 999px; background: var(--paper-deep); opacity: 0; transform: translateX(var(--cue-x, 0px)); pointer-events: none; transition: opacity .3s; }
body.cg .nav.has-cue .nav-cue { opacity: 1; transition: opacity .3s, transform .45s var(--ease), width .45s var(--ease); }
body.cg .nav-list { position: relative; display: flex; align-items: center; list-style: none; }
body.cg .nav-list > :where(li,.t-li):not(cg-x) { position: relative; }
body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(a,.t-a):not(cg-x),body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(.elementor-heading-title)>:where(a,.t-a):not(cg-x) { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; font-size: 15.5px; color: var(--ink); text-decoration: none; }
html:not(.js) body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(a,.t-a):not(cg-x):hover,html:not(.js) body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(.elementor-heading-title)>:where(a,.t-a):not(cg-x):hover { background: var(--paper-deep); }
body.cg .icon-ext { width: 14px; height: 14px; }
body.cg .has-sub { display: flex; align-items: center; }
body.cg .has-sub > :where(a,.t-a):not(cg-x) { padding-right: 4px; }
body.cg .sub-toggle { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
body.cg .sub-toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
body.cg .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
body.cg .sub { position: absolute; top: calc(100% + 16px); left: 50%; display: grid; grid-template-columns: repeat(3, 176px); gap: 6px; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); opacity: 0; visibility: hidden; translate: -50% -8px; transition: opacity .25s, translate .35s var(--ease), visibility .25s; }
body.cg .has-sub:hover .sub,body.cg  .has-sub:focus-within .sub,body.cg  .has-sub.is-open .sub { opacity: 1; visibility: visible; translate: -50% 0; }
body.cg .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 20px; }
body.cg .sub-card { display: grid; gap: 3px; padding: 6px 6px 14px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: background-color .25s; }
body.cg .sub-card:hover { background: var(--paper); }
body.cg .sub-card img { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: var(--r-sm); object-fit: cover; transition: transform .8s var(--ease); }
body.cg .sub-card:hover img { transform: scale(1.03); }
body.cg .sub-name { padding: 0 6px; font: 400 21px/1.1 var(--serif); letter-spacing: -0.015em; }
body.cg .sub-note { padding: 0 6px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
body.cg .nav-mobile { display: none; }

body.cg .header-actions { display: flex; align-items: center; gap: 12px; }
/* header cart (8 Nov): the same cart on every page; the count pops in once something is added (js/cart.js) */
body.cg .header-cart { position: relative; display: grid; flex: none; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .25s; }
body.cg .header-cart:hover { border-color: var(--ink); }
body.cg .header-cart:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
body.cg .header-cart .icon { width: 21px; height: 21px; }
body.cg .header-cart-count { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--ink); color: #fff; font: 400 11.5px/1 var(--sans); font-variant-numeric: tabular-nums; transform: scale(0); transition: transform .35s var(--ease); }
body.cg .header-cart.has-items .header-cart-count { transform: scale(1); }
body.cg .header-cart.is-bump { animation: add-pop .5s var(--ease); }
body.cg .menu-btn { display: none; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; cursor: pointer; font-size: 16px; }
body.cg .menu-btn-lines { position: relative; width: 18px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform .3s var(--ease); }
body.cg .menu-btn[aria-expanded="true"] .menu-btn-lines { border-bottom-color: transparent; transform: translateY(3px); }

/* hero: one wide photo edge to edge, composed for the headline (shaded avenue in the middle, the sunlit flowers on the right),
   the copy centred over it in white, a hairline plate-mark frame inset from the edges, two small facts on the frame at the top
   and the review at the bottom right (refs: Face Formula journal and Lightship heroes, KOBU hairline frames on Mobbin). The
   bento's before/after print rises --lift over the photo's bottom left, and as the page scrolls the photo drifts and grows a
   little under it (script sets --hp). */
body.cg .hero { padding: 0; }
body.cg .hero-frame { position: relative; isolation: isolate; display: grid; place-items: center start; min-height: clamp(620px, calc(100svh - var(--header-h) - 44px), 920px); padding: clamp(96px, 12vh, 150px) var(--edge-page) clamp(88px, 11vh, 128px); overflow: hidden; background: #3d3a2c; color: #fff; }
body.cg .hero-media { position: absolute; inset: 0; z-index: -2; display: block; overflow: hidden; }
body.cg .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
body.cg .hero-shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(58% 64% at 33% 54%, rgba(24, 18, 8, .42), rgba(24, 18, 8, 0) 100%),
  linear-gradient(180deg, rgba(24, 18, 8, .28) 0%, rgba(24, 18, 8, 0) 28%, rgba(24, 18, 8, 0) 58%, rgba(24, 18, 8, .5) 100%); }
body.cg .hero-meta { position: absolute; top: clamp(20px, 2.6vw, 32px); left: 50%; display: flex; gap: 10px; align-items: center; padding: 0 16px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .92); background: var(--ink); line-height: 26px; border-radius: 999px; translate: -50% 0; }
body.cg .hero-meta :where(span:not(.elementor-heading-title),.t-span):not(cg-x) + :where(span:not(.elementor-heading-title),.t-span):not(cg-x)::before { content: "·"; margin-right: 10px; color: var(--gold); }
body.cg .hero-copy { position: relative; width: min(880px, 64vw); text-align: left; }
body.cg .hero-kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; font: 400 13px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .94); }
body.cg .hero-kicker::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
body.cg .hero-title { max-width: 11em; margin: 0; font-size: clamp(52px, 7vw, 116px); line-height: .94; color: #fff; text-wrap: initial; }
body.cg .hero-title em { font-style: italic; color: #e3c98e; }
body.cg .hero-lead { max-width: 32em; margin: 28px 0 36px; font-size: 19.5px; line-height: 1.6; color: rgba(255, 255, 255, .95); text-wrap: balance; }
body.cg .hero-actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
body.cg .hero-quote { position: absolute; right: var(--edge-page); bottom: clamp(32px, 4.5vh, 52px); max-width: 300px; text-align: right; }
body.cg .hero-quote .stars { font-size: 13px; letter-spacing: 3px; color: var(--gold); }
body.cg .hero-quote :where(blockquote,.t-blockquote):not(cg-x) { margin: 8px 0 6px; }
body.cg .hero-quote :where(blockquote,.t-blockquote):not(cg-x) :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { font: italic 400 21px/1.25 var(--serif); letter-spacing: -0.01em; color: #fff; }
body.cg .hero-quote :where(figcaption,.t-figcaption):not(cg-x) { font-size: 14px; color: rgba(255, 255, 255, .84); }
/* the closing band keeps the cream corner panel with inverted corners */

/* the bento starts one gap under the hero, like another row of the same composition; the print rises into the hero's cream panel */
body.cg .trust { padding: clamp(24px, 2.6vw, 36px) 0 clamp(16px, 2vw, 28px); }
body.cg .bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(270px, auto)); gap: 14px; }
body.cg .bento-tile { position: relative; overflow: hidden; padding: 28px; border-radius: var(--r-card); background: var(--card); }
body.cg .bento-photo { grid-column: 1 / 5; grid-row: 1 / 3; z-index: 1; min-height: 560px; padding: 10px; background: var(--card); }
body.cg .bento-map { grid-column: 5 / 10; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
body.cg .bento-price { grid-column: 10 / 13; display: flex; flex-direction: column; }
body.cg .bento-freq { grid-column: 5 / 13; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; background: var(--paper-deep); }
body.cg .bento-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
body.cg .bento-kicker .icon { width: 16px; height: 16px; color: var(--gold-text); }
body.cg .bento-title { font: 400 clamp(25px, 2.1vw, 30px)/1.1 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
body.cg .bento-text { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
body.cg .bento-figure { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 18px; }
body.cg .bento-figure .tick { font: 300 clamp(64px, 6vw, 84px)/.76 var(--serif); letter-spacing: -0.04em; color: var(--gold-text); font-variant-numeric: lining-nums tabular-nums; }
body.cg .bento-figure em { font: italic 400 26px/1 var(--serif); color: var(--gold-text); }
body.cg .bento-figure :where(small,.t-small):not(cg-x) { font-size: 13px; line-height: 1.3; color: var(--muted); }

/* the photo: the "po" print is clipped at --cut; the pointer (or a finger) drags the cut, and it sweeps once when first seen */
body.cg .bento-ba { --cut: 50%; position: absolute; inset: 10px; border-radius: calc(var(--r-card) - 10px); overflow: hidden; background: #d9d1bf; cursor: ew-resize; touch-action: pan-y; }
body.cg .bento-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.cg .bento-ba-after { clip-path: inset(0 0 0 var(--cut)); }
body.cg .bento-ba-line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
body.cg .bento-ba-knob { position: absolute; top: 34%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
body.cg .bento-ba-tag { position: absolute; top: 18px; left: 18px; pointer-events: none; }
body.cg .bento-ba-tag-po { left: auto; right: 18px; }
body.cg .bento-ba.is-sweeping { transition: --cut 1.6s var(--ease); }
@property --cut { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
body.cg .bento-card { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 20px 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* the map: the same engraved plate as section 06, its towns appear one by one around a pulsing Poznań */
body.cg .bento-plate { position: relative; align-self: stretch; min-height: 220px; margin: -12px -12px -12px 0; border-radius: var(--r-sm); overflow: hidden; background: #ede9df; }
body.cg .bento-plate-in { position: absolute; top: 50%; left: 50%; width: 140%; aspect-ratio: 1019 / 862; translate: -45% -52%; }
body.cg .bento-plate-in img { width: 100%; height: 100%; }
body.cg .bento-pin { position: absolute; top: var(--y); left: var(--x); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px #ede9df; }
body.cg .bento-pin-home { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--ink); }
body.cg .bento-pin-home::after { content: ""; position: absolute; inset: -10px; border: 1px solid var(--gold); border-radius: 50%; }

body.cg .bento-prices { margin-top: auto; padding-top: 18px; list-style: none; }
body.cg .bento-prices :where(li,.t-li):not(cg-x) { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: 14.5px; }
body.cg .bento-prices :where(i,.t-i):not(cg-x) { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--faint); transform: translateY(-4px); }
body.cg .bento-prices :where(li,.t-li):not(cg-x) > :where(span:not(.elementor-heading-title),.t-span):not(cg-x):last-child,body.cg .bento-prices :where(li,.t-li):not(cg-x) > :where(.elementor-heading-title)>:where(span:not(.elementor-heading-title),.t-span):not(cg-x):last-child { white-space: nowrap; }

/* the year: one month in ink for a single visit, all twelve in gold for year-round care */
body.cg .bento-cal { display: grid; gap: 16px; }
body.cg .bento-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; justify-self: start; padding: 4px; border-radius: 999px; background: var(--card); }
body.cg .bento-switch :where(button,.t-button):not(cg-x) { position: relative; z-index: 1; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font-size: 15px; color: var(--muted); cursor: pointer; transition: color .35s, background-color 0s; }
/* the pressed button also gets the ink itself, filled in as the thumb arrives, so its text always has a real background */
body.cg .bento-switch :where(button,.t-button):not(cg-x)[aria-pressed="true"] { background: var(--ink); color: #fff; transition: color .35s, background-color 0s .48s; }
body.cg .bento-switch-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: translate .5s var(--ease); }
body.cg .bento-freq[data-mode="year"] .bento-switch-thumb { translate: 100% 0; }
body.cg .bento-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; list-style: none; }
body.cg .bento-months :where(li,.t-li):not(cg-x) { display: grid; place-items: end center; height: 64px; padding-bottom: 8px; border-radius: 10px; background: var(--card); font: italic 400 14px/1 var(--serif); color: var(--faint); transition: background-color .45s, color .45s; }
body.cg .bento-freq[data-mode="once"] .bento-months :where(li,.t-li):not(cg-x).is-key { background: var(--ink); color: var(--gold); }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x) { background: var(--gold); color: var(--ink); }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(1) { transition-delay: 0ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(2) { transition-delay: 55ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(3) { transition-delay: 110ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(4) { transition-delay: 165ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(5) { transition-delay: 220ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(6) { transition-delay: 275ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(7) { transition-delay: 330ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(8) { transition-delay: 385ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(9) { transition-delay: 440ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(10) { transition-delay: 495ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(11) { transition-delay: 550ms; }
body.cg .bento-freq[data-mode="year"] .bento-months :where(li,.t-li):not(cg-x):nth-child(12) { transition-delay: 605ms; }
body.cg .bento-note { position: relative; min-height: 1.5em; font-size: 14.5px; color: var(--muted); }
body.cg .bento-note :where(span:not(.elementor-heading-title),.t-span):not(cg-x) { transition: opacity .4s; }
body.cg .bento-note :where(span:not(.elementor-heading-title),.t-span):not(cg-x)[data-for="year"] { position: absolute; left: 0; top: 0; opacity: 0; }
body.cg .bento-freq[data-mode="year"] .bento-note :where(span:not(.elementor-heading-title),.t-span):not(cg-x)[data-for="once"] { opacity: 0; }
body.cg .bento-freq[data-mode="year"] .bento-note :where(span:not(.elementor-heading-title),.t-span):not(cg-x)[data-for="year"] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js body.cg .trust:not(.is-in) .bento-pin { opacity: 0; scale: 0; }
  body.cg .bento-pin { transition: opacity .4s, scale .6s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--d) * 90ms + 300ms); }
  body.cg .trust.is-in .bento-pin-home::after { animation: pin-pulse 2.4s 1.4s var(--ease) 3 both; }
}
@keyframes pin-pulse { 0% { opacity: .9; scale: .6; } 100% { opacity: 0; scale: 1.6; } }

/* sections: cream by default, paper-deep and ink bands alternate so neighbours never share a ground */
body.cg .section { padding: clamp(64px, 7vw, 104px) 0; }
body.cg .band { margin: 0 var(--inset); border-radius: var(--r-band); background: var(--paper-deep); }
body.cg .band + .band { margin-top: var(--inset); }
body.cg .band-ink { background: var(--ink); color: #fff; }
body.cg .band-white { background: var(--card); }
body.cg .band-ink .h2 { color: #fff; }
body.cg .band-ink .sec-index { color: rgba(255, 255, 255, .7); }
body.cg .band-ink .sec-aside :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { color: rgba(255, 255, 255, .74); }
body.cg .band-ink .link-arrow { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
body.cg .band-ink .link-arrow:hover { text-decoration-color: #fff; }

/* services: four tall panels, the open one shows its photo in colour and its copy, the others stand as spines with a sideways name
   (refs: 21st.dev Hover Expand Gallery and Spine Accordion, YLLW services on Mobbin) */
body.cg .svc-rail { display: flex; gap: 10px; height: clamp(540px, 46vw, 660px); list-style: none; }
body.cg .svc { position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; border-radius: var(--r-card); overflow: hidden; background: #d9d1bf; cursor: pointer; transition: flex-grow .9s var(--ease); }
body.cg .svc.is-active { flex-grow: 4.4; cursor: auto; }
body.cg .svc-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); transform: scale(1.08); transition: filter .9s var(--ease), transform 1.6s var(--ease); }
body.cg .svc:hover .svc-img { filter: saturate(.9); }
body.cg .svc.is-active .svc-img { filter: none; transform: none; }
body.cg .svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 22, 12, 0) 40%, rgba(30, 22, 12, .5) 100%); transition: opacity .6s; }
body.cg .svc.is-active::after { opacity: 0; }
body.cg .svc-spine { position: absolute; bottom: 30px; left: 50%; font: 400 30px/1 var(--serif); letter-spacing: -0.015em; color: #fff; white-space: nowrap; writing-mode: vertical-rl; rotate: 180deg; translate: -50% 0; transition: opacity .4s; }
body.cg .svc.is-active .svc-spine { opacity: 0; }
body.cg .svc-copy { position: absolute; left: 14px; bottom: 14px; width: min(440px, 40vw); padding: 24px 26px 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .94); color: var(--ink); opacity: 0; transform: translateY(18px); pointer-events: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: opacity .3s, transform .5s var(--ease); }
body.cg .svc.is-active .svc-copy { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s .35s, transform .9s var(--ease) .35s; }
body.cg .svc-meta { display: inline-flex; padding: 6px 13px; border-radius: 999px; background: var(--paper-deep); color: var(--ink); font-size: 14px; }
body.cg .svc-title { margin: 16px 0 10px; font: 400 clamp(32px, 2.9vw, 42px)/1.02 var(--serif); letter-spacing: -0.025em; color: var(--ink); }
body.cg .svc-text { max-width: 26em; margin-bottom: 18px; font-size: 17px; line-height: 1.55; color: var(--muted); }

/* steps (7 Nov, after the Pangram "Three steps to a cleaner feed" section): a header row with the CTA on the right, then three
   equal cards, each a photo top with the step's small interface floating over it and an ink panel with the number, title and
   line underneath. The interfaces loop while the section is on screen (the order card cycles three services and counts its
   price, the plot numbers type in for a new grave each time, the report photos arrive and the tick draws); the photos zoom a
   touch on hover and the cards rise in turn on first view. */
body.cg .steps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 48px); }
body.cg .steps-lead { max-width: 30em; margin-top: 20px; color: var(--muted); text-wrap: pretty; }
body.cg .steps-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
body.cg .steps-phone { font-size: 16px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
body.cg .steps-phone:hover { text-decoration-color: currentColor; }
body.cg .steps-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; }
body.cg .step-card { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--ink); color: #fff; }
body.cg .step-media { position: relative; aspect-ratio: 1 / 1.02; margin: 0; overflow: hidden; background: #d9d5cb; }
body.cg .step-media > img,body.cg .step-media > :where(.cg-img)>img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
body.cg .step-card:hover .step-media > img,body.cg .step-card:hover .step-media > :where(.cg-img)>img { transform: scale(1.05); }
/* the interfaces are small floating windows in one corner, so the photo stays the picture */
body.cg .step-media .ui { position: absolute; left: auto; right: 14px; bottom: 14px; width: min(68%, 250px); padding: 10px 12px 11px; border-color: rgba(0, 0, 0, .06); border-radius: var(--r-sm); }
body.cg .step-card[data-step="place"] .ui { right: auto; left: 14px; }
body.cg .step-card[data-step="report"] .ui { width: min(76%, 270px); }
body.cg .step-media .ui-kicker { font-size: 11px; }
body.cg .step-media .ui-title { margin-top: 6px; font-size: 19px; }
body.cg .step-media .ui-sub { font-size: 12.5px; }
body.cg .step-media .ui-foot { margin-top: 9px; padding-top: 9px; }
body.cg .step-media .ui-price { font-size: 23px; }
body.cg .step-media .ui-btn { min-height: 30px; padding: 0 13px; font-size: 12.5px; }
body.cg .step-media .ui-fields { gap: 5px; margin-top: 8px; }
body.cg .step-media .ui-fields :where(span:not(.elementor-heading-title),.t-span):not(cg-x) { min-height: 46px; padding: 6px 8px 7px; }
body.cg .step-media .ui-fields :where(b,.t-b):not(cg-x) { font-size: 20px; }
body.cg .step-media .ui-fields :where(small,.t-small):not(cg-x) { font-size: 11.5px; }
body.cg .step-media .ui-thumbs { gap: 5px; margin-top: 8px; }
body.cg .step-media .ui-thumbs img { border-radius: 7px; }
body.cg .step-media .ui-done { margin-top: 8px; font-size: 12.5px; }
body.cg .step-media .ui-done svg { width: 18px; height: 18px; }
body.cg .step-panel { padding: 24px 24px 28px; }
body.cg .step-title { margin-top: 14px; font: 400 clamp(26px, 2.2vw, 32px)/1.08 var(--serif); letter-spacing: -0.02em; color: #fff; }
body.cg .step-copy { margin-top: 10px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .76); }
body.cg .step-copy :where(a,.t-a):not(cg-x) { color: #fff; text-underline-offset: 4px; }
body.cg .ui-sent { display: none; margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--paper); font-size: 11px; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .js body.cg .steps-cards .reveal { transition-delay: calc(var(--i, 0) * .12s); }
  body.cg .step-card.is-play .ui-order :is(.ui-title, .ui-sub, .ui-foot) { animation: ui-in .6s var(--ease) both; }
  body.cg .step-card.is-play .ui-order .ui-title { animation-delay: .2s; }
  body.cg .step-card.is-play .ui-order .ui-sub { animation-delay: .32s; }
  body.cg .step-card.is-play .ui-order .ui-foot { animation-delay: .44s; }
  body.cg .step-card.is-play .ui-btn { animation: ui-press .5s 1.9s var(--ease) both; }
  body.cg .step-card.is-play .ui-pin { animation: ui-drop .7s .2s cubic-bezier(.3, 1.6, .5, 1) both; }
  body.cg .step-card.is-play .ui-cem { animation: ui-in .5s .3s var(--ease) both; }
  body.cg .step-card.is-play .ui-thumbs img { animation: ui-pop .55s var(--ease) both; }
  body.cg .step-card.is-play .ui-thumbs img:nth-child(1):not(:where(.cg-img) *),body.cg .step-card.is-play .ui-thumbs :where(.cg-img):nth-child(1) > img { animation-delay: .3s; }
  body.cg .step-card.is-play .ui-thumbs img:nth-child(2):not(:where(.cg-img) *),body.cg .step-card.is-play .ui-thumbs :where(.cg-img):nth-child(2) > img { animation-delay: .47s; }
  body.cg .step-card.is-play .ui-thumbs img:nth-child(3):not(:where(.cg-img) *),body.cg .step-card.is-play .ui-thumbs :where(.cg-img):nth-child(3) > img { animation-delay: .64s; }
  body.cg .step-card.is-play .ui-done { animation: ui-in .5s .8s var(--ease) both; }
  body.cg .step-card.is-play .ui-done svg path { stroke-dasharray: 22; animation: ui-draw .6s .95s var(--ease) both; }
  body.cg .step-card.is-play .ui-sent { display: inline-block; animation: ui-in .5s 1.9s var(--ease) both; }
}
body.cg .ui-fields :where(span:not(.elementor-heading-title),.t-span):not(cg-x) { transition: border-color .4s; }
body.cg .ui-fields :where(span:not(.elementor-heading-title),.t-span):not(cg-x).is-typed { border-color: var(--gold); }
body.cg .ui-done svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ui-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ui-press { 0% { transform: none; } 40% { transform: scale(.92); } 100% { transform: none; } }
@keyframes ui-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes ui-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes ui-draw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
body.cg .ui { padding: 12px 14px 13px; border-radius: var(--r-sm); background: var(--card); color: var(--ink); border: 1px solid var(--line); }
body.cg .ui-kicker { display: flex; align-items: center; gap: 6px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
body.cg .ui-kicker .icon { width: 15px; height: 15px; }
body.cg .ui-title { margin-top: 8px; font: 400 23px/1.1 var(--serif); letter-spacing: -0.02em; }
body.cg .ui-sub { margin-top: 2px; font-size: 14px; color: var(--muted); }
body.cg .ui-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
body.cg .ui-price { font: italic 300 28px/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
body.cg .ui-btn { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; }
body.cg .ui-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
body.cg .ui-fields :where(span:not(.elementor-heading-title),.t-span):not(cg-x) { display: flex; flex-direction: column; gap: 4px; min-height: 58px; padding: 9px 11px 10px; border-radius: 11px; border: 1px solid var(--line); }
body.cg .ui-fields :where(b,.t-b):not(cg-x) { font: italic 300 26px/1 var(--serif); }
body.cg .ui-fields :where(small,.t-small):not(cg-x) { font: normal 400 11.5px/1.2 var(--sans); letter-spacing: .02em; color: var(--muted); }
body.cg .ui-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
body.cg .ui-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
body.cg .ui-done { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; }

/* before / after: an editorial index of real cases beside a gallery matte; each print is sized to its own proportions (script.js) */
body.cg .gallery { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
body.cg .gallery-index { display: flex; flex-direction: column; }
body.cg .gallery-label { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
body.cg .gallery-label :where(span:not(.elementor-heading-title),.t-span):not(cg-x) { letter-spacing: .02em; text-transform: none; }
body.cg .cases { margin-bottom: 32px; list-style: none; }
body.cg .case-item { position: relative; border-bottom: 1px solid var(--line); }
body.cg .case-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 12px 0; border: 0; background: none; text-align: left; cursor: pointer; }
/* a fanned pair of tiny prints, przed behind po; grey at rest, they spread and take colour on hover */
body.cg .case-pair { position: relative; width: 64px; height: 52px; }
body.cg .case-pair img { position: absolute; top: 2px; width: 38px; height: 46px; border-radius: 8px; border: 2px solid var(--paper); object-fit: cover; filter: grayscale(1) contrast(.9); opacity: .8; transition: transform .55s var(--ease), filter .45s, opacity .45s; }
body.cg .case-pair img:first-child:not(:where(.cg-img) *),body.cg .case-pair :where(.cg-img):first-child > img { left: 0; transform: rotate(-6deg); }
body.cg .case-pair img:last-child:not(:where(.cg-img) *),body.cg .case-pair :where(.cg-img):last-child > img { left: 22px; transform: rotate(5deg); }
body.cg .case-row:hover .case-pair img,body.cg  .case-row[aria-pressed="true"] .case-pair img { filter: none; opacity: 1; }
body.cg .case-row:hover .case-pair img:first-child:not(:where(.cg-img) *),body.cg .case-row:hover .case-pair :where(.cg-img):first-child > img,body.cg  .case-row[aria-pressed="true"] .case-pair img:first-child:not(:where(.cg-img) *),body.cg .case-row[aria-pressed="true"] .case-pair :where(.cg-img):first-child > img { transform: rotate(-10deg) translateX(-3px); }
body.cg .case-row:hover .case-pair img:last-child:not(:where(.cg-img) *),body.cg .case-row:hover .case-pair :where(.cg-img):last-child > img,body.cg  .case-row[aria-pressed="true"] .case-pair img:last-child:not(:where(.cg-img) *),body.cg .case-row[aria-pressed="true"] .case-pair :where(.cg-img):last-child > img { transform: rotate(8deg) translate(5px, -2px); }
body.cg .case-name { display: inline-block; font: 400 clamp(23px, 2vw, 28px)/1.1 var(--serif); letter-spacing: -0.02em; color: var(--muted); transition: color .35s, transform .5s var(--ease); }
body.cg .case-kind { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--muted); transition: background-color .3s, color .3s, border-color .3s; }
body.cg .case-row:hover .case-name { color: var(--ink); }
body.cg .case-row[aria-pressed="true"] .case-name { color: var(--ink); transform: translateX(6px); }
body.cg .case-row[aria-pressed="true"] .case-kind { background: var(--ink); border-color: var(--ink); color: #fff; }
body.cg .case-row:focus-visible { outline-offset: -2px; }
body.cg .case-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
body.cg .gallery.is-auto .case-item.is-open .case-progress { animation: case-progress 7s linear forwards; }
body.cg .gallery.is-paused .case-item.is-open .case-progress { animation-play-state: paused; }
@keyframes case-progress { to { transform: scaleX(1); } }
body.cg .case-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
body.cg .case-detail > :where(div:not(.elementor-heading-title,.elementor,.elementor-widget,.elementor-location-header,.elementor-location-footer),.t-div):not(cg-x) { overflow: hidden; padding-left: 116px; }
body.cg .case-item.is-open .case-detail { grid-template-rows: 1fr; }
body.cg .case-detail :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { max-width: 30em; font-size: 16.5px; line-height: 1.55; }
body.cg .case-detail .case-tags { margin: 8px 0 18px; font-size: 13.5px; color: var(--muted); }
body.cg .gallery-index .link-arrow { margin-top: auto; align-self: flex-start; }

body.cg .gallery-matte { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 16px; padding: clamp(14px, 2.2vw, 28px); border-radius: var(--r-band); overflow: hidden; background: var(--paper-deep); }
body.cg .gallery-stage { position: relative; display: grid; place-items: center; height: clamp(380px, 33vw, 480px); }
body.cg .gallery-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 0 6px 2px; }
body.cg .gallery-count { font-size: 15px; color: var(--muted); }
body.cg .gallery-count :where(span:not(.elementor-heading-title),.t-span):not(cg-x) { font: italic 400 21px/1 var(--serif); color: var(--ink); }
body.cg .gallery-title { font: 400 24px/1.1 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
body.cg .gallery-hint { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13.5px; color: var(--muted); }
body.cg .gallery-hint::before { content: ""; width: 26px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 5h24M5 1 1 5l4 4M21 1l4 4-4 4' fill='none' stroke='%23595959' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
body.cg .gallery-nav { display: flex; gap: 8px; }
body.cg .nav-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
body.cg .nav-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
body.cg .nav-btn .icon { width: 18px; height: 18px; }
body.cg .nav-btn[data-step="-1"] .icon { transform: rotate(180deg); }
body.cg .nav-play .icon-play { display: none; fill: currentColor; stroke: none; }
body.cg .nav-play[aria-pressed="true"] .icon-play { display: block; }
body.cg .nav-play[aria-pressed="true"] .icon-pause { display: none; }

body.cg .ba { position: relative; width: var(--w, 100%); height: var(--h, 100%); border-radius: var(--r-sm); overflow: hidden; background: #d9d5cb; user-select: none; -webkit-user-select: none; touch-action: pan-y; transition: width .55s var(--ease), height .55s var(--ease); }
body.cg .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
body.cg .ba.is-swapping img { opacity: 0; }
body.cg .ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
body.cg .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
body.cg .ba-knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
body.cg .ba-knob .icon { width: 22px; height: 22px; }
body.cg .ba:hover .ba-knob { transform: translate(-50%, -50%) scale(1.06); }
body.cg .ba-label { position: absolute; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(16, 13, 9, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
body.cg .ba-label-before { left: 18px; }
body.cg .ba-label-after { right: 18px; background: #fff; color: var(--ink); }
body.cg .ba-range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
body.cg .ba:has(.ba-range:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }

/* almanac (original long-form copy, text unchanged; 7 Nov, "too much text"): the title with its season capsule (ref: Joby
   Aviation on Mobbin) and the opening paragraph clamped to four lines with a "Czytaj dalej" toggle, the two real before/after
   composites beside them (ref: Kinfolk issue pages on Mobbin); then a reader where the five chapters show one at a time, picked
   from a numbered index (refs: the Büro chapter list and the Waka Waka index on Mobbin, 21st.dev Vertical Tabs and Transition
   Panel). Every original heading and paragraph stays in the page; the other panels are only hidden. Four words in the opening
   paragraph show a photo beside the cursor (ref: 21st.dev Tweenly Hover Media). */
body.cg .almanac-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 3.4vw, 44px) clamp(32px, 4vw, 64px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
body.cg .almanac-head { display: flex; flex-direction: column; align-items: flex-start; }
body.cg .almanac-head .sec-index { margin-bottom: 18px; }
body.cg .almanac-title { font-size: clamp(46px, 5.4vw, 80px); }
body.cg .title-pill { position: relative; display: inline-block; width: 1.55em; height: .72em; margin: 0 .04em; border-radius: 999px; overflow: hidden; vertical-align: -.03em; background: #d9d5cb; }
body.cg .title-pill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
body.cg .title-pill img:first-child:not(:where(.cg-img) *),body.cg .title-pill :where(.cg-img):first-child > img { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  body.cg .title-pill img { animation: pill-cycle 12s infinite; }
  body.cg .title-pill img:nth-child(2):not(:where(.cg-img) *),body.cg .title-pill :where(.cg-img):nth-child(2) > img { animation-delay: 3s; }
  body.cg .title-pill img:nth-child(3):not(:where(.cg-img) *),body.cg .title-pill :where(.cg-img):nth-child(3) > img { animation-delay: 6s; }
  body.cg .title-pill img:nth-child(4):not(:where(.cg-img) *),body.cg .title-pill :where(.cg-img):nth-child(4) > img { animation-delay: 9s; }
}
@keyframes pill-cycle { 0% { opacity: 0; transform: scale(1.18); } 6% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; transform: none; } 100% { opacity: 0; } }
body.cg .almanac-lead { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; max-width: 34em; margin-top: 26px; font-size: 18px; line-height: 1.7; color: var(--text); }
body.cg .almanac-lead.is-open { display: block; -webkit-line-clamp: unset; }
body.cg .almanac-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0; border: 0; background: none; font: 400 16.5px/1 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; cursor: pointer; transition: text-decoration-color .3s; }
body.cg .almanac-more:hover { text-decoration-color: currentColor; }
body.cg .almanac-more .icon { width: 16px; height: 16px; transition: rotate .35s var(--ease); }
body.cg .almanac-more[aria-expanded="true"] .icon { rotate: 180deg; }
body.cg .peek { text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: var(--faint); }
body.cg .peek-media { position: fixed; left: 0; top: 0; z-index: 70; width: 210px; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; background: #d9d5cb; pointer-events: none; opacity: 0; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(-4deg) scale(.86); transition: opacity .25s, transform .4s var(--ease); }
body.cg .peek-media.is-on { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(-4deg); }
body.cg .peek-media img { width: 100%; height: 100%; object-fit: cover; }

/* the two real before/after composites; a paper curtain slides off the "po" half as they come into view */
body.cg .almanac-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.cg .proof { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--paper-deep); }
body.cg .proof img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
body.cg .proof:hover img { transform: scale(1.03); }
body.cg .proof :where(figcaption,.t-figcaption):not(cg-x) { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; display: flex; justify-content: space-between; pointer-events: none; }
.js body.cg .proof::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; width: 51%; background: var(--paper-deep); transform-origin: right center; transition: transform 1.2s var(--ease) .5s; }
.js body.cg .proof.is-in::after { transform: scaleX(0); }
.js body.cg .proof .tag-ink { opacity: 0; transition: opacity .5s 1.3s; }
.js body.cg .proof.is-in .tag-ink { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js body.cg .proof::after { display: none; } .js body.cg .proof .tag-ink { opacity: 1; } }
body.cg .proof-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }

body.cg .reader { display: grid; grid-template-columns: 230px 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
body.cg .reader-index-wrap,body.cg  .reader-media { position: sticky; top: calc(var(--header-h) + 24px); }
body.cg .reader-kicker { margin-bottom: 12px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
body.cg .reader-index { display: grid; border-top: 1px solid var(--line-strong); }
body.cg .reader-tab { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: baseline; gap: 2px 8px; width: 100%; padding: 14px 0 14px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; color: var(--muted); cursor: pointer; transition: color .3s; }
body.cg .reader-tab::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
body.cg .reader-tab[aria-selected="true"]::before { transform: none; }
body.cg .reader-name { font: 400 21px/1.15 var(--serif); letter-spacing: -0.01em; }
body.cg .reader-when { grid-column: 1; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
body.cg .reader-tab:hover,body.cg  .reader-tab[aria-selected="true"] { color: var(--ink); }
body.cg .reader-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 8px; }
body.cg .reader-count { margin-top: 14px; font: italic 400 17px/1 var(--serif); color: var(--muted); }
body.cg .reader-media { display: flex; flex-direction: column; gap: 16px; margin: 0; }
body.cg .reader-media .almanac-stack { flex: none; aspect-ratio: 4 / 5; }
body.cg .reader-body { min-height: 420px; }
body.cg .reader-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
body.cg .reader-nav .btn:not(.btn-ink) { border-color: var(--line-strong); background: var(--card); color: var(--ink); }
body.cg .reader-nav .btn:not(.btn-ink):hover { border-color: var(--ink); }
body.cg .almanac-stack { position: relative; flex: 1; border-radius: var(--r-lg); overflow: hidden; background: #d9d5cb; }
body.cg .almanac-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 1.1s var(--ease), transform 1.8s var(--ease); }
body.cg .almanac-stack img.is-prev { z-index: 1; clip-path: inset(0); transform: none; transition: none; }
body.cg .almanac-stack img.is-active { z-index: 2; clip-path: inset(0); transform: none; }
body.cg .almanac-stack::after { content: ""; position: absolute; inset: 60% 0 0; z-index: 3; background: linear-gradient(rgba(16, 13, 9, 0), rgba(16, 13, 9, .5)); pointer-events: none; }
body.cg .almanac-cap { position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 4; display: flex; align-items: baseline; gap: 14px; color: #fff; }
body.cg .almanac-cap-text { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
body.cg .almanac-cap.is-in { animation: cap-in .8s var(--ease); }
@keyframes cap-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* twelve months, weekly ticks; the dark bars mark the active chapter's season, the hairline marker is reading progress */
body.cg .year-track { position: relative; height: 24px; border-right: 1px solid var(--ink); background:
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px calc(100% / 12)) left bottom / 100% 16px no-repeat,
  repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px calc(100% / 48)) left bottom / 100% 9px no-repeat; }
body.cg .year-range { position: absolute; bottom: -2px; height: 5px; border-radius: 3px; background: var(--ink); transition: left .7s var(--ease), width .7s var(--ease), opacity .4s; }
body.cg .year-marker { position: absolute; bottom: 0; left: var(--p, 0%); width: 1px; height: 30px; background: var(--ink); }
body.cg .year-marker::after { content: ""; position: absolute; top: -4px; left: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
body.cg .year-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 10px; list-style: none; font: italic 400 14px/1 var(--serif); color: var(--faint); }
body.cg .year-months :where(li,.t-li):not(cg-x) { transition: color .4s; }
body.cg .year-months :where(li,.t-li):not(cg-x).is-in { color: var(--ink); }

body.cg .chapter { position: relative; isolation: isolate; }
body.cg .chapter[hidden] { display: none; }
body.cg .chapter.is-in { animation: chapter-in .6s var(--ease); }
@keyframes chapter-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body.cg .chapter-no { margin-bottom: 18px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
body.cg .chapter .h3 { margin-bottom: 22px; transition: color .5s; }
body.cg .chapter .h3 :where(a,.t-a):not(cg-x),body.cg  .chapter .h4 :where(a,.t-a):not(cg-x) { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; text-decoration-color: transparent; transition: text-decoration-color .4s; }
body.cg .chapter .h3 :where(a,.t-a):not(cg-x):hover,body.cg  .chapter .h4 :where(a,.t-a):not(cg-x):hover { text-decoration-color: currentColor; }
body.cg .chapter .h4 { margin: -6px 0 20px; color: var(--muted); }
body.cg .chapter :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { max-width: 36em; line-height: 1.75; }
body.cg .chapter :where(p:not(.elementor-heading-title),.t-p):not(cg-x) + :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { margin-top: 18px; }
body.cg .chapter .link-arrow { margin-top: 26px; }
/* one sentence per chapter gets a soft marker stroke that draws in when the chapter is read */
body.cg .hl { background: linear-gradient(#e2ddd1, #e2ddd1) 0 88% / 0 44% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.4s var(--ease) .3s; }
body.cg .chapter.is-active .hl { background-size: 100% 44%; }
body.cg .chapter-media { display: none; }

/* pricing (4 Nov, after the client's mockup): a sticky still life with an "in every visit" checklist on the left, the calculator
   as a white card on the right: scope as two option cards (the chosen one gets a gold border), a segmented slab toggle whose thumb
   slides, stone swatches, four extra cards and a cream summary with the live total. Motion: the total counts to its new value and
   bumps, extras arrive as chips, the still life crossfades with the scope and the checklist ticks draw in. */
body.cg .pricing-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 20px; align-items: start; }
body.cg .price-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
body.cg .price-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: #24211d; }
body.cg .price-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
body.cg .price-media img.is-active { opacity: 1; transform: none; }
body.cg .price-media::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(rgba(16, 13, 9, 0), rgba(16, 13, 9, .55)); pointer-events: none; }
body.cg .price-media :where(figcaption,.t-figcaption):not(cg-x) { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; align-items: baseline; gap: 12px; color: #fff; }
body.cg .price-media-no { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
body.cg .price-media-no::after { content: "/"; margin-left: 12px; font-size: 16px; color: var(--gold); }
body.cg #media-caption { font: italic 300 26px/1 var(--serif); letter-spacing: -0.02em; }
body.cg .price-incl { padding: 22px 22px 20px; border-radius: var(--r-md); background: var(--card); }
body.cg .price-incl-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 400 26px/1.1 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
body.cg .price-incl-title .icon { width: 26px; height: 26px; color: var(--gold-text); }
body.cg .spec-incl-list { display: grid; gap: 10px; list-style: none; }
body.cg .spec-incl-list :where(li,.t-li):not(cg-x) { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); }
body.cg .spec-incl-list .icon { flex-shrink: 0; width: 20px; height: 20px; stroke-width: 1.8; }
@media (prefers-reduced-motion: no-preference) {
  body.cg .spec-incl-list :where(li,.t-li):not(cg-x) { animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
  body.cg .spec-incl-list .icon { stroke-dasharray: 20; stroke-dashoffset: 20; animation: tick-in .6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 70ms + .15s); }
}
@keyframes tick-in { to { stroke-dashoffset: 0; } }

body.cg .spec { padding: clamp(20px, 2.6vw, 34px); border-radius: var(--r-md); background: var(--card); }
body.cg .spec-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
body.cg .spec-kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
body.cg .spec-title { margin: 10px 0 4px; font: 400 clamp(34px, 3.2vw, 44px)/1.05 var(--serif); letter-spacing: -0.03em; color: var(--ink); }
body.cg .spec-sub { font-size: 16px; color: var(--muted); }
body.cg .spec-row { min-width: 0; margin: 0; padding: 20px 0 0; border: 0; }
body.cg .spec-label { display: block; margin-bottom: 12px; padding: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
body.cg .spec-label :where(small,.t-small):not(cg-x) { display: block; margin-top: 3px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); }
body.cg .spec-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body.cg .spec-row :where(label,.t-label):not(cg-x) { position: relative; cursor: pointer; }
body.cg .spec-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.cg .spec-opt { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); transition: border-color .3s, background-color .3s; }
body.cg .spec-opt:hover { border-color: var(--line-strong); }
body.cg .spec-opt:has(input:checked) { border-color: var(--gold); background: #f8f4ea; }
body.cg .spec-opt:has(input:focus-visible),body.cg  .spec-check:has(input:focus-visible),body.cg  .spec-seg :where(label,.t-label):not(cg-x):has(input:focus-visible),body.cg  .swatch:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-xs); }
body.cg .spec-dot { position: relative; top: 4px; width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 50%; transition: background-color .25s; }
body.cg .spec-opt:has(input:checked) .spec-dot { background: radial-gradient(circle, var(--ink) 0 4.5px, transparent 5px); }
body.cg .spec-opt-body { display: grid; gap: 4px; }
body.cg .spec-opt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
body.cg .spec-opt-name { font: 400 22px/1.15 var(--serif); letter-spacing: -0.015em; color: var(--ink); }
body.cg .spec-opt-price { font: italic 400 19px/1 var(--serif); color: var(--gold-deep); white-space: nowrap; }
body.cg .spec-opt-desc { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
body.cg .spec-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body.cg .spec-duo > :where(fieldset,.t-fieldset):not(cg-x):last-child { padding-left: 28px; border-left: 1px solid var(--line); }
body.cg .spec-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 20px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-xs); background: var(--card); }
body.cg .spec-seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: #f3eddc; transition: translate .45s var(--ease); }
body.cg .spec-seg:has(input[value="podwojna"]:checked) .spec-seg-thumb { translate: 100% 0; }
body.cg .spec-seg :where(label,.t-label):not(cg-x) { z-index: 1; display: flex; justify-content: center; align-items: baseline; gap: 8px; min-height: 48px; padding: 0 12px; line-height: 48px; }
body.cg .spec-seg :where(label,.t-label):not(cg-x) > :where(span:not(.elementor-heading-title),.t-span):not(cg-x),body.cg .spec-seg :where(label,.t-label):not(cg-x) > :where(.elementor-heading-title)>:where(span:not(.elementor-heading-title),.t-span):not(cg-x) { font: 400 20px/48px var(--serif); letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; transition: color .3s; }
body.cg .spec-seg input:checked + :where(span:not(.elementor-heading-title),.t-span):not(cg-x),body.cg .spec-seg :where(.cg-raw):has(> :where(.elementor-heading-title) > input:checked) + :where(span:not(.elementor-heading-title),.t-span):not(cg-x) { color: var(--ink); }
body.cg .spec-seg :where(small,.t-small):not(cg-x) { margin-left: 8px; font: 400 13px/1 var(--sans); color: var(--muted); }
body.cg .spec-swatches { display: flex; gap: 22px; margin-bottom: 20px; }
body.cg .swatch { display: grid; justify-items: start; gap: 8px; font-size: 15px; color: var(--ink); transition: opacity .3s, filter .3s; }
body.cg .swatch img { width: 78px; height: 78px; border-radius: var(--r-xs); object-fit: cover; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .25s; }
body.cg .swatch :where(span:not(.elementor-heading-title),.t-span):not(cg-x) { display: inline-flex; align-items: baseline; gap: 8px; }
body.cg .swatch :where(small,.t-small):not(cg-x) { font: 400 13px/1 var(--sans); color: var(--muted); }
body.cg .swatch:hover img { outline-color: var(--line-strong); }
body.cg .swatch:has(input:checked) img { outline-color: var(--gold); }
body.cg .spec-row:disabled .swatch { opacity: .4; filter: grayscale(1); cursor: not-allowed; }
body.cg .spec-row:disabled .swatch:hover img,body.cg  .spec-row:disabled .swatch:has(input:checked) img { outline-color: transparent; }
body.cg .spec-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
body.cg .spec-check { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-xs); font-size: 16px; color: var(--ink); transition: border-color .3s, background-color .3s; }
body.cg .spec-check:hover { border-color: var(--line-strong); }
body.cg .spec-check:has(input:checked) { border-color: var(--gold); background: #f8f4ea; }
body.cg .spec-box { width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 4px; transition: background-color .2s; }
body.cg .spec-check:has(input:checked) .spec-box { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4 4 9-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
body.cg .spec-check-price { font-size: 14px; color: var(--muted); white-space: nowrap; }

body.cg .spec-summary { margin-top: 20px; padding: 18px 22px; border: 1px solid var(--gold); border-radius: var(--r-sm); background: #f8f4ea; }
body.cg .spec-summary-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
body.cg .spec-incart { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px 0 10px; border-radius: 999px; background: #fff; font-size: 14px; color: var(--ink); text-decoration: none; transition: background-color .25s; }
body.cg .spec-incart:hover { background: var(--paper-deep); }
body.cg .spec-incart:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
body.cg .spec-incart .icon { width: 17px; height: 17px; }
body.cg .spec-incart :where(b,.t-b):not(cg-x) { font-weight: 400; }
body.cg .spec-incart.is-bump { animation: add-pop .5s var(--ease); }
body.cg .spec-choice { margin-top: 6px; font-size: 17px; color: var(--ink); }
body.cg .spec-lines { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
body.cg .spec-lines:not(:empty) { margin-top: 10px; }
body.cg .spec-lines :where(li,.t-li):not(cg-x) { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--card); font-size: 13.5px; color: var(--muted); }
body.cg .spec-lines :where(li,.t-li):not(cg-x) > :where(span:not(.elementor-heading-title),.t-span):not(cg-x):last-child,body.cg .spec-lines :where(li,.t-li):not(cg-x) > :where(.elementor-heading-title)>:where(span:not(.elementor-heading-title),.t-span):not(cg-x):last-child { color: var(--ink); }
body.cg .spec-lines :where(i,.t-i):not(cg-x) { display: none; }
body.cg .spec-lines :where(li,.t-li):not(cg-x).is-new { animation: line-in .5s var(--ease); }
@keyframes line-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body.cg .spec-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
body.cg .spec-total { display: flex; align-items: baseline; gap: 18px; }
body.cg .spec-total-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
body.cg .spec-sum { display: flex; align-items: baseline; font: 300 clamp(44px, 4vw, 58px)/.9 var(--serif); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; transform-origin: 0 80%; }
body.cg .spec-sum.is-bump { animation: sum-bump .5s var(--ease); }
@keyframes sum-bump { 35% { transform: scale(1.06); color: var(--gold-deep); } }
body.cg .spec-from { margin-right: .16em; font-size: .42em; font-style: italic; letter-spacing: 0; }
body.cg .spec-cur { margin-left: .12em; font-size: .42em; letter-spacing: 0; }
body.cg .spec-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 14.5px; color: var(--muted); }
body.cg .spec-doc { display: inline-flex; align-items: center; gap: 8px; }
body.cg .spec-doc .icon { width: 18px; height: 18px; color: var(--gold-text); }
body.cg .spec-foot .link-arrow { font-size: 15px; }
body.cg .pricing-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

/* area (4 Nov, rebuilt after the client's mockup): the engraved map print (OpenStreetMap geometry, work/map/map_engrave.py) in a
   card with a towns/cemeteries switch, zoom buttons and drag-to-pan; beside it a card with a photo, the town index and a phone
   note; then five cemetery cards and the grave-finder bar. Gold distance rings draw in and the pins pop in as the map comes into
   view; a town row or cemetery card lights its pin and draws a route from Stary Rynek. Pins sit in % of the zoom box and are
   counter-scaled with --z so markers and labels keep their size when the map is enlarged. */
body.cg .area-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 0; align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
body.cg .area-aside { padding-left: clamp(28px, 4vw, 56px); border-left: 1px solid var(--line-strong); color: var(--muted); }
body.cg .area-aside :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { max-width: 30em; }
body.cg .area-reach { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 17px; color: var(--ink); }
body.cg .area-reach .icon { width: 20px; height: 20px; color: var(--gold-text); }

body.cg .atlas { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr); gap: 16px; align-items: stretch; }
body.cg .atlas-map { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
body.cg .atlas-plate { position: relative; flex: 1; display: grid; place-items: center; min-height: 520px; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: #ede9df; touch-action: none; }
body.cg .atlas-zoom { position: relative; width: 100%; aspect-ratio: 1019 / 862; transform-origin: 69.74% 39.91%; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--z, 1)); transition: transform .6s var(--ease); }
body.cg .atlas-plate.is-zoomed .atlas-zoom { cursor: grab; }
body.cg .atlas-plate.is-dragging .atlas-zoom { transition: none; cursor: grabbing; }
body.cg .atlas-zoom img { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
body.cg .atlas-rings,body.cg  .atlas-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
body.cg .atlas-rings circle { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
body.cg .atlas.is-in .atlas-rings circle, html:not(.js) body.cg .atlas-rings circle { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  body.cg .atlas.is-in .atlas-rings circle { transition: stroke-dashoffset 1.8s var(--ease); }
  body.cg .atlas.is-in .atlas-rings circle:nth-child(2) { transition-delay: .25s; }
  body.cg .atlas.is-in .atlas-rings circle:nth-child(3) { transition-delay: .5s; }
}
body.cg .atlas-route path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
body.cg .atlas-route circle { fill: none; stroke: var(--ink); stroke-width: 1.4; opacity: 0; transition: opacity .3s; }
body.cg .atlas-route.is-on path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease); }
body.cg .atlas-route.is-on circle { opacity: 1; transition-delay: .7s; }
@media (prefers-reduced-motion: reduce) { body.cg .atlas-route.is-on path,body.cg  .atlas-route.is-on circle { transition: none; } }
body.cg .pins { position: absolute; inset: 0; }
body.cg .map-note { position: absolute; left: var(--x); top: var(--y); font: italic 400 15px/1 var(--serif); color: var(--muted); white-space: nowrap; transform: translate(-50%, -50%) scale(calc(1 / var(--z, 1))); text-shadow: 0 0 3px #ede9df, 0 0 3px #ede9df, 0 0 6px #ede9df; pointer-events: none; }
body.cg .map-river { font-size: 16px; letter-spacing: .08em; transform: translate(-50%, -50%) rotate(78deg) scale(calc(1 / var(--z, 1))); }
body.cg .map-title { position: absolute; left: 24px; top: 22px; z-index: 4; font: italic 300 clamp(22px, 2.3vw, 32px)/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); pointer-events: none; }
body.cg .pin { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: 0; height: 0; transform: scale(calc(1 / var(--z, 1))); transition: opacity .3s, transform .6s var(--ease); }
body.cg .pin :where(i,.t-i):not(cg-x) { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border: 2px solid #ede9df; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease); }
body.cg .pin-tag { position: absolute; top: 0; left: 11px; display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; transform: translateY(-54%); text-shadow: 0 0 3px #ede9df, 0 0 3px #ede9df, 0 0 6px #ede9df; }
body.cg .pin-tag :where(b,.t-b):not(cg-x) { font: italic 400 19px/1 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
body.cg .pin-tag em { font: normal 400 11.5px/1 var(--sans); color: var(--muted); }
body.cg .pin-left .pin-tag { left: auto; right: 11px; }
body.cg .pin-down .pin-tag { top: 11px; left: 0; transform: translateX(-50%); }
body.cg .pin-up .pin-tag { top: -12px; left: 8px; transform: translateY(-100%); }
body.cg .pin-up-left .pin-tag { top: -12px; left: auto; right: 8px; transform: translateY(-100%); }
body.cg .pin-home { z-index: 3; }
body.cg .pin-home :where(i,.t-i):not(cg-x) { left: -9px; top: -9px; width: 18px; height: 18px; border-width: 4px; outline: 1px solid var(--ink); }
body.cg .pin-home .pin-tag { left: 17px; }
body.cg .pin-home .pin-tag :where(b,.t-b):not(cg-x) { font: 400 32px/1 var(--serif); letter-spacing: -0.03em; }
body.cg .pin-chip { position: absolute; top: 16px; left: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: 400 13.5px/1 var(--sans); color: var(--ink); white-space: nowrap; translate: -50% 0; }
body.cg .pin-cem { z-index: 2; }
body.cg .pin-cem :where(i,.t-i):not(cg-x) { left: -7px; top: -7px; width: 14px; height: 14px; border: 1px solid var(--ink); background:
  linear-gradient(var(--ink), var(--ink)) center / 1.2px 7px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center 40% / 5px 1.2px no-repeat, #ede9df; }
body.cg .pin-cem .pin-tag { opacity: 0; transition: opacity .25s; }
body.cg .pin-cem .pin-tag :where(b,.t-b):not(cg-x) { font-size: 17px; }
body.cg .pin.is-active { z-index: 4; }
body.cg .pin.is-active :where(i,.t-i):not(cg-x) { transform: scale(1.35); }
body.cg .pin-cem.is-active .pin-tag { opacity: 1; }
body.cg .atlas.has-active .pin:not(.is-active):not(.pin-home) { opacity: .32; }
/* the switch: towns hides the cemetery markers, cemeteries fades the towns and labels every cemetery */
body.cg .atlas[data-mode="towns"] .pin-cem:not(.is-active) { opacity: 0; }
/* 13 Nov (client: Poznań cemeteries plus Luboń, Skórzewo, Przeźmierowo): no switch any more, every cemetery keeps its label */
body.cg .atlas[data-mode="all"] .pin-cem .pin-tag { opacity: 1; }
body.cg .atlas-label-sub { margin-top: 14px; }
body.cg .atlas[data-mode="cems"] .pin:not(.pin-cem):not(.pin-home):not(.is-active) { opacity: .22; }
body.cg .atlas[data-mode="cems"] .pin:not(.pin-cem):not(.pin-home) .pin-tag,body.cg  .atlas[data-mode="cems"] .pin-home .pin-chip { opacity: 0; transition: opacity .3s; }
body.cg .atlas[data-mode="cems"] .pin-cem .pin-tag { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  body.cg .pin-home :where(i,.t-i):not(cg-x)::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 3s var(--ease) infinite; }
  .js body.cg .atlas:not(.is-in) .pin { opacity: 0; scale: 0; }
  body.cg .atlas.is-in .pin { animation: pin-in .55s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i, 0) * 55ms + 250ms); }
}
@keyframes ping { from { opacity: .6; transform: scale(.55); } to { opacity: 0; transform: scale(1.8); } }
@keyframes pin-in { from { opacity: 0; scale: 0; } to { opacity: 1; scale: 1; } }
body.cg .atlas-mode { position: absolute; top: 16px; right: 16px; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
body.cg .atlas-mode :where(button,.t-button):not(cg-x) { position: relative; z-index: 1; min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: color .35s, background-color 0s; }
body.cg .atlas-mode :where(button,.t-button):not(cg-x)[aria-pressed="true"] { background: var(--ink); color: #fff; transition: color .35s, background-color 0s .48s; }
body.cg .atlas-mode-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: translate .5s var(--ease); }
body.cg .atlas-mode.is-cems .atlas-mode-thumb { translate: 100% 0; }
body.cg .atlas-zoomctl { position: absolute; right: 16px; bottom: 16px; z-index: 5; display: grid; gap: 6px; }
body.cg .atlas-zoomctl :where(button,.t-button):not(cg-x) { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-xs); background: var(--card); font: 300 24px/1 var(--serif); color: var(--ink); cursor: pointer; transition: border-color .3s, opacity .3s; }
body.cg .atlas-zoomctl :where(button,.t-button):not(cg-x):hover { border-color: var(--ink); }
body.cg .atlas-zoomctl :where(button,.t-button):not(cg-x)[aria-disabled="true"] { opacity: .4; cursor: default; }
body.cg .atlas-osm { position: absolute; left: 20px; bottom: 16px; z-index: 5; font-size: 12.5px; color: var(--muted); text-decoration: none; }
body.cg .atlas-osm:hover { text-decoration: underline; }
body.cg .atlas-caption { font-size: 13.5px; color: var(--muted); }

body.cg .atlas-side { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--card); }
body.cg .atlas-photo { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 70% 50%; }
body.cg .atlas-index { flex: 1; padding: 18px 18px 0; }
body.cg .atlas-label { display: flex; justify-content: space-between; gap: 12px; padding: 0 8px 10px; border-bottom: 1px solid var(--ink); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
body.cg .atlas-label :where(span:not(.elementor-heading-title),.t-span):not(cg-x) { letter-spacing: .02em; text-transform: none; }
body.cg .route { list-style: none; }
body.cg .route :where(li,.t-li):not(cg-x) { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 7px 8px; border-bottom: 1px solid var(--line); border-radius: 0; cursor: default; transition: background-color .3s, border-radius .3s; }
body.cg .route :where(li,.t-li):not(cg-x):last-child { border-bottom: 0; }
body.cg .route :where(li,.t-li):not(cg-x).is-home { background: var(--paper-deep); border-radius: 10px; border-bottom-color: transparent; }
body.cg .route :where(li,.t-li):not(cg-x).is-home .route-name::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
body.cg .route-name { display: inline-block; font: 400 20px/1.3 var(--serif); letter-spacing: -0.015em; color: var(--ink); text-decoration: none; transition: color .35s, transform .5s var(--ease); }
body.cg :where(a,.t-a):not(cg-x).route-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line-strong); }
body.cg .route :where(li,.t-li):not(cg-x):hover,body.cg  .route :where(li,.t-li):not(cg-x).is-active { background: var(--paper); border-radius: 10px; }
body.cg .route :where(li,.t-li):not(cg-x).is-active .route-name { color: var(--gold-text); transform: translateX(6px); }
body.cg .route-km { font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .3s; }
body.cg .route :where(li,.t-li):not(cg-x).is-active .route-km { color: var(--ink); }
body.cg .atlas-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 14px 14px 14px; padding: 14px 16px; border-radius: var(--r-xs); background: var(--paper-deep); font-size: 15px; line-height: 1.5; color: var(--muted); }
body.cg .atlas-note :where(a,.t-a):not(cg-x) { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: var(--ink); text-decoration: none; }
body.cg .atlas-note :where(a,.t-a):not(cg-x) .icon { width: 17px; height: 17px; color: var(--gold-text); }
body.cg .atlas-note :where(a,.t-a):not(cg-x):hover { text-decoration: underline; text-underline-offset: 4px; }

body.cg .cemeteries { margin-top: clamp(40px, 5vw, 64px); }
body.cg .cem-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
body.cg .area-subtitle { font: 300 clamp(30px, 2.8vw, 40px)/1.05 var(--serif); letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
body.cg .cem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; }
body.cg .cem { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 172px; padding: 20px 20px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); transition: border-color .3s, translate .4s var(--ease); }
body.cg .cem:hover,body.cg  .cem.is-active { border-color: var(--gold); }
body.cg .cem:hover { translate: 0 -3px; }
body.cg .cem:not(.has-link)::before { content: ""; position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background:
  linear-gradient(var(--ink), var(--ink)) center / 1.2px 13px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center 40% / 8px 1.2px no-repeat; }
body.cg .cem-go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
body.cg .cem-go .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
body.cg .cem.has-link:hover .cem-go { background: var(--ink); border-color: var(--ink); color: #fff; }
body.cg .cem.has-link:hover .cem-go .icon { transform: translateX(2px); }
body.cg .cem-name { max-width: 6em; margin-top: auto; font: 400 25px/1.06 var(--serif); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
body.cg :where(a,.t-a):not(cg-x).cem-name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
body.cg :where(a,.t-a):not(cg-x).cem-name:focus-visible { outline: none; }
body.cg .cem:has(:where(a,.t-a):not(cg-x).cem-name:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
body.cg .cem-meta { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 1.4; color: var(--muted); }
body.cg .cem-meta .icon { flex-shrink: 0; width: 15px; height: 15px; color: var(--gold-text); }
body.cg .finder { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 16px 22px; margin-top: 14px; padding: 14px 14px 14px 26px; border-radius: var(--r-md); background: var(--paper-deep); }
body.cg .finder-icon { display: grid; place-items: center; color: var(--gold-text); }
body.cg .finder-icon .icon { width: 28px; height: 28px; }
body.cg .finder-title { font: 400 26px/1.1 var(--serif); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
body.cg .finder-text { padding-left: 22px; border-left: 1px solid var(--line-strong); font-size: 15.5px; line-height: 1.5; color: var(--muted); }

/* reviews: the featured quote beside a slow wall of the others in two columns that drift in opposite directions; hover or the
   button stops them (ref: 21st.dev Testimonials Vertical Marquee) */
body.cg .reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
body.cg .reviews-aside { max-width: 28em; margin: 24px 0 40px; color: var(--muted); }
body.cg .review { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 28px; border-radius: var(--r-card); background: var(--card); color: var(--ink); }
body.cg .review :where(blockquote,.t-blockquote):not(cg-x) { margin: 0; }
body.cg .review :where(blockquote,.t-blockquote):not(cg-x) :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { font: italic 400 22px/1.32 var(--serif); letter-spacing: -0.01em; }
body.cg .review-featured { padding: clamp(28px, 3.4vw, 44px); background: var(--ink); color: #fff; }
body.cg .review-featured :where(blockquote,.t-blockquote):not(cg-x) :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { font: italic 300 clamp(30px, 2.9vw, 42px)/1.12 var(--serif); letter-spacing: -0.025em; text-wrap: pretty; }
body.cg .quote-mark { display: block; height: .5em; margin-bottom: 8px; font: 300 140px/1 var(--serif); }
body.cg .review :where(figcaption,.t-figcaption):not(cg-x) { display: grid; gap: 6px; }
body.cg .review-name { font: 400 17px/1.3 var(--sans); letter-spacing: -0.01em; }
body.cg .review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--muted); }
body.cg .review-featured .review-meta { color: rgba(255, 255, 255, .72); }
body.cg .stars { letter-spacing: 2px; font-size: 13px; }
/* 8 Nov: the still 2x2 grid of the user's reference (white cards on top, sand below; filled column by column so the H3s keep their
   order) is the resting state: tablets, phones (one column) and reduced motion. On wide screens script.js turns the wall live, as it
   was before: two columns as tall as the title and featured card beside them, drifting in opposite directions behind a fade mask,
   column B and the loop copies aria-hidden; hover, focus or the button stops them (WCAG 2.2.2). */
body.cg .reviews-wall { display: block; }
body.cg .reviews-set { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; }
body.cg .reviews-set,body.cg  .reviews-track { display: grid; gap: 14px; }
body.cg .reviews-col-b,body.cg  .reviews-set[aria-hidden="true"],body.cg  .wall-pause { display: none; }
@media (min-width: 981px) {
  body.cg .reviews-wall.is-live { align-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto; gap: 14px; min-height: 620px; }
  body.cg .reviews-wall.is-live .reviews-col { display: block; min-height: 0; overflow: hidden; contain: size; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
  body.cg .reviews-wall.is-live .reviews-set { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  body.cg .reviews-wall.is-live .reviews-set[aria-hidden="true"] { display: grid; }
  body.cg .reviews-wall.is-live .reviews-track { animation: wall-up 52s linear infinite; }
  /* column B starts part way through its loop, so a white card sits beside a sand one from the first frame */
  body.cg .reviews-wall.is-live .reviews-col-b .reviews-track { animation-duration: 60s; animation-direction: reverse; animation-delay: -11s; }
  body.cg .reviews-wall:hover .reviews-track,body.cg  .reviews-wall:focus-within .reviews-track,body.cg  .reviews-wall.is-paused .reviews-track { animation-play-state: paused; }
  body.cg .reviews-wall.is-live .wall-pause { grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 15px; cursor: pointer; transition: border-color .3s; }
  body.cg .wall-pause:hover { border-color: var(--ink); }
  body.cg .wall-pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
  body.cg .reviews-wall.is-paused .wall-pause-icon { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
}
@keyframes wall-up { to { transform: translateY(calc(-50% - 7px)); } }

/* seasons (4 Nov, after the client's mockup): the nearest holiday is a large card with its photo on top, a "Najbliższa okazja" pill
   and the countdown chip over the photo; the other two stack beside it with the photo on the left; a facts bar closes the block.
   script.js sorts the cards by date, fills the dates and countdowns and marks the first card .is-next. */
body.cg .season-list { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: 1fr 1fr; gap: 16px; list-style: none; }
body.cg .season { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; padding: 10px; border-radius: var(--r-card); background: var(--card); color: var(--ink); }
body.cg .season.is-next { grid-column: 1; grid-row: 1 / 3; grid-template-rows: minmax(0, 1fr) auto; }
body.cg .season:not(.is-next) { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px; }
body.cg .season-media { position: relative; min-height: 220px; border-radius: var(--r-md); overflow: hidden; background: #d9d5cb; }
body.cg .season.is-next .season-media { min-height: 360px; }
body.cg .season-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
body.cg .season:hover .season-media img { transform: scale(1.04); }
body.cg .season-body { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 70px 14px 14px; }
body.cg .season:not(.is-next) .season-body { padding: 18px 70px 18px 4px; justify-content: center; }
body.cg .season-kicker { margin-bottom: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #6e5223; } /* a deeper gold: 5.3:1 on the blush card (gold-deep was 4.29:1) */
body.cg .season.is-next .season-kicker { display: none; }
body.cg .season-name { font: 400 clamp(28px, 2.4vw, 34px)/1.05 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
body.cg .season.is-next .season-name { font-size: clamp(36px, 3.2vw, 46px); }
body.cg .season-date { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15.5px; color: var(--muted); }
body.cg .season-date .icon { width: 18px; height: 18px; color: var(--gold-text); }
body.cg .season-left { display: inline-flex; align-items: center; min-height: 34px; margin-top: 12px; padding: 0 16px; border-radius: 999px; background: #f3eddc; font: italic 400 18px/1 var(--serif); color: var(--gold-deep); white-space: nowrap; }
body.cg .season.is-next .season-left { position: absolute; top: 22px; right: 22px; z-index: 1; margin: 0; min-height: 40px; padding: 0 20px; font-size: 21px; }
body.cg .season-badge { position: absolute; top: 22px; left: 22px; z-index: 1; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; }
body.cg .season-text { margin-top: 10px; max-width: 24em; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
body.cg .season-go { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gold-text); border-radius: 50%; color: var(--gold-deep); transition: background-color .3s, border-color .3s, color .3s; }
body.cg .season-go .icon { width: 20px; height: 20px; transition: transform .35s var(--ease); }
body.cg .season-go:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
body.cg .season-go:hover .icon { transform: translateX(3px); }
body.cg .season-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; padding: 8px 12px; border-radius: var(--r-md); background: var(--paper-deep); list-style: none; }
body.cg .season-facts :where(li,.t-li):not(cg-x) { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 20px; font-size: 16.5px; color: var(--ink); }
body.cg .season-facts :where(li,.t-li):not(cg-x) + :where(li,.t-li):not(cg-x) { border-left: 1px solid var(--line-strong); }
body.cg .season-facts .icon { width: 24px; height: 24px; color: var(--gold-text); }
body.cg .season-facts .link-arrow { gap: 10px; font-size: 16.5px; color: var(--gold-deep); text-decoration-color: transparent; }
body.cg .season-facts .link-arrow .icon { width: 18px; height: 18px; color: inherit; }

/* faq: a paper-deep band, each question a white row with its number, the contact card in ink */
body.cg .faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
body.cg .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
body.cg .faq-contact { margin-top: 36px; }
body.cg .faq-contact-title { margin-bottom: 8px; font: 400 27px/1.1 var(--serif); letter-spacing: -0.02em; color: #fff; }
body.cg .faq-contact :where(p:not(.elementor-heading-title),.t-p):not(cg-x):not(.faq-contact-title) { color: rgba(255, 255, 255, .74); }
body.cg .faq-contact .faq-contact-links { display: grid; gap: 10px; margin-top: 22px; }
body.cg .faq-contact-links :where(a,.t-a):not(cg-x) { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; color: #fff; text-decoration: none; }
body.cg .faq-contact-links :where(a,.t-a):not(cg-x):first-child { font: 300 34px/1.1 var(--serif); letter-spacing: -0.02em; }
body.cg .faq-contact-links :where(a,.t-a):not(cg-x):hover { text-decoration: underline; text-underline-offset: 4px; }
body.cg .faq-list { display: grid; gap: 10px; }
body.cg .faq-list :where(details,.t-details):not(cg-x) { border-radius: var(--r-md); background: var(--card); interpolate-size: allow-keywords; transition: background-color .3s; }
body.cg .faq-list :where(details,.t-details):not(cg-x)::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
body.cg .faq-list :where(details,.t-details):not(cg-x)[open]::details-content { height: auto; }
body.cg .faq-list :where(summary,.t-summary):not(cg-x) { display: flex; align-items: center; gap: 20px; padding: 20px 20px 20px 26px; cursor: pointer; list-style: none; }
body.cg .faq-list :where(summary,.t-summary):not(cg-x)::-webkit-details-marker { display: none; }
body.cg .faq-list :where(summary,.t-summary):not(cg-x) :where(h3:not(.elementor-heading-title),.t-h3):not(cg-x) { flex: 1; font: 400 clamp(23px, 2.1vw, 28px)/1.15 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
body.cg .faq-icon { position: relative; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s, transform .45s var(--ease); }
body.cg .faq-icon::before,body.cg  .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--ink); transition: background-color .3s; }
body.cg .faq-icon::after { transform: rotate(90deg); }
body.cg .faq-list :where(summary,.t-summary):not(cg-x):hover .faq-icon { border-color: var(--ink); }
body.cg .faq-list :where(details,.t-details):not(cg-x)[open] .faq-icon { background: var(--ink); border-color: var(--ink); transform: rotate(45deg); }
body.cg .faq-list :where(details,.t-details):not(cg-x)[open] .faq-icon::before,body.cg  .faq-list :where(details,.t-details):not(cg-x)[open] .faq-icon::after { background: #fff; }
body.cg .faq-list :where(details,.t-details):not(cg-x) :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { max-width: 38em; padding: 0 82px 26px 84px; }
body.cg .faq-list :where(details,.t-details):not(cg-x) :where(a,.t-a):not(cg-x) { text-underline-offset: 4px; }

/* interludes (4 Nov): three wide image bands that break up the paper stretch between 03 and 07, in the closing band's manner
   (a photo in a rounded band, the copy on a cream corner panel). The seasons strip slides sideways with the scroll (refs 21st.dev
   Scroll Horizontal Gallery, the Plain gallery captions on Mobbin), the alley band drifts slower than the page (ref the Escape
   Cafe band on Mobbin) and the report band floats the real before/after prints at their own depths (refs the Airtable polaroid
   wall and the Grammarly print line on Mobbin, 21st.dev 3D Parallax Gallery). Band photos are generated with the pack's own
   documentary prompt (atmosphere only); the prints are the real realizacje pairs. */
body.cg .interlude { padding: 0 var(--inset); }
body.cg .interlude + .band,body.cg  .band + .interlude { margin-top: var(--inset); }
body.cg .il-band { --r: var(--r-band); position: relative; isolation: isolate; border-radius: var(--r); overflow: hidden; background: #d9d3c4; }
body.cg .il-media { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
body.cg .il-panel { position: absolute; left: var(--edge-band); bottom: clamp(14px, 1.8vw, 24px); z-index: 2; width: min(500px, 46%); padding: clamp(24px, 2.6vw, 36px) clamp(24px, 2.8vw, 40px) clamp(22px, 2.4vw, 32px); border-radius: var(--r-card); background: var(--paper); }
body.cg .il-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
body.cg .il-kicker::before { content: ""; width: 22px; height: 1px; }
body.cg .il-line { margin-top: 12px; font-size: clamp(34px, 3.6vw, 54px); line-height: 1; }
body.cg .il-text { max-width: 30em; margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--muted); }
body.cg .il-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }

/* the seasons strip (8 Nov, third pass, user: "redesign this section to look better and match the content window"; refs Tines
   "Featured series", the Bumble seasonal guides and the Fruitful timeline on Mobbin): a sand band whose content keeps to the page
   column. A head row (kicker and title on the left, the lead and the Poradnik link on the right behind a gold hairline), then the
   four seasons as equal cards under one year line that runs from March to February across them, three months per card, with a
   gold node where each season starts. The season we are in keeps a gold bar on its months (script.js adds .is-now); the others
   draw theirs on hover or focus, together with a slight photo zoom and a hairline plate mark. Each card links to its Poradnik
   chapter. Tablets show two cards per row, phones swipe them sideways. */
body.cg .strip-band { padding: clamp(56px, 6vw, 96px) 0 clamp(52px, 5.6vw, 88px); border-radius: var(--r-band); overflow: hidden; }
body.cg .strip-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
body.cg .strip-head .il-line { font-size: clamp(40px, 4.8vw, 64px); text-wrap: balance; }
body.cg .strip-aside { padding-left: clamp(18px, 2.2vw, 30px); border-left: 1px solid var(--gold); }
body.cg .strip-aside .il-text { margin: 0 0 16px; }
body.cg .strip-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 4.6vw, 64px); list-style: none; }
body.cg .strip-card { min-width: 0; }
body.cg .strip-link { display: block; border-radius: var(--r-md); color: inherit; text-decoration: none; }
body.cg .strip-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
body.cg .strip-months { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 22px; padding-bottom: 12px; }
body.cg .strip-months::before { content: ""; position: absolute; left: 0; right: -18px; bottom: 0; height: 1px; background: var(--line-strong); }
body.cg .strip-card:last-child .strip-months::before { right: 0; }
body.cg .strip-months::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
body.cg .strip-card.is-now .strip-months::after,body.cg  .strip-link:hover .strip-months::after,body.cg  .strip-link:focus-visible .strip-months::after { transform: none; }
.js body.cg .strip-card.is-now .strip-months::after { transition-delay: .6s; }
.js body.cg .interlude:not(.is-in) .strip-card.is-now .strip-months::after { transform: scaleX(0); }
body.cg .strip-months :where(b,.t-b):not(cg-x) { position: relative; font: 400 12px/1 var(--sans); letter-spacing: .12em; color: var(--muted); }
body.cg .strip-months :where(b,.t-b):not(cg-x)::after { content: ""; position: absolute; left: 0; top: calc(100% + 5px); width: 1px; height: 7px; background: var(--line-strong); }
body.cg .strip-months :where(b,.t-b):not(cg-x):first-child { color: var(--ink); }
body.cg .strip-months :where(b,.t-b):not(cg-x):first-child::after { left: -4px; top: calc(100% + 7px); z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--sand); }
body.cg .strip-photo { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: #d9d3c4; }
body.cg .strip-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
body.cg .strip-photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .6); border-radius: calc(var(--r-md) - 8px); opacity: 0; transition: opacity .6s var(--ease), inset .6s var(--ease); pointer-events: none; }
body.cg .strip-link:hover .strip-photo::after,body.cg  .strip-link:focus-visible .strip-photo::after { opacity: 1; inset: 14px; }
body.cg .strip-link:hover .strip-photo img,body.cg  .strip-link:focus-visible .strip-photo img { scale: 1.05; }
body.cg .strip-cap { display: block; padding: 18px 2px 0; }
body.cg .strip-cap-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
body.cg .strip-cap-name { font: 400 clamp(26px, 2.2vw, 32px)/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
body.cg .strip-cap-no { font: italic 400 20px/1 var(--serif); }
body.cg .strip-cap-line { display: block; margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
body.cg .strip-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding-bottom: 3px; border-bottom: 1px solid var(--line-strong); font-size: 14.5px; color: var(--ink); transition: border-color .4s var(--ease); }
body.cg .strip-more .icon { width: 16px; height: 16px; transition: translate .4s var(--ease); }
body.cg .strip-link:hover .strip-more { border-color: var(--ink); }
body.cg .strip-link:hover .strip-more .icon,body.cg  .strip-link:focus-visible .strip-more .icon { translate: 3px 0; }

/* the alley band: the photo under a white note top right and the cream panel bottom left */
body.cg .vista .il-band { min-height: clamp(440px, 42vw, 580px); }
body.cg .vista .il-media { object-position: 50% 48%; }
body.cg .vista-note { position: absolute; top: 20px; right: var(--edge-band); z-index: 2; display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 16px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 14px; color: var(--ink); }
body.cg .vista-note :where(i,.t-i):not(cg-x) { width: 7px; height: 7px; border-radius: 50%; }

/* the report band: four real prints pinned over the quieter half of the photo, each at its own depth */

/* closing: the same cream corner panel as the hero, over a sunlit avenue */
body.cg .closing { padding: var(--inset) var(--inset) 0; }
body.cg .closing .wrap { max-width: none; padding: 0; }
body.cg .closing-band { --r: var(--r-band); position: relative; isolation: isolate; min-height: clamp(480px, 46vw, 640px); border-radius: var(--r); overflow: hidden; background: #d8cdb5; }
body.cg .closing-media { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 30% 62%; }
body.cg .closing-copy { position: absolute; left: var(--edge-band); top: clamp(16px, 2vw, 28px); width: min(640px, 50%); padding: clamp(28px, 3vw, 44px) clamp(28px, 3.2vw, 48px) clamp(26px, 2.8vw, 40px); border-radius: var(--r-card); background: var(--paper); }
/* the cream panel covers the bottom-left corner, so that corner stays square: a rounded clip there left a thin arc of photo
   pixels (antialiasing of the separately clipped photo layer) under the panel */
body.cg .closing-line { font-size: clamp(40px, 4.2vw, 62px); }
body.cg .closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
body.cg .closing-phone { font-size: 17px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
body.cg .closing-phone:hover { text-decoration-color: currentColor; }

/* footer (4 Nov, after the client's mockup): an ink band with the gold logo row, a tagline beside three link columns, the two
   cemetery lines, the towns row, the original wordmark huge in gold and the base line. Motion: the columns rise in turn, the
   gold rules draw from the left, link underlines grow from the left and a soft light passes over the wordmark once. */
body.cg .site-footer { margin: var(--inset) var(--inset) 0; padding: clamp(36px, 4vw, 52px) 0 24px; border-radius: var(--r-band) var(--r-band) 0 0; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .8); font-size: 15.5px; }
body.cg .footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
body.cg .site-footer .logo { color: var(--gold); }
body.cg .footer-top-right { display: flex; align-items: center; gap: 28px; }
body.cg .footer-area { display: inline-flex; align-items: center; gap: 10px; font: 400 17px/1 var(--serif); color: #fff; white-space: nowrap; }
body.cg .footer-area :where(i,.t-i):not(cg-x) { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
body.cg .footer-top .btn { background: var(--paper); color: var(--ink); }
body.cg .footer-top .btn:hover { background: #fff; }
body.cg .footer-top .btn .icon { color: var(--gold-text); }
body.cg .footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: clamp(32px, 4vw, 48px); }
body.cg .footer-tagline { font: 300 clamp(30px, 2.6vw, 38px)/1.15 var(--serif); letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
body.cg .footer-lead { max-width: 24em; margin-top: 18px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
body.cg .footer-area-link { margin-top: 22px; color: var(--gold); text-decoration-color: transparent; }
body.cg .footer-area-link:hover { text-decoration-color: var(--gold); }
body.cg .footer-title { margin-bottom: 18px; font: 400 14px/1 var(--serif); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
body.cg .footer-col :where(ul,.t-ul):not(cg-x) { display: grid; gap: 12px; list-style: none; }
body.cg .footer-col :where(ul,.t-ul):not(cg-x) :where(a,.t-a):not(cg-x) { position: relative; display: inline-flex; align-items: center; gap: 4px; color: #fff; text-decoration: none; }
body.cg .footer-col :where(ul,.t-ul):not(cg-x) :where(a,.t-a):not(cg-x)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
body.cg .footer-col :where(ul,.t-ul):not(cg-x) :where(a,.t-a):not(cg-x):hover::after,body.cg  .footer-col :where(ul,.t-ul):not(cg-x) :where(a,.t-a):not(cg-x):focus-visible::after { transform: none; }
body.cg .footer-contact :where(address,.t-address):not(cg-x) { display: grid; gap: 14px; font-style: normal; }
body.cg .footer-contact :where(address,.t-address):not(cg-x) > *:not(:where(.elementor-heading-title)),body.cg .footer-contact :where(address,.t-address):not(cg-x) > :where(.elementor-heading-title)>*:not(:where(.elementor-heading-title)) { display: flex; align-items: flex-start; gap: 14px; margin: 0; color: #fff; text-decoration: none; line-height: 1.4; }
body.cg .footer-contact .icon { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; color: var(--gold); }
body.cg .footer-contact .icon-ext { width: 15px; height: 15px; margin-top: 4px; }
body.cg .footer-phone { font: 400 clamp(30px, 2.6vw, 40px)/1 var(--serif); letter-spacing: -0.01em; }
body.cg .footer-phone .icon { margin-top: 7px; }
body.cg .footer-contact :where(a,.t-a):not(cg-x):hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); }
/* the two gold rules around the cemetery lines and the one above the base draw from the left */
body.cg .footer-cems { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.cg .footer-cems::before,body.cg  .footer-cems::after,body.cg  .footer-base::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
body.cg .footer-cems::after { top: auto; bottom: 0; transition-delay: .2s; }
body.cg .footer-base::before { transition-delay: .4s; }
body.cg .site-footer.is-in .footer-cems::before,body.cg  .site-footer.is-in .footer-cems::after,body.cg  .site-footer.is-in .footer-base::before, html:not(.js) body.cg .footer-cems::before, html:not(.js) body.cg .footer-cems::after, html:not(.js) body.cg .footer-base::before { transform: none; }
body.cg .footer-cem { padding: 22px 0; }
body.cg .footer-cem + .footer-cem { padding-left: 40px; border-left: 1px solid rgba(181, 148, 80, .6); }
body.cg .footer-cem-name { display: inline-flex; align-items: center; gap: 8px; font: 400 32px/1 var(--serif); letter-spacing: -0.02em; color: #fff; text-decoration: none; }
body.cg .footer-cem-name .icon { width: 18px; height: 18px; color: var(--gold); transition: transform .35s var(--ease); }
body.cg .footer-cem-name:hover .icon { transform: translate(2px, -2px); }
body.cg .footer-cem-links { display: flex; flex-wrap: wrap; margin-top: 10px; font-size: 16px; }
body.cg .footer-cem-links :where(a,.t-a):not(cg-x) { color: rgba(255, 255, 255, .88); text-decoration: none; transition: color .3s; }
body.cg .footer-cem-links :where(a,.t-a):not(cg-x):hover { color: var(--gold); }
body.cg .footer-cem-links :where(a,.t-a):not(cg-x) { white-space: nowrap; }
body.cg .footer-cem-links :where(a,.t-a):not(cg-x):not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--gold); }
body.cg .footer-towns { display: flex; flex-wrap: wrap; gap: 6px 0; padding-top: 18px; font-size: 16px; color: rgba(255, 255, 255, .88); }
body.cg .footer-towns > * { white-space: nowrap; }
body.cg .footer-towns > :not(:last-child)::after { content: "·"; margin: 0 12px; color: var(--gold); }
body.cg .footer-towns :where(a,.t-a):not(cg-x) { color: inherit; text-decoration: underline; text-decoration-color: rgba(181, 148, 80, .6); text-underline-offset: 4px; }
body.cg .footer-towns :where(a,.t-a):not(cg-x):hover { text-decoration-color: var(--gold); }
body.cg .footer-word { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: clamp(28px, 3vw, 40px) auto 0; padding: 0 var(--gutter); color: var(--gold); }
body.cg .footer-word .logo-word { width: 100%; background: linear-gradient(110deg, var(--gold) 0 40%, #efdfb0 50%, var(--gold) 60% 100%) 100% 0 / 280% 100%; }
body.cg .footer-base { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 22px; font-size: 15px; color: rgba(255, 255, 255, .72); }
body.cg .footer-base-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
body.cg .footer-base :where(a,.t-a):not(cg-x) { color: #fff; text-decoration: none; }
body.cg .footer-base :where(a,.t-a):not(cg-x):hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
body.cg .footer-top-link { display: inline-flex; align-items: center; gap: 8px; }
body.cg .footer-top-link .icon { width: 16px; height: 16px; color: var(--gold); rotate: -90deg; transition: translate .35s var(--ease); }
body.cg .footer-top-link:hover .icon { translate: 0 -3px; }

body.cg .mobile-bar { display: none; }

/* gold accents: the original logo gold for the mark, hairlines, stars and fills; a deeper gold for large italic text so it keeps
   3:1 on cream, paper-deep and white. Small text never goes gold on light grounds. */
body.cg .logo,body.cg  .site-footer .logo,body.cg  .footer-word { color: var(--gold); }
body.cg .closing-line em { color: var(--gold-text); }
body.cg .announce-sep { background: var(--gold); }
body.cg .stars { color: var(--gold-text); }
body.cg .review-featured .stars,body.cg  .quote-mark { color: var(--gold); }
body.cg .btn-ink .icon { color: var(--gold); }
body.cg .reader-tab::before { background: var(--gold); }
body.cg .spec-bar { border-color: var(--gold); }
body.cg .year-range { background: var(--gold); }
body.cg .hl { background-image: linear-gradient(rgba(181, 148, 80, .28), rgba(181, 148, 80, .28)); }
body.cg .faq-list :where(details,.t-details):not(cg-x)[open] .faq-icon { background: var(--gold); border-color: var(--gold); }
body.cg .faq-list :where(details,.t-details):not(cg-x)[open] .faq-icon::before,body.cg  .faq-list :where(details,.t-details):not(cg-x)[open] .faq-icon::after { background: var(--ink); }
body.cg .il-line em { color: var(--gold-text); }
body.cg .il-kicker::before { background: var(--gold); }
body.cg .strip-cap-no { color: var(--gold-text); }
body.cg .vista-note :where(i,.t-i):not(cg-x) { background: var(--gold); }

/* colour (7 Nov, "want more colours"): five tints taken from the photos (sand from the paths, blush from chrysanthemums, mist from
   granite and sky, primrose from pansies and narcissi, znicz red) used on grounds and cards, never on small text. */
body.cg .strip-band { background: var(--sand); }
body.cg .bento-price { background: var(--primrose); }
body.cg .bento-freq { background: var(--mist); }
body.cg .season[data-season="easter"] { background: var(--primrose); }
body.cg .season[data-season="allsaints"] { background: var(--blush); }
body.cg .season[data-season="xmas"] { background: var(--mist); }
body.cg .review:not(.review-featured):nth-child(even) { background: var(--sand); }
body.cg .faq-list :where(details,.t-details):not(cg-x)[open] { background: var(--sand); }
body.cg .il-kicker::before,body.cg  .reader-tab::before { background: var(--gold); }
body.cg .vista-note :where(i,.t-i):not(cg-x),body.cg  .footer-area :where(i,.t-i):not(cg-x) { background: var(--znicz); }
body.cg .spec-check-photo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
body.cg .spec-check:has(.spec-check-photo) { grid-template-columns: 20px 34px minmax(0, 1fr) auto; }
body.cg .faq-fan { display: flex; margin-top: 26px; }
body.cg .faq-fan img { width: 58px; height: 58px; margin-left: -14px; border: 3px solid var(--paper-deep); border-radius: 50%; object-fit: cover; }
body.cg .faq-fan img:first-child:not(:where(.cg-img) *),body.cg .faq-fan :where(.cg-img):first-child > img { margin-left: 0; }
body.cg .faq-fan-note { margin-top: 10px; font-size: 15.5px; color: var(--muted); }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  body.cg .hero-media img { animation: hero-settle 2.4s var(--ease) both; }
  .js body.cg .hero-media img { transform-origin: 50% 100%; transform: translate3d(0, calc(var(--hp, 0) * 56px), 0) scale(calc(1 + var(--hp, 0) * .1)); will-change: transform; }
  body.cg .hero-copy > * { animation: rise 1.1s var(--ease) both; }
  body.cg .hero-copy > :nth-child(2) { animation-delay: .08s; }
  body.cg .hero-copy > :nth-child(3) { animation-delay: .18s; }
  body.cg .hero-copy > :nth-child(4) { animation-delay: .28s; }
  body.cg .hero-quote,body.cg  .hero-meta { animation: rise 1.1s .45s var(--ease) both; }
  /* interludes: the band photos and the prints drift slower than the page (--vp), the strip slides sideways (--sx) */
  .js body.cg .vista .il-media { transform: translate3d(0, calc((var(--vp, .5) - .5) * -70px), 0) scale(1.12); will-change: transform; }
  .js body.cg .strip-card { opacity: 0; translate: 0 36px; transition: opacity .9s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--i, 0) * .1s); }
  .js body.cg .interlude.is-in .strip-card { opacity: 1; translate: 0 0; }
  .js body.cg .strip-photo img { transform: translate3d(0, calc((var(--vp, .5) - .5) * var(--d, 1) * -36px), 0) scale(1.12); will-change: transform; }
  .js body.cg .il-panel { opacity: 0; translate: 0 24px; transition: opacity .9s var(--ease), translate 1s var(--ease); }
  .js body.cg .interlude.is-in .il-panel { opacity: 1; translate: 0 0; }
  .js body.cg .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js body.cg .reveal.is-in { opacity: 1; transform: none; }
  .js body.cg .season-list .reveal:nth-child(2) { transition-delay: .1s; }
  .js body.cg .season-list .reveal:nth-child(3) { transition-delay: .2s; }
  /* the services rail rises panel by panel; flex-grow keeps its own, undelayed transition */
  .js body.cg .svc-rail > .svc { opacity: 0; translate: 0 40px; transition: flex-grow .9s var(--ease), height .8s var(--ease), opacity 1s var(--ease), translate 1.1s var(--ease); }
  .js body.cg .svc-rail.is-in > .svc { opacity: 1; translate: 0 0; }
  .js body.cg .svc-rail.is-in > .svc:nth-child(2) { transition-delay: 0s, 0s, .08s, .08s; }
  .js body.cg .svc-rail.is-in > .svc:nth-child(3) { transition-delay: 0s, 0s, .16s, .16s; }
  .js body.cg .svc-rail.is-in > .svc:nth-child(4) { transition-delay: 0s, 0s, .24s, .24s; }
  .js body.cg .footer-word { opacity: 0; translate: 0 32px; transition: opacity 1.2s var(--ease), translate 1.4s var(--ease), background-position 2.2s var(--ease) .5s; }
  .js body.cg .footer-word.is-in { opacity: 1; translate: 0 0; }
  .js body.cg .footer-word.is-in .logo-word { animation: word-shine 2.4s var(--ease) .4s both; }
  .js body.cg .footer-grid > .reveal:nth-child(2) { transition-delay: .1s; }
  .js body.cg .footer-grid > .reveal:nth-child(3) { transition-delay: .2s; }
  .js body.cg .footer-grid > .reveal:nth-child(4) { transition-delay: .3s; }
}
@keyframes hero-settle { from { scale: 1.07; } to { scale: 1; } }
@keyframes rule-in { from { opacity: 0; inset: 34px; } to { opacity: 1; inset: 22px; } }
@keyframes word-shine { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 1180px) {
  /* the menu becomes a cream sheet under the header: numbered serif rows, the services as photo cards, phone and order at the foot */
  body.cg .header-row { gap: 0; }
  body.cg .menu-btn { display: inline-flex; order: 4; }
  body.cg .nav { order: 3; margin: 0; padding: 0; border: 0; background: none; }
  body.cg .nav-cue { display: none; }
  body.cg .header-actions { margin: 0 10px 0 auto; }
  body.cg .nav-list { position: fixed; top: var(--nav-top, 120px); left: 0; right: 0; bottom: 0; z-index: 49; display: none; flex-direction: column; align-items: stretch; padding: 4px var(--gutter) 40px; overflow-y: auto; background: var(--paper); }
  body.cg .nav-list.is-open { display: flex; }
  body.cg .nav-list > :where(li,.t-li):not(cg-x) { border-bottom: 1px solid var(--line); }
  body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(a,.t-a):not(cg-x),body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(.elementor-heading-title)>:where(a,.t-a):not(cg-x) { flex: 1; gap: 16px; padding: 16px 0; border-radius: 0; font: 300 34px/1.05 var(--serif); letter-spacing: -0.03em; }
  body.cg .icon-ext { width: 20px; height: 20px; }
  body.cg .has-sub { flex-wrap: wrap; }
  body.cg .sub-toggle { width: 48px; height: 48px; margin: 0; border: 1px solid var(--line-strong); }
  body.cg .sub-toggle .icon { width: 20px; height: 20px; }
  body.cg .sub { position: static; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; padding: 0 0 18px; border: 0; background: none; opacity: 1; visibility: visible; }
  body.cg .has-sub:hover .sub,body.cg  .has-sub:focus-within .sub,body.cg  .has-sub.is-open .sub { translate: none; }
  body.cg .has-sub:hover .sub,body.cg  .has-sub:focus-within .sub { display: none; }
  body.cg .has-sub.is-open .sub { display: grid; }
  body.cg .has-sub::after { display: none; }
  body.cg .sub-card { padding: 0; }
  body.cg .sub-card:hover { background: none; }
  body.cg .sub-card img { margin-bottom: 8px; border-radius: var(--r-xs); }
  body.cg .sub-name { padding: 0; font-size: 18px; }
  body.cg .sub-note { display: none; }
  body.cg .nav-mobile { display: block; }
  body.cg .nav-list > :where(li,.t-li):not(cg-x).nav-contact { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: auto; padding-top: 28px; border-bottom: 0; }
  body.cg .nav-list > :where(li,.t-li):not(cg-x).nav-contact > .nav-phone,body.cg .nav-list > :where(li,.t-li):not(cg-x).nav-contact > :where(.elementor-heading-title)>.nav-phone { flex: none; justify-content: center; gap: 10px; padding: 0; font: 300 32px/1 var(--serif); }
  body.cg .nav-list > :where(li,.t-li):not(cg-x).nav-contact > .nav-phone .icon,body.cg .nav-list > :where(li,.t-li):not(cg-x).nav-contact > :where(.elementor-heading-title)>.nav-phone .icon { width: 22px; height: 22px; }
  body.cg .nav-list > :where(li,.t-li):not(cg-x).nav-contact > .btn,body.cg .nav-list > :where(li,.t-li):not(cg-x).nav-contact > :where(.elementor-heading-title)>.btn { flex: none; padding: 0 30px; font: 400 17.5px/1 var(--sans); letter-spacing: -0.01em; border-radius: 999px; color: #fff; }
  body.cg.menu-open { overflow: hidden; }
  body.cg.menu-open .mobile-bar { display: none; }
  /* backdrop-filter would make the header row the containing block of the fixed menu panel */
  body.cg.menu-open .site-header { background: var(--paper); }
  body.cg.menu-open .site-header .header-row { -webkit-backdrop-filter: none; backdrop-filter: none; background: none; border-color: transparent; padding: 0 4px; }
}
@media (max-width: 1180px) and (prefers-reduced-motion: no-preference) {
  body.cg .nav-list.is-open > :where(li,.t-li):not(cg-x) { animation: rise .6s var(--ease) both; }
  body.cg .nav-list.is-open > :where(li,.t-li):not(cg-x):nth-child(2) { animation-delay: .03s; }
  body.cg .nav-list.is-open > :where(li,.t-li):not(cg-x):nth-child(3) { animation-delay: .06s; }
  body.cg .nav-list.is-open > :where(li,.t-li):not(cg-x):nth-child(4) { animation-delay: .09s; }
  body.cg .nav-list.is-open > :where(li,.t-li):not(cg-x):nth-child(5) { animation-delay: .12s; }
  body.cg .nav-list.is-open > :where(li,.t-li):not(cg-x):nth-child(6) { animation-delay: .15s; }
  body.cg .nav-list.is-open > :where(li,.t-li):not(cg-x):nth-child(7) { animation-delay: .18s; }
  body.cg .nav-list.is-open > :where(li,.t-li):not(cg-x):nth-child(n+8) { animation-delay: .21s; }
}
@media (max-width: 1100px) {
  :root { --lift: 0px; }
  body.cg .trust { padding-top: 40px; }
  body.cg .bento-photo { margin-top: 0; }
  body.cg .hero-frame { min-height: clamp(560px, calc(100svh - var(--header-h) - 44px), 820px); padding: 80px var(--gutter) 88px; }
  body.cg .hero-quote,body.cg  .hero-meta { display: none; }
}
@media (max-width: 1100px), (max-height: 760px) {
  body.cg .hero-quote { display: none; }
}
@media (max-width: 1180px) {
  body.cg .reader { grid-template-columns: 250px minmax(0, 1fr); }
  body.cg .reader-media { display: none; }
  body.cg .chapter-media { display: block; margin-bottom: 26px; border-radius: var(--r-md); overflow: hidden; }
  body.cg .chapter-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  /* eight cemeteries (13 Nov): two rows of four, then two columns on tablets */
  body.cg .cem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.cg .cem { min-height: 180px; }
}
@media (max-width: 1080px) {
  body.cg .area-head { grid-template-columns: 1fr; gap: 18px; }
  body.cg .area-aside { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  body.cg .atlas { grid-template-columns: 1fr; }
  body.cg .atlas-plate { min-height: 0; aspect-ratio: 1019 / 862; }
  body.cg .atlas-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  body.cg .atlas-photo { height: 100%; aspect-ratio: auto; }
  body.cg .atlas-note { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  body.cg .sec-head-split { grid-template-columns: 1fr; gap: 20px; }
  body.cg .steps-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  body.cg .steps-cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  body.cg .steps-cards { grid-template-columns: 1fr; gap: 14px; }
  body.cg .step-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.cg .step-panel { align-self: end; padding: 28px 28px 30px; }
  body.cg .svc-rail { flex-direction: column; height: auto; gap: 8px; }
  body.cg .svc { flex: none; height: 96px; }
  body.cg .svc.is-active { height: min(560px, 124vw); }
  body.cg .svc-spine { top: 48px; bottom: auto; left: 22px; font-size: 27px; writing-mode: horizontal-tb; rotate: 0deg; translate: 0 -50%; }
  body.cg .svc::after { background: linear-gradient(90deg, rgba(30, 22, 12, .55) 0%, rgba(30, 22, 12, .1) 70%); }
  body.cg .svc-copy { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 20px 20px 18px; }
  body.cg .reviews-grid { grid-template-columns: 1fr; }
  body.cg .season-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  body.cg .season.is-next { grid-column: 1 / -1; grid-row: auto; }
  body.cg .season:not(.is-next) { grid-template-columns: 1fr; gap: 0; }
  body.cg .season:not(.is-next) .season-body { padding: 16px 70px 12px 14px; }
  body.cg .season-facts { grid-template-columns: 1fr; padding: 6px 12px; }
  body.cg .season-facts :where(li,.t-li):not(cg-x) { justify-content: flex-start; min-height: 50px; }
  body.cg .season-facts :where(li,.t-li):not(cg-x) + :where(li,.t-li):not(cg-x) { border-left: 0; border-top: 1px solid var(--line-strong); }
  body.cg .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  body.cg .bento-photo { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  body.cg .bento-map { grid-column: 1 / -1; }
  body.cg .bento-price { grid-column: 1 / 2; }
  body.cg .bento-freq { grid-column: 2 / 3; grid-template-columns: 1fr; gap: 20px; }
  body.cg .gallery { grid-template-columns: 1fr; }
  body.cg .gallery-matte { order: -1; }
  body.cg .price-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.cg .price-media { aspect-ratio: auto; min-height: 320px; }
  body.cg .almanac-intro,body.cg  .pricing-grid,body.cg  .area-grid,body.cg  .faq-grid { grid-template-columns: 1fr; }
  body.cg .reader { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  body.cg .reader > * { min-width: 0; }
  body.cg .reader-index-wrap { position: static; }
  body.cg .reader-kicker,body.cg  .reader-count { display: none; }
  body.cg .reader-index { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; border-top: 0; overflow-x: auto; scrollbar-width: none; }
  body.cg .reader-index::-webkit-scrollbar { display: none; }
  body.cg .reader-tab { display: inline-flex; flex: none; align-items: baseline; gap: 8px; width: auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); }
  body.cg .reader-tab::before,body.cg  .reader-when { display: none; }
  body.cg .reader-name { font-size: 18px; }
  body.cg .reader-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  body.cg .reader-media { display: none; }
  body.cg .chapter-media { display: block; margin-bottom: 26px; border-radius: var(--r-md); overflow: hidden; }
  body.cg .chapter-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  body.cg .faq-head { position: static; }
  body.cg .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  body.cg .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  :root { --inset: 8px; --header-h: 72px; --r-band: 28px; --r-lg: 26px; }
  body.cg .announce { font-size: 13.5px; }
  body.cg .announce-row { justify-content: center; min-height: 36px; }
  body.cg .announce .announce-note { display: none; }
  body.cg .site-header { padding: 8px 0; }
  body.cg .header-row { height: 56px; }
  body.cg .site-header.is-scrolled .header-row { padding: 0 6px 0 16px; }
  body.cg .header-actions > .btn,body.cg .header-actions > :where(.elementor-heading-title)>.btn { display: none; }
  body.cg .header-cart { width: 44px; height: 44px; }
  body.cg .logo { --logo-w: 172px; }
  body.cg .menu-btn { min-height: 44px; padding: 0 16px; }
  body.cg .hero-frame { place-items: end start; min-height: max(600px, calc(100svh - 150px)); padding: 80px 20px 28px; }
  body.cg .hero-media img { object-position: center 40%; }
  body.cg .hero-shade { background: linear-gradient(180deg, rgba(24, 18, 8, .26) 0%, rgba(24, 18, 8, 0) 24%, rgba(24, 18, 8, .34) 46%, rgba(24, 18, 8, .78) 100%); }
  body.cg .hero-copy { text-align: left; }
  body.cg .hero-kicker::after { display: none; }
  body.cg .hero-title { margin: 0; }
  body.cg .hero-lead { margin: 18px 0 24px; }
  body.cg .hero-actions { justify-content: flex-start; }
  body.cg .hero-kicker { font-size: 12.5px; letter-spacing: .14em; gap: 10px; margin-bottom: 18px; }
  body.cg .hero-kicker::before { width: 22px; }
  body.cg .hero-title { font-size: clamp(44px, 12.6vw, 60px); }
  body.cg .hero-lead { font-size: 17.5px; margin: 18px 0 24px; }
  body.cg .hero-actions { flex-wrap: nowrap; gap: 8px; }
  body.cg .hero-actions .btn { flex: 1 1 auto; min-height: 54px; padding: 0 16px; font-size: 16.5px; }
  body.cg .trust { padding: 44px 0 56px; }
  body.cg .bento { grid-template-columns: 1fr; gap: 10px; }
  body.cg .bento-photo,body.cg  .bento-map,body.cg  .bento-price,body.cg  .bento-freq { grid-column: 1; }
  body.cg .bento-photo { min-height: 460px; }
  body.cg .bento-tile { padding: 22px; }
  body.cg .bento-map { grid-template-columns: 1fr; }
  body.cg .bento-plate { order: -1; min-height: 200px; margin: -10px -10px 0; }
  body.cg .bento-months { gap: 3px; }
  body.cg .bento-months :where(li,.t-li):not(cg-x) { height: 54px; font-size: 12.5px; }
  body.cg .bento-switch :where(button,.t-button):not(cg-x) { padding: 0 14px; font-size: 14.5px; }
  body.cg .section { padding: 72px 0; }
  body.cg .gallery-stage { height: clamp(360px, 112vw, 520px); }
  body.cg .gallery-matte { padding: 12px; }
  body.cg .gallery-hint { margin-left: 0; }
  body.cg .gallery-nav { margin-left: auto; }
  body.cg .case-row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; }
  body.cg .case-pair { width: 56px; }
  body.cg .case-pair img { width: 34px; height: 42px; }
  body.cg .case-pair img:last-child:not(:where(.cg-img) *),body.cg .case-pair :where(.cg-img):last-child > img { left: 18px; }
  body.cg .case-name { font-size: 24px; }
  body.cg .case-kind { display: none; }
  body.cg .case-detail > :where(div:not(.elementor-heading-title,.elementor,.elementor-widget,.elementor-location-header,.elementor-location-footer),.t-div):not(cg-x) { padding-left: 0; }
  body.cg .price-side { grid-template-columns: 1fr; }
  body.cg .price-media { aspect-ratio: 4 / 3; min-height: 0; }
  body.cg .spec { padding: 18px 14px; }
  body.cg .spec-options,body.cg  .spec-duo,body.cg  .spec-extras { grid-template-columns: 1fr; }
  body.cg .spec-duo > :where(fieldset,.t-fieldset):not(cg-x):last-child { padding-left: 0; border-left: 0; }
  body.cg .spec-summary { padding: 16px; }
  body.cg .spec-seg :where(label,.t-label):not(cg-x) { padding: 0 8px; }
  body.cg .spec-seg :where(label,.t-label):not(cg-x) > :where(span:not(.elementor-heading-title),.t-span):not(cg-x),body.cg .spec-seg :where(label,.t-label):not(cg-x) > :where(.elementor-heading-title)>:where(span:not(.elementor-heading-title),.t-span):not(cg-x) { font-size: 18px; }
  body.cg .spec-seg :where(small,.t-small):not(cg-x) { margin-left: 6px; font-size: 12px; }
  body.cg .spec-bar { flex-wrap: wrap; }
  body.cg .spec-bar .btn { flex: 1 1 100%; }
  body.cg .review-featured :where(blockquote,.t-blockquote):not(cg-x) :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { font-size: 28px; }
  body.cg .season-list { grid-template-columns: 1fr; }
  body.cg .season.is-next .season-media { min-height: 260px; }
  body.cg .season.is-next .season-name { font-size: 32px; }
  body.cg .reader-nav { flex-wrap: wrap; }
  body.cg .reader-nav .btn { flex: 1 1 100%; justify-content: center; }
  body.cg .almanac-proof { grid-template-columns: 1fr 1fr; gap: 8px; }
  body.cg .atlas-side { grid-template-columns: 1fr; }
  body.cg .atlas-photo { aspect-ratio: 2 / 1; height: auto; }
  body.cg .route-name { font-size: 19px; }
  body.cg .pin:not(.pin-home):not(.is-active) .pin-tag,body.cg  .map-note,body.cg  .pin-chip { display: none; }
  body.cg .atlas[data-mode="cems"] .pin-cem .pin-tag { display: inline-flex; }
  body.cg .map-title { left: 14px; top: 14px; font-size: 18px; }
  body.cg .pin-home .pin-tag :where(b,.t-b):not(cg-x) { font-size: 21px; }
  body.cg .pin-tag :where(b,.t-b):not(cg-x) { font-size: 15px; }
  body.cg .atlas-mode { top: 10px; right: 10px; }
  body.cg .atlas-mode :where(button,.t-button):not(cg-x) { min-height: 32px; padding: 0 10px; font-size: 13px; }
  body.cg .atlas-zoomctl { right: 10px; bottom: 10px; }
  body.cg .atlas-zoomctl :where(button,.t-button):not(cg-x) { width: 36px; height: 36px; }
  body.cg .atlas-osm { left: 12px; bottom: 12px; }
  body.cg .cem-grid { grid-template-columns: 1fr; gap: 8px; }
  body.cg .cem { grid-column: auto; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 10px; row-gap: 4px; min-height: 0; padding: 16px 60px 16px 18px; }
  body.cg .cem:not(.has-link)::before,body.cg  .cem-go { top: 50%; right: 14px; translate: 0 -50%; }
  body.cg .cem-name { margin-top: 0; font-size: 22px; }
  body.cg .finder { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  body.cg .finder-icon { display: none; }
  body.cg .finder-text { padding-left: 0; border-left: 0; }
  body.cg .finder .btn { justify-self: start; margin-top: 6px; }
  body.cg .faq-list :where(summary,.t-summary):not(cg-x) { gap: 12px; padding: 16px 14px 16px 18px; }
  body.cg .faq-list :where(details,.t-details):not(cg-x) :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { padding: 0 18px 22px; }
  body.cg .closing-band { min-height: 0; border-radius: 0; overflow: visible; background: none; }
  body.cg .closing-media { position: relative; display: block; height: auto; aspect-ratio: 4 / 3; border-radius: var(--r-band); }
  body.cg .closing-copy { position: static; width: auto; padding: 24px 10px 8px; background: none; border-radius: 0; }
  body.cg .closing-copy::before,body.cg  .closing-copy::after { display: none; }
  body.cg .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  body.cg .footer-top { flex-wrap: wrap; margin-bottom: 36px; }
  body.cg .footer-top-right { width: 100%; justify-content: space-between; }
  body.cg .footer-cems { grid-template-columns: 1fr; }
  body.cg .footer-cem + .footer-cem { padding-left: 0; border-left: 0; border-top: 1px solid rgba(181, 148, 80, .4); }
  body.cg .footer-base-links { gap: 10px 18px; }
  body.cg .site-footer { padding-bottom: calc(26px + 84px + env(safe-area-inset-bottom)); }
  body.cg .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(242, 241, 237, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  body.cg .mobile-bar .btn { min-height: 54px; font-size: 17.5px; }
}

/* interludes on tablets and phones: the strip becomes a swipe row, the panels sit under the photo, the prints line up */
@media (max-width: 980px) {
  body.cg .strip-head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  body.cg .strip-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  body.cg .strip-card:nth-child(2n) .strip-months::before { right: 0; }
  body.cg .il-panel { position: relative; left: auto; bottom: auto; width: auto; margin: 0 10px 10px; }
  /* 8 Nov, user: "cant see the image ... make it look better on mobile": the cream panel sat over most of the photo. Now one
     white card: the whole photo on top (16:10, 4:5 on phones), the copy under it, nothing over the photo but the chip */
  body.cg .vista .il-band { display: block; min-height: 0; height: auto; background: var(--card); }
  body.cg .vista .il-media { position: relative; inset: auto; z-index: 0; display: block; height: auto; aspect-ratio: 16 / 10; object-position: 79% 48%; }
  .js body.cg .vista .il-media { transform: none; }
  body.cg .vista .il-panel { margin: 0; padding: 28px clamp(22px, 4vw, 36px) 30px; border-radius: 0; background: none; }
}
@media (max-width: 700px) {
  body.cg .strip-track { display: flex; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  body.cg .strip-track::-webkit-scrollbar { display: none; }
  body.cg .strip-card { flex: none; width: 76%; scroll-snap-align: start; }
  body.cg .strip-card:nth-child(2n) .strip-months::before { right: -14px; }
  body.cg .strip-card:last-child .strip-months::before { right: 0; }
  body.cg .il-panel { padding: 24px 20px 26px; }
  body.cg .il-line { font-size: 34px; }
  body.cg .vista-note { top: 12px; right: 12px; min-height: 34px; font-size: 13px; }
  body.cg .vista .il-media { aspect-ratio: 4 / 5; }
  body.cg .vista .il-panel { padding: 24px 20px 26px; }
}
@media (max-width: 520px) {
  body.cg .step-card { display: flex; }
  body.cg .step-panel { align-self: auto; padding: 24px 24px 28px; }
}
@media (min-width: 1181px) and (max-width: 1320px) {
  /* the full menu, the cart button and Zamów usługę share one row: a slightly smaller wordmark and tighter links */
  body.cg .logo { --logo-w: 200px; }
  body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(a,.t-a):not(cg-x),body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(.elementor-heading-title)>:where(a,.t-a):not(cg-x) { padding: 10px 12px; }
  body.cg .has-sub > :where(a,.t-a):not(cg-x) { padding-right: 4px; }
  body.cg .header-actions { gap: 10px; }
}
@media (max-width: 400px) {
  /* header with the cart button (8 Nov): a slightly smaller wordmark and a tighter menu button keep logo, cart and menu on one row */
  body.cg .logo { --logo-w: 142px; }
  body.cg .header-actions { margin-right: 8px; }
  body.cg .menu-btn { gap: 10px; padding: 0 14px; }
}
@media (max-width: 350px) {
  body.cg .menu-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- homepage polish (8 Nov, the user's seven-image reference: the same page, tighter and calmer) */
/* a gold hairline between a section title and a plain lead (Realizacje, Cennik, Obszar) */
body.cg.home .sec-head-split .sec-aside:not(:has(:where(a,.t-a):not(cg-x))),body.cg  .area-aside { padding-left: clamp(18px, 2.2vw, 30px); border-left: 1px solid var(--gold); }
@media (max-width: 700px) {
  body.cg .hero-copy { width: auto; }
  body.cg .reviews-set { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}
/* the alley band keeps the whole woman in view on wide screens without filling the screen: its height follows the window
   (68% of it, 440 to 780px), the crop sits a little above centre and the drift is gentler, so the photo is scaled less */
@media (min-width: 981px) {
  body.cg .vista .il-band { min-height: 0; height: clamp(440px, min(50vw, 68vh), 780px); }
  body.cg .vista .il-media { object-position: 50% 40%; }
}
@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .js body.cg .vista .il-media { transform: translate3d(0, calc((var(--vp, .5) - .5) * -30px), 0) scale(1.05); }
}

/* ---------- one column for the whole site (8 Nov, user: "design, spacing consistent through the entire website ... look good
   on a wide screen"). The announcement bar, header, footer and the footer wordmark keep to the same 1200px column as the content
   (they were on a 1360px shell). Once the page scrolls, the header pill grows outwards, so its logo and button stay on the column. */
@media (min-width: 1181px) {
  body.cg .site-header.is-scrolled .header-row { margin: 0 -4px 0 -20px; }
}

/* image bands with the text on the photo (8 Nov, user: "want text to look better on these sections, white background is covering
   the entire image"): the alley band and the closing band (also on the subpages) drop their cream panels. The copy sits in white
   on the content column over a soft shade that fades out before the photo's subject, as in the subpage heroes. On phones the
   copy stays under the photo. */
@media (min-width: 981px) {
  body.cg .vista .il-band::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
    linear-gradient(90deg, rgba(22, 17, 9, .64) 0%, rgba(22, 17, 9, .46) 26%, rgba(22, 17, 9, .14) 48%, rgba(22, 17, 9, 0) 64%),
    linear-gradient(0deg, rgba(22, 17, 9, .42) 0%, rgba(22, 17, 9, 0) 46%); }
  body.cg .vista .il-panel { bottom: clamp(40px, 4.4vw, 64px); width: min(560px, 44%); padding: 0; border-radius: 0; background: none; }
  body.cg .vista .il-kicker { color: rgba(255, 255, 255, .9); }
  body.cg .vista .il-line { font-size: clamp(40px, 4vw, 60px); color: #fff; }
  body.cg .vista .il-line em { color: #e3c98e; }
  body.cg .vista .il-text { font-size: 18px; color: rgba(255, 255, 255, .92); }
  body.cg .vista .il-actions .btn-ink { border-color: var(--paper); background: var(--paper); color: var(--ink); }
  body.cg .vista .il-actions .btn-ink:hover { background: #fff; }
  body.cg .vista .il-actions .link-arrow { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
}
@media (min-width: 701px) {
  body.cg .closing-band::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
    linear-gradient(90deg, rgba(22, 17, 9, .64) 0%, rgba(22, 17, 9, .48) 30%, rgba(22, 17, 9, .14) 52%, rgba(22, 17, 9, 0) 68%),
    linear-gradient(180deg, rgba(22, 17, 9, .4) 0%, rgba(22, 17, 9, .1) 34%, rgba(22, 17, 9, 0) 56%); }
  body.cg .closing-copy { z-index: 1; top: clamp(48px, 5.4vw, 80px); width: min(620px, 48%); padding: 0; border-radius: 0; background: none; }
  body.cg .closing-line { color: #fff; }
  body.cg .closing-line em { color: #e3c98e; }
  body.cg .closing-actions .btn-ink { border-color: var(--paper); background: var(--paper); color: var(--ink); }
  body.cg .closing-actions .btn-ink:hover { background: #fff; }
  body.cg .closing-phone { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
}

/* the award (8 Nov, user: "They want this logo, award to be nicely shown on the website"): Orły Czystości 2023, Laureat konkursu.
   The logo (assets/nagrody/orly-czystosci-2023, cut from the user's screenshot of the live site, transparent) has black lettering,
   so it always sits on a light ground. On the homepage it is a white plaque under the trust tiles with a hairline gold frame
   inset like a certificate, the logo, a gold rule and one line; in the footer of every page it is a small cream badge. */
body.cg .award { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3.4vw, 48px); margin-top: 14px; padding: clamp(26px, 3vw, 38px) clamp(24px, 4vw, 56px); border-radius: var(--r-card); background: var(--card); }
body.cg .award::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(181, 148, 80, .38); border-radius: calc(var(--r-card) - 10px); pointer-events: none; }
body.cg .award-logo { flex: none; width: clamp(190px, 18vw, 240px); height: auto; }
body.cg .award-copy { padding-left: clamp(24px, 3.4vw, 48px); border-left: 1px solid var(--gold); }
body.cg .award-kicker { display: flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
body.cg .award-kicker::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
body.cg .award-line { margin-top: 10px; font: 400 clamp(26px, 2.4vw, 34px)/1.15 var(--serif); letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
body.cg .award-line em { font-style: italic; color: var(--gold-text); }
body.cg .footer-award { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
body.cg .footer-award-tile { flex: none; display: inline-flex; padding: 12px 18px; border-radius: var(--r-sm); background: var(--paper); }
body.cg .footer-award-text { display: grid; gap: 4px; font-size: 13.5px; line-height: 1.35; letter-spacing: .02em; color: rgba(255, 255, 255, .72); }
body.cg .footer-award-text em { font: italic 400 19px/1.15 var(--serif); letter-spacing: 0; color: #fff; }
body.cg .footer-award-logo { display: block; width: 156px; height: auto; }
@media (max-width: 700px) {
  body.cg .award { flex-direction: column; gap: 18px; text-align: center; }
  body.cg .award-copy { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--gold); }
  body.cg .award-kicker { justify-content: center; }
  body.cg .award-logo { width: 200px; }
}

/* footer balance (8 Nov, user: "dont like this empty space on the footer"): the award badge left the brand column, which had made
   it taller than the three link columns, and is now the third cell of the cemetery row, so both rows end level */
body.cg .footer-cems { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
body.cg .footer-cem-award { display: flex; align-items: center; }
body.cg .footer-cem-award .footer-award { margin-top: 0; }
@media (max-width: 1100px) {
  body.cg .footer-cems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.cg .footer-cem.footer-cem-award { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid rgba(181, 148, 80, .4); }
}
@media (max-width: 700px) { body.cg .footer-cems { grid-template-columns: 1fr; } }

/* site audit, 8 Nov: the map's zoom buttons and the OpenStreetMap credit sit on the map box's own bottom edge (the plate is often
   taller than the map, which is centred on extra paper; the buttons fell onto the frame line) */
@media (min-width: 981px) {
  body.cg .atlas-plate { container-type: size; }
  body.cg .atlas-zoomctl,body.cg  .atlas-osm { bottom: max(16px, calc((100cqh - 100cqw * .846) / 2 + 16px)); }
}

/* site audit, 8 Nov, agent A */
/* 06: a cemetery without its own page keeps its cross, without the button circle that made it look clickable */
body.cg .cem:not(.has-link)::before { border-color: transparent; }
/* Poradnik year: each numeral sits in the middle of its month */
body.cg .year-months :where(li,.t-li):not(cg-x) { text-align: center; }

/* trust bento on phones (8 Nov audit: 1,832px before 01 Usługi): the before/after stays full width, the three fact tiles become one
   swipe row with the next tile peeking in (ref 21st.dev Feature Carousel); on wider screens the wrapper takes no part in the grid */
body.cg .bento-rest { display: contents; }
@media (max-width: 700px) {
  body.cg .bento-rest { display: flex; gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  body.cg .bento-rest::-webkit-scrollbar { display: none; }
  body.cg .bento-rest > .bento-tile { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
  body.cg .bento-photo { min-height: 420px; }
}
/* 08: the new warm holiday photos keep their arrangement and znicze in the wide featured crop */
body.cg .season-media img[src*="sezon-swieta-v2"] { object-position: 50% 80%; }
body.cg .season-media img[src*="sezon-zaduszki-v2"] { object-position: 40% 74%; }
/* the smallest phones (320–380px): the two hero buttons, the footer's area line and button, and the bottom bar share the width
   instead of running past the edge */
@media (max-width: 380px) {
  body.cg .hero-actions { flex-wrap: wrap; }
  body.cg .hero-actions .btn { flex: 1 1 100%; }
  body.cg .footer-top-right { flex-wrap: wrap; gap: 14px; }
  body.cg .footer-top-right .btn { flex: 1 1 100%; justify-content: center; }
  body.cg .mobile-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px; padding-inline: 10px; }
  body.cg .mobile-bar .btn { min-width: 0; padding-inline: 12px; font-size: 16px; }
  body.cg .mobile-cart { gap: 8px; }
}
/* the footer contact column: the e-mail address may break in the narrow 1024px column */
body.cg .site-footer :where(address,.t-address):not(cg-x) { overflow-wrap: anywhere; }
/* touch targets on phones (8 Nov responsive pass, a 60+ audience): footer menu links are 44px rows; text links, the logo, the
   phone links and the address lines get a 44px tall hit area through padding that negative margins take back, so nothing moves */
@media (max-width: 700px) {
  body.cg .footer-col :where(ul,.t-ul):not(cg-x) { gap: 0; }
  body.cg .footer-col :where(ul,.t-ul):not(cg-x) :where(a,.t-a):not(cg-x) { min-height: 44px; }
  body.cg .footer-col :where(ul,.t-ul):not(cg-x) :where(a,.t-a):not(cg-x)::after { bottom: 10px; }
  body.cg .announce-links { font-size: 14.5px; }
  body.cg .announce-links :where(a,.t-a):not(cg-x),body.cg  .logo,body.cg  .link-arrow,body.cg  .closing-phone,body.cg  .steps-phone,body.cg :where(a,.t-a):not(cg-x).route-name,body.cg  .footer-cem-name,body.cg  .footer-area-link,body.cg 
  .site-footer :where(address,.t-address):not(cg-x) :where(a,.t-a):not(cg-x):not(.footer-phone),body.cg  .footer-cem-links :where(a,.t-a):not(cg-x),body.cg  .footer-towns :where(a,.t-a):not(cg-x),body.cg  .footer-base-links :where(a,.t-a):not(cg-x),body.cg  .footer-top-link {
    padding-block: 10px; margin-block: -10px; }
  body.cg .footer-phone { min-height: 44px; }
  body.cg .footer-cem-links,body.cg  .footer-base-links { row-gap: 14px; }
  body.cg .atlas-zoomctl :where(button,.t-button):not(cg-x) { width: 44px; height: 44px; }
}

/* touch targets on phones, second part: small pills and buttons reach 44px, card titles and the map switch get a taller hit area
   (an invisible pseudo-element or inline padding), so the layout stays as it is */
@media (max-width: 700px) {
  body.cg .spec-incart,body.cg  .mx-buy,body.cg  .menu-add,body.cg  .copy-btn { min-height: 44px; }
  body.cg .almanac-more,body.cg  .atlas-mode :where(button,.t-button):not(cg-x) { position: relative; }
  body.cg .almanac-more::after { content: ""; position: absolute; inset: -14px -8px; }
  body.cg .atlas-mode :where(button,.t-button):not(cg-x)::after { content: ""; position: absolute; inset: -6px 0; }
  body.cg .p-card-name :where(a,.t-a):not(cg-x),body.cg  .jr-row-title :where(a,.t-a):not(cg-x),body.cg  .art-card-title :where(a,.t-a):not(cg-x),body.cg  .ct-big { padding-block: 8px; }
}

/* 21st.dev pass (8 Nov, user: "do a real 21st.dev pass"). Each block names the component it was rebuilt from; the code was
   read on 21st.dev and redone in plain CSS/JS in the site's tokens (no React, no libraries).
   1. Hero titles (ref Text Reveal by kuratlielia): every word rises out of a soft blur, staggered, at most .6s in total.
      build.py wraps the words of every .bh-title in span.tw with its own --d; the homepage title is split by hand. The text
      and its spaces stay the same, so the headings read the same to the SEO check and to screen readers. On subpages the
      kicker, lead and buttons rise in after the title, like the homepage hero. */
body.cg .tw { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  body.cg .tw { animation: tw-rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
  body.cg .hero-copy > .hero-title { animation: none; }
  body.cg .bh-copy > :not(.bh-title) { animation: rise 1s .1s var(--ease) both; }
  body.cg .bh-copy > :nth-child(n+3):not(.bh-title) { animation-delay: .42s; }
  body.cg .bh-copy > :nth-child(n+4):not(.bh-title) { animation-delay: .52s; }
}
@keyframes tw-rise { from { opacity: 0; transform: translateY(.42em); filter: blur(10px); } }

/* 2. Back to top (ref Circular Scroll Progress by skiper-ui): a white disc bottom right with a gold ring that fills as the
      page is read. It shows after one screen and a bit, hides while the footer (with its own "Do góry") is in view, and
      stays off on phones (the bottom bar is there) and on the product, cart and checkout pages (their buy bars sit there). */
body.cg .to-top { display: none; }
@media (min-width: 701px) {
  .js body.cg .to-top { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--card); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s, background-color .25s, color .25s; }
  .js body.cg .to-top.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  body.cg .to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; fill: none; stroke-width: 2; pointer-events: none; }
  body.cg .to-top-ring circle { stroke: var(--line); }
  body.cg .to-top-ring .to-top-bar { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
  body.cg .to-top .icon { width: 20px; height: 20px; rotate: -90deg; transition: translate .3s var(--ease); }
  body.cg .to-top:hover { background: var(--ink); color: #fff; }
  body.cg .to-top:hover .icon { translate: 0 -2px; }
  body.cg .to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  body.cg.pg-shop-pd .to-top, body.cg.pg-shop-cart .to-top { display: none; }
}

/* Closing band into the footer (8 Nov, user: "add some transition from this section to footer, add some nice effect,
   animation to make it look outstanding"). Over 700px the band and the footer become one piece: no cream seam, the photo's
   foot dissolves into the footer's black, and the dusk rises as the band scrolls away (--vp from script.js, the same drift
   as the image bands) while the photo eases out of a slight zoom. On every width a gold line opens from the middle at the
   top of the footer with a warm glow under it when the footer comes into view. Reduced motion: drawn and still. */
body.cg .site-footer { position: relative; isolation: isolate; }
body.cg .site-footer::before { content: ""; position: absolute; top: 0; left: 50%; z-index: 1; width: min(var(--wrap), calc(100% - var(--gutter) * 2)); height: 1px; translate: -50% 0; background: linear-gradient(90deg, rgba(181, 148, 80, 0), var(--gold) 22% 78%, rgba(181, 148, 80, 0)); pointer-events: none; }
body.cg .site-footer::after { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: clamp(220px, 26vw, 360px); background: radial-gradient(60% 100% at 50% 0, rgba(227, 201, 142, .16), rgba(227, 201, 142, .05) 45%, rgba(227, 201, 142, 0) 75%); pointer-events: none; }
.js body.cg .site-footer::before { transform: scaleX(0); transition: transform 1.8s var(--ease) .15s; }
.js body.cg .site-footer::after { opacity: 0; transition: opacity 2.4s var(--ease) .4s; }
.js body.cg .site-footer.is-in::before { transform: none; }
.js body.cg .site-footer.is-in::after { opacity: 1; }
@media (min-width: 701px) {
  body.cg :where([data-elementor-type]:not(.elementor-location-header, .elementor-location-footer)):has(> main > :where(.cg-tpl):last-child .closing) + :where(.elementor-location-footer) > .site-footer { margin-top: 0; border-radius: 0; }
  body.cg main:has(> :where(.cg-tpl):last-child .closing) .closing-band { border-radius: var(--r) var(--r) 0 0; }
  body.cg .closing-band::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) calc(74% - var(--vp, .5) * 24%), rgba(0, 0, 0, .55) calc(90% - var(--vp, .5) * 12%), #000 100%); }
}
@media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
  .js body.cg .closing-media { transform: translate3d(0, calc((var(--vp, .5) - .5) * -8%), 0) scale(calc(1.16 - var(--vp, .5) * .08)); will-change: transform; }
}
/* the same on phones (8 Nov, user: "do similar transition from this section to footer as on pc for mobile"): the band and
   the footer are one black piece, the photo's foot fades into the black, and the line, the buttons and the phone sit on it
   in white and pale gold, straight above the footer's gold line and glow */
@media (max-width: 700px) {
  body.cg :where([data-elementor-type]:not(.elementor-location-header, .elementor-location-footer)):has(> main > :where(.cg-tpl):last-child .closing) + :where(.elementor-location-footer) > .site-footer { margin-top: 0; border-radius: 0; }
  body.cg main:has(> :where(.cg-tpl):last-child .closing) .closing-band { overflow: hidden; border-radius: var(--r-band) var(--r-band) 0 0; background: #000; }
  body.cg main:has(> :where(.cg-tpl):last-child .closing) .closing-media { aspect-ratio: 4 / 4.2; border-radius: 0; -webkit-mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .55) 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .55) 74%, transparent 100%); }
  body.cg main:has(> :where(.cg-tpl):last-child .closing) .closing-copy { position: relative; z-index: 1; margin-top: -84px; padding: 0 22px 34px; }
  body.cg main:has(> :where(.cg-tpl):last-child .closing) .closing-line { color: #fff; }
  body.cg main:has(> :where(.cg-tpl):last-child .closing) .closing-line em { color: #e3c98e; }
  body.cg main:has(> :where(.cg-tpl):last-child .closing) .closing-actions .btn-ink { border-color: var(--paper); background: var(--paper); color: var(--ink); }
  body.cg main:has(> :where(.cg-tpl):last-child .closing) .closing-phone { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
}
/* phone footer, symmetrical (8 Nov, user: "utalise empty space on footer on mobile, want everything symmetrical, without
   empty spaces"): the logo and "Poznań i okolice" share the first row over the full-width button, Usługi and Poznaj nas sit
   side by side, Junikowo and Górczyn too (a gold rule between them), the award under both */
@media (max-width: 700px) {
  body.cg .footer-top { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; row-gap: 18px; }
  body.cg .footer-top-right { display: contents; }
  body.cg .footer-area { justify-self: end; }
  body.cg .footer-top-right .btn { grid-column: 1 / -1; justify-content: center; width: 100%; }
  body.cg .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  body.cg .footer-brand,body.cg  .footer-contact { grid-column: 1 / -1; }
  body.cg .footer-col :where(ul,.t-ul):not(cg-x) :where(a,.t-a):not(cg-x) { font-size: 15.5px; line-height: 1.3; }
  body.cg .footer-cems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.cg .footer-cem + .footer-cem { padding-left: 18px; border-top: 0; border-left: 1px solid rgba(181, 148, 80, .4); }
  body.cg .footer-cem.footer-cem-award { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid rgba(181, 148, 80, .4); }
  body.cg .footer-cem-name { font-size: 28px; }
  body.cg .footer-cem-links { font-size: 15px; }
  /* second pass (user: "still empty space, maybe center everything on the footer"): every block is centred on the column,
     the two link lists and the two cemeteries each centre in their half, and the gold rules draw out from the middle */
  body.cg .site-footer { text-align: center; }
  body.cg .footer-top { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 14px; }
  body.cg .footer-area { justify-self: center; }
  body.cg .footer-tagline,body.cg  .footer-lead { margin-inline: auto; }
  body.cg .footer-col :where(ul,.t-ul):not(cg-x) { justify-items: center; }
  body.cg .footer-contact :where(address,.t-address):not(cg-x) { justify-items: center; }
  body.cg .footer-contact :where(address,.t-address):not(cg-x) > *:not(:where(.elementor-heading-title)),body.cg .footer-contact :where(address,.t-address):not(cg-x) > :where(.elementor-heading-title)>*:not(:where(.elementor-heading-title)) { justify-content: center; }
  body.cg .footer-cem + .footer-cem { padding-left: 0; }
  body.cg .footer-cem-links,body.cg  .footer-towns,body.cg  .footer-award,body.cg  .footer-base,body.cg  .footer-base-links { justify-content: center; }
  body.cg .footer-cem-award { justify-content: center; }
  body.cg .footer-cems::before,body.cg  .footer-cems::after,body.cg  .footer-base::before { transform-origin: center; }
  body.cg .site-footer::before { left: 50%; }
}

/* 01 Usługi on stacked screens (8 Nov, user: "check if this section is easy to navigate on the phone"): each strip shows its
   price under the name and a round + button (a real button with aria-expanded) that turns into − on the open panel;
   script.js brings the opened panel back into view. Desktop keeps hover and focus and hides the buttons. */
body.cg .svc-toggle { display: none; }
@media (max-width: 980px) {
  body.cg .svc-toggle { position: absolute; top: 24px; right: 18px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; background: rgba(20, 16, 10, .3); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .3s, border-color .3s; }
  body.cg .svc-toggle::before,body.cg  .svc-toggle::after { content: ""; position: absolute; width: 16px; height: 2px; border-radius: 2px; background: #fff; transition: rotate .4s var(--ease), background-color .3s; }
  body.cg .svc-toggle::after { rotate: 90deg; }
  body.cg .svc.is-active .svc-toggle { border-color: transparent; background: rgba(255, 255, 255, .94); }
  body.cg .svc.is-active .svc-toggle::before,body.cg  .svc.is-active .svc-toggle::after { background: var(--ink); }
  body.cg .svc.is-active .svc-toggle::after { rotate: 0deg; }
  body.cg .svc-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  body.cg .svc-spine::after { content: attr(data-meta); display: block; margin-top: 6px; font: 400 14px/1.2 var(--sans); letter-spacing: 0; color: rgba(255, 255, 255, .9); }
  body.cg .svc:not(.is-active) { cursor: pointer; }
}

/* 05 Poradnik intro (8 Nov, user: "utilise empty space. Change heading, dont want small pictures"): the line is "Grób zadbany
   w każdej porze roku" without the photo pill, and the two real before/after composites are large overlapping prints on a sand
   board that fills the column's height (the board of the Junikowo page); the "po" half still uncovers on first view */
body.cg .almanac-intro { align-items: stretch; }
body.cg .almanac-head { justify-content: center; }
body.cg .almanac-title em { font-style: italic; color: var(--gold-text); }
body.cg .almanac-proof { position: relative; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; align-content: center; padding: clamp(22px, 2.6vw, 36px) clamp(22px, 2.6vw, 36px) 72px; border-radius: var(--r-lg); background: var(--sand); }
@media (min-width: 981px) { body.cg .almanac-intro { grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr); } }
body.cg .almanac-proof .proof { grid-row: 1; align-self: start; padding: 8px; border-radius: var(--r-sm); background: var(--card); overflow: visible; }
body.cg .almanac-proof .proof img { display: block; aspect-ratio: auto; height: auto; border-radius: 10px; }
body.cg .almanac-proof .proof:nth-child(1 of :where(figure,.t-figure)) { grid-column: 1 / 11; rotate: -2deg; }
body.cg .almanac-proof .proof:nth-child(2 of :where(figure,.t-figure)) { grid-column: 5 / 13; z-index: 1; margin-top: 44%; rotate: 2.5deg; }
body.cg .almanac-proof .proof :where(figcaption,.t-figcaption):not(cg-x) { top: 18px; left: 18px; right: 18px; }
.js body.cg .almanac-proof .proof::after { top: 8px; right: 8px; bottom: 8px; width: calc((100% - 16px) * .51); border-radius: 0 10px 10px 0; background: var(--sand); }
body.cg .almanac-proof .proof-note { position: absolute; left: clamp(22px, 2.6vw, 36px); bottom: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
body.cg .almanac-proof .proof-note .tag { white-space: nowrap; }
@media (min-width: 701px) and (max-width: 980px) {
  body.cg .almanac-proof { gap: 0 18px; }
  body.cg .almanac-proof .proof:nth-child(1 of :where(figure,.t-figure)) { grid-column: 1 / 7; }
  body.cg .almanac-proof .proof:nth-child(2 of :where(figure,.t-figure)) { grid-column: 7 / 13; margin-top: 28px; }
}
@media (max-width: 700px) {
  body.cg .almanac-proof { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; padding-bottom: 22px; }
  body.cg .almanac-proof .proof-note { position: static; grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 6px 10px; margin-top: 20px; font-size: 13.5px; }
}


/* Client notes (13 Nov, "czystegroby.zip"): the trust tile maps only Poznań (the eight cemeteries the client serves), so its plate
   is centred on the city (its outline spans 29-97% x 1-85% of the engraved map); eight cemetery cards run in fours, two per row on
   tablets; Poradnik is a paper-deep band now that the calculator and the seasons strip went (cream 03 Realizacje sits before it) */
body.cg .bento-plate-in { width: 150%; translate: -63% -45%; }
@media (min-width: 701px) and (max-width: 980px) {
  body.cg .cem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the bigger logo (13 Nov) takes 30px more of the header row: links never wrap, and they sit a little closer */
body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(a,.t-a):not(cg-x),body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(.elementor-heading-title)>:where(a,.t-a):not(cg-x) { white-space: nowrap; }
@media (min-width: 1181px) { body.cg .header-row { gap: 20px; } }
@media (min-width: 1321px) {
  body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(a,.t-a):not(cg-x),body.cg .nav-list > :where(li,.t-li):not(cg-x) > :where(.elementor-heading-title)>:where(a,.t-a):not(cg-x) { padding-inline: 14px; }
  body.cg .has-sub > :where(a,.t-a):not(cg-x) { padding-right: 4px; }
}
/* footer without the towns row and the big wordmark (13 Nov, client): the cemetery row's lower gold rule closes the footer body,
   so the base line drops its own rule and the gap above it */
body.cg .footer-base { margin-top: 0; }
body.cg .footer-base::before { content: none; }
/* phones (13 Nov check): the bigger logo touched the cart button at some widths, so on phones it follows the screen width and
   always leaves about 16px before the cart (the logo is 1.11 x --logo-w wide with its candle and gap; the cart and the menu
   button take about 200px, 150px once the "Menu" word hides under 350px) */
@media (max-width: 700px) { body.cg .logo { --logo-w: min(172px, calc(90vw - 196px)); } }
@media (max-width: 349px) { body.cg .logo { --logo-w: min(150px, calc(90vw - 148px)); } }

/* phones, the client's remarks (22 Nov 2026, marked screenshots): no strip and no cart in the header (the Menu and the bottom
   bar have the search, the phone and the cart; product, cart and checkout pages have no bottom bar, so their header keeps the
   cart), the bottom bar no taller than the Menu button, and the hero copy higher and clear of that bar */
@media (max-width: 700px) {
  body.cg .announce,body.cg  .header-cart { display: none; }
  body.cg.pg-shop-pd .header-cart, body.cg.pg-shop-cart .header-cart { display: grid; }
  body.cg .mobile-bar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  body.cg .mobile-bar .btn { min-height: 44px; font-size: 16px; }
  body.cg .hero-frame { place-items: center start; min-height: clamp(460px, calc(100svh - var(--header-h) - 60px), 620px); padding: 24px 20px 40px; }
  /* the copy sits over the bright leaves now: the lightest shade that keeps the lead at 4.8:1 and the title at 3.5:1 on the
     brightest 5 % of the pixels behind them (work/wp/tools/heroshade.mjs), with a soft shadow for the small kicker */
  body.cg .hero-shade { background: linear-gradient(180deg, rgba(24, 18, 8, .36) 0%, rgba(24, 18, 8, .4) 34%, rgba(24, 18, 8, .5) 66%, rgba(24, 18, 8, .66) 100%); }
  body.cg .hero-kicker,body.cg  .hero-title,body.cg  .hero-lead { text-shadow: 0 1px 14px rgba(24, 18, 8, .5); }
}

/* responsive pass, 22 Nov 2026 (user: "make sure website is fully responsive on the tablet alongside with mobile and free from any
   design errors"): the finder bar no longer squeezes its text into a 190px column on tablets, the Poradnik tabs wrap instead of
   being cut off at the right, the phone footer links lose their dangling dots, the hero buttons stay on one row on narrow phones */
@media (min-width: 701px) and (max-width: 1180px) {
  body.cg .finder { grid-template-columns: auto minmax(0, 1fr) auto; padding: 20px 20px 20px 26px; }
  body.cg .finder-text { grid-column: 2; padding-left: 0; border-left: 0; }
  body.cg .finder .btn { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  body.cg .finder-icon { grid-row: 1 / span 2; }
}
@media (max-width: 1180px) {
  body.cg .reader-index { flex-wrap: wrap; margin: 0; padding: 2px 0 6px; overflow: visible; }
}
@media (max-width: 700px) {
  body.cg .footer-cem-links { justify-content: center; gap: 10px 16px; }
  body.cg .footer-cem-links :where(a,.t-a):not(cg-x)::after { content: none !important; }
  body.cg .ui-fields :where(small,.t-small):not(cg-x),body.cg  .step-media .ui-fields :where(small,.t-small):not(cg-x) { font-size: 11.5px; }
}
@media (max-width: 380px) {
  body.cg .hero-actions { flex-direction: row; flex-wrap: nowrap; }
  body.cg .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 15px; gap: 6px; white-space: nowrap; }
}
@media (max-width: 1180px) {
  body.cg .reader-tab { align-items: center; }
}

/* landscape tablets (22 Nov): the footer's e-mail no longer breaks before ".pl", the price tile's "150 zł" stays together, the hero
   copy keeps a soft shadow over the photo */
@media (min-width: 981px) and (max-width: 1180px) {
  body.cg .footer-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .72fr) minmax(0, 1.4fr); gap: 28px; }
}
body.cg .site-footer :where(address,.t-address):not(cg-x) :where(a,.t-a):not(cg-x)[href^="mailto:"] { white-space: nowrap; }
body.cg .bento-title { text-wrap: balance; }
@media (min-width: 701px) {
  body.cg .hero-kicker,body.cg  .hero-title,body.cg  .hero-lead { text-shadow: 0 1px 16px rgba(24, 18, 8, .42); }
}
@media (max-width: 350px) {
  body.cg .hero-frame { padding: 14px 20px 26px; }
  body.cg .hero-kicker { margin-bottom: 12px; }
  body.cg .hero-title { font-size: 40px; }
  body.cg .hero-lead { margin: 14px 0 16px; font-size: 16px; line-height: 1.5; }
}
/* visual audit, 23 Nov 2026 */
body.cg .hero-title { text-wrap: balance; }
@media (max-width: 1180px) { body.cg .step-media .ui-fields :where(small,.t-small):not(cg-x) { font-size: 11.5px; } }
/* the wordmark is 14-16px tall on phones: a 44px tap area without moving it; the contact card links are 44px rows */
@media (max-width: 700px) {
  body.cg .site-header .logo,body.cg  .site-footer .logo { padding-block: 15px; margin-block: -15px; }
  body.cg .faq-contact .faq-contact-links { gap: 0; }
  body.cg .faq-contact-links :where(a,.t-a):not(cg-x) { min-height: 44px; }
}
body.cg .season-left { font-variant-numeric: lining-nums; }
/* phones: the award plaque sat 128px above 01 Usługi (23 Nov, user: "need smaller gap here") */
@media (max-width: 700px) {
  body.cg .trust { padding-bottom: 20px; }
  body.cg .trust + .services { padding-top: 48px; }
}
/* phones: the five Poradnik tabs as an even two-column grid, the last one across both (23 Nov, user: "make them symetrical utalise empty space") */
@media (max-width: 700px) {
  body.cg .reader-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.cg .reader-tab { justify-content: center; width: 100%; min-width: 0; padding: 0 10px; text-align: center; }
  body.cg .reader-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
  body.cg .reader-name { font-size: 17.5px; white-space: nowrap; }
}
@media (max-width: 360px) {
  body.cg .reader-tab { padding: 0 6px; }
  body.cg .reader-name { font-size: 16px; }
}
/* phones: the alley band's two actions as two full-width pills of one height (23 Nov, user: "make them symmetrical utilise empty space") */
@media (max-width: 700px) {
  body.cg .vista .il-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.cg .vista .il-actions > :where(a,.t-a):not(cg-x),body.cg .vista .il-actions > :where(.elementor-heading-title)>:where(a,.t-a):not(cg-x) { justify-content: center; width: 100%; min-height: 54px; margin: 0; font-size: 16.5px; }
  body.cg .vista .il-actions .link-arrow { padding: 0 24px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); text-decoration: none; }
}
/* phones: the closing band's copy centred over the photo's foot, the order button across the column and the phone line under it,
   like the centred phone footer below (23 Nov, user: "on the phone center everything ... symmetrical") */
@media (max-width: 700px) {
  body.cg .closing-copy { left: 0; text-align: center; }
  body.cg .closing-line { text-wrap: balance; }
  body.cg .closing-actions { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; margin-top: 26px; }
  body.cg .closing-actions .btn { width: 100%; max-width: 440px; min-height: 56px; }
  body.cg .closing-phone { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 8px; }
}
/* phones: the case index under the print was a long list whose taps changed a photo already scrolled out of view
   (23 Nov, user: "don't think this menu works well on the mobile"). It is a swipe row of case cards right under the print now:
   photo pair over the name, the open case in ink with its gold progress line; its text sits in the caption (#case-desc, script.js) */
body.cg .gallery-desc { display: none; }
@media (max-width: 700px) {
  body.cg .gallery { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.cg .gallery-index { min-width: 0; }
  body.cg .gallery-label { display: none; }
  body.cg .cases { position: relative; display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 2px var(--gutter) 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  body.cg .cases::-webkit-scrollbar { display: none; }
  body.cg .case-item { flex: 0 0 auto; width: 136px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--card); overflow: hidden; scroll-snap-align: start; transition: background-color .35s, border-color .35s; }
  body.cg .case-item.is-open { border-color: var(--ink); background: var(--ink); }
  body.cg .case-row { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 132px; padding: 14px 10px 16px; text-align: center; }
  body.cg .case-pair { width: 76px; height: 62px; }
  body.cg .case-pair img { width: 44px; height: 56px; }
  body.cg .case-pair img:last-child:not(:where(.cg-img) *),body.cg .case-pair :where(.cg-img):last-child > img { left: 30px; }
  body.cg .case-name { font-size: 18.5px; line-height: 1.15; }
  body.cg .case-row[aria-pressed="true"] .case-name { color: #fff; transform: none; }
  body.cg .case-item.is-open .case-pair img { border-color: var(--ink); }
  body.cg .case-detail { display: none; }
  body.cg .case-progress { left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--gold); }
  body.cg .gallery-index .link-arrow { align-self: center; }
  body.cg .gallery-stage { height: clamp(300px, 90vw, 460px); }
  body.cg .gallery-caption { flex-wrap: nowrap; row-gap: 8px; }
  body.cg .gallery-caption:has(.gallery-desc) { flex-wrap: wrap; }
  body.cg .gallery-title { flex: 1 1 0; min-width: 0; font-size: 22px; }
  body.cg .gallery-hint,body.cg  .gallery-nav .nav-btn[data-step] { display: none; }
  body.cg .gallery-desc { display: block; flex-basis: 100%; padding-top: 12px; border-top: 1px solid var(--line-strong); }
  body.cg .gallery-desc :where(p:not(.elementor-heading-title),.t-p):not(cg-x) { font-size: 16.5px; line-height: 1.55; color: var(--ink); }
  body.cg .gallery-desc .case-tags { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
}
/* phones: the grave-finder card's button across the card (homepage and Kontakt; 23 Nov, user: "symmetrical") */
@media (max-width: 700px) {
  body.cg .finder .btn { justify-self: stretch; justify-content: center; width: 100%; min-height: 54px; }
}
