/* Młodzi Emmanuela - kolory i font z brandbooka "młodzi Wrzeciono" */
:root {
  /* paleta wspólna */
  --yellow: #ffb62f;      /* wspólny, najważniejszy */
  --navy: #002642;        /* granat Młodych Emmanuela */
  --red: #850014;         /* czerwień Jonasza */
  --orange: #cf5d24;      /* pomarańcz Latarni: tylko duże elementy i dekoracja */
  --blue: #475aad;        /* niebieski z palety Latarni */
  --teal: #0b3c49;        /* ciemny morski z palety Jonasza */
  --cream: #fff1d6;
  --cream-2: #ffe7ba;
  --pink: #d87d8b;
  --greyblue: #85a2b7;
  --peach: #f6d9cb;
  --lavender: #dbdff0;
  --white: #ffffff;

  --surface: var(--white);
  --ink: var(--navy);
  --ink-muted: #3a5469;
  --on-dark: #ffffff;
  --on-dark-muted: #c9d6e0;
  --line: #d6dee5;
  --focus: var(--blue);

  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px;
  --space-5: 40px; --space-6: 64px; --space-7: 104px;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 32px; --radius-pill: 999px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 28px; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2.5px; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--navy) var(--cream); }
.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(--space-3); top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); font-weight: 700; text-decoration: none; }
.skip:focus { top: var(--space-3); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ext { width: .8em; height: .8em; margin-left: .25em; opacity: .8; }
.wave-edge { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 24px; width: 100%; pointer-events: none; }

.btn {
  display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; font-weight: 700;
  font-size: 17px; line-height: 20px; padding: 14px 26px; border-radius: var(--radius-pill);
  transition: transform .25s var(--ease-out), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--cream-2); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--teal); }
.btn-line { border: 2px solid currentColor; color: inherit; padding: 12px 24px; }

/* ---------- Nagłówek: bez menu, powrót do strony Wspólnoty ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header .wrap { max-width: 1440px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 76px; }
.brand-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand-link img { height: 46px; width: auto; }
.brand-link span { font-weight: 700; font-size: 17px; line-height: 20px; white-space: nowrap; letter-spacing: -.01em; }
.brand-link span small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-muted); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.back-link {
  display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; color: var(--navy);
  font-weight: 700; font-size: 15px; line-height: 18px; padding: 10px 16px; border-radius: var(--radius-pill);
  border: 2px solid var(--navy); transition: background .2s, color .2s;
}
.back-link:hover { background: var(--navy); color: var(--white); }
.home-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 12px; }
.home-link:hover { text-decoration: underline; }
.home-link .short { display: none; }

/* ---------- Baner główny: zdjęcie (później film) na całą szerokość ---------- */
.hero { position: relative; min-height: min(88svh, 820px); display: grid; align-items: end; background: var(--navy); color: var(--on-dark); overflow: hidden; }
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img, .hero-media video { object-position: 50% 40%; }
.hero-media video { opacity: 0; transition: opacity .8s var(--ease-out); }
.hero-media video.ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,38,66,.94) 0%, rgba(0,38,66,.66) 42%, rgba(0,38,66,.2) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: var(--space-7) var(--space-6); }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: .98; font-weight: 700; letter-spacing: -.03em; max-width: 13ch; }
.wave { width: min(360px, 70%); height: auto; margin: var(--space-4) 0; overflow: visible; }
.wave path { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; }
.hero p { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; max-width: 46ch; color: var(--on-dark); }
.hero .btn { margin-top: var(--space-5); }
.hero .btn .icon { transition: transform .25s var(--ease-out); }
.hero .btn:hover .icon { transform: translateY(3px); }

