/* ==========================================================================
   Fundacja Werbekoordinator — landing page styles (werbliksklep.pl)
   Design: a print shop's proof sheet. White stock, rich black ink and the
   process colours (cyan, magenta, yellow) used the way a printer uses them:
   crop marks, registration marks and a colour control bar around the hero
   photo, a yellow job ticket for the Welcome Package, one colour separation
   per service icon. Archivo (a grotesque with a width axis, set wide for
   headings) and IBM Plex Mono for registry numbers and slug lines.
   Page language: Polish (lang="pl").
   ========================================================================== */

/* Self-hosted fonts (Google Fonts builds, latin + latin-ext so ą ć ę ł ń ó ś ź ż render) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  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;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plexmono-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plexmono-400-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;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plexmono-500-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plexmono-500-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;
}

:root {
  /* Colour tokens (every text pairing below passes WCAG AA, 4.5:1 or better) */
  --ink: #14161a;           /* rich black: 18.1:1 on white */
  --ink-2: #4b5058;         /* secondary text: 8.1:1 on white, 7.1:1 on stock */
  --paper: #ffffff;         /* page */
  --stock: #eff0f1;         /* uncoated grey stock for alternate sections */
  --rule: #d5d8dc;          /* hairlines */
  --magenta: #e6007e;       /* process magenta: marks, icons, large text only (4.5:1) */
  --magenta-ink: #c2006f;   /* buttons and links: white text 5.96:1, on stock 5.2:1 */
  --magenta-hover: #a3005d;
  --magenta-light: #ff7ab8; /* accents on ink: 7.5:1 */
  --cyan: #009fe3;          /* process cyan: decorative only (ink on it 6.1:1) */
  --yellow: #ffe500;        /* process yellow: ink on it 14.2:1 */
  --on-dark: #ffffff;
  --on-dark-2: #c9ccd1;     /* 11.2:1 on ink */
  --rule-dark: rgba(255, 255, 255, 0.18);
  --focus: #c2006f;

  /* Shape: print is square. Small radii only on buttons. */
  --radius-sm: 4px;
  --radius: 6px;

  /* Type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wide: 116%;             /* heading width on the Archivo stretch axis */

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-weight: 800;
  font-stretch: var(--wide);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.005em; }

p { margin: 0 0 1rem; }
p, li, dd, figcaption { text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--magenta-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--magenta-hover); text-decoration-thickness: 2px; }

address { font-style: normal; }
figure { margin: 0; }
q { quotes: "„" "”"; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-inline: var(--gutter);
}

.section { padding-block: 5rem; padding-block: var(--section); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.skip-link:hover,
.skip-link:focus { color: var(--on-dark); }

.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;
}

.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 1rem; }
.btn-sm svg { width: 16px; height: 16px; }

.btn-primary { background: var(--magenta-ink); color: var(--on-dark); }
.btn-primary:hover { background: var(--magenta-hover); color: var(--on-dark); text-decoration: none; }

.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-ink:hover { background: #2b2f36; color: var(--on-dark); text-decoration: none; }

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--on-dark); text-decoration: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--magenta-ink);
  text-decoration: underline;
}
.text-link svg { width: 18px; height: 18px; flex: none; }
.text-link--light { color: var(--magenta-light); }
.text-link--light:hover { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Notice bar: the shop moved to werblik.pl
   -------------------------------------------------------------------------- */
.notice { background: var(--ink); color: var(--on-dark-2); font-size: 0.9375rem; }
.notice-inner { padding-block: 0.85rem; }
.notice p { margin: 0; }
.notice a { color: var(--on-dark); font-weight: 700; }
.notice a:hover { color: var(--magenta-light); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 200ms var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(20, 22, 26, 0.08); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; color: var(--ink); }
.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-name small {
  font-size: 0.8125rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0;
  margin-bottom: 0.2rem;
  color: var(--ink-2);
}
.brand--light,
.brand--light:hover,
.brand--light .brand-mark { color: var(--on-dark); }
.brand--light .brand-name small { color: var(--on-dark-2); }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.8rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover { color: var(--magenta-ink); }
.site-nav ul a[aria-current="true"] { border-bottom-color: var(--magenta); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   Hero: headline + the proof sheet
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
  font-weight: 850;
  font-stretch: 112%;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
}
.hero h1 span { display: block; }
.hero-accent { color: var(--magenta-ink); }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36rem; margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.hero-reg {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink-2);
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  max-width: 36rem;
}

