/* ==========================================================================
   Studio Wigor Normobaria: design system
   The category standard at full craft: plain, readable health information
   (benchmark: Mayo Clinic), restrained, tactile finish (benchmark: Aesop) and
   calm, generous presentation of measured numbers (benchmark: Oura).
   Every colour, size and space comes from the tokens in section 1.
   ========================================================================== */

/* 0. Fonts ----------------------------------------------------------------- */
/* Archivo (SIL Open Font License 1.1), variable weight 400–700 and width 62–125%, self-hosted from Google Fonts v25.
   archivo-pl carries only the Polish letters Ą–ć, Ę–ę, Ł–ń, Ś–ś, Ź–ż (10.6 KB): a fontTools subset of Google's latin-ext
   file (84 KB), which the site used for nothing else. latin carries ó and the rest. The rules live here, not in a
   separate stylesheet, so the fonts cost no second render-blocking request. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-pl.woff2") format("woff2");
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand navy: #0A2F5B is the logo's navy and the axis of the scale. */
  --navy-950: #04162E;
  --navy-900: #071E3D;
  --navy-800: #0A2F5B;
  --navy-700: #10406F;
  --navy-600: #17548F;
  --navy-500: #2E6FAE;
  --navy-300: #A8C3DC;
  --navy-200: #D3E1EE;
  --navy-100: #E8F0F7;
  --navy-050: #F4F8FC;

  /* Brand orange: the action colour. The fill always carries --navy-950 text (7.7:1). */
  --orange-600: #A05300;   /* orange text on white: 5.6:1 */
  --orange-500: #E07800;
  --orange-400: #F79021;   /* the fill */
  --orange-300: #FFB25C;   /* orange on navy fields: 8.4:1 on --navy-900 */
  --orange-100: #FFE7C9;
  --orange-050: #FFF6EA;

  --white: #FFFFFF;
  --text: #16283F;         /* 14.6:1 on white */
  --text-soft: #4B5F78;    /* 6.5:1 on white */
  --text-faint: #5E6E84;   /* 5.2:1 on white, 4.9:1 on --navy-050 */
  --line: #DCE6F0;
  --line-strong: #B9CCE0;

  --ground: var(--white);
  --ground-alt: var(--navy-050);
  --field: var(--navy-900);
  --on-field: #EAF2FA;
  --on-field-soft: var(--navy-300);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-display: clamp(2.5rem, 1.7rem + 3.4vw, 4.25rem);
  --t-h1: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem);
  --t-h2: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);
  --t-h3: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
  --t-lead: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;
  --lh-body: 1.6;
  --lh-head: 1.15;
  --measure: 66ch;

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section: clamp(3.5rem, 2.2rem + 5vw, 6.5rem);
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --wrap: 1200px;

  --r-sm: 6px;
  --r-md: 12px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgb(7 30 61 / 0.06), 0 0 0 1px rgb(7 30 61 / 0.05);
  --sh-2: 0 18px 40px -16px rgb(7 30 61 / 0.28), 0 2px 6px rgb(7 30 61 / 0.06);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Base and browser surfaces --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scrollbar-color: var(--navy-300) var(--navy-050);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  caret-color: var(--orange-500);
  overflow-wrap: break-word;
}
::selection { background: var(--orange-100); color: var(--navy-950); }
.field ::selection { background: var(--orange-400); color: var(--navy-950); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--navy-050); }
::-webkit-scrollbar-thumb { background: var(--navy-300); border-radius: var(--r-pill); border: 3px solid var(--navy-050); }
::-webkit-scrollbar-thumb:hover { background: var(--navy-500); }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 2px; }
.field :focus-visible { outline-color: var(--orange-300); }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important; /* staggered sequences (the chamber) settle at once */
  }
}

/* 3. Type ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  color: var(--navy-800);
  font-weight: 620;
  line-height: var(--lh-head);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); letter-spacing: -0.028em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.012em; }
h4 { font-size: 1.0625rem; letter-spacing: 0; }
p, li, dd { text-wrap: pretty; }
a {
  color: var(--navy-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 150ms var(--ease), text-decoration-color 150ms var(--ease);
}
a:hover { color: var(--orange-600); text-decoration-color: var(--orange-400); }
/* Links on navy fields; buttons keep their own colours (the call button must stay dark on orange). */
.field a:not(.btn) { color: var(--white); text-decoration-color: rgb(255 255 255 / 0.55); }
.field a:not(.btn):hover { color: var(--white); text-decoration-color: var(--white); text-decoration-thickness: 2px; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--text-soft); max-width: 60ch; }
.small { font-size: var(--t-small); }
.micro { font-size: var(--t-micro); line-height: 1.5; }
.num, td, th { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--navy-900); color: var(--white);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-sm); text-decoration: none;
}
.skip:focus { top: var(--s-4); color: var(--white); }

