/* Hallmark · shape: początek na pół, dalej szeroko · genre: editorial · theme: custom (paleta klienta) · job: book · idea: "Zdanie Jesteś OK obok portretu, potem oferta na pełną szerokość" · vibe: "spokojny błękit, klasyczny szeryf, cisza"
 * paper: #f1f6fc · accent: #1d4a8c · display: Bodoni Moda · body: Hanken Grotesk · hero: tekst po lewej, portret przyklejony po prawej · nav: pasek, znak i jedno działanie · footer: jedna cicha linia · imagery: portret Anny, wnętrza w jednym tonie · signature: moduł wewnętrznego krytyka
 * axes: light/high-contrast-serif/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S3 R4 V4 · weakest: S, zdjęcia wnętrz z banku czekają na zdjęcia gabinetu */
/* ---------- Wspólna baza trzech niebieskich wariantów ---------- */
:root {
  /* paleta ze zrzutu klienta: bardzo jasny błękit, granatowy atrament, jeden niebieski akcent */
  --color-paper: #f1f6fc;
  --color-paper-2: #dbe7f4;
  --color-paper-3: #c9daee;
  --color-ink: #15233a;
  --color-ink-2: #2a3a55;
  --color-muted: #52627a;
  --color-accent: #1d4a8c;
  --color-accent-strong: #163a70;
  --color-accent-ink: #f6f9fe;
  --color-deep: #13294b;
  --color-deep-2: #1c3a66;
  --color-deep-ink: #eef4fb;
  --color-deep-muted: #b9cbe2;
  --color-focus: #1d4a8c;
  --color-glass: rgba(241, 246, 252, 0.84);
  --shadow-float: 0 12px 28px -18px rgba(19, 41, 75, 0.45);

  --text-sm: 0.9375rem;
  --text-md: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --text-h2: clamp(2rem, 1.3rem + 2.4vw, 3.5rem);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-gap: clamp(72px, 8.4vw, 128px);
  --gap-columns: 24px;
  --radius: 6px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--color-accent) var(--color-paper-2); scroll-padding-top: 24px; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--color-accent); }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.06; text-wrap: balance; overflow-wrap: break-word; min-width: 0; font-synthesis: none; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-lg); line-height: 1.2; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 200ms ease, text-decoration-color 200ms ease; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
[hidden] { display: none !important; }
button, input { font: inherit; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 30; padding: 12px 16px; background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius); }
.skip:focus { top: 16px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; line-height: 1.1; text-decoration: none; border: 0; border-radius: var(--radius); cursor: pointer; transition: background-color 240ms ease, color 240ms ease; }
.btn:hover { background: var(--color-accent-strong); }
.btn:active { background: var(--color-deep); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--color-paper-3); color: var(--color-ink-2); cursor: not-allowed; }
.btn-quiet { background: var(--color-paper-2); color: var(--color-ink); }
.btn-quiet:hover { background: var(--color-paper-3); }
.btn-quiet:active { background: var(--color-paper-3); }