/* Przycisk pauzy filmu (WCAG 2.2.2) */
.video-toggle[hidden] { display: none; }
.video-toggle { position: absolute; z-index: 2; right: var(--gutter); bottom: var(--space-5); width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: rgba(0,38,66,.55); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.video-toggle:hover { background: var(--navy); }
.video-toggle .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.video-toggle .i-play, .video-toggle.paused .i-pause { display: none; }
.video-toggle.paused .i-play { display: block; }

/* ---------- Pasy grup: od brzegu w głąb ---------- */
.groups-intro { padding-block: var(--space-7) var(--space-6); }
.groups-intro h2, .section-title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.02em; max-width: 18ch; }
.stratum { --bg: var(--white); --fg: var(--ink); --muted: var(--ink-muted); --accent: var(--fg); --pad: 56px; position: relative; display: block; background: var(--bg); color: var(--fg); text-decoration: none; }
.stratum .wave-edge { fill: var(--bg); }
.stratum .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-4) var(--space-6); align-items: center; padding-block: var(--pad); }
.stratum .age { font-size: clamp(60px, 9vw, 132px); line-height: .82; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; color: var(--accent); font-variant-numeric: lining-nums; transition: transform .45s var(--ease-out); }
.stratum .age small { display: block; font-size: 18px; line-height: 22px; letter-spacing: 0; margin-top: var(--space-3); color: var(--muted); }
.stratum h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; }
.stratum p { margin-top: var(--space-2); color: var(--muted); max-width: 46ch; }
.stratum .when { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.stratum .when span { font-weight: 700; font-size: 16px; line-height: 18px; padding: 7px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.18); }
.stratum .go { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); font-weight: 700; font-size: 17px; line-height: 20px; padding: 12px 22px; border-radius: var(--radius-pill); border: 2px solid currentColor; transition: background .2s, color .2s; }
.stratum:hover .age { transform: translateX(10px); }
.stratum:hover .go { background: var(--fg); color: var(--bg); }
.stratum:focus-visible { outline-offset: -6px; border-radius: 0; }
.stratum.przyplyn { --bg: var(--greyblue); --fg: var(--navy); --muted: #1f3546; --pad: 48px; }
.stratum.przyplyn .when span, .stratum.latarnia .when span { background: rgba(0,38,66,.1); }
.stratum.wyplyn   { --bg: var(--blue); --fg: var(--white); --muted: var(--lavender); --pad: 56px; }
.stratum.latarnia { --bg: var(--yellow); --fg: var(--navy); --muted: #4a3410; --pad: 64px; }
.stratum.jonasz   { --bg: var(--red); --fg: var(--white); --muted: var(--peach); --accent: var(--yellow); --pad: 72px; }
.stratum.mlodzi   { --bg: var(--navy); --fg: var(--white); --muted: var(--on-dark-muted); --accent: var(--yellow); --pad: 80px; }

/* ---------- Dla pełnoletnich: Szkoły ewangelizacji + Domostwo ---------- */
.deep { background: var(--teal); color: var(--on-dark); position: relative; }
.deep .wave-edge { fill: var(--teal); }
.adults .wrap { padding-block: var(--space-7); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.adults article { display: flex; flex-direction: column; align-items: flex-start; }
.adults h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; color: var(--yellow); }
.adults p { margin-top: var(--space-3); color: var(--cream-2); max-width: 46ch; }
.adults .btn { margin-top: var(--space-5); }
.call { margin-top: var(--space-5); display: grid; gap: var(--space-1); }
.call span { color: var(--on-dark-muted); font-size: 16px; }
.call a { color: var(--white); font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.call a .icon { color: var(--yellow); }
.call a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

/* ---------- Najbliższe wydarzenia ---------- */
.events-teaser { background: var(--cream); padding-block: var(--space-7); }
.events-teaser .head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-5); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); font-size: 16px; line-height: 24px; }
.site-footer .wrap { padding-block: var(--space-6); display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-5); align-items: center; }
.site-footer .plate { justify-self: start; background: var(--white); border-radius: var(--radius-md); padding: 12px 18px; display: inline-flex; }
.site-footer .plate img { height: 48px; width: auto; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.site-footer a { color: var(--white); text-decoration-color: rgba(255,255,255,.4); }
.site-footer a:hover { color: var(--yellow); }
.site-footer .small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: var(--space-4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Podstrony grup ---------- */
.group-page { --accent: var(--yellow); --accent-fg: var(--navy); --accent-muted: #4a3410; --mark: var(--orange); }
.group-page.przyplyn { --accent: var(--greyblue); --accent-fg: var(--navy); --accent-muted: #1f3546; --mark: var(--navy); }
.group-page.wyplyn { --accent: var(--blue); --accent-fg: var(--white); --accent-muted: var(--lavender); --mark: var(--blue); }
.group-page.jonasz { --accent: var(--red); --accent-fg: var(--white); --accent-muted: var(--peach); --mark: var(--red); }
.banner { background: var(--navy); }
.banner picture, .banner img { width: 100%; }
.banner img { height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; }
.group-page.jonasz .banner img { aspect-ratio: auto; object-fit: contain; }
.group-page.wyplyn .banner img { aspect-ratio: 16 / 9; max-height: 78svh; object-position: 50% 62%; }
.group-page.latarnia .banner img { aspect-ratio: 16 / 9; max-height: 78svh; object-position: 50% 85%; }
.title-band { background: var(--accent); color: var(--accent-fg); position: relative; }
.title-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-5); align-items: end; padding-block: var(--space-6); }
.group-page.no-banner .title-band .wrap { padding-block: var(--space-7) var(--space-6); }
.title-band h1 { overflow-wrap: anywhere; font-size: clamp(48px, 10vw, 128px); line-height: .88; letter-spacing: -.04em; font-weight: 800; }
.group-page.jonasz .title-band h1 { color: var(--yellow); }
.title-band .meta { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font-size: 19px; font-weight: 700; color: var(--accent-muted); }
.title-band .meta strong { color: var(--accent-fg); }
.title-band .btn { margin-top: var(--space-5); }
.logo-plate { background: var(--white); border-radius: var(--radius-lg); padding: 18px; width: clamp(120px, 16vw, 188px); }
.logo-plate img { width: 100%; height: auto; }

.intro { padding-block: var(--space-7) var(--space-6); }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-5) var(--space-6); }
.intro .lead { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; font-weight: 700; }
.intro .lead::after { content: ""; display: block; width: 88px; height: 12px; margin-top: var(--space-4); background: no-repeat center / 88px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 12'%3E%3Cpath d='M2 7c7-6 14-6 21 0s14 6 21 0 14-6 21 0 14 6 21 0' fill='none' stroke='%23ffb62f' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.intro .body + .body { margin-top: var(--space-3); }
.intro .body { font-size: 20px; line-height: 32px; max-width: 60ch; }

.notice { padding-bottom: var(--space-6); }
.notice .box { background: var(--cream); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3) var(--space-6); }
.notice h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; }
.notice p { max-width: 60ch; }

