:root {
  --bg: #f4efe6;
  --paper: #fbf7f1;
  --ink: #1b1714;
  --muted: #5f584e;
  --line: #e3dacb;
  --night: #10141b;
  --bulb: #f0c27a;
  --display: "Newsreader", Georgia, serif;
  --body: "Outfit", system-ui, sans-serif;
  --radius: 12px;
  --gap: 20px;
  --header: 76px;
  --container: 1200px;
  --vg-background: var(--paper);
  --vg-foreground: var(--ink);
  --vg-muted: var(--muted);
  --vg-border: var(--line);
  --vg-primary: var(--ink);
  --vg-font-body: var(--body);
  --vg-font-display: var(--display);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10000;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: max(20px, calc((100% - var(--container)) / 2));
  background: rgba(244, 239, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.logo { display: flex; align-items: center; }
.logo img { height: 58px; width: auto; display: block; }
nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
}
nav a, summary {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
summary { list-style: none; min-height: 44px; display: flex; align-items: center; }
summary::-webkit-details-marker { display: none; }
details { position: relative; }
.navdrop {
  position: absolute;
  top: calc(100% - 6px);
  left: -12px;
  min-width: 220px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 20, 27, 0.08);
}
.navdrop a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; }
.navdrop a:hover, .navdrop a[aria-current="page"] { background: #efe8dc; }
.navmobile {
  display: none;
  border: 0;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 500;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--night);
  color: #f7f2ea;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--night);
  cursor: pointer;
}
.btn--light { background: #f7f2ea; color: var(--night); border-color: transparent; }
.btn--ghost { background: transparent; color: #f7f2ea; border-color: rgba(247, 242, 234, 0.55); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
header .btn { margin-left: 8px; }

.hero, .page-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header));
  color: #f7f2ea;
  overflow: hidden;
}
.page-hero { min-height: 78vh; }
.hero img, .page-hero img, .shot img, .ice img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero img { object-position: center 86%; }
.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 20, 27, 0.08) 0%, rgba(16, 20, 27, 0.18) 42%, rgba(16, 20, 27, 0.82) 100%);
}
.hero__content, .page-hero__content {
  position: relative;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.hero h1, .page-hero h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}
.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 7vw, 6rem);
}
.hero h1 em, .page-hero h1 em { font-style: italic; font-weight: 500; color: var(--bulb); }
.lede, .intro {
  max-width: 42ch;
  margin: 18px 0 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #f3ece3;
}
.hero__actions, .page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
}
.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 8px;
  color: #f7f2ea;
  text-decoration: none;
  font-size: 15px;
}
.page-hero h1 { max-width: 14ch; font-size: clamp(3rem, 6vw, 5rem); }

.chapter { padding: 72px 0 28px; }
.chapter h2 { font-size: clamp(2.6rem, 4.5vw, 3.5rem); max-width: 14ch; }
.kicker { margin: 0 0 10px; color: var(--muted); font-size: 15px; font-weight: 500; }

.shot {
  position: relative;
  display: block;
  min-height: 82vh;
  color: #f7f2ea;
  text-decoration: none;
  overflow: hidden;
}
.shot--train { min-height: 74vh; }
.shot img { transition: transform 0.8s ease; }
.shot:hover img { transform: scale(1.035); }
.shot .shade { background: linear-gradient(180deg, rgba(16, 20, 27, 0.05) 30%, rgba(16, 20, 27, 0.78) 100%); }
.shot__copy {
  position: absolute;
  left: max(20px, calc((100% - var(--container)) / 2));
  bottom: 40px;
  max-width: 540px;
}
.shot--right .shot__copy { left: auto; right: max(20px, calc((100% - var(--container)) / 2)); }
.shot h3 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.shot p { margin: 12px 0 0; max-width: 42ch; color: #f3ece3; font-size: 1.05rem; }
.more { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 560px;
  background: var(--paper);
}
.split__photo { position: relative; min-height: 460px; overflow: hidden; display: block; }
.split--flip .split__photo img { object-position: center 36%; }
.split__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.split__photo:hover img { transform: scale(1.03); }
.split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
}
.split__copy h3 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.split__copy p { margin: 16px 0 0; max-width: 38ch; color: var(--muted); }
.split--flip { grid-template-columns: 0.85fr 1.15fr; }
.split--flip .split__photo { order: 2; }