/* nagłówek strony */
.head-row { display: flex; align-items: center; gap: 12px 32px; padding-block: 20px; }
.wordmark { font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.wordmark span { margin-left: 12px; font-weight: 400; font-size: var(--text-sm); letter-spacing: 0; color: var(--color-muted); }
.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: var(--text-sm); }
.site-nav a { padding-block: 12px; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.head-btn { min-height: 44px; padding: 12px 20px; }

/* zdjęcia: jedno potraktowanie w całym wariancie */
.pic { overflow: hidden; border-radius: var(--radius); background: var(--color-paper-2); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic.mono img { filter: grayscale(1) contrast(1.04); mix-blend-mode: multiply; }
.portrait img { object-position: 50% 0; }

/* hero: części wspólne; wrapper pierwszego ekranu jest przezroczysty dla układu, chyba że wariant go użyje */
.first-screen { display: contents; }
.hero-body { display: grid; gap: 24px; justify-items: start; }
.hero-lead { font-size: var(--text-lg); line-height: 1.35; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-more { padding-block: 12px; font-weight: 600; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--text-sm); color: var(--color-muted); }

.about p { margin-top: 1em; max-width: 34rem; }
.about-sign { display: grid; gap: 2px; margin-top: 1.8em; }
.about-sign em { font-size: var(--text-lg); }
.about-sign span { font-size: var(--text-sm); color: var(--color-muted); }

.offer-item .price { font-weight: 600; }
.offer-item a { justify-self: start; padding-block: 8px; font-weight: 600; }
.stages p { margin-top: 12px; }

/* krytyk */
.critic-main h2 { margin-bottom: 20px; }
.critic-main > p { max-width: 34rem; }
.critic-list { display: grid; gap: 8px; margin-top: 24px; }
.critic-btn { width: 100%; min-height: 52px; padding: 12px 20px; text-align: left; font-size: var(--text-lg); line-height: 1.2; color: var(--color-ink); background: var(--critic-btn, var(--color-paper-2)); border: 0; border-radius: var(--radius); cursor: pointer; transition: background-color 240ms ease, color 240ms ease; }
.critic-btn:hover { background: var(--color-paper-3); }
.critic-btn[aria-pressed="true"] { background: var(--color-accent); color: var(--color-accent-ink); }
.critic-answer { margin-top: 12px; padding: clamp(24px, 2.6vw, 36px); background: var(--color-deep); color: var(--color-deep-ink); border-radius: var(--radius); display: grid; gap: 12px; }
.critic-answer :focus-visible { outline-color: var(--color-deep-ink); }
.critic-soft { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--text-h2); line-height: 1.08; min-height: 2.16em; }
.critic-soft span { display: inline-block; transition: opacity 220ms ease; }
.critic-soft span.out { opacity: 0; }
.course { display: grid; gap: 20px; justify-items: start; align-content: start; }
.course-pic { width: 100%; aspect-ratio: 4 / 3; }
.course-yt { font-size: var(--text-sm); color: var(--color-muted); }

/* cennik */
.menu dl { display: grid; gap: 24px; font-variant-numeric: tabular-nums lining-nums; }
.menu dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end; }
.menu dt { font-size: var(--text-lg); line-height: 1.2; }
.menu dd { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--text-h2); line-height: 1; white-space: nowrap; color: var(--color-ink); }
.menu dd.menu-note { grid-column: 1 / -1; font-family: var(--font-body); font-weight: 400; letter-spacing: 0; font-size: var(--text-sm); line-height: 1.5; color: var(--color-muted); white-space: normal; margin-top: 4px; }
.menu-body > p { margin-block: 36px 24px; max-width: 34rem; }