.highlights { background: var(--cream); padding-block: var(--space-7); position: relative; }
.highlights .wave-edge { fill: var(--cream); }
.highlights h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; margin-bottom: var(--space-5); }
.highlights ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-6); }
.highlights li { display: grid; grid-template-columns: 34px 1fr; gap: var(--space-3); align-items: start; font-size: 21px; line-height: 30px; font-weight: 600; }
.highlights li svg { width: 34px; height: 12px; margin-top: 9px; }
.highlights li svg path { fill: none; stroke: var(--mark); stroke-width: 3.5; stroke-linecap: round; }

.meetings { padding-block: var(--space-7); }
.meetings h2, .details h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; margin-bottom: var(--space-5); }
.meeting { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3) var(--space-6); padding-block: var(--space-5); border-top: 2px solid var(--navy); align-items: baseline; }
.meeting:last-of-type { border-bottom: 2px solid var(--navy); }
.meeting .when { display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
.meeting .day { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; }
.meeting .time { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; background: var(--accent); color: var(--accent-fg); padding: 4px 14px; border-radius: var(--radius-sm); }
.group-page.latarnia .meeting .time { background: var(--yellow); }
.meeting p { max-width: 58ch; }
.extra { margin-top: var(--space-5); color: var(--ink-muted); max-width: 64ch; }

.details { background: var(--cream); padding-block: var(--space-7); }
.details .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.details address { font-style: normal; font-size: 20px; line-height: 32px; max-width: 40ch; font-weight: 600; }
.details .travel { margin-top: var(--space-3); color: var(--ink-muted); max-width: 46ch; }
.details .map { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); font-weight: 700; color: var(--navy); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 15px 22px; border-radius: var(--radius-pill); background: var(--white); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 18px; border: 2px solid transparent; transition: border-color .2s, transform .25s var(--ease-out); overflow-wrap: anywhere; }
.contact-list a:hover { border-color: var(--navy); transform: translateX(4px); }
.contact-list a.primary { background: var(--yellow); }
.contact-list .icon { width: 22px; height: 22px; }

