/* =========================================================
   Artur Mierzejewski — Coach · Trener · Hipnoterapeuta
   Design system (no frameworks, no dependencies)
   ========================================================= */

:root {
  /* Colour */
  --ink: #06121a;
  --ink-2: #0b1f2b;
  --navy: #023047;
  --paper: #faf6ef;
  --cream: #f3ece1;
  --line: rgba(2, 48, 71, .14);
  --line-dark: rgba(243, 236, 225, .14);
  --text: #1b2a33;
  --muted: #5b6b74;
  --muted-dark: #a9b6bd;
  --accent: #fb8500;
  --accent-2: #ffb703;
  --accent-deep: #c75d00;
  --sky: #8ecae6;

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Scale */
  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3.2rem);
  --step-4: clamp(2.7rem, 1.9rem + 3.6vw, 5.6rem);

  --space: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  --wrap: 1200px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Fonts (self-hosted, GDPR-friendly) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-full-normal.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; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-full-italic.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; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-wght-normal.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; }
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-full-normal.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-ext-full-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-full-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-ext-full-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--accent); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 68ch; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: .7rem 1rem; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 50, "opsz" 96;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 300; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
p { text-wrap: pretty; }
p + p { margin-top: 1.1em; }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--sans); font-size: var(--step--1); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.dark .eyebrow, .hero .eyebrow { color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--accent); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1rem 1.6rem; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover { --bg: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(251, 133, 0, .6); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .08); box-shadow: none; }
.light .btn--ghost:hover { --bg: rgba(2, 48, 71, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; color: var(--accent-deep); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.dark .link-arrow { color: var(--accent-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--paper);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(6, 18, 26, .86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; color: var(--paper); line-height: 0; }
.brand svg { width: clamp(190px, 22vw, 250px); height: auto; }
.brand .logo-a { fill: currentColor; }
.brand .logo-b { fill: var(--accent); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 600;
  color: rgba(250, 246, 239, .82); padding: .4rem 0; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: .7rem 1.2rem; font-size: .9rem; color: var(--ink); }
.nav .lang { font-size: .8rem; letter-spacing: .12em; border: 1px solid var(--line-dark); border-radius: 999px; padding: .3rem .7rem; }
.nav .lang::after { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit;
  cursor: pointer; position: relative; margin-right: -10px;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21.5px; right: 18px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.is-open .menu-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.is-open .menu-toggle span:nth-child(3) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 1.5rem var(--gutter) 3rem; background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
    overflow-y: auto;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav a:not(.btn) {
    font-family: var(--serif); font-size: 1.9rem; font-weight: 300; padding: 1rem 0;
    border-bottom: 1px solid var(--line-dark); color: var(--paper);
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent-2); }
  .nav .btn { margin-top: 2rem; justify-content: center; padding: 1.1rem; font-size: 1rem; }
  .nav .lang { align-self: flex-start; margin-top: 1.5rem; font-family: var(--sans) !important; font-size: .85rem !important; border: 1px solid var(--line-dark) !important; padding: .4rem .9rem !important; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex; align-items: flex-end;
  background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 3rem) 0 clamp(3.5rem, 8vw, 7rem);
}
.hero--short { min-height: min(78svh, 720px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: block; height: 100%; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%;
  animation: heroZoom 14s var(--ease) both;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 18, 26, .92) 0%, rgba(6, 18, 26, .7) 38%, rgba(6, 18, 26, .05) 75%),
    linear-gradient(0deg, rgba(6, 18, 26, .85) 0%, rgba(6, 18, 26, 0) 40%);
}
.hero__content { max-width: 760px; }
.hero h1 { margin: 1.2rem 0 1.5rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero .lead { color: rgba(250, 246, 239, .82); max-width: 40ch; animation: fadeUp 1s .45s var(--ease) both; }
.hero .eyebrow, .hero .btn-row { animation: fadeUp 1s .55s var(--ease) both; }
.hero .eyebrow { animation-delay: .05s; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 2.5rem; writing-mode: vertical-rl;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(250, 246, 239, .55);
  text-decoration: none; display: flex; align-items: center; gap: .8rem;
}
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--accent), transparent); animation: cue 2.2s ease-in-out infinite; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