/* The proof sheet: trim box with crop marks, registration marks, a colour bar
   and a slug line, like the edge of a press sheet. */
.sheet {
  position: relative;
  padding: 34px 34px 0;
  justify-self: center;
  width: 100%;
  max-width: 440px;
}
.sheet-trim { position: relative; }
.sheet-trim img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stock); }

.crop { position: absolute; width: 28px; height: 28px; pointer-events: none; }
.crop::before,
.crop::after { content: ""; position: absolute; background: var(--ink); }
/* Each mark: a vertical stroke on the trim's x and a horizontal stroke on its y, 8px clear of the corner */
.crop::before { width: 1px; height: 20px; right: 0; top: 0; }
.crop::after { height: 1px; width: 20px; left: 0; bottom: 0; }
.crop-tl { top: -28px; left: -28px; }
.crop-tr { top: -28px; right: -28px; transform: scaleX(-1); }
.crop-bl { bottom: -28px; left: -28px; transform: scaleY(-1); }
.crop-br { bottom: -28px; right: -28px; transform: scale(-1, -1); }

.reg { position: absolute; width: 18px; height: 18px; color: var(--ink); }
.reg-top { top: -27px; left: 50%; margin-left: -9px; }
.reg-side { left: -27px; top: 50%; margin-top: -9px; }

.colorbar { display: flex; gap: 0; margin-top: 36px; }
.colorbar i { display: block; width: 22px; height: 12px; }
.colorbar .c { background: var(--cyan); }
.colorbar .m { background: var(--magenta); }
.colorbar .y { background: var(--yellow); }
.colorbar .k { background: var(--ink); }
.colorbar .t50 { opacity: 0.5; }
.colorbar .t25 { opacity: 0.25; }

.slug {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Section heads
   -------------------------------------------------------------------------- */
.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.1875rem; color: var(--ink-2); }
.section-head--on-dark p { color: var(--on-dark-2); }

/* Small registration mark set before every h2: the page's one recurring label */
.section-head h2::before,
.about-copy h2::before,
.founder-copy h2::before,
.contact-copy h2::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 1.1rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat,
    radial-gradient(circle, var(--magenta) 0 4px, transparent 4.5px),
    radial-gradient(circle, transparent 0 7.5px, currentColor 7.5px 8.5px, transparent 9px);
}

/* --------------------------------------------------------------------------
   O fundacji
   -------------------------------------------------------------------------- */
.about { background: var(--stock); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about-copy h2 { margin-bottom: 1.5rem; max-width: 18ch; }
.about-copy > p { color: var(--ink-2); max-width: 38rem; }

.mission {
  margin: 2.25rem 0;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
  max-width: 38rem;
}
.mission figcaption { margin: 0 0 1rem; }
.mission blockquote { margin: 0; }
.mission p {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.about-note {
  font-size: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Co robimy
   -------------------------------------------------------------------------- */
.course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.course-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.course-copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 1rem; }
.course-copy > p { color: var(--ink-2); }

.tick-list { list-style: none; margin: 1.5rem 0 1.25rem; padding: 0; display: grid; gap: 0.7rem; }
.tick-list li { position: relative; padding-left: 2rem; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background: var(--magenta);
}

/* The yellow job ticket */
.ticket {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: 2.5rem;
  padding: clamp(1.75rem, 4.5vw, 3.5rem);
  background: var(--yellow);
  color: var(--ink);
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
}
/* perforation along the top edge */
.ticket::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 0;
  border-top: 2px dashed rgba(20, 22, 26, 0.35);
}
.ticket-head h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 1rem; }
.ticket-head p { color: var(--ink); }