.motto { background: var(--navy); color: var(--on-dark); position: relative; }
.motto .wave-edge { fill: var(--navy); }
.motto .wrap { padding-block: var(--space-7) var(--space-6); }
.motto p { font-size: clamp(42px, 7vw, 104px); line-height: .95; font-weight: 800; letter-spacing: -.04em; color: var(--yellow); text-wrap: balance; max-width: 16ch; }
.others { margin-top: var(--space-6); }
.others h2 { font-size: 20px; line-height: 24px; color: var(--on-dark-muted); font-weight: 600; margin-bottom: var(--space-3); }
.others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.others a { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; font-weight: 700; font-size: 17px; padding: 11px 18px; border-radius: var(--radius-pill); transition: transform .25s var(--ease-out); }
.others a:hover { transform: translateY(-2px); }
.others .przyplyn { background: var(--greyblue); color: var(--navy); }
.others .wyplyn { background: var(--blue); color: var(--white); }
.others .latarnia { background: var(--yellow); color: var(--navy); }
.others .jonasz { background: var(--red); color: var(--white); }
.others .mlodzi { background: var(--white); color: var(--navy); }
.others .wydarzenia { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }

/* ---------- Wydarzenia ---------- */
.group-events { padding-bottom: var(--space-7); }
.group-events .head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-5); }
.group-events h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
.tags { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 14px; line-height: 16px; font-weight: 700; padding: 6px 10px; border-radius: var(--radius-pill); }
.tags .przyplyn { background: var(--greyblue); color: var(--navy); }
.tags .wyplyn { background: var(--blue); color: var(--white); }
.tags .latarnia { background: var(--yellow); color: var(--navy); }
.tags .jonasz { background: var(--red); color: var(--white); }
.tags .mlodzi { background: var(--navy); color: var(--white); }
.page-head { background: var(--navy); color: var(--on-dark); }
.page-head .wrap { padding-block: var(--space-7) var(--space-6); }
.page-head h1 { overflow-wrap: anywhere; font-size: clamp(48px, 10vw, 128px); line-height: .88; letter-spacing: -.04em; font-weight: 800; }
.page-head p { margin-top: var(--space-4); font-size: 20px; line-height: 30px; color: var(--on-dark-muted); max-width: 52ch; }
.events { padding-block: var(--space-6) var(--space-7); }
.event { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3) var(--space-6); padding-block: var(--space-5); border-top: 2px solid var(--navy); }
.event:last-child { border-bottom: 2px solid var(--navy); }
.event .date { font-size: 20px; font-weight: 700; color: var(--blue); }
.event .date.soon { color: var(--ink-muted); }
.event h2, .event h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; }
.event p { margin-top: var(--space-2); max-width: 60ch; }
.event .place { color: var(--ink-muted); font-size: 17px; margin-top: var(--space-2); display: flex; align-items: center; gap: var(--space-2); }
.event .more { display: inline-flex; align-items: center; margin-top: var(--space-3); font-weight: 700; }
.empty { padding-block: var(--space-5); font-size: 20px; color: var(--ink-muted); }

.notfound .wrap { padding-block: var(--space-7); }
.notfound h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1; }
.notfound p { margin-top: var(--space-4); font-size: 20px; line-height: 30px; }

/* ---------- Tablet i telefon ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; line-height: 27px; }
  .hero { min-height: 86svh; }
  .brand-link img { height: 38px; }
  .brand-link span { display: none; }
  .back-link { font-size: 14px; padding: 9px 14px; }
  .home-link { padding-inline: 6px; }
  .stratum .wrap, .intro .wrap, .meeting, .event, .adults .wrap, .details .wrap, .notice .box, .highlights ul { grid-template-columns: 1fr; }
  .stratum { --pad: 44px !important; }
  .stratum .wrap { gap: var(--space-3); }
  .title-band .wrap { grid-template-columns: 1fr; }
  .logo-plate { width: 112px; padding: 12px; border-radius: var(--radius-md); order: -1; }
  .notice .box { padding: var(--space-5) var(--space-4); }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .banner img { aspect-ratio: 4 / 3; }
}
@media (max-width: 420px) {
  .home-link .long { display: none; }
  .home-link .short { display: inline; }
  .back-link { font-size: 13px; padding-inline: 12px; }
}

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

/* Dekoracja fal w pasie tytułu podstron bez zdjęcia */
.title-band .waves { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(44vw, 560px); height: auto; pointer-events: none; }
.title-band .waves path { fill: none; stroke-linecap: round; stroke-width: 7; }
.title-band .waves .w1 { stroke: var(--navy); opacity: .9; }
.title-band .waves .w2 { stroke: var(--white); opacity: .55; }
.title-band .waves .w3 { stroke: var(--yellow); }
.title-band .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { .title-band .waves { display: none; } }