/* Prose: long-form text written in the editor (posts, services, legal pages). */
.prose { max-width: var(--measure); min-width: 0; } /* a grid item may shrink below a wide table, which then scrolls inside itself */
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { margin-top: var(--s-7); scroll-margin-top: 6rem; }
.prose h3 { margin-top: var(--s-6); scroll-margin-top: 6rem; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--navy-500); }
.prose img { border-radius: var(--r-md); margin-block: var(--s-6); }
.prose table { width: 100%; border-collapse: collapse; font-size: inherit; }
/* wigor_tables wraps each table in a labelled, focusable region that scrolls on its own. */
.table-scroll { overflow-x: auto; }
@media (max-width: 560px) {
  /* Narrow screens stack each row of a wide table (3+ columns): the row header first, then every cell under its
     column's label. Two-column tables keep their grid. */
  .table-scroll--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-scroll--stack tr { display: block; padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
  .table-scroll--stack tbody th, .table-scroll--stack td { display: block; border: 0; padding: var(--s-1) 0; }
  .table-scroll--stack tbody th { font-weight: 640; color: var(--navy-900); }
  .table-scroll--stack td::before { content: attr(data-label); display: block; font-size: var(--t-small); font-weight: 600; color: var(--text-soft); }
}
.prose th, .prose td { padding: var(--s-3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: var(--s-7); }
.prose strong { font-weight: 640; color: var(--navy-900); }
.prose blockquote { border-left: 1px solid var(--line-strong); padding-left: var(--s-5); color: var(--text-soft); }

/* 4. Layout ---------------------------------------------------------------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter) * 2, 760px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--alt { background: var(--ground-alt); }
.field { background: var(--field); color: var(--on-field); }
.field h1, .field h2, .field h3 { color: var(--white); }
.field p { color: var(--on-field); }
.field .lead { color: var(--on-field-soft); }
.section-head { max-width: 46rem; margin-bottom: var(--s-7); }
.section-head p { margin-top: var(--s-4); color: var(--text-soft); }
.field .section-head p { color: var(--on-field-soft); }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 52px; padding: 0 var(--s-6);
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-weight: 620; font-size: var(--t-body); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease),
              box-shadow 160ms var(--ease), transform 160ms var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--call { background: var(--orange-400); color: var(--navy-950); box-shadow: var(--sh-1); }
.btn--call:hover { background: var(--orange-300); color: var(--navy-950); box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn--call:active { background: var(--orange-500); transform: none; }
.btn--quiet { background: var(--white); color: var(--navy-800); border-color: var(--line-strong); }
.btn--quiet:hover { background: var(--navy-050); color: var(--navy-800); border-color: var(--navy-300); }
.field .btn--quiet { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 0.35); }
.field .btn--quiet:hover { background: rgb(255 255 255 / 0.08); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 var(--s-4); font-size: var(--t-small); }
.btn--lg { min-height: 60px; padding: 0 var(--s-7); font-size: 1.125rem; }
.btn .num { letter-spacing: 0.01em; }

/* 6. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / 0.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(255 255 255 / 0.86); backdrop-filter: saturate(1.4) blur(12px); }
}
.site-header__bar { display: flex; align-items: center; gap: var(--s-5); min-height: 76px; }
.brand { display: block; margin-right: auto; }
.brand img { width: 196px; height: auto; }
.site-nav > ul { display: flex; align-items: center; gap: var(--s-1); list-style: none; padding: 0; margin: 0; }
.site-nav__item { display: flex; align-items: center; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  color: var(--text); font-weight: 560; font-size: var(--t-small);
  text-decoration: none; border-radius: var(--r-sm); position: relative;
}
.site-nav a:hover { color: var(--navy-800); background: var(--navy-050); }
.site-nav a[aria-current] { color: var(--navy-800); }
.site-nav a[aria-current]::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 6px;
  height: 2px; background: var(--navy-800);
}
/* "Oferta" dropdown: a disclosure button beside the link opens the grouped services under the header bar. The links are
   always in the HTML (crawlable); without JS "Oferta" still links to the full offer. */
.has-sub > a { padding-right: var(--s-1); }
.subnav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; min-height: 44px; padding: 0;
  border: 0; border-radius: var(--r-sm); background: none; color: var(--text-soft); cursor: pointer;
}
.subnav-toggle:hover { color: var(--navy-800); background: var(--navy-050); }
.subnav-toggle .icon { width: 18px; height: 18px; }
.has-sub[data-open] > .subnav-toggle { color: var(--navy-800); }
.has-sub[data-open] > .subnav-toggle .icon { transform: rotate(180deg); }
.subnav { display: none; }
.subnav ul { display: grid; list-style: none; padding: 0; margin: 0; }
.subnav__title { margin: 0 0 var(--s-2); font-size: var(--t-small); font-weight: 620; color: var(--navy-800); }
.subnav__all { margin: 0; }
.subnav__all a { gap: var(--s-2); color: var(--navy-600); }
.site-nav__foot { display: none; }
@media (min-width: 1021px) {
  /* "Oferta" and its chevron are one control: they share one hover field, which stays while the panel is open. */
  .has-sub { border-radius: var(--r-sm); }
  .has-sub:hover, .has-sub[data-open] { background: var(--navy-050); }
  .has-sub > a:hover, .has-sub > .subnav-toggle:hover { background: none; }
  .has-sub > a[aria-current]::after { right: var(--s-1); }
  .has-sub[data-open] > .subnav {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5) var(--s-6);
    position: absolute; inset: 100% 0 auto; z-index: 61;
    padding: var(--s-6) max(var(--gutter), calc((100% - var(--wrap)) / 2));
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2);
  }
  /* Panel links are rows, not pills: each fills its column, so every hover field in a column has one width, with even
     padding on both sides. A negative margin pays the padding back, so the text stays in line with the group title. */
  .subnav a { display: flex; margin-inline: calc(-1 * var(--s-3)); padding-inline: var(--s-3); transition: background-color 120ms var(--ease), color 120ms var(--ease); }
  .subnav a[aria-current] { font-weight: 640; background: var(--navy-050); }
  .subnav a[aria-current]::after { display: none; }
  /* One step darker than the current page's fill, so a hovered row never merges with the current row beside it. */
  .subnav a:hover { background: var(--navy-100); }
  .subnav__all a { display: inline-flex; }
  .subnav__all { grid-column: 1 / -1; padding-top: var(--s-4); border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: no-preference) { .subnav-toggle .icon { transition: transform 200ms var(--ease); } }
