/* =====================================================================
   Galeria — wygląd strony publicznej
   Kolory zmienisz w :root (tryb jasny) i w @media (prefers-color-scheme: dark).
   ===================================================================== */

@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/epilogue-latin-wght-normal.woff2") format("woff2-variations");
  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: "Epilogue";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/epilogue-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Caveat";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("fonts/caveat-latin-wght-normal.woff2") format("woff2-variations");
  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: "Caveat";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("fonts/caveat-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  /* „mgła nad fiordem” — chłodna zieleń zamiast beżu */
  --bg: #eef1ef;
  --surface: #ffffff;
  --ink: #15201c;
  --muted: #5b6863;
  --line: #d3dad6;
  --accent: #1d6a57;
  --on-photo: #ffffff;

  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --paper: #fbfaf6;
  --paper-ink: #2a2a28;
  --font: "Epilogue", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --row-h: 300px;
  --gap: 6px;
  --r-img: 4px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1412;
    --surface: #151d1a;
    --ink: #e4ebe8;
    --muted: #93a19c;
    --line: #25302c;
    --accent: #74c4aa;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
code { font-size: .9em; background: var(--line); padding: 1px 6px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-wide { max-width: 1800px; }
.wrap-text { max-width: calc(720px + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- admin bar */
.adminbar {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap; position: relative; z-index: 20;
  padding: 7px var(--gutter); font-size: 13px; background: var(--ink); color: var(--bg);
}
.adminbar a { color: inherit; font-weight: 600; text-decoration: none; }
.adminbar span { opacity: .65; margin-left: auto; }

/* ---------------------------------------------------------------- header */
.site-header { position: relative; z-index: 10; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 32px;
  flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1.15; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.brand-tag { font-size: 13px; color: var(--muted); }
.brand-logo { display: block; flex: none; }
.brand-logo img { display: block; width: auto; max-width: min(70vw, 420px); object-fit: contain; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-right: -10px; }
.site-nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 10px; border-radius: 999px;
  color: var(--muted); transition: color .15s, background-color .15s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current] { color: var(--ink); background: var(--surface); }

/* nagłówek nad zdjęciem */
.site-header.is-over { position: absolute; top: auto; left: 0; right: 0; color: var(--on-photo); }
.adminbar + .site-header.is-over { top: 33px; }
.is-over .brand-tag, .is-over .site-nav a { color: rgba(255, 255, 255, .78); }
.is-over .site-nav a:hover { color: #fff; }
.is-over .site-nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.is-over .brand, .is-over .brand-name { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }

/* ---------------------------------------------------------------- hero (zdjęcie na całą szerokość) */
.hero {
  position: relative; min-height: min(88vh, 900px); display: flex; align-items: flex-end;
  color: var(--on-photo); background: #1b2420; overflow: hidden; isolation: isolate;
}
.hero-gallery { min-height: min(72vh, 760px); }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  animation: hero-in 1.6s cubic-bezier(.2, .7, .1, 1) both;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(6, 12, 10, .78) 0%, rgba(6, 12, 10, .35) 38%, rgba(6, 12, 10, 0) 62%),
    linear-gradient(to bottom, rgba(6, 12, 10, .45), rgba(6, 12, 10, 0) 22%);
}
@keyframes hero-in { from { transform: scale(1.06); opacity: .4; } }
.hero-inner { padding-top: 140px; padding-bottom: clamp(32px, 6vw, 72px); display: grid; gap: 18px; }
.hero-title {
  margin: 0; font-weight: 800; letter-spacing: -.045em; line-height: .9;
  font-size: clamp(48px, 10vw, 148px); max-width: 14ch; text-wrap: balance;
}
.hero-gallery .hero-title { font-size: clamp(44px, 8vw, 120px); }
.hero-intro { max-width: 560px; font-size: 19px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.hero-intro p { margin: 0; }
.hero-intro a { color: #fff; }
.hero-meta { margin: 0; display: flex; gap: 22px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.hero-latest {
  justify-self: start; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  margin-top: 10px; padding: 12px 20px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .22); font-size: 15px; transition: background-color .2s;
}
.hero-latest:hover { background: rgba(255, 255, 255, .24); }
.hero-latest span { color: rgba(255, 255, 255, .75); }
.hero-latest strong { font-weight: 650; }

/* ---------------------------------------------------------------- typografia */
.display {
  font-weight: 800; letter-spacing: -.04em; line-height: .95;
  font-size: clamp(40px, 7vw, 96px); margin: 0 0 18px; text-wrap: balance;
}
.page-head { padding-top: clamp(40px, 8vw, 104px); padding-bottom: 36px; }
.page-meta { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.page-meta a { text-decoration: none; }
.page-meta a:hover { color: var(--ink); }
.lead { font-size: 20px; line-height: 1.55; max-width: 680px; }
.section { padding-top: clamp(48px, 7vw, 96px); padding-bottom: 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 48px); }
.section-title { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1; font-size: clamp(32px, 4.4vw, 56px); }
.more { font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.more:hover { color: var(--ink); }
.empty { color: var(--muted); }
.notice {
  justify-self: start; display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px;
  border-radius: 999px; background: var(--accent); color: var(--bg); margin: 0 0 6px;
}
.intro { padding-top: clamp(48px, 9vw, 120px); }
.intro-text { font-size: 20px; color: var(--muted); max-width: 620px; }

/* ---------------------------------------------------------------- treść (wpisy, strony) */
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 750; letter-spacing: -.03em; line-height: 1.15; margin: 1.8em 0 .5em; }
.prose h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose li { margin-bottom: .3em; }
.prose a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose img { display: block; margin: 2em auto; border-radius: var(--r-img); cursor: zoom-in; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent);
  font-size: 22px; line-height: 1.45; font-weight: 500; letter-spacing: -.01em;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }

/* ---------------------------------------------------------------- sortowanie */
.sortbar { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface); }
.sortbar a {
  font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px; text-decoration: none;
  color: var(--muted); transition: color .15s, background-color .15s;
}
.sortbar a:hover { color: var(--ink); }
.sortbar a[aria-current] { background: var(--ink); color: var(--bg); }

/* ---------------------------------------------------------------- galerie pogrupowane latami */
.year-group {
  display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 24px clamp(24px, 4vw, 56px);
  padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line);
}
.year {
  margin: 0; position: sticky; top: 24px; align-self: start;
  font-size: clamp(56px, 6.8vw, 100px); font-weight: 800; letter-spacing: -.05em; line-height: .8;
  font-variant-numeric: tabular-nums; color: var(--accent);
}
@media (max-width: 760px) {
  .year-group { grid-template-columns: 1fr; }
  .year { position: static; font-size: 64px; }
}

/* ---------------------------------------------------------------- kafelki galerii — polaroidy */
.ggrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); padding: 8px 4px 16px;
}
.gcard {
  display: block; text-decoration: none; color: var(--paper-ink);
  background: var(--paper);
  /* proporcje ramki polaroida: wąskie boki, szeroki dół */
  padding: 6% 6% 0;
  border-radius: 2px;
  transform: rotate(var(--tilt, 0deg));
  box-shadow:
    0 1px 1px rgba(20, 24, 22, .08),
    0 6px 14px -4px rgba(20, 24, 22, .22),
    0 18px 30px -18px rgba(20, 24, 22, .35);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
  position: relative;
}
.gcard::after {
  /* delikatna faktura papieru */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .6), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .025));
}
.gcard:hover, .gcard:focus-visible {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow:
    0 2px 2px rgba(20, 24, 22, .08),
    0 14px 24px -6px rgba(20, 24, 22, .28),
    0 30px 50px -24px rgba(20, 24, 22, .4);
  z-index: 2;
}
.gcard-img {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #d9d6cf;
}
.gcard-img::after {
  /* lekkie wewnętrzne cieniowanie jak na odbitce */
  content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 0 24px rgba(0, 0, 0, .12);
}
.gcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); }
.gcard-body {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 0; padding: 14px 4px 18px; text-align: center;
}
.gcard-title {
  font-family: var(--hand); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05;
  letter-spacing: 0; color: #24302c; text-wrap: balance;
  overflow-wrap: anywhere;
}
.gcard-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 12px; font-size: 13px; color: #77746c; }
@media (prefers-color-scheme: dark) {
  .gcard { box-shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 10px 24px -6px rgba(0, 0, 0, .6); }
  .gcard:hover, .gcard:focus-visible { box-shadow: 0 2px 2px rgba(0, 0, 0, .3), 0 20px 40px -10px rgba(0, 0, 0, .7); }
}
@media (max-width: 560px) {
  .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .gcard-title { font-size: 21px; }
  .gcard-meta { font-size: 12px; }
}