@media (max-width: 700px) {
  .hero .eyebrow { letter-spacing: .14em; }
  .hero { align-items: flex-end; min-height: 88svh; }
  .hero__media img { object-position: 78% 30%; }
  .hero::before {
    background: linear-gradient(0deg, rgba(6, 18, 26, .97) 0%, rgba(6, 18, 26, .8) 45%, rgba(6, 18, 26, .15) 100%);
  }
  .scroll-cue { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space); position: relative; }
.section--tight { padding-block: calc(var(--space) * .65); }
.light { background: var(--paper); color: var(--text); }
.cream { background: var(--cream); color: var(--text); }
.dark { background: var(--ink); color: var(--paper); }
.dark p, .dark li { color: rgba(250, 246, 239, .78); }
.dark h2, .dark h3, .dark h4 { color: var(--paper); }
.light h2, .cream h2, .light h3, .cream h3 { color: var(--navy); }

.split {
  display: grid; gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start;
}
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.split__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.split__aside h2 { margin-top: 1rem; }
@media (max-width: 860px) {
  .split, .split--even { grid-template-columns: 1fr; }
  .split__aside { position: static; }
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.25rem; color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.dark .section-head p { color: var(--muted-dark); }

.prose h3 { margin: 2.6rem 0 1rem; color: var(--navy); font-size: var(--step-2); }
.prose h3:first-child { margin-top: 0; }
.dark .prose h3 { color: var(--paper); }

/* ---------- Benefit grid ---------- */
.benefits {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark);
}
.benefits li {
  padding: 2rem 1.75rem 2.25rem; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  transition: background-color .35s;
}
.benefits li:hover { background: rgba(251, 133, 0, .06); }
.benefits .num {
  display: block; font-family: var(--serif); font-style: italic; color: var(--accent);
  font-size: 1.05rem; margin-bottom: 1.2rem;
}
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr 1fr; } .benefits li { padding: 1.4rem 1.1rem 1.6rem; } .benefits p { font-size: .95rem !important; } }
.benefits p { font-size: 1.1rem; line-height: 1.55; color: var(--paper) !important; }

/* ---------- Facts / formats ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.cream .fact { background: var(--paper); }
.fact svg { width: 28px; height: 28px; color: var(--accent-deep); margin-bottom: 1rem; }
.fact h4 { font-size: 1.3rem; color: var(--navy); margin-bottom: .4rem; }
.fact p { font-size: .97rem; line-height: 1.55; color: var(--muted); }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }
.service {
  position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--radius) + 4px);
  min-height: clamp(380px, 46vw, 540px); display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.75rem, 3vw, 2.75rem); color: var(--paper); text-decoration: none; background: var(--ink-2);
}
.service img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.2s var(--ease), opacity .6s; opacity: .85;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(6, 18, 26, .95) 10%, rgba(6, 18, 26, .25) 70%, rgba(6, 18, 26, .1));
}
.service:hover img { transform: scale(1.06); opacity: 1; }
.service .eyebrow { color: var(--accent-2); }
.service h3 { font-size: var(--step-3); margin: .9rem 0 .8rem; color: var(--paper); }
.service p { color: rgba(250, 246, 239, .78); max-width: 38ch; }
.service .go {
  margin-top: 1.6rem; display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--accent-2);
}
.service .go svg { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.service:hover .go svg { transform: translateX(5px); }

/* ---------- Quote ---------- */
.quote { text-align: center; max-width: 900px; margin-inline: auto; }
.quote blockquote {
  font-family: var(--serif); font-weight: 300; font-size: var(--step-3); line-height: 1.2; color: var(--navy);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.quote blockquote em { color: var(--accent-deep); }
.quote .mark { font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--accent); display: block; margin-bottom: 1.5rem; }
.quote p { margin-top: 1.75rem; color: var(--muted); }