.menu-toggle { display: none; }
.menu-toggle .icon--close { display: none; }
@media (max-width: 1020px) {
  .site-header__bar { min-height: 64px; gap: var(--s-3); }
  .brand img { width: 164px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; order: 3;
    width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    background: var(--white); color: var(--navy-800); cursor: pointer;
  }
  .site-nav { display: none; }
  /* Full-screen menu: from the bottom of the header to the bottom of the screen, scrolling inside itself, the services
     as an accordion under "Oferta", the call button pinned at its foot. wigor.js sets --menu-top and locks the page. */
  .site-header[data-menu="open"] .site-nav {
    display: flex; flex-direction: column; position: fixed; inset: var(--menu-top, 64px) 0 0; z-index: 61;
    overflow-y: auto; overscroll-behavior: contain; background: var(--white); padding: var(--s-2) var(--gutter) 0;
  }
  .site-header[data-menu="open"] .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header[data-menu="open"] .site-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .site-header[data-menu="open"] .site-nav__item > a { flex: 1; min-height: 56px; padding-left: 0; font-size: var(--t-body); }
  .site-header[data-menu="open"] .site-nav a[aria-current]::after { display: none; }
  .site-header[data-menu="open"] .site-nav a[aria-current="page"] { font-weight: 640; }
  .site-header[data-menu="open"] .subnav-toggle { width: 56px; min-height: 56px; }
  .site-header[data-menu="open"] .has-sub[data-open] > .subnav { display: grid; gap: var(--s-4); flex-basis: 100%; padding: 0 0 var(--s-5) var(--s-3); }
  .site-header[data-menu="open"] .subnav a { padding-left: 0; font-size: var(--t-body); }
  .site-header[data-menu="open"] .site-nav__foot {
    display: block; position: sticky; bottom: 0; margin-top: auto;
    padding: var(--s-4) 0 calc(var(--s-4) + env(safe-area-inset-bottom)); background: var(--white);
  }
  .site-header[data-menu="open"] .site-nav__call { width: 100%; }
  .site-header[data-menu="open"] .menu-toggle .icon--menu { display: none; }
  .site-header[data-menu="open"] .menu-toggle .icon--close { display: block; }
  html.menu-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block for the fixed menu panel (it collapsed to 8 px). */
  .site-header[data-menu="open"] { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
}
@media (max-width: 760px) { .site-header__call { display: none; } }

/* 7. Page head, breadcrumbs, closing call ---------------------------------- */
.pagehead {
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem) clamp(1.75rem, 1.2rem + 2vw, 3rem);
  background: var(--ground-alt); border-bottom: 1px solid var(--line);
}
.pagehead h1 { max-width: 24ch; }
.pagehead .lead { margin-top: var(--s-4); }
.pagehead__meta { margin-top: var(--s-4); color: var(--text-faint); font-size: var(--t-small); }
.crumbs ol {
  display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0;
  margin-bottom: var(--s-4); font-size: var(--t-small); color: var(--text-faint);
}
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-strong); }
.crumbs a { color: var(--text-soft); text-decoration: none; }
.crumbs a:hover { color: var(--orange-600); text-decoration: underline; }
.page-body { display: grid; gap: var(--s-6); }
.archive-note {
  display: flex; gap: var(--s-3); align-items: flex-start; max-width: var(--measure);
  padding: var(--s-4) var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--navy-050); color: var(--text-soft); font-size: var(--t-small);
}
.archive-note .icon { flex: none; color: var(--navy-500); }
.call-close__grid { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
@media (max-width: 860px) { .call-close__grid { grid-template-columns: 1fr; } }
.call-close .lead { margin-top: var(--s-4); }
.call-close .btn { margin-top: var(--s-6); }
.call-close address { font-style: normal; color: var(--on-field-soft); line-height: 1.7; }

/* 8. Footer and mobile call bar -------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--navy-300); padding-block: var(--s-8) var(--s-6); font-size: var(--t-small); }
.site-footer a { color: var(--navy-200); text-decoration: none; }
.site-footer a:hover { color: var(--orange-300); text-decoration: underline; }
.site-footer h2 { color: var(--white); font-size: var(--t-small); font-weight: 620; letter-spacing: 0.02em; margin-bottom: var(--s-3); }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: 1.3fr repeat(3, 1fr); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.site-footer address { font-style: normal; display: grid; gap: var(--s-1); color: var(--navy-200); }
.site-footer address strong { color: var(--white); font-weight: 620; }
.footer-logo { width: 56px; height: 56px; margin-bottom: var(--s-4); }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: var(--s-1) var(--s-5); }
.hours dt { color: var(--navy-300); }
.hours dd { margin: 0; color: var(--white); font-variant-numeric: tabular-nums; }
.footer-note { margin-top: var(--s-3); color: var(--navy-300); }
.footer-base {
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / 0.12);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  font-size: var(--t-micro); color: var(--navy-300);
}
/* Maker's mark (OMONA): muted, at the type floor, never competing with the studio's brand. */
.site-footer .maker { display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap; font-size: var(--t-micro); color: var(--navy-300); opacity: 0.85; transition: opacity 160ms var(--ease); }
.site-footer .maker b { font-weight: 700; letter-spacing: 0.04em; color: var(--navy-200); }
.site-footer .maker:hover { opacity: 1; color: var(--navy-200); text-decoration: none; }
/* "Ustawienia prywatności": a button that reads as a footer link and reopens the consent banner. */
.site-footer .link-button { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; color: var(--navy-200); cursor: pointer; }
.site-footer .link-button:hover { color: var(--orange-300); text-decoration: underline; }

/* Consent banner: transient chrome, never a second call field. On phones a bottom sheet over the call bar; wider,
   an inset card in the corner. navy-950 (the footer's colour), not --field. Accept and reject look the same
   (refusing is as easy as accepting); orange stays reserved for the call button. It never outgrows the screen,
   so every button stays reachable at 200% zoom and in landscape. */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  max-height: calc(100dvh - var(--s-4)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--navy-950); color: var(--on-field); border-radius: var(--r-md) var(--r-md) 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.12); box-shadow: 0 -12px 32px -16px rgb(4 22 46 / 0.45);
}
.consent__inner { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; padding-block: var(--s-5); display: grid; gap: var(--s-4); }
@media (min-width: 761px) {
  .consent {
    inset: auto var(--gutter) var(--gutter) auto; width: min(40rem, 100% - var(--gutter) * 2); max-height: calc(100dvh - var(--gutter) * 2);
    border-radius: var(--r-md); border: 1px solid rgb(255 255 255 / 0.12);
    box-shadow: 0 24px 48px -12px rgb(4 22 46 / 0.45), 0 2px 8px rgb(4 22 46 / 0.2);
  }
  .consent__inner { width: auto; padding: var(--s-5); }
}
/* While the banner is open, focus scrolled into view lands above it (WCAG 2.4.11); wigor.js sets --consent-h. */
html { scroll-padding-bottom: calc(var(--consent-h, 0px) + var(--s-4)); }
.consent__title { color: var(--white); font-size: 1.125rem; font-stretch: 100%; }
.consent p { color: var(--on-field); font-size: var(--t-small); max-width: 70ch; }
.consent a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.consent a:hover { text-decoration-color: currentColor; } /* never orange on the banner */
/* On navy chrome (the banner, the footer) focus takes the light ring, as in the call field. */
.consent :focus-visible, .site-footer :focus-visible { outline-color: var(--orange-300); }
.consent fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.consent__row { display: flex; gap: var(--s-3); align-items: flex-start; min-height: 44px; font-size: var(--t-small); color: var(--on-field); }
/* Drawn checkboxes: a light outline on navy, filled navy-200 with a navy-950 check when chosen; "Niezbędne" is fixed on. */
.consent__row input {
  appearance: none; -webkit-appearance: none; display: inline-grid; place-content: center;
  width: 22px; height: 22px; margin: 2px 0 0; flex: none; cursor: pointer;
  border: 1.5px solid rgb(255 255 255 / 0.7); border-radius: var(--r-sm); background: transparent;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.consent__row input::before {
  content: ""; width: 13px; height: 13px; opacity: 0; background: var(--navy-950);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.consent__row input:hover:not(:disabled) { border-color: var(--white); }
.consent__row input:checked { background: var(--navy-200); border-color: var(--navy-200); }
.consent__row input:checked::before { opacity: 1; }
.consent__row input:disabled { opacity: 0.6; cursor: default; }
.consent__row b { color: var(--white); font-weight: 620; }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.consent__btn { min-height: 44px; padding: 0 var(--s-5); border-radius: var(--r-sm); border: 1px solid rgb(255 255 255 / 0.55); background: transparent; color: var(--white); font: inherit; font-weight: 620; cursor: pointer; }
.consent__btn:hover { background: rgb(255 255 255 / 0.1); }
.consent__btn--quiet { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
/* No fill mode: at rest the banner sits in place, so it stays visible even where animations never run (a hidden tab). */
@media (prefers-reduced-motion: no-preference) { .consent { animation: consent-in 320ms var(--ease); } }
@keyframes consent-in { from { transform: translateY(100%); } }
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: block; position: sticky; bottom: 0; z-index: 70;
    padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 0.96); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -18px rgb(7 30 61 / 0.4);
  }
  .callbar .btn { width: 100%; }
  /* Steps aside while another call button is on screen (wigor.js): below the screen edge and out of Tab's reach. It
     slides only after the first state, so a page that opens with a call button shows no bar leaving. */
  .callbar[data-aside] { transform: translateY(100%); visibility: hidden; }
  html { scroll-padding-bottom: max(96px, calc(var(--consent-h, 0px) + var(--s-4))); } /* focus lands above the bar or the open banner (WCAG 2.4.11) */
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .callbar[data-ready] { transition: transform 240ms var(--ease), visibility 0s 0s; }
  .callbar[data-ready][data-aside] { transition: transform 240ms var(--ease), visibility 0s 240ms; }
}

/* 9. Promotions ------------------------------------------------------------ */
.promo-banner { background: var(--navy-900); color: var(--on-field); font-size: var(--t-small); }
.promo-banner .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-4); min-height: 44px; padding-block: var(--s-2); }
.promo-banner a { color: var(--white); font-weight: 600; text-decoration-color: rgb(255 255 255 / 0.55); }
.promo-banner a:hover { color: var(--white); text-decoration-color: var(--white); text-decoration-thickness: 2px; }
.stamp {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px;
  border-radius: var(--r-pill); background: var(--navy-100); color: var(--navy-800);
  font-size: var(--t-micro); font-weight: 680; letter-spacing: 0.01em; white-space: nowrap;
}
.stamp .icon { width: 15px; height: 15px; }
.promo-list { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.promo-card {
  display: grid; gap: var(--s-4); align-content: start; max-width: 46rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1);
}
.promo-card h3 { font-size: var(--t-h3); }
.promo-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); }
.promo-card__head > div { display: grid; gap: var(--s-2); }
.promo-card__valid { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--text-soft); font-size: var(--t-small); }
/* The studio's poster: a small, framed thumbnail so an off-brand graphic never sets the card's tone. */
.promo-card__thumb {
  position: relative; flex: none; display: block; width: 96px; height: 96px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--ground-alt); overflow: hidden;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.promo-card__thumb img { width: 100%; height: 100%; object-fit: contain; }