/* ---------------------------------------------------------------- strona galerii */
.gallery-about { padding-top: clamp(28px, 4vw, 48px); max-width: calc(820px + 2 * var(--gutter)); margin-left: 0; }
@media (min-width: 1321px) { .gallery-about { margin-left: calc((100vw - var(--wrap)) / 2); } }
.photos { padding-top: clamp(24px, 3vw, 40px); padding-left: var(--gap); padding-right: var(--gap); }

/* układ „justified” — rzędy równej wysokości, proporcje zachowane */
.justified { display: flex; flex-wrap: wrap; gap: var(--gap); }
.justified::after { content: ""; flex-grow: 999999; }
.jitem {
  position: relative; display: block; overflow: hidden; background: var(--line);
  flex-basis: calc(var(--r) * var(--row-h)); cursor: zoom-in;
}
.jitem img { display: block; width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .1, 1), filter .3s; }
.jitem:hover img { transform: scale(1.03); filter: brightness(1.05); }
@media (max-width: 900px) { :root { --row-h: 210px; } }
@media (max-width: 560px) { :root { --row-h: 150px; --gap: 3px; } }

.back { padding-top: 40px; padding-bottom: 64px; font-size: 15px; font-weight: 500; }
.back a { color: var(--muted); text-decoration: none; }
.back a::before { content: "← "; }
.back a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- tagi */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.tags a {
  display: inline-block; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted);
  background: var(--surface); border-radius: 999px; padding: 5px 14px; transition: color .15s;
}
.tags a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- blog */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 44px clamp(16px, 2vw, 28px); }
.pcard-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-img); background: var(--line); margin-bottom: 16px; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-date { font-size: 14px; color: var(--muted); }
.pcard-title { font-size: 23px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin: 4px 0 8px; }
.pcard-title a { text-decoration: none; }
.pcard-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pcard-excerpt { margin: 0; color: var(--muted); font-size: 16px; }
.post-cover { margin: 0 auto 48px; max-width: var(--wrap); }
.post-cover img { width: 100%; display: block; border-radius: var(--r-img); }
.section-blog { padding-bottom: 72px; }