.ticket-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.ticket-list li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(20, 22, 26, 0.3);
  font-weight: 600;
  line-height: 1.4;
}
.ticket-list .num { font-family: var(--font-mono); font-weight: 500; font-size: 0.9375rem; padding-top: 0.1em; }

.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem); }
.work-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 0.9rem;
  align-items: start;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}
.work-item h3 { align-self: center; margin: 0; }
.work-item p { grid-column: 2; margin-top: 0.6rem; color: var(--ink-2); max-width: 34rem; }

/* one process colour per service, like separations on a colour proof */
.work-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.work-icon svg { width: 22px; height: 22px; }
.work-icon--c { background: var(--cyan); color: var(--ink); }
.work-icon--m { background: var(--magenta); color: var(--on-dark); }
.work-icon--y { background: var(--yellow); color: var(--ink); }
.work-icon--k { background: var(--ink); color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Dla kogo
   -------------------------------------------------------------------------- */
.audience { background: var(--stock); }
.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.audience-photo { position: sticky; top: calc(var(--header-h) + 2rem); }
.audience-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.audience-list { list-style: none; margin: 0; padding: 0; }
.audience-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.5rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}
.audience-list li:last-child { border-bottom: 1px solid var(--rule); }
.audience-list h3 { font-size: 1.2rem; }
.audience-list p { color: var(--ink-2); font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Jak zacząć (ink band)
   -------------------------------------------------------------------------- */
.start { background: var(--ink); color: var(--on-dark); }
.start .section-head h2 { color: var(--on-dark); }
.start .section-head h2::before { color: var(--on-dark); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.step { padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); }
.step-num {
  display: block;
  font-size: clamp(3.5rem, 6vw, 4.75rem);
  font-weight: 850;
  font-stretch: 125%;
  line-height: 1;
  color: var(--magenta-light);
  margin-bottom: 1rem;
}
.step:nth-child(1) .step-num { color: var(--cyan); }
.step:nth-child(3) .step-num { color: var(--yellow); }
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--on-dark-2); font-size: 1.0625rem; }
.step .text-link { margin-top: 0.5rem; }

.start-cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* --------------------------------------------------------------------------
   Fundator
   -------------------------------------------------------------------------- */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.founder-copy h2 { margin-bottom: 1.5rem; }
.founder-name { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; font-stretch: 110%; line-height: 1.2; margin-bottom: 0.3rem; }
.founder-role { font-family: var(--font-mono); font-size: 0.9375rem; color: var(--ink-2); margin-bottom: 1.5rem; }
.founder-copy > p:not(.founder-name):not(.founder-role) { color: var(--ink-2); }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 1.75rem 2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.timeline li:last-child::before { background: var(--magenta); border-color: var(--magenta); }
.tl-year { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.timeline p { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { background: var(--stock); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); background: var(--paper); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 22px; height: 22px; flex: none; color: var(--magenta-ink); transition: transform 200ms var(--ease); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--magenta-ink); }
.faq-list details p { padding: 0 3.5rem 1.4rem 1.25rem; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Kontakt + dane rejestrowe
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-copy h2 { margin-bottom: 1rem; }
.contact-copy > p { color: var(--ink-2); font-size: 1.1875rem; margin-bottom: 1.75rem; }
.contact-mail { max-width: 100%; overflow-wrap: anywhere; }

.contact-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 0.15rem; color: var(--magenta-ink); }