.promo-card__zoom {
  position: absolute; right: 4px; bottom: 4px; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: var(--r-sm); background: var(--navy-900); color: var(--white);
}
.promo-card__zoom .icon { width: 15px; height: 15px; }
.promo-card__thumb:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); }
.lightbox {
  margin: auto; max-width: min(92vw, 900px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--sh-2); overflow: visible;
}
.lightbox::backdrop { background: rgb(4 22 46 / 0.78); }
.lightbox img { display: block; max-width: 100%; max-height: 92vh; width: auto; height: auto; border-radius: var(--r-md); }
.lightbox__close {
  position: absolute; top: var(--s-2); right: var(--s-2); display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: var(--r-pill); background: var(--navy-900); color: var(--white); cursor: pointer;
}
.lightbox__close .icon { width: 20px; height: 20px; }
.lightbox[open] { animation: lightbox-in 220ms var(--ease); }
@keyframes lightbox-in { from { opacity: 0; transform: scale(0.97); } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }
.promo-card__valid .icon { width: 18px; height: 18px; color: var(--navy-500); }
.promo-rows { width: 100%; border-collapse: collapse; }
.promo-rows th, .promo-rows td { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); vertical-align: baseline; text-align: left; font-weight: 400; }
.promo-rows td { text-align: right; white-space: nowrap; }
.promo-rows s { color: var(--text-faint); margin-right: var(--s-2); }
.promo-rows b { color: var(--navy-800); font-weight: 680; }
.promo-card .btn { justify-self: start; }
.empty { color: var(--text-soft); }

/* 10. Pricing -------------------------------------------------------------- */
.pricing { display: grid; gap: var(--s-7); }
.pricing__valid { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--text-soft); font-size: var(--t-small); }
.pricing__valid .icon { width: 18px; height: 18px; color: var(--navy-500); }
.pricing__index ul { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; }
.pricing__index a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  color: var(--navy-800); font-size: var(--t-small); text-decoration: none; background: var(--white);
}
.pricing__index a:hover { border-color: var(--navy-500); background: var(--navy-050); }
.pgroup { scroll-margin-top: 6rem; max-width: 880px; }
.pgroup__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-4); }
.pgroup__head h2 { font-size: var(--t-h3); scroll-margin-top: 6rem; }
.pgroup__more { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--t-small); font-weight: 560; text-decoration: none; }
.pgroup__more .icon { width: 18px; height: 18px; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable thead th {
  text-align: left; font-size: var(--t-micro); font-weight: 600; color: var(--text-faint);
  padding: 0 0 var(--s-2); border-bottom: 1px solid var(--line-strong);
}
.ptable thead th:last-child, .ptable td { text-align: right; }
.ptable tbody th, .ptable td { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.ptable tbody th { font-weight: 500; color: var(--text); padding-right: var(--s-5); text-align: left; }
.ptable td { white-space: nowrap; }
.ptable td b { color: var(--navy-800); font-weight: 680; font-size: 1.0625rem; }
.ptable__detail, .ptable__per, .ptable__unit { display: block; font-size: var(--t-small); color: var(--text-soft); font-weight: 400; }
.ptable__unit { display: inline; }
.ptable__per { color: var(--text-soft); font-weight: 560; }
.ptable td b, .ptable__unit, .ptable__per { white-space: nowrap; }
.ptable tr[data-featured] { background: var(--navy-050); }
.ptable tr[data-featured] th { padding-left: var(--s-3); }
.ptable tr[data-featured] td { padding-right: var(--s-3); }
.pgroup__notes { margin-top: var(--s-4); padding-left: 1.1em; color: var(--text-soft); font-size: var(--t-small); display: grid; gap: var(--s-2); }
.voucher {
  max-width: 880px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ground-alt);
}
.voucher p { margin-top: var(--s-3); max-width: var(--measure); }
@media (max-width: 560px) {
  .ptable td { white-space: normal; }
  .ptable tbody th { padding-right: var(--s-3); }
}

/* 11. Service pages -------------------------------------------------------- */
.service-layout { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: start; }
@media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; gap: var(--s-5); } }
.toc { position: sticky; top: 6.5rem; display: grid; gap: var(--s-4); }
@media (max-width: 960px) { .toc { position: static; } }
.toc h2 { font-size: var(--t-small); font-weight: 620; color: var(--text-soft); letter-spacing: 0.01em; }
.toc ol { list-style: none; padding: 0; display: grid; border-left: 1px solid var(--line); }
.toc ol a { display: block; padding: var(--s-2) var(--s-4); color: var(--text-soft); font-size: var(--t-small); text-decoration: none; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.toc ol a:hover { color: var(--navy-800); background: var(--navy-050); }
.toc .btn { justify-self: start; }
.facts {
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7);
  padding-block: var(--s-5); margin-bottom: var(--s-6);
  border-block: 1px solid var(--line);
}
.facts div { display: grid; gap: 2px; }
/* Four facts on a service page read as two by two, not three and one left over. */
.service-main > .facts:has(> div:nth-child(4):last-child) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts dt { font-size: var(--t-small); color: var(--text-soft); }
.facts dd { margin: 0; font-size: 1.25rem; font-weight: 620; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.block { margin-top: var(--s-8); max-width: var(--measure); }
.block--wide { max-width: none; }
.block > h2 { margin-bottom: var(--s-5); scroll-margin-top: 6rem; }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--s-5); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-4); align-items: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; border: 1px solid var(--line-strong); color: var(--navy-800);
  font-weight: 640; font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.125rem; }
.steps p { margin-top: var(--s-1); color: var(--text-soft); }
.checklist { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); }
.checklist .icon { color: var(--navy-500); margin-top: 1px; }
.caution { padding: var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--navy-050); }
.caution ul { padding-left: 1.2em; display: grid; gap: var(--s-2); }
.caution p { margin-top: var(--s-4); font-weight: 560; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) 0; font-weight: 600; color: var(--navy-800); font-size: 1.0625rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; transition: transform 220ms var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding-bottom: var(--s-5); color: var(--text-soft); }
.faq__a > * + * { margin-top: var(--s-3); }
/* Home text blocks ("Bloki treści"): a continuation of the section above, on its ground, so no top padding of their own.
   The one placed before the FAQ follows the local strip instead and drops its bottom padding. */