/* rozwijane: pytania i pomocnik wiadomości */
details > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; border-radius: var(--radius); }
details > summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 14px; height: 14px; transition: transform 320ms var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 0; right: 0; top: 6px; height: 2px; }
.plus::after { top: 0; bottom: 0; left: 6px; width: 2px; }
details[open] > summary .plus { transform: rotate(45deg); }
details::details-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out), content-visibility 360ms allow-discrete; }
details[open]::details-content { grid-template-rows: 1fr; }
.ans { min-height: 0; overflow: hidden; }
.faq details { background: var(--faq-bg, var(--color-paper-2)); border-radius: var(--radius); }
.faq summary { padding: 20px 24px; }
.faq summary h3 { font-family: var(--font-body); font-size: var(--text-md); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.faq .ans p { padding: 0 24px 24px; max-width: 46rem; }

/* kontakt */
.card { display: grid; gap: 20px; padding: clamp(24px, 3vw, 40px); background: var(--color-paper); color: var(--color-ink); border-radius: var(--radius); align-content: start; }
.card-contacts { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: var(--text-lg); font-weight: 600; }
.card-contacts a { padding-block: 8px; white-space: nowrap; }
.card-address a { font-weight: 600; white-space: nowrap; }
.card-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.card-copy { grid-column: 1 / -1; }
.card-crisis { padding: 16px 20px; background: var(--color-paper-2); border-radius: var(--radius); line-height: 1.5; }
.card-crisis a { font-weight: 600; white-space: nowrap; }
.helper { background: var(--color-paper-2); border-radius: var(--radius); }
.helper > summary { min-height: 56px; padding: 16px 20px; font-weight: 600; }
.helper form { display: grid; gap: 20px; padding: 4px 20px 24px; }
.helper legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.helper fieldset { display: flex; flex-wrap: wrap; gap: 8px; }
.helper label { position: relative; cursor: pointer; }
.helper input[type="radio"] { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.helper label span { display: block; padding: 12px 16px; min-height: 44px; background: var(--color-paper); border-radius: var(--radius); line-height: 1.35; transition: background-color 240ms ease, color 240ms ease; }
.helper label:hover span { background: var(--color-paper-3); }
.helper input:checked + span { background: var(--color-accent); color: var(--color-accent-ink); }
.helper input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.card-preview { padding: 16px; background: var(--color-paper); border-radius: var(--radius); font-style: italic; line-height: 1.45; transition: opacity 200ms ease; }
.card-preview.swap { opacity: 0.25; }
.helper .btn-quiet { background: var(--color-paper); }
.helper .btn-quiet:hover { background: var(--color-paper-3); }
.card-status { min-height: 1.5em; font-size: var(--text-sm); color: var(--color-accent); font-weight: 600; }

/* stopka */
.foot { padding-block: clamp(40px, 5vw, 72px) 24px; font-size: var(--text-sm); color: var(--color-muted); }
.foot-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px 24px; align-items: baseline; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; color: var(--color-ink); }
.foot a { display: inline-block; padding-block: 12px; }
.foot-legal { justify-self: end; }
.foot-credits { grid-column: 1 / -1; }
.fab { display: none; }

/* ruch: jedno wejście nagłówka, ciche wejścia sekcji */
.js .reveal.pre { opacity: 0; transform: translateY(12px); }
.js .reveal.pre.in { opacity: 1; transform: none; transition: opacity 700ms ease, transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 60ms); }
.hero h1 { animation: emerge 1200ms var(--ease-expo) both; }
.hero-body > * { animation: settle 1000ms var(--ease-expo) 180ms both; }
.hero-body > :nth-child(2) { animation-delay: 260ms; }
.hero-body > :nth-child(3) { animation-delay: 340ms; }
.head-row > * { animation: settle 900ms var(--ease-expo) both; }
.portrait img { animation: arrive 1400ms var(--ease-expo) 120ms both; }
@keyframes settle { from { opacity: 0; transform: translateY(12px); } }
@keyframes emerge { from { opacity: 0; transform: translateY(0.12em); } }
@keyframes arrive { from { opacity: 0; transform: scale(1.03); } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal.pre { opacity: 1; transform: none; }
  .hero h1, .hero-body > *, .head-row > *, .portrait img { animation: none; }
  .card-preview, .critic-soft span, .plus, details::details-content, .btn, .critic-btn, a { transition: none; }
}

@media (max-width: 820px) {
  .head-row { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 0 16px; }
  .head-btn { margin-left: auto; }
  .card-actions { grid-template-columns: minmax(0, 1fr); }
  .foot-row { grid-template-columns: minmax(0, 1fr); }
  .foot-links { justify-content: flex-start; gap: 4px 20px; }
  .foot-legal { justify-self: start; }
  .fab:not([hidden]) { display: inline-flex; position: fixed; right: 12px; bottom: 12px; z-index: 20; min-height: 44px; padding: 8px 16px; font-size: var(--text-sm); box-shadow: var(--shadow-float); }
}

