/* Zimopark – frost, spruce and cranberry */
:root {
  --bg: #F6F7F5;
  --ink: #1E2B27;
  --muted: #52615C;
  --line: #DDE3E0;
  --soft: #ECEFEC;
  --spruce: #2C4136;
  --accent: #9C3A33;
  --accent-dark: #7E2C26;
  --cream: #F3E6CF;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(32px, 4vw, 42px); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-top: 16px; padding-bottom: 16px; }
.brand { font-family: var(--serif); font-weight: 500; font-size: 30px; text-decoration: none; }
.top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; font-size: 15px; font-weight: 500; }
.top li a { display: inline-block; padding: 12px 0; color: #3A4A45; text-decoration: none; }
.top li a:hover { color: var(--accent-dark); }
.top li a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.top .lang { color: var(--accent); font-weight: 700; }

/* buttons and links */
.btn, .btn-ghost, .btn-line, .pill-light { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn { background: var(--accent); color: #fff; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.16); border: 1.5px solid rgba(255, 255, 255, 0.75); color: #fff; font-weight: 600; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-line { border: 1.5px solid #C4CFCB; background: #fff; font-weight: 600; padding: 0 22px; }
.link { color: var(--accent); font-weight: 600; }
.link:hover { color: var(--accent-dark); }

/* hero */
.hero-frame { position: relative; border-radius: 20px; overflow: hidden; background: var(--spruce); aspect-ratio: 16 / 9; min-height: 480px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 20, 18, 0.8) 0%, rgba(14, 20, 18, 0.35) 40%, rgba(14, 20, 18, 0) 65%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(24px, 4vw, 48px); color: #fff; display: flex; flex-direction: column; gap: 10px; }
.hero-text .intro { margin: 0; color: var(--cream); font-size: 16px; font-weight: 500; }
.hero-text h1 { font-size: clamp(52px, 8vw, 92px); line-height: 0.95; }
.tagline { margin: 0; max-width: 34em; font-size: 19px; line-height: 1.5; color: #EEF1EF; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero-empty { padding-top: 56px; padding-bottom: 24px; }
.hero-empty h1 { font-size: clamp(52px, 8vw, 92px); margin: 8px 0 12px; }
.hero-empty .intro { margin: 0; color: var(--muted); }
.tagline-dark { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0; }
.empty { margin-top: 24px; padding: 18px 20px; border: 1.5px dashed #B8C4BF; border-radius: 12px; max-width: 40em; }

/* story */
.story { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding-top: 80px; padding-bottom: 24px; }
.story-text { flex: 1 1 380px; }
.story-text h2 { margin-bottom: 16px; }
.story-text p { margin: 0 0 14px; font-size: 18px; line-height: 1.7; color: #45534E; max-width: 36em; }
.story-photo { flex: 1 1 420px; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; }
.cover-img { width: 100%; height: 100%; object-fit: cover; }

/* section heads */
.block { padding-top: 72px; padding-bottom: 72px; }
.head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.head p { margin: 0; color: var(--muted); }
.block > h2 { margin-bottom: 28px; }

/* seasons */
.seasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; }
.season { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.season-photo { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); margin-bottom: 8px; }
.season-photo img { transition: transform 0.5s ease; }
.season:hover .season-photo img { transform: scale(1.03); }
.season-name { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.season-meta { font-size: 14px; color: var(--muted); }

/* little scenes */
.scenes-band { background: var(--soft); padding: 72px 0; }
.scenes { display: flex; flex-wrap: wrap; gap: 16px; }
.scene-big { flex: 2 1 520px; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; }
.scene-col { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.scene-small { flex: 1 1 0; min-height: 200px; border-radius: 16px; overflow: hidden; }

/* page cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.card:hover { border-color: #B8C4BF; color: var(--ink); }
.card-title { font-family: var(--serif); font-size: 23px; }
.card-text { font-size: 15px; line-height: 1.5; color: var(--muted); flex: 1; }
.card-more { font-weight: 600; color: var(--accent); }

/* follow */
.follow { background: var(--spruce); color: #fff; padding: 56px 0; }
.follow-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.follow h2 { font-size: 36px; }
.follow p { margin: 8px 0 0; color: #D5E1DA; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-light { background: #fff; color: var(--spruce); padding: 0 22px; }
.pill-light:hover { background: var(--cream); color: var(--spruce); }

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 36px; font-size: 14px; color: var(--muted); }

/* season page */
.season-head { padding-top: 24px; padding-bottom: 32px; }
.crumbs { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.season-head h1, .prose h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; }
.about { max-width: 40em; margin-top: 14px; color: var(--muted); font-size: 18px; }
.about p { margin: 0 0 10px; }
.years { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.year { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #C4CFCB; background: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.year[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.tile { display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--line); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tile:hover img { transform: scale(1.03); }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 960px; border-radius: 16px; overflow: hidden; background: var(--spruce); margin-bottom: 20px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 48px; padding-top: 28px; padding-bottom: 48px; border-top: 1px solid var(--line); }

/* photo viewer */
#viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 16px 16px 20px; border: 0; background: rgba(16, 22, 20, 0.97); color: #fff; }
#viewer[open] { display: flex; flex-direction: column; gap: 12px; }
#viewer::backdrop { background: rgba(16, 22, 20, 0.6); }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; color: #E3EAE7; font-size: 15px; }
.viewer-stage { flex: 1; min-height: 0; display: flex; align-items: center; gap: 12px; }
.viewer-img { flex: 1; min-width: 0; height: 100%; width: 100%; object-fit: contain; }
.viewer-caption { margin: 0; text-align: center; color: #D3DDD9; }
.round { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid #7F8F89; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.round:hover { background: rgba(255, 255, 255, 0.12); }
.viewer-next { background: var(--accent); border-color: var(--accent); }
.viewer-next:hover { background: var(--accent-dark); }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .viewer-stage .round { position: absolute; bottom: 20px; }
  .viewer-prev { left: 16px; }
  .viewer-next { right: 16px; }
  #viewer { padding-bottom: 84px; }
}

/* text pages */
.prose { max-width: 760px; padding-top: 24px; padding-bottom: 72px; }
.prose h1 { margin-bottom: 24px; }
.prose h2 { font-size: 30px; margin: 36px 0 12px; }
.prose h3 { font-size: 23px; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 18px; line-height: 1.7; }
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: 12px; }
.prose figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin-bottom: 8px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-frame { aspect-ratio: auto; min-height: 560px; }
  .top ul { gap: 0 16px; }
  .story { padding-top: 56px; }
  .block, .scenes-band { padding-top: 56px; padding-bottom: 56px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tile { border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