.registry {
  padding: 2rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--stock);
  border-top: 6px solid var(--ink);
}
.registry h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.registry dl { margin: 0 0 1.25rem; }
.registry dl > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
}
.registry dt { font-size: 0.9375rem; color: var(--ink-2); }
.registry dd { margin: 0; font-weight: 600; }
.registry dd.mono { font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: 1rem; }
.colorbar--strip { margin: 0; }
.colorbar--strip i { flex: 1 1 0; width: auto; height: 6px; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.footer-brand p { margin-top: 1.25rem; max-width: 24rem; }
.footer-title { font-size: 1rem; font-stretch: 100%; font-weight: 700; color: var(--on-dark); margin-bottom: 0.9rem; letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-2); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-links address { padding-top: 0.5rem; }

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  padding-block: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--rule-dark);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a:hover { color: var(--magenta-light); }
.site-footer :focus-visible { outline-color: var(--magenta-light); }
.start :focus-visible { outline-color: var(--magenta-light); }
.notice :focus-visible { outline-color: var(--magenta-light); }

/* --------------------------------------------------------------------------
   Photo credits page
   -------------------------------------------------------------------------- */
.credits-page { padding-block: clamp(3rem, 7vw, 5rem) var(--section); }
.credits-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.25rem; }
.credits-page .lead { margin-bottom: 2.5rem; }
.credits-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.credits-list li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.credits-list img { width: 132px; height: 99px; object-fit: cover; }
.credits-list strong { display: block; font-weight: 700; }
.credits-list span { display: block; color: var(--ink-2); font-size: 1rem; }
.credits-note { margin-top: 2rem; color: var(--ink-2); max-width: 38rem; }

/* --------------------------------------------------------------------------
   Reveal on scroll (only once JS has marked the page; see main.js)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  /* Without JS the nav simply wraps under the logo; with JS (.has-js, set in <head>) it becomes a drop-down */
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; gap: 0.5rem 1rem; padding-bottom: 0.75rem; }
  .site-nav ul { flex-wrap: wrap; }

  .has-js .header-inner { flex-wrap: nowrap; }
  .has-js .nav-toggle { display: inline-flex; }
  .has-js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 18px 30px rgba(20, 22, 26, 0.12);
    display: none;
  }
  .has-js .site-nav.is-open { display: flex; }
  .has-js .site-nav ul { flex-direction: column; gap: 0; }
  .has-js .site-nav ul a { width: 100%; min-height: 50px; padding: 0 0.25rem; font-size: 1.0625rem; border-bottom: 1px solid var(--rule); }
  .has-js .site-nav ul a[aria-current="true"] { border-bottom-color: var(--rule); color: var(--magenta-ink); }
  .js .nav-cta { width: 100%; min-height: 50px; }

  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .hero-grid,
  .about-grid,
  .course,
  .ticket,
  .audience-grid,
  .founder-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .sheet { max-width: 440px; justify-self: start; }
  .about-photo { max-width: 440px; }
  .audience-photo { position: static; max-width: 520px; }
  .audience-photo img { aspect-ratio: 3 / 2; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: 5rem minmax(0, 1fr); column-gap: 1rem; }
  .step-num { grid-row: span 3; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.0625rem; }
  .brand-name small { font-size: 0.75rem; }
  .notice { font-size: 0.875rem; }

  .hero h1 { font-stretch: 108%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .sheet { padding: 26px 26px 0; }
  .crop { width: 22px; height: 22px; }
  .crop::before { height: 15px; }
  .crop::after { width: 15px; }
  .crop-tl { top: -22px; left: -22px; }
  .crop-tr { top: -22px; right: -22px; }
  .crop-bl { bottom: -22px; left: -22px; }
  .crop-br { bottom: -22px; right: -22px; }
  .reg { width: 14px; height: 14px; }
  .reg-top { top: -21px; margin-left: -7px; }
  .reg-side { left: -21px; margin-top: -7px; }
  .colorbar i { width: 18px; }

  .ticket-list { grid-template-columns: minmax(0, 1fr); }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-item p { grid-column: 1 / -1; }
  .audience-list li { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 3.75rem minmax(0, 1fr); }
  .step-num { font-size: 3rem; }
  .registry dl > div { grid-template-columns: minmax(0, 1fr); }
  .faq-list details p { padding-right: 1.25rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .credits-list li { grid-template-columns: 88px minmax(0, 1fr); }
  .credits-list img { width: 88px; height: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