/* ---------- Wariant F: początek na pół, dalej szeroko. Bodoni Moda + Hanken Grotesk ---------- */
:root {
  --font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --text-display: clamp(3.5rem, 7.4vw, 6.75rem);
}

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); align-items: start; }
.hero { grid-column: 1; min-height: calc(100svh - 96px); display: grid; align-content: center; gap: 28px; padding-block: 24px 48px; }
.hero h1 { font-size: var(--text-display); line-height: 0.95; }
.hero h1 span { display: block; margin-top: 0.36em; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); letter-spacing: -0.01em; line-height: 1.2; }
.portrait { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 16px; height: calc(100svh - 32px); min-height: 480px; }
.about { grid-column: 1; padding-bottom: var(--section-gap); }
.about h2 { margin-bottom: 24px; }
h3, .menu dd { font-weight: 500; }
.about-pic { margin-top: 40px; aspect-ratio: 16 / 9; max-width: 34rem; }

.offer { background: var(--color-paper-2); padding-block: var(--section-gap); }
.offer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.offer-head { grid-column: 1 / 5; position: sticky; top: 32px; display: grid; gap: 20px; }
.offer-pic { aspect-ratio: 4 / 5; margin-top: 12px; background: var(--color-paper-3); }
.offer-list { grid-column: 6 / 13; display: grid; gap: 8px; }
.offer-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; padding: clamp(24px, 2.4vw, 32px); background: var(--color-paper); border-radius: var(--radius); }
.offer-item h3 { grid-column: 1 / -1; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); }
.offer-item .who, .offer-item .how { grid-column: 1 / -1; max-width: 44rem; }
.offer-item .price { align-self: center; }
.offer-item a { justify-self: end; }

.first { padding-block: var(--section-gap); }
.first h2 { margin-bottom: clamp(28px, 3vw, 44px); }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stages { gap: clamp(24px, 4vw, 64px); }
.stages h3 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); }
.stages p { max-width: 32ch; }

.critic { padding-bottom: var(--section-gap); }
.critic-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.critic-main { grid-column: 1 / 8; }
.course { grid-column: 9 / 13; }

.menu { background: var(--color-paper-2); padding-block: var(--section-gap); }
.menu-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.menu-grid h2 { grid-column: 1 / 5; }
.menu-body { grid-column: 6 / 13; }

.faq { padding-block: var(--section-gap); }
.faq h2 { margin-bottom: clamp(28px, 3vw, 44px); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }

/* kontakt: szerokie zdjęcie i szklana karta */
.visit-grid { display: grid; }
.visit-pic, .card { grid-area: 1 / 1; }
.visit-pic { min-height: min(86svh, 760px); }
.card { z-index: 1; justify-self: end; align-self: start; width: min(100% - 32px, 580px); margin: clamp(16px, 3.4vw, 48px); background: var(--color-glass); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: var(--shadow-float); }

@media (max-width: 600px) {
  .stages { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  :root { --text-display: 17vw; }
  .intro { display: block; }
  .hero { min-height: 0; padding-block: 24px 40px; }
  .portrait { position: static; height: auto; min-height: 0; aspect-ratio: 4 / 5; margin-bottom: 56px; }
  .offer-grid, .critic-grid, .menu-grid { display: block; }
  .offer-head { position: static; margin-bottom: 32px; }
  .offer-pic { aspect-ratio: 16 / 9; }
  .offer-item { grid-template-columns: minmax(0, 1fr); }
  .offer-item a { justify-self: start; }
  .faq-list { grid-template-columns: minmax(0, 1fr); }
  .stages { gap: 24px; }
  .course { margin-top: 56px; }
  .menu-grid h2 { margin-bottom: 28px; }
  .visit-grid { display: block; }
  .visit-pic { min-height: 0; aspect-ratio: 4 / 3; }
  .card { width: auto; margin: -64px 8px 0; position: relative; }
}