.text-band { padding-top: 0; }
.text-band--before { padding-top: var(--section); padding-bottom: 0; }
.text-band .block { margin-top: 0; }
.text-more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; font-weight: 600; color: var(--navy-800);
}
.text-more summary::-webkit-details-marker { display: none; }
.text-more summary .icon { width: 18px; height: 18px; transition: transform 220ms var(--ease); }
.text-more[open] summary .icon { transform: rotate(180deg); }
.text-more__close, .text-more[open] .text-more__open { display: none; }
.text-more[open] .text-more__close { display: inline; }
.text-more__body { margin-top: var(--s-3); }
.text-more__body > * + * { margin-top: var(--s-4); }
.gallery { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); max-width: none; }
.gallery img { border-radius: var(--r-md); }
.gallery figcaption { margin-top: var(--s-2); font-size: var(--t-small); color: var(--text-soft); }
.related { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.related a { font-weight: 560; }
.device-warning, .legal-note, .disclaimer { font-size: var(--t-small); color: var(--text-soft); max-width: var(--measure); }
.device-warning, .legal-note { color: var(--text); font-weight: 600; margin-bottom: var(--s-3); }
.disclaimer { padding-top: var(--s-4); border-top: 1px solid var(--line); }

/* 12. Chamber diagram: the one authored moment ----------------------------- */
.chamber { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) { .chamber { grid-template-columns: 1fr; } }
.chamber__figure { margin: 0; }
.chamber__svg { width: 100%; height: auto; }
/* An architect's section in one line family: hatched structure (walls, slab, ground), thin navy furniture in side
   profile, no fills beyond the rooms' light. Strokes keep their weight at any size. Day and night change the light
   inside the rooms: white by day, navy-900 at night with the line work turning light. */
.chamber__svg :is(path, line, rect, polyline) { vector-effect: non-scaling-stroke; }
.chamber__svg .hatch { stroke: var(--navy-300); stroke-width: 1; }
.chamber__svg .wall, .chamber__svg .slab { fill: url(#chamber-hatch); stroke: var(--navy-800); stroke-width: 1.5; }
.chamber__svg .earth { fill: url(#chamber-hatch); }
.chamber__svg .ground { stroke: var(--navy-800); stroke-width: 1.5; }
.chamber__svg .interior { fill: var(--white); transition: fill 700ms var(--ease); }
.chamber__svg .window { fill: var(--navy-050); stroke: var(--navy-800); stroke-width: 1; }
.chamber__svg .partition { fill: none; stroke: var(--navy-800); stroke-width: 1.5; }
.chamber__svg .door { fill: var(--white); stroke: var(--navy-800); stroke-width: 1.25; transition: fill 700ms var(--ease); }
.chamber__svg .stairs { fill: none; stroke: var(--navy-600); stroke-width: 1.5; stroke-linejoin: round; transition: stroke 700ms var(--ease); }
.chamber__svg .rail { fill: none; stroke: var(--navy-500); stroke-width: 1.25; stroke-linejoin: round; transition: stroke 700ms var(--ease); }
/* viewBox units: 26 renders at >= 13 CSS px down to a 335 px wide figure. */
.chamber__svg .label { fill: var(--text-soft); font: 600 26px var(--font); transition: fill 700ms var(--ease); }
.chamber__svg .seat, .chamber__svg .bed {
  fill: none; stroke: var(--navy-600); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transform-box: fill-box; transform-origin: 50% 100%;
}
.chamber__svg .seat { transition: opacity 320ms var(--ease), transform 420ms var(--ease), stroke 700ms var(--ease); }
.chamber__svg .bed {
  opacity: 0; transform: translateY(8px) scaleX(0.4);
  transition: opacity 420ms var(--ease), transform 560ms var(--ease), stroke 700ms var(--ease);
}
.chamber[data-mode="night"] .chamber__svg .interior { fill: var(--navy-900); }
.chamber[data-mode="night"] .chamber__svg .door { fill: var(--navy-800); }
.chamber[data-mode="night"] .chamber__svg :is(.stairs, .rail, .partition, .door) { stroke: var(--navy-200); }
.chamber[data-mode="night"] .chamber__svg .label { fill: var(--navy-200); }
.chamber[data-mode="night"] .seat { opacity: 0; transform: scaleY(0.1); }
.chamber[data-mode="night"] .bed { opacity: 1; transform: none; stroke: var(--navy-100); }
/* Seats fold away one after another; beds follow once the room is clear. Each piece is the path inside its own group. */
.seats g:nth-of-type(2) .seat { transition-delay: 30ms; } .seats g:nth-of-type(3) .seat { transition-delay: 60ms; }
.seats g:nth-of-type(4) .seat { transition-delay: 90ms; } .seats g:nth-of-type(5) .seat { transition-delay: 120ms; }
.seats g:nth-of-type(6) .seat { transition-delay: 150ms; } .seats g:nth-of-type(7) .seat { transition-delay: 180ms; }
.seats g:nth-of-type(8) .seat { transition-delay: 210ms; } .seats g:nth-of-type(9) .seat { transition-delay: 240ms; }
.chamber[data-mode="night"] .beds g:nth-of-type(1) .bed { transition-delay: 260ms; }
.chamber[data-mode="night"] .beds g:nth-of-type(2) .bed { transition-delay: 330ms; }
.chamber[data-mode="night"] .beds g:nth-of-type(3) .bed { transition-delay: 400ms; }
.chamber[data-mode="night"] .beds g:nth-of-type(4) .bed { transition-delay: 470ms; }
.chamber__panel { display: grid; gap: var(--s-6); }
.chamber:not([data-js]) .chamber__switch { display: none; }
.chamber__switch { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); }
.chamber__switch button {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-5);
  border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-soft);
  font-weight: 600; cursor: pointer; transition: background 240ms var(--ease), color 240ms var(--ease);
}
.chamber__switch button:hover { color: var(--navy-800); }
.chamber__switch button[aria-pressed="true"] { background: var(--navy-800); color: var(--white); }
.chamber__switch .icon { width: 18px; height: 18px; }
.readouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
.readouts div { border-top: 1px solid var(--line); padding-top: var(--s-3); }
.readouts dt { font-size: var(--t-small); color: var(--text-soft); }
.readouts dd {
  margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 540; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--navy-800); font-variant-numeric: tabular-nums;
}
.readouts dd small { font-size: 0.5em; font-weight: 500; letter-spacing: 0; color: var(--text-soft); margin-left: 0.1em; }
.chamber[data-mode="day"] [data-show="night"], .chamber[data-mode="night"] [data-show="day"] { display: none; }
/* On phones the schedule is wider than the screen: scroll shadows show that more slots follow and vanish at each end
   (covers in the ground colour scroll with the content, over edges that stay put). */
.schedule-wrap {
  --sw-bg: var(--ground); --sw-edge: rgb(10 47 91 / 0.22);
  grid-column: 1 / -1; overflow-x: auto;
  background:
    linear-gradient(to right, var(--sw-bg) 40%, transparent) left / 32px 100% no-repeat local,
    linear-gradient(to left, var(--sw-bg) 40%, transparent) right / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, var(--sw-edge), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, var(--sw-edge), transparent) right / 14px 100% no-repeat scroll,
    var(--sw-bg);
}
.section--alt .schedule-wrap { --sw-bg: var(--ground-alt); }
.field .schedule-wrap { --sw-bg: var(--field); --sw-edge: rgb(255 255 255 / 0.22); }
.schedule { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.schedule caption { text-align: left; font-weight: 620; color: var(--navy-800); padding-bottom: var(--s-3); }
.schedule th, .schedule td { padding: var(--s-3); border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; font-weight: 400; }
.schedule th { color: var(--text-soft); }
.schedule .is-night { font-weight: 640; color: var(--navy-800); }
.schedule .is-night .icon { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; color: var(--navy-500); }
.chamber[data-mode="night"] .schedule .is-night { background: var(--navy-050); }
.schedule-note { grid-column: 1 / -1; margin-top: calc(var(--s-3) - var(--s-6)); color: var(--text-soft); } /* 12 px under the table: cancels the chamber's grid gap */
.field .schedule-note { color: var(--on-field-soft); }
.field .readouts div { border-color: rgb(255 255 255 / 0.14); }
.field .readouts dt, .field .readouts dd small { color: var(--on-field-soft); }
.field .readouts dd { color: var(--white); }
.field .schedule th, .field .schedule td { border-color: rgb(255 255 255 / 0.14); color: var(--on-field); }
.field .schedule caption, .field .schedule .is-night { color: var(--white); }
.field .chamber[data-mode="night"] .schedule .is-night { background: rgb(255 255 255 / 0.08); }

/* 13. Home ----------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
/* ch measures the condensed zero, so the limit is set for the 78% stretch: three lines at desktop width. */
.hero h1 { font-size: var(--t-display); letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; }
.hero .lead { margin-top: var(--s-5); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero .facts { margin-top: var(--s-7); margin-bottom: 0; }
/* Hero collage: the night-session room large on top, three smaller tiles below, framed like every photo (radius, large shadow).
   The labels are quiet navy-on-white tags at the type floor, never orange. */
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.collage__tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--navy-050); box-shadow: var(--sh-2); }
.collage__tile img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.collage__tile--main { grid-column: 1 / -1; }
.collage__tile--main img { aspect-ratio: 2 / 1; }
.collage figcaption {
  position: absolute; left: var(--s-2); bottom: var(--s-2); padding: 2px var(--s-2); border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.92); color: var(--navy-800); font-size: var(--t-micro); font-weight: 600; line-height: 1.5;
  white-space: nowrap; /* a tag never wraps: keep labels to a word or two (the phone tiles are 106 px wide) */
}
/* ONDAMED home section: the two prices as a small tabular list, the device warning under the link, the drawing
   unframed beside the text. */