.winter {
  background: var(--night);
  color: #f7f2ea;
  padding: 80px 0;
}
.winter .kicker { color: #d9d1c4; }
.winter h2 { font-size: clamp(2.6rem, 4.5vw, 3.5rem); max-width: 12ch; }
.winter__lead { max-width: 42ch; color: #d9d1c4; margin: 16px 0 28px; }
.winter__stage {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 20px;
}
.ice {
  position: relative;
  display: block;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #f7f2ea;
  text-decoration: none;
}
.ice--side { min-height: 560px; }
.ice img { transition: transform 0.8s ease; }
.ice:hover img { transform: scale(1.04); }
.ice .shade { background: linear-gradient(180deg, rgba(16, 20, 27, 0) 40%, rgba(16, 20, 27, 0.82) 100%); border-radius: inherit; }
.ice__copy { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.ice h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.ice p { margin: 8px 0 0; max-width: 36ch; color: #f3ece3; font-size: 1rem; }

.family { padding: 88px 0; }
.family__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.family figure { margin: 0; background: #e9e2d6; padding: 28px; }
.family img { display: block; width: 100%; height: auto; }
.family h2 { font-size: clamp(2.6rem, 4.5vw, 3.5rem); }
.family p { color: var(--muted); max-width: 46ch; }

.cta { padding: 28px 0 96px; }
.cta__box {
  background: var(--paper);
  border-radius: 16px;
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.cta h2 { font-size: clamp(2.6rem, 5vw, 4rem); max-width: 10ch; }
.cta p { margin: 12px 0 0; color: var(--muted); }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.quiet { color: var(--muted); font-size: 15px; }
.quiet a { color: var(--ink); }

.gallery-block { padding: 64px 0 20px; }
.gallery-block h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 20px; }
.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 250px;
  gap: 12px;
}
.mosaic .zoom:first-child { grid-row: span 2; }
.zoom {
  padding: 0;
  border: 0;
  background: #ddd4c6;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  min-height: 44px;
}
.zoom img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.zoom:hover img { transform: scale(1.04); }
.mosaic--few { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
.mosaic--few .zoom:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
.video-frame {
  margin-top: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
}
.video-frame video { display: block; width: 100%; max-height: 78vh; }

dialog {
  border: 0;
  padding: 12px;
  background: var(--night);
  color: #f7f2ea;
  border-radius: var(--radius);
  max-width: min(96vw, 1100px);
}
dialog::backdrop { background: rgba(10, 12, 16, 0.82); }
dialog img { display: block; max-width: 100%; max-height: 78vh; margin-inline: auto; }
dialog .btn { margin-top: 10px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 72px 0 96px;
  align-items: start;
}
.contact-grid h1 { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 0.98; letter-spacing: -0.03em; margin: 0; }
.contact-grid .plain { color: var(--muted); max-width: 36ch; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d5cbbd;
  border-radius: 12px;
  background: var(--paper);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; }
.form small, .form output { color: var(--muted); font-size: 15px; }

.prose { padding: 64px 0 96px; max-width: 74ch; }
.prose h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; margin: 0 0 16px; }
.prose h2 { font-size: 1.6rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--ink); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px max(20px, calc((100% - var(--container)) / 2)) 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px 32px;
  font-size: 15px;
}
footer p { margin: 4px 0; color: var(--muted); }
footer a { color: var(--ink); }
.credit { grid-column: 1 / -1; margin-top: 8px; }
.credit a { color: var(--muted); text-decoration: none; }

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #1f6b45;
  color: white;
  box-shadow: 0 10px 24px rgba(16, 20, 27, 0.18);
}
.wa svg { width: 26px; height: 26px; display: block; }

.vg-cookie { position: fixed; inset: auto 0 0 0; z-index: 80; }
.vg-cookie[hidden] { display: none !important; }
.vg-cookie__panel {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(26, 26, 26, 0.12);
  font-family: var(--body);
}
.vg-cookie__inner { width: min(1200px, calc(100% - 40px)); margin-inline: auto; padding: 20px 0 22px; }
.vg-cookie__title { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.35rem; }
.vg-cookie__text, .vg-cookie__cat-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.vg-cookie__text p { margin: 0 0 8px; }
.vg-cookie__text a { color: var(--ink); }
.vg-cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vg-cookie__btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 500;
}
.vg-cookie__btn--primary { background: var(--night); color: #f7f2ea; border-color: var(--night); }
.vg-cookie__cats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.vg-cookie__cat-head { display: flex; align-items: center; gap: 10px; }
.vg-cookie__cat-badge { font-size: 13px; color: var(--muted); }
.vg-cookie__switch { width: 44px; height: 24px; margin-left: auto; }

.admin { padding-bottom: 80px; }
.admin h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.4rem); margin: 12px 0; }

@media (max-width: 900px) {
  .logo img { height: 46px; }
  .navmobile { display: inline-flex; align-items: center; }
  nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 20px;
    gap: 0;
  }
  nav.open { display: flex; }
  nav > a, summary { min-height: 48px; }
  .navdrop { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; background: transparent; }
  header .btn { margin: 8px 0 12px; }
  .split, .split--flip, .family__grid, .winter__stage, .contact-grid, .cta__box, footer {
    grid-template-columns: 1fr;
  }
  .split--flip .split__photo { order: 0; }
  .split__copy, .cta__box { padding: 32px 20px; }
  .family { padding: 48px 0; }
  .family figure { padding: 16px; }
  .chapter, .winter, .gallery-block { padding-left: 0; padding-right: 0; }
  .winter { padding: 48px 0; }
  .ice, .ice--side { min-height: 420px; }
  .shot { min-height: 78vh; }
  .mosaic, .mosaic--few { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .mosaic .zoom:first-child, .mosaic--few .zoom:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 240px; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 3.6rem); }
  .wa { right: 12px; bottom: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero__content, .page-hero__content { margin-bottom: 0; }
  .mosaic, .mosaic--few { grid-template-columns: 1fr; }
  .cta { padding-bottom: 64px; }
  footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot img, .split__photo img, .ice img, .zoom img { transition: none; }
  .shot:hover img, .split__photo:hover img, .ice:hover img, .zoom:hover img { transform: none; }
}
