/* Style strony statycznej MZKaj (public/assets/site.css); przyciski także dla bloku Przycisk. */
/* Małopolski Związek Kajakowy — wygląd 2026
   Czerwień proporczyka z logo + głęboka woda Wisły. */
:root {
  --red: #D42A2F;
  --red-600: #B21F26;
  --red-50: #FDECEC;
  --navy: #0C2E45;
  --navy-2: #12425F;
  --river: #1B6A93;
  --aqua: #6CC4E4;
  --foam: #EEF5F8;
  --paper: #FFFFFF;
  --ink: #0F2536;
  --muted: #4A6274;
  --line: rgba(12, 46, 69, .12);
  --buoy: #F2C230;

  --r-lg: 22px;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(12,46,69,.06), 0 12px 32px -14px rgba(12,46,69,.28);
  --shadow-hi: 0 2px 4px rgba(12,46,69,.08), 0 22px 44px -18px rgba(12,46,69,.4);

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.8rem, 3.2vw, 2.5rem);
  --step-4: clamp(2.2rem, 5.4vw, 3.9rem);
  --step-5: clamp(2.6rem, 7.4vw, 6.4rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 78rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--river); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 750; color: var(--navy); text-wrap: balance; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(27,106,147,.18); }
h1, h2 { font-stretch: 118%; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- przyciski */
.btn,/* ---------------------------------------------------------------- przyciski */
.wp-block-button > .wp-block-button__link{
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .5rem; min-height: 46px;
  padding: .7rem 1.35rem; border-radius: 999px; font-weight: 650; font-stretch: 92%; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover,.wp-block-button > .wp-block-button__link:hover{ transform: translateY(-2px); }
.btn-red,.is-style-red > .wp-block-button__link{ background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(212,42,47,.7); }
.btn-red:hover,.is-style-red > .wp-block-button__link:hover{ background: var(--red-600); color: #fff; }
.btn-glass,.is-style-glass > .wp-block-button__link{ background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover,.is-style-glass > .wp-block-button__link:hover{ background: rgba(255,255,255,.24); color: #fff; }
.btn-ghost,.is-style-ghost > .wp-block-button__link{ background: var(--foam); color: var(--navy); }
.btn-ghost:hover,.is-style-ghost > .wp-block-button__link:hover{ background: #DDEBF1; color: var(--navy); }
.ripple-dot { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .65s var(--ease) forwards; }
.btn-ghost .ripple-dot, .tile .ripple-dot, .post-card .ripple-dot,.is-style-ghost > .wp-block-button__link .ripple-dot{ background: rgba(27,106,147,.22); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------------------------------------------------------------- nagłówek */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .25s; }
.top.scrolled { box-shadow: 0 8px 28px -18px rgba(12,46,69,.45); }
.top-in { max-width: var(--max); margin: 0 auto; padding: .55rem max(var(--gutter), env(safe-area-inset-right)) .55rem max(var(--gutter), env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: 50px; width: auto; }
.menu { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .5rem .9rem; border-radius: 999px;
  font: inherit; font-weight: 620; font-stretch: 92%; font-size: 1rem; color: var(--navy); text-decoration: none;
  background: none; border: 0; cursor: pointer; transition: background-color .2s, color .2s;
}
.menu > li > a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: var(--foam); color: var(--navy); }
.menu [aria-current] { color: var(--red); }
.menu > li > a[aria-current]::after, .sub-toggle[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--red); }
.sub-toggle .i { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.sub {
  list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 8px); left: 0; min-width: 16rem;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-hi); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .55rem .8rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 520; line-height: 1.3; }
.sub a:hover { background: var(--foam); color: var(--red); }
.nav-toggle { display: none; }

@media (max-width: 64rem) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px;
    font: inherit; font-weight: 650; color: #fff; background: var(--navy); border: 0; cursor: pointer;
  }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; } .burger::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .burger { background: transparent; }
  .nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
  #menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 100% - 0px); height: calc(100dvh - 68px); background: #fff; border-top: 1px solid var(--line); overscroll-behavior: contain; padding-bottom: calc(3rem + env(safe-area-inset-bottom)); overflow-y: auto; padding: 1rem var(--gutter) 3rem; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
  #menu.open { transform: none; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a, .sub-toggle { width: 100%; justify-content: space-between; font-size: 1.2rem; padding: .9rem .25rem; border-radius: 0; }
  .menu > li > a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: none; }
  .menu > li > a[aria-current]::after, .sub-toggle[aria-current]::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem .5rem; display: none; min-width: 0; }
  .has-sub.open .sub { display: block; }
  .no-js #menu { position: static; transform: none; visibility: visible; }
  .no-js .sub { display: block; }
}