.ondamed-home__prices { display: grid; margin: var(--s-5) 0 0; border-top: 1px solid var(--line); }
.ondamed-home__prices div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.ondamed-home__prices dt { color: var(--text-soft); }
.ondamed-home__prices dd { margin: 0; white-space: nowrap; font-weight: 620; font-stretch: 116%; color: var(--navy-800); }
.ondamed-home .device-warning { margin-top: var(--s-4); }
.ondamed-home__art { margin: 0; justify-self: center; width: 100%; max-width: 520px; }
.ondamed-home__art img { width: 100%; height: auto; }
/* Reviews: quiet framed cards, the quote at body size, the attribution small; the rating line is data, not a badge. */
.reviews__rating { color: var(--text-soft); }
.reviews__rating .num { font-weight: 620; font-stretch: 116%; color: var(--navy-800); }
.reviews__list { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.reviews__list li { display: grid; align-content: space-between; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.reviews__list blockquote { margin: 0; }
.reviews__who { font-size: var(--t-small); color: var(--text-soft); }
/* ONDAMED device panel: the studio's photo beside the manufacturer's figures, as tabular rows like the price list. */
.device__grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 700px) { .device__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-6); } }
.device__photo { margin: 0; }
.device__photo img { display: block; width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--sh-2); }
.device__specs { display: grid; margin: 0; border-top: 1px solid var(--line); }
.device__specs div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.device__specs dt { color: var(--text-soft); }
.device__specs dd { margin: 0; text-align: right; font-weight: 620; font-stretch: 116%; color: var(--navy-800); }
.device__data .small { margin-top: var(--s-3); color: var(--text-soft); }
/* About timeline: a rule with stops, the years set wide, today the one highlighted value (an orange stop). Vertical on
   phones, four columns from 760 px; the rule draws itself along the scroll behind the reduced-motion guard. */
.timeline { margin-bottom: var(--s-8); }
.timeline > h2 { margin-bottom: var(--s-6); }
.timeline__line { position: relative; display: grid; gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
.timeline__line::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.timeline__stop { position: relative; padding-left: var(--s-6); }
.timeline__stop::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-800); }
.timeline__stop--current::before { background: var(--orange-400); }
.timeline__when { display: block; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 620; font-stretch: 116%; line-height: 1.2; color: var(--navy-800); }
.timeline__stop--current .timeline__when { color: var(--navy-900); }
.timeline__title { margin-top: var(--s-2); font-size: 1.125rem; font-stretch: 100%; }
.timeline__stop p { margin-top: var(--s-2); color: var(--text-soft); }
@media (min-width: 760px) {
  .timeline__line { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
  .timeline__line::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 2px; transform-origin: left; }
  .timeline__stop { padding: var(--s-6) 0 0; }
  .timeline__stop::before { top: 0; }
  @media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
      .timeline__line::before { animation: grow-x linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    }
  }
}
/* Call section: the building above the address, framed like every photo, so the right column carries weight. */
.call-close__side { display: grid; gap: var(--s-5); align-content: start; }
.call-close__grid--single { grid-template-columns: minmax(0, 1fr); }
.call-close__photo { margin: 0; }
.call-close__photo img { display: block; width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--sh-2); }
.section--tight { padding-block: 0 var(--section); }
.needs { list-style: none; padding: 0; display: grid; gap: var(--s-6) var(--s-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.need { display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-5); border-top: 1px solid var(--line-strong); }
.need h3 { font-size: 1.1875rem; }
.need p { color: var(--text-soft); }
.need__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.need__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy-600); font-weight: 560; font-size: var(--t-small); }
.section-more { margin-top: var(--s-6); }
.section-more a { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; }
.section-more .icon { width: 18px; height: 18px; }
.service-index { list-style: none; padding: 0; columns: 2; column-gap: var(--s-8); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .service-index { columns: 1; } }
.service-index li { break-inside: avoid; }
.service-index a {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
  padding: var(--s-4) var(--s-2); border-bottom: 1px solid var(--line);
  color: inherit; text-decoration: none; transition: background 160ms var(--ease);
}
.service-index a:hover { background: var(--navy-050); }
.service-index__name { font-weight: 600; color: var(--navy-800); transition: color 160ms var(--ease), transform 200ms var(--ease); }
.service-index a:hover .service-index__name { color: var(--orange-600); transform: translateX(4px); }
.service-index__price { white-space: nowrap; color: var(--text-soft); font-variant-numeric: tabular-nums; font-size: var(--t-small); }
.feature { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); align-items: center; }
.feature--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .feature, .feature--reverse { grid-template-columns: 1fr; } }
.feature__figure img { width: 100%; border-radius: var(--r-md); box-shadow: var(--sh-2); object-fit: cover; }
.feature__text { display: grid; gap: var(--s-5); justify-items: start; }
.feature__text .ptable { max-width: 520px; }
.feature__text .icon { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; }
/* Home intro: three principles beside the lead; each icon sits in a soft navy disc. */
.intro-points { list-style: none; padding: 0; display: grid; gap: var(--s-5); }
.intro-points li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-4); align-items: start; padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.intro-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.intro-points .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--ground-alt); color: var(--navy-500); }
.intro-points h3 { margin-bottom: var(--s-1); }
.stories { list-style: none; padding: 0; display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.stories a {
  display: grid; gap: var(--s-3); height: 100%; padding: var(--s-6);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
  color: inherit; text-decoration: none; box-shadow: var(--sh-1);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.stories a:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.stories__title { font-weight: 620; color: var(--navy-800); font-size: 1.125rem; }
.stories__excerpt { color: var(--text-soft); font-size: var(--t-small); }
.local-strip { border-top: 1px solid var(--line); background: var(--white); }
.local-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); padding-block: var(--s-5); font-size: var(--t-small); }
.local-strip span { color: var(--text-soft); }
.local-strip a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 560; }

/* 14. Listings, posts, local, contact, 404 --------------------------------- */
.listing { display: grid; gap: var(--s-6); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white);
  color: var(--navy-800); font-size: var(--t-small); text-decoration: none;
}
.chips a:hover { background: var(--navy-050); border-color: var(--navy-500); }
.chips a[aria-current] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.post-list { display: grid; gap: var(--s-6) var(--s-7); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.post-card { display: grid; gap: var(--s-4); align-content: start; }
.post-card img { border-radius: var(--r-md); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-card h2 { font-size: 1.25rem; margin-top: var(--s-2); }
.post-card h2 a { color: var(--navy-800); text-decoration: none; }
.post-card h2 a:hover { color: var(--orange-600); text-decoration: underline; }
.post-card p:last-child { margin-top: var(--s-2); color: var(--text-soft); font-size: var(--t-small); }
.post-card__meta { font-size: var(--t-micro); color: var(--text-faint); }
.post-layout { display: grid; gap: var(--s-7); }
.post-layout--toc { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: start; }
@media (max-width: 960px) { .post-layout--toc { grid-template-columns: 1fr; gap: var(--s-5); } }
.post-main { display: grid; gap: var(--s-6); max-width: var(--measure); }
.post-meta { color: var(--text-faint); font-size: var(--t-small); }
.post-author { display: grid; gap: var(--s-1); padding-left: var(--s-5); border-left: 3px solid var(--orange-400); }
.post-author__label { color: var(--text-faint); font-size: var(--t-small); }
.post-author__name { font-weight: 640; color: var(--navy-900); }
.post-service {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ground-alt);
}
.post-service p { font-weight: 600; color: var(--navy-800); }
.post-service a { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; }
.post-service .icon { width: 18px; height: 18px; }
.local { display: grid; gap: var(--s-6); }
.contact-card {
  max-width: 760px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: var(--sh-1);
}
.contact-card h2 { font-size: var(--t-h3); margin-bottom: var(--s-5); }
.contact-card dl { display: grid; gap: var(--s-4); }
.contact-card dl > div { display: grid; grid-template-columns: 160px 1fr; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .contact-card dl > div { grid-template-columns: 1fr; gap: var(--s-1); } }
.contact-card dt { display: flex; align-items: center; gap: var(--s-2); color: var(--text-soft); font-size: var(--t-small); }
.contact-card dt .icon { width: 18px; height: 18px; color: var(--navy-500); }
.contact-card dd { margin: 0; }
.error-page h1 { font-size: var(--t-display); letter-spacing: -0.03em; }
.error-page .lead { margin-top: var(--s-5); }
.error-page__links { list-style: none; padding: 0; margin-top: var(--s-7); border-top: 1px solid var(--line); }
.error-page__links a {
  display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) var(--s-2);
  border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.125rem; text-decoration: none; color: var(--navy-800);
}
.error-page__links a:hover { background: var(--navy-050); color: var(--orange-600); }
.error-page .lead a { padding-block: 0.2em; white-space: nowrap; } /* the phone number wraps onto its own line on phones; 24 px target */