.pager { display: flex; gap: 6px; justify-content: center; padding-top: 56px; }
.pager a {
  min-width: 40px; height: 40px; display: grid; place-items: center; text-decoration: none;
  border-radius: 999px; font-size: 15px; font-weight: 500; background: var(--surface);
}
.pager a[aria-current] { background: var(--ink); color: var(--bg); }

/* ---------------------------------------------------------------- kontakt */
.contact { padding-top: 12px; padding-bottom: 80px; }
.cform { display: grid; gap: 18px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .cform-row { grid-template-columns: 1fr; } }
.cform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.cform input, .cform textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; width: 100%;
}
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.hp { position: absolute; left: -9999px; }
.btn {
  justify-self: start; display: inline-block; font: inherit; font-size: 15px; font-weight: 600;
  background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 13px 26px;
  cursor: pointer; text-decoration: none; transition: opacity .15s;
}
.btn:hover { opacity: .86; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 15px; }
.alert p { margin: 0; }
.alert-ok { background: #dcefe6; color: #174233; }
.alert-err { background: #f6e0dc; color: #6d2414; }
@media (prefers-color-scheme: dark) {
  .alert-ok { background: #173328; color: #b7e4cf; }
  .alert-err { background: #3a1f1a; color: #f0bfb3; }
}
.notfound { padding-bottom: 104px; }

/* ---------------------------------------------------------------- stopka */
.site-footer { margin-top: 32px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- lightbox */
.lb-lock, .lb-lock body { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 1000; background: #070b0a; color: #eee; display: none; touch-action: pan-y;
  --lb-top: 56px; --lb-side: 64px; --lb-bottom: 64px;
}
.lb.is-open { display: block; animation: lbfade .2s ease; }
@keyframes lbfade { from { opacity: 0; } }
.lb-stage { position: absolute; inset: var(--lb-top) var(--lb-side) var(--lb-bottom); display: flex; align-items: center; justify-content: center; }
.lb-img {
  max-width: calc(100vw - 2 * var(--lb-side)); max-height: calc(100vh - var(--lb-top) - var(--lb-bottom));
  max-height: calc(100dvh - var(--lb-top) - var(--lb-bottom));
  width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .2s;
}
.lb.is-loading .lb-img { opacity: .25; }
.lb-spin {
  position: absolute; width: 34px; height: 34px; border: 2px solid rgba(255, 255, 255, .2);
  border-top-color: #fff; border-radius: 50%; animation: lbspin .8s linear infinite; display: none;
}
.lb.is-loading .lb-spin { display: block; }
@keyframes lbspin { to { transform: rotate(360deg); } }
.lb-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 15px;
}
.lb-cap { color: #ddd; }
.lb-cnt { color: #8b9692; font-variant-numeric: tabular-nums; margin-left: auto; }
.lb-btn {
  position: absolute; background: rgba(255, 255, 255, .08); border: 0; color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center;
  font: 300 30px/1 var(--font); transition: background-color .15s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-btn:focus { outline: none; }
.lb-btn:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 2px; }
.lb-close { top: 8px; right: 10px; font-size: 28px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb.is-single .lb-prev, .lb.is-single .lb-next, .lb.is-single .lb-cnt { display: none; }
@media (max-width: 640px) {
  .lb { --lb-top: 56px; --lb-side: 0px; --lb-bottom: 56px; }
  .lb-prev, .lb-next { display: none; }
}

/* ---------------------------------------------------------------- telefon */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }
  .site-nav { margin-left: -10px; }
  .site-nav a { font-size: 14px; padding: 5px 10px; }
  .brand-logo img { max-height: 40px; }
  .hero { min-height: 78vh; }
  .hero-gallery { min-height: 62vh; }
  .hero-inner { padding-top: 150px; }
  .photos { padding-left: 0; padding-right: 0; }
  .sortbar { width: 100%; }
  .sortbar a { flex: 1; text-align: center; }
}

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