/* ---------- Portrait / about ---------- */
.portrait { position: relative; }
.portrait img { border-radius: calc(var(--radius) + 4px); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.portrait::after {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; z-index: -1;
  border: 1px solid var(--accent); border-radius: calc(var(--radius) + 4px);
}
.portrait figcaption { margin-top: 2rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .portrait { max-width: 420px; } }

.credentials { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: .25rem; }
.credentials li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.dark .credentials li { border-color: var(--line-dark); }
.credentials li::before {
  content: ""; width: 9px; height: 9px; margin-top: .6em; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(251, 133, 0, .15);
}

.checklist { list-style: none; padding: 0; display: grid; gap: .9rem; margin-top: 1.5rem; }
.checklist li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; }
.checklist li::before {
  content: ""; width: 1.4rem; height: 1.4rem; margin-top: .2em; border-radius: 50%;
  background: rgba(251, 133, 0, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c75d00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.dark .steps li { border-color: var(--line-dark); }
.steps li::before {
  content: "0" counter(s); display: block; font-family: var(--serif); font-style: italic;
  font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 1rem;
}
.steps h4 { margin-bottom: .5rem; }
.steps p { font-size: .98rem; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--paper); text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 140%; z-index: -1;
  background: radial-gradient(closest-side, rgba(251, 133, 0, .35), transparent 70%);
  transform: translateY(-30%);
}
.cta h2 { color: var(--paper); max-width: 18ch; margin: 1rem auto 0; }
.cta p { color: rgba(250, 246, 239, .78); max-width: 52ch; margin: 1.25rem auto 0; }
.cta .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--ink); color: var(--paper); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list li:first-child { padding-top: 0; }
.contact-list .label {
  display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .35rem; font-weight: 700;
}
.contact-list a, .contact-list address, .contact-list .contact-big { font-style: normal; color: var(--paper); text-decoration: none; font-size: var(--step-1); font-family: var(--serif); line-height: 1.35; }
.contact-list a:hover { color: var(--accent-2); }
.contact-list small { display: block; margin-top: .4rem; }
.contact-list small a { font-family: var(--sans); font-size: .9rem; color: var(--muted-dark); text-decoration: underline; }

.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 2rem; padding: 0; list-style: none; }
.pills li { border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .95rem; color: var(--navy); background: #fff; }

/* ---------- Status pages ---------- */
.status { min-height: 100svh; }
.status .hero__content { max-width: 680px; }
.status h1 { font-size: var(--step-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand svg { width: 220px; }
.site-footer h2 {
  font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--muted-dark); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent-2); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-tag { margin-top: 1.25rem; max-width: 30ch; line-height: 1.6; }
.socials { display: flex !important; gap: .6rem !important; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; color: var(--paper); transition: background-color .25s, border-color .25s, color .25s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 4rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem;
}
.footer-bottom button { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; padding: 0; font-size: inherit; }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .07s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .14s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .35s; }
.js .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .42s; }
.js .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .49s; }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 560px;
  background: var(--paper); color: var(--text); border-radius: var(--radius);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, .45); padding: 1.4rem 1.5rem;
  font-size: .93rem; line-height: 1.55;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.consent.is-visible { transform: none; }
.consent strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--navy); margin-bottom: .35rem; }
.consent .btn-row { margin-top: 1rem; gap: .6rem; }
.consent .btn { padding: .7rem 1.2rem; font-size: .9rem; }
.consent .btn--ghost { color: var(--navy); }

@media print {
  .site-header, .consent, .scroll-cue, .cta { display: none !important; }
  .hero { min-height: 0; color: #000; background: none; padding-top: 1rem; }
  .hero__media, .hero::before { display: none; }
}