/* 15. Motion --------------------------------------------------------------- */
/* Content is visible by default. Scroll-driven browsers animate in CSS; others get the .reveal-io fallback,
   which the script adds only when it runs. Everything here sits behind the reduced-motion guard. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; animation-timing-function: var(--ease); }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30vh; /* a fixed distance: a percentage of "cover" left tall blocks faded at load */
    }
  }
  .reveal-io .reveal { transition: opacity 600ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease); }
  .reveal-io .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); filter: blur(3px); }
}
@keyframes reveal {
  from { opacity: 0.001; transform: translateY(18px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* 16. Headline mark, width axis, drawings and data components --------------- */
/* Orange has three roles: the call fill, this short headline mark, and one highlighted value per chart. */
.section-head h2::after, .block > h2::after {
  content: ""; display: block; height: 3px; margin-top: var(--s-4);
  background:
    linear-gradient(var(--orange-400), var(--orange-400)) left bottom / 44px 3px no-repeat,
    linear-gradient(var(--line), var(--line)) left bottom / 100% 1px no-repeat;
}
.field h2::after, .atmos > h2::after {
  content: ""; display: block; height: 3px; margin-top: var(--s-4);
  background:
    linear-gradient(var(--orange-400), var(--orange-400)) left bottom / 44px 3px no-repeat,
    linear-gradient(rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.16)) left bottom / 100% 1px no-repeat;
}

/* Width axis: headlines run condensed, which also keeps long Polish words inside a phone screen; measured numbers
   run wide, like an instrument readout. Condensed letters need less negative tracking. */
h1, h2 { font-stretch: 80%; letter-spacing: -0.008em; }
.hero h1 { font-stretch: 78%; letter-spacing: -0.012em; }
.readouts dd, .facts dd, .session__price b, .session__badge, .travel__time, .ptable td b, .promo-rows b { font-stretch: 116%; }

/* Line drawings are drawn on white; multiply lets the ground behind them show through. */
.illus { mix-blend-mode: multiply; }
.pagehead--illus .pagehead__grid {
  display: grid; align-items: center; gap: var(--s-5) clamp(2rem, 1rem + 4vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
}
.pagehead__art { margin: 0; justify-self: end; width: 100%; max-width: 420px; }
@media (max-width: 860px) {
  .pagehead--illus .pagehead__grid { grid-template-columns: 1fr; }
  .pagehead__art { justify-self: start; max-width: 300px; }
}
.post-card__art { border-radius: var(--r-md); background: var(--navy-050); overflow: hidden; }
.post-card__art img { border-radius: 0; }
.service-main > .block:first-child, .local > .block:first-child { margin-top: 0; }
.service-main > .block + .prose { margin-top: var(--s-8); }
.post-card__meta { margin-top: var(--s-1); }
.block__lead { max-width: 60ch; margin-bottom: var(--s-5); color: var(--text-soft); }

/* Air mix: a deep navy panel, the measured side of the world. The bars in this section are SVG in percent
   coordinates: no inline styles (CSP-ready) and text stays at its real size. */
.atmos { padding: clamp(1.5rem, 1rem + 3vw, 3rem); border-radius: var(--r-md); background: var(--field); color: var(--on-field); }
.atmos h2 { color: var(--white); }
.atmos__lead { max-width: 60ch; font-size: var(--t-lead); line-height: 1.5; color: var(--on-field-soft); }
.atmos__figure { margin: var(--s-6) 0 0; }
.atmos-bar { display: block; width: 100%; height: 64px; border-radius: var(--r-sm); overflow: hidden; }
.atmos-bar__seg { fill: var(--navy-700); stroke: var(--field); stroke-width: 2px; }
.atmos-bar rect:nth-of-type(3) { fill: var(--navy-500); }
.atmos-bar rect:nth-of-type(4) { fill: var(--navy-300); }
.atmos-bar__seg--hi { fill: var(--orange-400); }
.atmos-bar__label {
  fill: var(--white); font-family: var(--font); font-size: var(--t-small); font-weight: 650;
  text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums;
}
.atmos-bar__label--hi { fill: var(--navy-950); }
.atmos-key { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: var(--s-5); }
.atmos-key li { display: flex; align-items: center; gap: var(--s-2); color: var(--on-field); }
.atmos-key i { width: 12px; height: 12px; flex: none; border-radius: 3px; background: var(--navy-700); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); }
.atmos-key li:nth-child(3) i { background: var(--navy-500); }
.atmos-key li:nth-child(4) i { background: var(--navy-300); }
.atmos-key .is-hi i { background: var(--orange-400); box-shadow: none; }
.atmos-key b { font-weight: 620; color: var(--white); }
.atmos-key__note { color: var(--on-field-soft); }
.atmos__note { max-width: 62ch; margin-top: var(--s-5); color: var(--on-field-soft); font-size: var(--t-small); }
.atmos ::selection, .session--night ::selection { background: var(--orange-400); color: var(--navy-950); }

/* Session cards: day on white, night on navy, each with a 24-hour clock. */
.sessions { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.session {
  display: grid; gap: var(--s-4); align-content: start; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1);
}
.session__art { border-radius: var(--r-sm); background: var(--navy-050); overflow: hidden; }
.session__art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.session h3 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: var(--t-h3); }
.session__badge {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 var(--s-3); border-radius: var(--r-sm);
  background: var(--navy-100); color: var(--navy-800); font-size: var(--t-small); font-weight: 640;
  letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.clock { display: grid; gap: var(--s-2); }
.clock__track { display: block; width: 100%; height: 8px; border-radius: var(--r-pill); overflow: hidden; }
.clock__bg { fill: var(--navy-100); }
.clock__fill { fill: var(--orange-400); transform-box: fill-box; transform-origin: left; }
.clock__scale { display: flex; justify-content: space-between; font-size: var(--t-micro); color: var(--text-faint); font-variant-numeric: tabular-nums; }
.session__text { color: var(--text-soft); }
.session__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); }
.session__price b { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); font-weight: 620; line-height: 1; letter-spacing: -0.03em; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.session__price span { color: var(--text-soft); }
.session__notes { list-style: none; padding: var(--s-4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s-2); font-size: var(--t-small); color: var(--text-soft); }
.session--night { background: var(--field); border-color: var(--navy-800); color: var(--on-field); }
.session--night h3, .session--night .session__price b, .session--night .ptable td b { color: var(--white); }
.session--night .session__art { background: var(--navy-100); }
.session--night .session__badge { background: rgb(255 255 255 / 0.1); color: var(--white); }
.session--night .clock__bg { fill: rgb(255 255 255 / 0.14); }
.session--night .clock__scale, .session--night .session__text, .session--night .session__price span,
.session--night .session__notes, .session--night .ptable__per, .session--night .ptable__detail, .session--night .ptable__unit { color: var(--on-field-soft); }
.session--night .ptable tbody th { color: var(--on-field); }
.session--night .ptable tbody th, .session--night .ptable td, .session--night .session__notes { border-color: rgb(255 255 255 / 0.14); }
.session--night .ptable tr[data-featured] { background: rgb(255 255 255 / 0.06); }

