@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(czcionki/barlow-condensed-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(czcionki/barlow-condensed-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;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(czcionki/barlow-condensed-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(czcionki/barlow-condensed-600-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: 'Bitter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(czcionki/bitter-400-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(czcionki/bitter-400-800-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;
}
/* Arkusz atlasu szkolnego: nagłówek z poziomicami i szlakiem przez klasy,
   przedmioty jako krainy w barwach hipsometrycznych, materiały jako legenda mapy. */
:root{
  --sheet:#eef3ee; --panel:#ffffff; --ink:#17323a; --ink-soft:#4d6a70; --line:#b9cbc6;
  --sea:#2f7f93; --sea-deep:#1d5a6c; --low:#7fae6b; --mid:#e3c66a; --high:#c9793f; --peak:#8a4b2c; --route:#c8322b;
  --disp:"Bitter",Georgia,serif; --lab:"Barlow Condensed","Arial Narrow",sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root{--sheet:#10242a;--panel:#183239;--ink:#e6efe9;--ink-soft:#a3bcbb;--line:#35545a;--sea:#3f97ac;--sea-deep:#0f3f4d;--route:#ef6a5f;color-scheme:dark}}
*{box-sizing:border-box}
body{margin:0;background:var(--sheet);color:var(--ink);font-family:var(--disp);font-size:16px;line-height:1.55;padding-inline:16px;padding-block:20px 56px}
img,svg{max-width:100%}
.wrap{max-width:1080px;margin-inline:auto;display:flex;flex-direction:column;gap:40px}
.lab{font-family:var(--lab);text-transform:uppercase;letter-spacing:.12em;font-size:14px;font-weight:600}
a:focus-visible{outline:3px solid var(--route);outline-offset:3px}

/* nagłówek-mapa */
.hero{background:#1d5a6c;color:#f2f7f3;position:relative;overflow:hidden;border:1px solid var(--ink);outline:1px solid var(--ink);outline-offset:4px;margin:5px}
.hero>svg{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.hero .in{position:relative;padding:clamp(22px,4vw,44px);display:flex;flex-direction:column;gap:16px}
.coords{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#cfe4e2}
.coords>span{background:rgba(18,48,58,.78);padding:2px 8px;margin-inline:-8px}
.coords a{color:inherit}
h1{font-size:clamp(38px,7vw,72px);font-weight:800;line-height:1;margin:0;text-wrap:balance;letter-spacing:-.01em}
.brand{display:flex;align-items:center;gap:clamp(12px,2.5vw,24px)}
.brand svg{flex:none;width:clamp(60px,11vw,112px);height:auto}
.brand h1{min-width:0}
.hero.sub h1{font-size:clamp(34px,6vw,56px)}
.hero p{margin:0;max-width:52ch;font-size:18px;color:#e3eeea}

/* szlak klas */
.route{list-style:none;margin:14px -14px 0;padding:14px 14px 10px;display:flex;flex-wrap:wrap;row-gap:14px;background:rgba(18,48,58,.78)}
.route li{flex:1 1 120px;position:relative;padding-top:26px;min-width:0}
.route li::before{content:"";position:absolute;top:10px;left:0;right:0;border-top:3px dashed #f2f7f3;opacity:.55}
.route li:last-child::before{right:50%}
.route .stop{display:block;position:relative;padding-right:10px;color:#f2f7f3;text-decoration:none}
.route .stop::before{content:"";position:absolute;top:-25px;left:0;width:18px;height:18px;border-radius:50%;background:#1d5a6c;border:3px solid #f2f7f3}
.route .stop[aria-current]::before{background:#c8322b;box-shadow:0 0 0 5px rgba(200,50,43,.35)}
.route .stop.off{opacity:.6}
.route a.stop:hover b{text-decoration:underline}
.route a.stop:focus-visible{outline-color:var(--mid)}
.route b{display:block;font-size:20px;font-weight:800}
.route .stop span{font-family:var(--lab);font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:#cfe4e2}

h2{font-size:28px;font-weight:800;margin:0;line-height:1.15}
.head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:2px solid var(--ink);padding-bottom:8px}
.head .lab{color:var(--ink-soft)}
section{display:flex;flex-direction:column;gap:20px}

/* krainy */
.tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.tile{grid-column:span 2;background:var(--panel);border:1px solid var(--ink);color:var(--ink);text-decoration:none;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.tile.w3{grid-column:span 3}
.tile:hover{transform:translate(-3px,-3px);box-shadow:6px 6px 0 var(--ink)}
@media (prefers-reduced-motion:reduce){.tile{transition:none}.tile:hover{transform:none}}
.tile svg{display:block;width:100%;height:auto;aspect-ratio:5/3;border-bottom:1px solid var(--ink)}
.tile.w3 svg{aspect-ratio:5/2}
.tile .txt{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
.tile h3{margin:0;font-size:23px;font-weight:800;line-height:1.15}
.tile .lab{color:var(--ink-soft)}
.tile p{margin:0;font-size:15px}
.tile .go{margin-top:auto;padding-top:8px;font-family:var(--lab);font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--route)}
@media (max-width:860px){.tile,.tile.w3{grid-column:span 3}.tile.w3 svg{aspect-ratio:5/3}}
@media (max-width:540px){.tile,.tile.w3{grid-column:1/-1}}

/* legenda: lista materiałów */
.legend{list-style:none;margin:0;padding:0;border:1px solid var(--ink);background:var(--panel)}
.legend li{display:grid;grid-template-columns:22px 92px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 16px;border-top:1px solid var(--line)}
.legend li:first-child{border-top:0}
.sw{width:22px;height:22px;border:1px solid var(--ink)}
.legend time{font-family:var(--lab);font-size:16px;font-variant-numeric:tabular-nums;color:var(--ink-soft)}
.legend b{display:block;font-weight:600}
.legend small{font-family:var(--lab);font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft)}
.legend .opis{display:block;font-size:14px;color:var(--ink-soft)}
.legend .acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.btn{font-family:var(--lab);font-weight:600;font-size:14px;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;color:var(--ink);border:1px solid var(--ink);padding:3px 10px;white-space:nowrap}
.btn:hover{background:var(--mid);color:#17323a}
.btn.fill{background:var(--ink);color:var(--sheet)}
.btn.fill:hover{background:var(--route);border-color:var(--route);color:#fff}
@media (max-width:640px){.legend li{grid-template-columns:22px minmax(0,1fr)}.legend time{grid-column:2;grid-row:1}.legend li>div{grid-column:2}.legend .acts{justify-content:flex-start}.sw{grid-row:1}}
.empty{border:1px dashed var(--ink-soft);padding:20px;color:var(--ink-soft)}

footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--ink-soft);font-size:14px;border-top:1px solid var(--line);padding-top:14px}
.scale{display:flex;align-items:center;gap:8px}
.scale i{display:block;width:120px;height:8px;border:1px solid var(--ink-soft);background:linear-gradient(90deg,var(--ink-soft) 0 25%,transparent 25% 50%,var(--ink-soft) 50% 75%,transparent 75%)}