/* ---------------------------------------------------------------- fale */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 7vw, 90px); overflow: hidden; pointer-events: none; z-index: 2; }
.waves .w { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.waves .w1 { height: 100%; opacity: .35; animation: drift 19s linear infinite; }
.waves .w2 { height: 78%; opacity: .6; animation: drift 13s linear infinite reverse; }
.waves .w3 { height: 55%; animation: drift 9s linear infinite; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-waves .w, .page-head .waves .w { fill: var(--paper); }
.is-home .hero-waves .w { fill: var(--navy); }
.course-waves .w { fill: var(--paper); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; color: #fff; background: var(--navy); min-height: min(92vh, 820px); display: grid; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: -2; transform: scale(1.04); animation: swell 22s ease-in-out infinite alternate; }
@keyframes swell { to { transform: scale(1.1) translateY(-1.2%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(12,46,69,.88) 0%, rgba(12,46,69,.55) 45%, rgba(12,46,69,.1) 75%),
              linear-gradient(180deg, rgba(12,46,69,.4) 0%, transparent 30%, rgba(12,46,69,.6) 100%); }
.ripples { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-in { position: relative; z-index: 1; align-self: center; width: 100%; max-width: var(--max); margin: 0 auto; padding: 9rem var(--gutter) 8rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.5rem 3rem; align-items: end; }
.hero-since { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem; padding: .35rem .85rem; border-radius: 999px; font-size: var(--step--1); font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); }
.hero-since::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(212,42,47,.3); }
.hero h1 { color: #fff; font-size: var(--step-5); font-weight: 860; line-height: .92; letter-spacing: -.025em; max-width: 11ch; font-stretch: 122%; text-wrap: balance; }
.hero-lead { font-size: var(--step-1); line-height: 1.5; max-width: 40ch; margin: 1.4rem 0 1.8rem; color: #E3EEF4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.next { display: grid; gap: .15rem; padding: 1.4rem 1.5rem; border-radius: var(--r-lg); text-decoration: none; color: #fff;
  background: rgba(12,46,69,.45); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); transition: transform .25s var(--ease), border-color .25s; position: relative; overflow: hidden; }
.next::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.next:hover { color: #fff; transform: translateY(-4px); border-color: rgba(255,255,255,.5); }
.next-k { font-size: var(--step--1); font-weight: 600; color: var(--aqua); }
.next-d { font-variant-numeric: tabular-nums; font-size: 2.4rem; font-weight: 820; font-stretch: 78%; line-height: 1.05; margin: .2rem 0 .3rem; }
.next-n { font-weight: 640; line-height: 1.35; }
.next-p { display: flex; align-items: center; gap: .35rem; margin-top: .5rem; font-size: var(--step--1); color: #C7DCE7; }
@media (max-width: 52rem) {
  .hero-in { grid-template-columns: 1fr; padding-top: 8rem; padding-bottom: 6rem; }
  .hero { min-height: 0; }
}

/* ---------------------------------------------------------------- sekcje */
section { position: relative; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; margin-bottom: 2.25rem; }
.sec-head h2 { font-size: var(--step-4); line-height: 1; }
.sec-head p { margin: 0; color: var(--muted); max-width: 32rem; }

/* tor sezonu */
.course { background: var(--navy); color: #D5E4EC; padding: clamp(3rem, 6vw, 5rem) 0 clamp(6rem, 10vw, 9rem);
  background-image: radial-gradient(60rem 30rem at 85% 0%, rgba(27,106,147,.45), transparent 60%), radial-gradient(40rem 26rem at 0% 100%, rgba(108,196,228,.12), transparent 60%); }
.course h2, .course h3 { color: #fff; }
.course .sec-head p { color: #A9C4D3; }
.course-box { position: relative; }
.lane-pins { display: none; }
.course-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.course-svg { width: 100%; min-width: 760px; height: auto; display: block; font-family: inherit; }
.course-svg .lane-bg { fill: rgba(255,255,255,.025); }
.course-svg .lane-bg.alt { fill: rgba(108,196,228,.05); }
.course-svg .mline { stroke: rgba(255,255,255,.1); stroke-width: 1; }
.course-svg .mlabel { fill: #A9C4D3; font-size: 15px; font-stretch: 80%; font-weight: 600; }
.course-svg .lane-label { fill: #E3EEF4; font-size: 15px; font-weight: 600; font-stretch: 85%; }
.course-svg .rope { stroke: #4F8BA8; stroke-width: 4; stroke-dasharray: .1 11; stroke-linecap: round; }
.course-svg .ev circle, .course-svg .ev rect { fill: var(--red); stroke: var(--navy); stroke-width: 2; transition: fill .15s; }
.course-svg .ev.approx circle, .course-svg .ev.approx rect { fill: transparent; stroke: var(--red); stroke-dasharray: 3 3; }
.course-svg .ev.past circle, .course-svg .ev.past rect { fill: #5F8AA2; }
.course-svg .ev.past.approx circle, .course-svg .ev.past.approx rect { fill: transparent; stroke: #5F8AA2; }
.course-svg .ev:hover circle, .course-svg .ev:hover rect, .course-svg .ev:focus-visible circle, .course-svg .ev:focus-visible rect { fill: var(--buoy); stroke: var(--buoy); }
.course-svg .ev { cursor: pointer; }
.course-svg .ev:focus-visible { outline: none; }
.course-svg .today line { stroke: var(--buoy); stroke-width: 3; }
.course-svg .today text { fill: var(--buoy); font-size: 15px; font-weight: 700; }
.course-svg .today-kayak use { color: var(--buoy); }
.soon { margin-top: 2.5rem; display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1rem 3rem; align-items: start; }
.soon .btn,.soon .wp-block-button > .wp-block-button__link{ grid-column: 2; justify-self: start; }
.soon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.soon-list a { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 12rem; gap: .25rem 1.5rem; padding: 1rem 1.25rem; text-decoration: none;
  border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background-color .2s, transform .2s var(--ease); }
.soon-list a:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.soon-list .d { font-weight: 750; font-stretch: 80%; color: var(--aqua); }
.soon-list .n { font-weight: 560; color: #fff; }
.soon-list .p { color: #A9C4D3; font-size: var(--step--1); }
@media (max-width: 52rem) {
  .soon { grid-template-columns: 1fr; }
  .soon .btn,.soon .wp-block-button > .wp-block-button__link{ grid-column: 1; }
  .soon-list a { grid-template-columns: 1fr; }
  .lane-pins { display: block; position: absolute; left: 0; top: 0; height: var(--svg-h, 0); width: 5.6rem; pointer-events: none; background: linear-gradient(90deg, var(--navy) 72%, rgba(12,46,69,0)); }
  .lane-pins span { position: absolute; left: 0; transform: translateY(-50%); font-size: .75rem; font-weight: 650; font-stretch: 85%; color: #E3EEF4; }
  .course-small .lane-pins { left: 1rem; background: linear-gradient(90deg, var(--navy) 72%, rgba(12,46,69,0)); }
}

/* ---------------------------------------------------------------- karty wpisów */
.news { padding: clamp(3rem, 6vw, 5rem) 0; }
.news > .wrap > .btn,.news > .wrap > .wp-block-button > .wp-block-button__link{ margin-top: 2rem; }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 1.4rem; }
.post-card { position: relative; }
.pc-link { position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff;
  border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pc-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); color: inherit; }
.pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--foam); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .5s var(--ease); }
.pc-link:hover .pc-img img { transform: scale(1.04); }
.pc-noimg { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.1rem 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--river) 100%); }
.pc-noimg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; opacity: .5;
  background: repeating-radial-gradient(ellipse at 50% 140%, transparent 0 14px, rgba(255,255,255,.12) 15px 16px); }
.pc-noimg-big .pc-day { font-size: 5rem; }
.pc-noimg-big .pc-k { width: 110px; height: 44px; }
.pc-day { font-variant-numeric: tabular-nums; font-size: 3.2rem; font-weight: 850; font-stretch: 80%; line-height: .9; }
.pc-mon { font-weight: 600; color: var(--aqua); }
.pc-k { position: absolute; right: 1rem; top: 1rem; width: 74px; height: 30px; color: rgba(255,255,255,.85); }
.pc-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.15rem 1.25rem 1.3rem; flex: 1; }
.pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: var(--step--1); color: var(--muted); }
.chip-cat { display: inline-block; padding: .12rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 650; background: var(--foam); color: var(--river); }
.chip-cat.is-z { background: var(--red-50); color: var(--red-600); }
.pc-title { overflow-wrap: anywhere; font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: var(--navy); font-stretch: 100%; letter-spacing: 0; }
.pc-ex { margin: 0; color: var(--muted); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--red); font-size: .95rem; }
.pc-link:hover .pc-more .i { transform: translateX(3px); }
.pc-more .i { transition: transform .2s var(--ease); }
.pc-files { position: absolute; right: 1.25rem; bottom: 1.3rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
@media (min-width: 52rem) {
  .post-card.big { grid-column: span 2; }
  .post-card.big .pc-link { flex-direction: row; }
  .post-card.big .pc-img { aspect-ratio: auto; width: 46%; flex: none; min-height: 18rem; }
  .post-card.big .pc-noimg-big { width: 30%; }
  .post-card.big .pc-body { padding: 1.6rem 1.75rem; }
  .post-card.big .pc-title { font-size: 1.55rem; font-stretch: 105%; }
}

/* kafle */
.tiles-sec { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--foam); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.tile { position: relative; overflow: hidden; display: grid; gap: .3rem; height: 100%; padding: 1.3rem 1.3rem 2.8rem; border-radius: var(--r-lg); background: #fff;
  text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hi); color: var(--ink); }
.t-t { font-weight: 720; font-size: 1.12rem; color: var(--navy); }
.t-d { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.tile .i { position: absolute; left: 1.3rem; bottom: 1.1rem; color: var(--red); width: 1.3em; height: 1.3em; transition: transform .2s var(--ease); }
.tile:hover .i { transform: translateX(5px); }

/* albumy */
.albums-sec { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 8rem); }
.albums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.album { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); text-decoration: none; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album:hover img { transform: scale(1.06); }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(12,46,69,.9)); }
.album span { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; color: #fff; font-weight: 650; line-height: 1.3; }
@media (max-width: 64rem) { .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- nagłówek podstron */
.page-head { position: relative; overflow: hidden; color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4.5rem, 9vw, 7rem); margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--river) 100%); }
.caustics { position: absolute; inset: -20%; opacity: .5; pointer-events: none;
  background: radial-gradient(closest-side, rgba(108,196,228,.22), transparent) 0 0 / 260px 180px,
              radial-gradient(closest-side, rgba(255,255,255,.1), transparent) 90px 60px / 200px 150px;
  animation: caustics 18s linear infinite; }
@keyframes caustics { to { background-position: 260px 180px, -110px 210px; } }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: var(--step-4); font-weight: 820; max-width: 22ch; text-wrap: balance; }
/* długie wyrazy w tytułach (np. „długodystansowe”) nie wychodzą poza ekran telefonu */
h1, h2, h3, .pc-title, .t-t, .next-n { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 26rem) { .page-head h1 { font-size: clamp(1.65rem, 8.6vw, 2.2rem); font-stretch: 104%; } }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 48ch; margin: 1rem 0 0; color: #D0E2EC; }
.lead a { color: #fff; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: var(--step--1); }
.crumbs li { display: flex; align-items: center; gap: .25rem; color: #A9C4D3; }
.crumbs li + li::before { content: "/"; opacity: .5; margin-right: .1rem; }
.crumbs a { color: #D0E2EC; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

main > .wrap:last-child, main > div.wrap:last-of-type { padding-bottom: clamp(4rem, 8vw, 6rem); }
.content { max-width: 60rem; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; align-items: start; }
.with-aside .content { max-width: none; }
@media (max-width: 64rem) { .with-aside { grid-template-columns: 1fr; } }

.side-box { position: sticky; top: 6rem; display: grid; gap: 1rem; }
.side-box section { padding: 1.3rem; border-radius: var(--r-lg); background: var(--foam); }
.side-box h2 { font-size: 1.05rem; font-stretch: 100%; letter-spacing: 0; margin-bottom: .8rem; }
.side-ev { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.side-ev a { display: grid; padding: .6rem .75rem; border-radius: var(--r-sm); background: #fff; text-decoration: none; transition: transform .2s var(--ease); }
.side-ev a:hover { transform: translateX(3px); }
.side-ev .empty { font-size: .92rem; color: var(--muted); }
.side-ev .sd { font-variant-numeric: tabular-nums; font-weight: 750; font-stretch: 82%; color: var(--red); font-size: .95rem; }
.side-ev .sn { color: var(--ink); font-size: .92rem; line-height: 1.35; }
.side-cats { list-style: none; margin: 0; padding: 0; }
.side-cats a { display: block; padding: .4rem 0; font-weight: 580; color: var(--navy); text-decoration: none; }
.side-cats a:hover { color: var(--red); }
.side-contact p { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.side-contact .i { color: var(--red); }
.small { font-size: var(--step--1); color: var(--muted); }

/* wpis */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: 1.5rem; color: var(--muted); font-weight: 560; }
.post-files { margin-bottom: 2rem; padding: 1.25rem; border-radius: var(--r-lg); background: var(--foam); }
.post-files h2 { font-size: 1.05rem; font-stretch: 100%; letter-spacing: 0; margin-bottom: .8rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.post-nav a { display: grid; gap: .2rem; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--foam); color: var(--navy); text-decoration: none; font-weight: 620; line-height: 1.3; }
.post-nav a:hover { background: #DDEBF1; }
.post-nav span { font-size: var(--step--1); color: var(--muted); font-weight: 520; }
.pn-next { text-align: right; grid-column: 2; }
@media (max-width: 40rem) { .post-nav { grid-template-columns: 1fr; } .pn-next { grid-column: 1; text-align: left; } }

/* pliki */
.file-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .6rem; }
.file-card { display: flex; align-items: center; gap: .85rem; height: 100%; padding: .8rem 1rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  color: var(--navy); text-decoration: none; font-weight: 600; line-height: 1.3; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.file-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy); }
.fc-name { min-width: 0; overflow-wrap: anywhere; }
.fc-ext { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; font-size: .74rem; font-weight: 800; font-stretch: 80%; text-transform: lowercase;
  color: #fff; background: var(--river); }
[data-ext="pdf"] .fc-ext { background: var(--red); }
[data-ext^="xls"] .fc-ext { background: #2E7D5B; }
[data-ext="www"] .fc-ext { background: var(--navy); }
a.file { font-weight: 620; }
a.file::before { content: attr(data-ext); display: inline-block; margin-right: .45em; padding: .05em .4em .1em; border-radius: 5px; font-size: .72em; font-weight: 800; font-stretch: 80%; vertical-align: .12em; color: #fff; background: var(--river); }
a.file[data-ext="pdf"]::before { background: var(--red); }
.dead { color: var(--muted); text-decoration: line-through; }

/* prose */
.prose { max-width: 70ch; }
.prose h3 { font-size: var(--step-1); margin: 1.6em 0 .5em; }
.prose h4 { font-size: var(--step-0); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .25em 0; }
.prose img { margin: 1rem 0; border-radius: var(--r); max-height: 720px; width: auto; box-shadow: var(--shadow); }
.prose a:has(> img) { display: inline-block; }
.prose p:has(> a > img) { display: flex; flex-wrap: wrap; gap: .5rem; }
.prose p:has(> a > img) img { margin: 0; box-shadow: none; border-radius: var(--r-sm); }
.prose table { border-collapse: collapse; font-size: var(--step--1); font-stretch: 92%; margin: 0; width: 100%; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: .5rem .7rem; text-align: left; vertical-align: top; }
.prose tr:first-child td { font-weight: 700; color: var(--navy); background: var(--foam); }
.prose td p { margin: 0; }
.table-card { max-width: none; overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.meta { color: var(--muted); }
.big { font-size: var(--step-1); line-height: 1.5; }
.block { margin-bottom: 3rem; }
.block h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.notice { padding: 1.75rem; border-radius: var(--r-lg); background: var(--foam); border-left: 5px solid var(--red); }

/* ludzie */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: .75rem; }
.person { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.person.lead { grid-column: 1 / -1; padding: 1.2rem 1.3rem; background: var(--foam); border-color: transparent; }
.avatar { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; font-weight: 800; font-stretch: 85%; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--river)); }
.person.lead .avatar { width: 3.75rem; height: 3.75rem; font-size: 1.2rem; background: linear-gradient(135deg, var(--red), var(--red-600)); }
.who { overflow-wrap: anywhere; display: block; font-weight: 700; color: var(--navy); line-height: 1.25; }
.person.lead .who { font-size: 1.3rem; }
.role { display: block; color: var(--muted); font-size: var(--step--1); }
.who-mail { font-size: var(--step--1); }

/* kluby */
.clubs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.club { padding: 1.4rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.club h2 { font-size: 1.15rem; font-stretch: 100%; letter-spacing: 0; line-height: 1.3; margin-bottom: .75rem; }
.club p { margin: 0 0 .4rem; }
.addr { display: flex; gap: .5rem; color: var(--ink); }
.addr .i, .club-contact .i { color: var(--red); margin-top: .2em; }
.club-contact { display: grid; gap: .25rem; }
.club-contact a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 560; word-break: break-word; }
.reg { font-size: var(--step--1); color: var(--muted); margin-top: .6rem !important; }

/* poradnie */
.clinics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .75rem; }
.clinics li { display: grid; gap: .3rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--foam); font-size: var(--step--1); line-height: 1.4; }
.clinics strong { font-size: var(--step-0); color: var(--navy); }
.clinics span { display: flex; gap: .4rem; }
.clinics .i { color: var(--red); }

/* statut */
.with-toc { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.toc { position: sticky; top: 6rem; padding: 1.2rem; border-radius: var(--r-lg); background: var(--foam); max-height: calc(100vh - 8rem); overflow-y: auto; }
.toc h2 { font-size: 1rem; font-stretch: 100%; margin-bottom: .6rem; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: .35rem 0; font-size: var(--step--1); line-height: 1.3; color: var(--navy); text-decoration: none; }
.toc a:hover { color: var(--red); }
.statute h2 { font-size: var(--step-2); margin: 2.4em 0 .8em; padding-top: 1rem; border-top: 2px solid var(--line); }
.statute h2:first-child { margin-top: 0; }
.statute h2 span { display: block; font-size: var(--step--1); font-stretch: 100%; color: var(--red); margin-bottom: .3rem; letter-spacing: 0; }
.statute h3 { font-size: var(--step-0); margin: 1.6em 0 .4em; color: var(--river); }
.statute p { margin-bottom: .55em; }
@media (max-width: 52rem) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; max-height: none; } }

/* wyniki */
.r-year { margin-bottom: 2.5rem; }
.r-year h2 { font-size: var(--step-3); margin-bottom: .8rem; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.results li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1.5rem; align-items: center; padding: .8rem 1rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.r-ev { color: var(--navy); font-weight: 600; text-decoration: none; }
.r-ev:hover { color: var(--red); }
.r-file { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.r-file .fc-ext { width: 2.2rem; height: 2.2rem; }
.archive { padding: 1.25rem 1.5rem; border-radius: var(--r-lg); background: var(--foam); }
@media (max-width: 40rem) { .results li { grid-template-columns: 1fr; } }

/* pager */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2.5rem; }
.pager ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; background: var(--foam); color: var(--navy); text-decoration: none; font-weight: 650; }
.pager a:hover { background: #DDEBF1; }
.pager a[aria-current] { background: var(--navy); color: #fff; }

/* kalendarz */
.course-panel { background: var(--navy); border-radius: var(--r-lg); padding: 1.25rem 1.25rem .75rem; margin: 0 0 1.75rem; box-shadow: var(--shadow-hi);
  background-image: radial-gradient(40rem 20rem at 90% 0%, rgba(27,106,147,.5), transparent 60%); }
.cal-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: inherit; font-weight: 620; font-stretch: 90%; font-size: var(--step--1); cursor: pointer; min-height: 40px; padding: .4rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters-note { min-height: 1.5em; font-size: var(--step--1); color: var(--muted); }
.cal-card { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.cal { width: 100%; border-collapse: collapse; }
.cal th { text-align: left; font-size: var(--step--1); color: var(--muted); font-weight: 600; padding: .9rem 1rem; background: var(--foam); }
.cal td { padding: 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.cal tbody tr { transition: background-color .2s; }
.cal tbody tr:hover { background: #F6FAFC; }
.c-term { font-weight: 760; font-stretch: 80%; white-space: nowrap; width: 12rem; font-size: 1.1rem; color: var(--red); }
.c-name span { display: block; font-weight: 620; color: var(--navy); }
.c-name span + span { font-weight: 450; color: var(--muted); }
.c-place { font-size: var(--step--1); width: 13rem; }
.c-disc { width: 10rem; }
.dtag { display: inline-block; margin: 0 .25rem .25rem 0; padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 650; background: var(--foam); color: var(--river); }
abbr[title] { text-decoration: underline dotted; text-underline-offset: .2em; cursor: help; }
.cal tr.past td { opacity: .55; }
.cal tr.past .c-term { color: var(--muted); }
.cal tr:target td { background: #FFF6D6; opacity: 1; }
.cal tr[hidden] { display: none; }
.note { font-size: var(--step--1); color: var(--muted); margin-top: 1.25rem; }
@media (max-width: 46rem) {
  .cal thead { display: none; }
  .cal, .cal tbody, .cal tr, .cal td { display: block; width: auto; }
  .cal tr { padding: 1rem; border-top: 1px solid var(--line); }
  .cal td { border: 0; padding: .1rem 0; }
  .c-term { white-space: normal; }
}

/* galeria */
.gal { margin-bottom: 3.5rem; }
.gal h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(45%, 13rem), 1fr)); gap: .6rem; }
.grid a { display: block; overflow: hidden; border-radius: var(--r); }
.grid img { aspect-ratio: 1; width: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.grid a:hover img { transform: scale(1.06); }
.lb { overscroll-behavior: contain; border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(8, 30, 45, .96); color: #fff; }
.lb::backdrop { background: rgba(8, 30, 45, .8); }
.lb[open] { display: grid; place-items: center; }
.lb img { max-width: calc(100vw - 7rem); max-height: calc(100vh - 7rem); width: auto; height: auto; object-fit: contain; border-radius: var(--r); }
.lb-cap { position: absolute; left: 1.25rem; bottom: .75rem; margin: 0; font-size: var(--step--1); color: #C5D8E3; }
.lb button { position: absolute; font: inherit; font-weight: 650; color: #fff; background: rgba(255,255,255,.12); border: 0; cursor: pointer; border-radius: 999px; min-width: 44px; min-height: 44px; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb :focus-visible { outline-color: var(--buoy); }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 2rem; width: 3.2rem; height: 3.2rem; }
.lb-prev { left: .75rem; } .lb-next { right: .75rem; }
.lb-close { top: .75rem; right: .75rem; padding: .5rem 1.1rem; }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; }
.c-card { padding: 2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.c-main { background: var(--foam); border-color: transparent; }
.c-card h2 { font-size: var(--step-2); margin-bottom: 1.25rem; }
.c-card .big { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; }
.c-card .big .i { color: var(--red); margin-top: .25em; }
.reg { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.25rem; margin: 0; }
.reg dt { color: var(--muted); font-size: var(--step--1); padding-top: .15rem; }
.reg dd { margin: 0; font-weight: 650; color: var(--navy); }
@media (max-width: 52rem) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- stopka */
.foot { position: relative; background: var(--navy); color: #BFD3DE; padding: 3rem 0 calc(1.5rem + env(safe-area-inset-bottom)); font-size: .95rem; margin-top: clamp(40px, 6vw, 70px); }
.foot-wave { position: absolute; left: 0; bottom: 100%; width: 100%; height: clamp(40px, 6vw, 70px); fill: var(--navy); }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--aqua); text-decoration: underline; }
.foot :focus-visible { outline-color: var(--buoy); }
.foot-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2rem 2.5rem; }
.foot-logo { box-sizing: content-box; height: 46px; width: auto; max-width: none; background: #fff; padding: .5rem .8rem; border-radius: var(--r-sm); margin-bottom: 1.25rem; }
.foot-contact { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; }
.foot-contact .i { color: var(--red); margin-top: .2em; }
.foot-h { color: #fff; font-size: 1rem; font-stretch: 100%; letter-spacing: 0; margin-bottom: .9rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-links a { color: #D7E5ED; }
.logos { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.logos img { box-sizing: content-box; background: #fff; border-radius: var(--r-sm); padding: .4rem; height: 64px; width: auto; max-width: none; }
.logos a { display: block; }
.foot-small { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; max-width: var(--max); margin: 2.5rem auto 0; padding: 1.25rem var(--gutter) 0; border-top: 1px solid rgba(255,255,255,.1); color: #8FAABA; font-size: var(--step--1); }
@media (max-width: 64rem) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- kajak przewijania */
.river-progress { position: fixed; left: 0; right: 0; bottom: 0; height: 22px; z-index: 40; pointer-events: none; display: none; }
.rp-line { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: linear-gradient(90deg, var(--aqua), var(--river)); border-radius: 0 3px 3px 0; }
.rp-kayak { position: absolute; bottom: 1px; left: calc(var(--p, 0%) - 22px); width: 44px; height: 18px; color: var(--red); transition: transform .3s; }
.js .river-progress { display: block; }
@media (max-width: 52rem) { .js .river-progress { display: none; } }

/* wiosłowanie i kołysanie */
#kayak .paddle { transform-box: view-box; transform-origin: 60px 22px; }
@media (prefers-reduced-motion: no-preference) {
  #kayak .paddle { animation: paddle 1.6s ease-in-out infinite alternate; }
  .today-kayak use { animation: bob 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .rp-kayak.moving { transform: translateY(-2px) rotate(-2deg); }
  .is-home .course .course-svg .ev { animation: buoy .5s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i, 0) * 28ms + 150ms); transform-box: fill-box; transform-origin: center; }
}
@keyframes paddle { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(3px) rotate(2deg); } }
@keyframes buoy { from { opacity: 0; transform: scale(.2); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ripples { display: none; }
}
@media print {
  .top, .waves, .foot-wave, .river-progress, .course-scroll, .filters, .side-box { display: none !important; }
  .page-head, .course { background: none; color: #000; }
  .page-head h1 { color: #000; }
}

.foot-small p { margin: 0; }
.motion-toggle { font: inherit; font-size: var(--step--1); font-weight: 600; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  color: #D7E5ED; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); transition: background-color .2s, color .2s; }
.motion-toggle:hover { background: rgba(255,255,255,.14); color: #fff; }
/* zatrzymane animacje wody (przycisk w stopce) */
.still *, .still *::before, .still *::after { animation-play-state: paused !important; }
.still .ripples { display: none; }


/* ---------------------------------------------------------------- poziom wody (Aktualności) */
.water-sec { overflow: clip; isolation: isolate; --water-pad: clamp(3rem, 6vw, 5rem); padding-bottom: calc(var(--water-pad) + 2rem); }
.water-sec > .wrap { position: static; }
.water-sec > .wrap > .sec-head { position: relative; z-index: 0; }
.water-sec > .wrap > .post-grid, .water-sec > .wrap > .btn,.water-sec > .wrap > .wp-block-button > .wp-block-button__link{ position: relative; z-index: 2; }
.water { position: absolute; inset: 0; z-index: 1; background: var(--navy); transform: translateY(var(--water-y, 110%)); will-change: transform; pointer-events: none; }
.water-clip { position: absolute; inset: 0; overflow: hidden; }
.water-copy { position: absolute; inset: 0; padding-top: var(--water-pad); transform: translateY(calc(var(--water-y, 110%) * -1)); will-change: transform; }
.water .sec-head p { color: #A9C4D3; }
.w-h { font-size: var(--step-4); line-height: 1; font-weight: 750; font-stretch: 118%; letter-spacing: -.015em; color: #fff; }
.water-crest { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(26px, 4vw, 46px); overflow: hidden; }
.wc { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; fill: var(--navy); }
.wc1 { opacity: .4; animation: drift 14s linear infinite reverse; }
.wc2 { height: 72%; animation: drift 9s linear infinite; }

/* ---------------------------------------------------------------- kilwater za kursorem */
.wake { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(7rem, 12vw, 10rem); touch-action: pan-y; }
.wake-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wake-kayak { position: absolute; left: 0; top: 0; width: clamp(84px, 9vw, 120px); height: auto; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }
.js .wake-kayak { transform: translate(var(--kx, 68vw), var(--ky, 180px)) rotate(var(--ka, 0deg)); }
.wake .wrap { position: relative; z-index: 1; pointer-events: none; }
.wake-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; justify-items: start; }
.wake-links a { pointer-events: auto; position: relative; display: inline-block; padding: .2rem 0; color: #fff; text-decoration: none; font-size: clamp(2.1rem, 6vw, 4.75rem); line-height: 1.1; font-weight: 820; font-stretch: 118%; letter-spacing: -.015em; transition: color .15s; }
.wake-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.wake-links a:hover { color: var(--aqua); }
.wake-links a:hover::after, .wake-links a:focus-visible::after { transform: scaleX(1); }
.wake-links a:focus-visible { outline-color: var(--buoy); }
.wake-waves .w { fill: var(--foam); }
@media (prefers-reduced-motion: reduce) {
  .water { display: none; }
  .wake-canvas { display: none; }
}

/* schowane menu mobilne nie może poszerzać strony */
body { overflow-x: clip; }
@media (max-width: 64rem) { .top { overflow-x: clip; } #menu:not(.open) { pointer-events: none; } }