/* Drive times: one bar per town, the current town is the chart's one highlight. */
.travel { margin: 0; }
.travel__list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.travel__list a {
  display: grid; align-items: center; gap: var(--s-4); min-height: 52px; padding: var(--s-2);
  grid-template-columns: 9rem minmax(0, 1fr) 10.5rem;
  grid-template-areas: "town bar time";
  border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: background 160ms var(--ease);
}
.travel__list a:hover { background: var(--navy-050); }
.travel__list a[aria-current] { background: var(--navy-050); }
.travel__town { grid-area: town; font-weight: 600; color: var(--navy-800); }
.travel__bar { grid-area: bar; display: block; width: 100%; height: 8px; border-radius: var(--r-pill); overflow: hidden; }
.travel__bg { fill: var(--navy-100); }
.travel__fill { fill: var(--navy-500); transform-box: fill-box; transform-origin: left; }
.travel__list a[aria-current] .travel__fill { fill: var(--orange-400); }
.travel__time { grid-area: time; text-align: right; white-space: nowrap; font-weight: 620; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.travel__km { font-weight: 400; color: var(--text-soft); }
.travel__route { margin-top: var(--s-3); font-size: var(--t-small); color: var(--text-soft); }
/* Phones: town and time on one line, the bar full width beneath, so every bar keeps the same scale. */
@media (max-width: 520px) {
  .travel__list a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "town time" "bar bar"; row-gap: var(--s-2); padding-block: var(--s-3); }
}

/* Benefits: what a visit gives, in the wellness register. An optional comparison is drawn like the drive times,
   on one common scale, with the studio's row as the chart's one highlight. */
.compare { margin: 0 0 var(--s-6); }
.compare__list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.compare__list li {
  display: grid; align-items: center; gap: var(--s-4); min-height: 52px; padding: var(--s-2);
  grid-template-columns: 13rem minmax(0, 1fr) 8.5rem;
  grid-template-areas: "label bar value";
  border-bottom: 1px solid var(--line);
}
.compare__list li.is-hi { background: var(--navy-050); }
.compare__label { grid-area: label; font-weight: 600; color: var(--navy-800); }
.compare__bar { grid-area: bar; display: block; width: 100%; height: 8px; border-radius: var(--r-pill); overflow: hidden; }
.compare__bg { fill: var(--navy-100); }
.compare__fill { fill: var(--navy-500); transform-box: fill-box; transform-origin: left; }
.compare__list li.is-hi .compare__fill { fill: var(--orange-400); }
.compare__value { grid-area: value; text-align: right; white-space: nowrap; font-weight: 620; font-stretch: 116%; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.compare__note { margin-top: var(--s-3); font-size: var(--t-small); color: var(--text-soft); }
@media (max-width: 520px) {
  .compare__list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "bar bar"; row-gap: var(--s-2); padding-block: var(--s-3); }
}
.benefits__list { list-style: none; padding: 0; display: grid; gap: var(--s-5) var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.benefit { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-4); border-top: 1px solid var(--line-strong); }
.benefit h3 { font-size: 1.125rem; }
.benefit p { color: var(--text-soft); }
.benefit__link a { font-weight: 560; gap: var(--s-2); }
.benefits__note { margin-top: var(--s-5); font-size: var(--t-small); color: var(--text-soft); max-width: var(--measure); }

/* Sources under an article that explains research (compliance brief §2.3). */
.sources { margin-top: var(--s-6); max-width: var(--measure); }
.sources h2 { font-size: 1.125rem; font-stretch: 100%; }
.sources ol { margin-top: var(--s-3); padding-left: 1.2em; display: grid; gap: var(--s-1); font-size: var(--t-small); color: var(--text-soft); }

/* Contact: the card beside the building a visitor will look for. */
.contact-grid { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .contact-card { max-width: none; }
.contact-photo { margin: 0; }
.local-night .sessions { max-width: 36rem; }
.local .service-index { columns: 1; } /* the local column is narrow: two columns wrapped names onto three lines */
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--sh-2); }

/* Tap targets: standalone links reach 44 px. Links inside running sentences are exempt. */
.crumbs a, .toc ol a, .pgroup__more, .section-more a, .related a, .contact-card dd a, .call-close address a,
.site-footer li a, .site-footer address a, .footer-base a, .post-service a, .feature__text p > a, .promo-banner a,
.benefit__link a, .sources a {
  display: inline-flex; align-items: center; min-height: 44px;
}
.toc ol a { display: flex; }
.post-card h2 a { display: flex; align-items: center; min-height: 44px; }
.crumbs ol { margin-bottom: var(--s-2); row-gap: 0; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; }
.site-footer ul, .site-footer address { gap: 0; }
.promo-banner .wrap { padding-block: 0; }
.brand { display: flex; align-items: center; min-height: 48px; }

/* Bars grow into place as they scroll in; the numbers are readable before and without it. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .travel__fill, .clock__fill, .compare__fill {
      animation: grow-x linear both; animation-timeline: view(); animation-range: entry 10% cover 35%;
    }
  }
}
@keyframes grow-x { from { transform: scaleX(0); } }

/* Weak or mismatched stock photos in ported articles: a navy duotone makes them one family (photo_treatment: tint).
   Real studio photos stay natural. */
.prose--tint p:has(> img) { background: var(--navy-700); border-radius: var(--r-md); overflow: hidden; line-height: 0; margin-block: var(--s-6); }
.prose--tint p > img { mix-blend-mode: luminosity; opacity: 0.9; margin: 0; border-radius: 0; }
/* Cards follow the same rule: a stock photo flagged for the tint gets the duotone; studio photos stay natural. */
.post-card__art--tint { background: var(--navy-700); }
.post-card__art--tint img { mix-blend-mode: luminosity; opacity: 0.9; }
/* Client stories are read, not illustrated (card: none): a text card on a Cool Paper plate. */
.post-card--text { padding: var(--s-5); background: var(--navy-050); border-radius: var(--r-md); align-self: start; }

/* Condensing is for display sizes: small h2s (contents, footer columns, cards, price groups) stay full width. */
.toc h2, .site-footer h2, .post-card h2, .pgroup__head h2 { font-stretch: 100%; letter-spacing: -0.01em; }
/* A section heading outside .section-head carries the mark too. */
.feature__text > h2::after {
  content: ""; display: block; height: 3px; margin-top: var(--s-4);
  background:
    linear-gradient(var(--orange-400), var(--orange-400)) left bottom / 44px 3px no-repeat,
    linear-gradient(var(--line), var(--line)) left bottom / 100% 1px no-repeat;
}
/* The air mix builds in on scroll like the other bars; the numbers are readable before and without it. */
.atmos-bar__seg { transform-box: fill-box; transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .atmos-bar__seg { animation: grow-x linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
  }
}
