:root {
  color-scheme: dark;
  --bg: #333;
  --panel: #2a2a2a;
  --text: #eee;
  --muted: #bbb;
  --line: #555;
  --gutter: clamp(16px, 4vw, 42px);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #ddd; outline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), 1080px); margin-inline: auto; }
.top { background: var(--panel); border-bottom: 1px solid var(--line); }
.top-inner, .brand, .sections, .languages, .actions, .footer { display: flex; align-items: center; }
.top-inner { min-height: 62px; justify-content: space-between; gap: 20px; }
.brand { gap: 8px; white-space: nowrap; font-weight: 700; text-decoration: none; }
.sections { gap: clamp(14px, 3vw, 28px); }
.sections a, .languages a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.sections a:hover, .languages a:hover, .languages a[aria-current] { color: var(--text); text-decoration: underline; }
.languages a { display: grid; min-width: 36px; min-height: 44px; place-items: center; }
.languages a[aria-current] { font-weight: 700; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
  padding-block: clamp(28px, 5vw, 62px);
}
.wordmark { width: min(250px, 100%); height: auto; margin-bottom: 15px; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.16; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); letter-spacing: -.02em; }
p { color: var(--muted); }
.hero p { margin-top: 12px; max-width: 40ch; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 70%; }
.actions { margin-top: 20px; flex-wrap: wrap; gap: 4px 18px; }
.button { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 600; }
.primary { padding: 8px 13px; border-radius: 3px; background: var(--text); color: #242424; text-decoration: none; }
.primary:hover { background: #d5d5d5; }
.overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(20px, 5vw, 60px); padding-block: 22px; border-top: 1px solid var(--line); }
.overview h2 { font-size: 1.15rem; }
.overview p, .contact p { margin-top: 6px; }
.date time { display: grid; margin-top: 6px; }
.date strong { font-size: 1.15rem; }
.date span { color: var(--muted); }
.block { margin-top: clamp(20px, 4vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.block > h2 { margin-bottom: 16px; }
.fishing, .gallery, .assets { display: grid; gap: 16px; }
.fishing { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); }
.gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 20px; }
.assets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
figure { margin: 0; min-width: 0; }
.preview { display: block; background: var(--panel); }
.preview:focus-visible { outline-offset: -3px; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.fishing .preview { height: clamp(230px, 36vw, 385px); }
.shot-fishing-at-dusk img { object-position: center 70%; }
.gallery .preview { aspect-ratio: 3 / 5; }
.gallery img { object-position: top; }
figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1px 10px; padding-top: 7px; font-size: .9rem; }
figcaption a, figcaption small { color: var(--muted); }
figcaption small { margin-left: 4px; }
.gallery figcaption { display: grid; }
.assets .preview { aspect-ratio: 16 / 9; }
.logo-preview { display: grid; place-items: center; padding: 12%; }
.logo-preview img { height: auto; }
.contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 16px; }
.footer { justify-content: space-between; border-top: 1px solid var(--line); margin-top: 25px; padding-block: 18px 26px; color: var(--muted); font-size: .9rem; }
dialog { width: max-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); background: var(--panel); color: var(--text); }
dialog::backdrop { background: rgb(0 0 0 / .8); }
.dialog-body { padding: 12px; display: grid; gap: 10px; justify-items: start; }
.dialog-bar { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-bar button { min-width: 44px; min-height: 44px; font: inherit; font-size: 1.5rem; border: 1px solid var(--line); background: var(--bg); color: inherit; cursor: pointer; }
.dialog-image { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 170px); object-fit: contain; justify-self: center; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .sections { display: none; }
  .hero, .overview, .assets, .fishing { grid-template-columns: 1fr; }
  .fishing .preview { height: auto; aspect-ratio: 4 / 3; }
  .shot-fishing-catch img { object-position: center 46%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
