:root {
  --gold: #d6c2a7;
  --gold-deep: #b7a48a;
  --ink: #1a1714;
  --muted: #5e574f;
  --paper: #f3efe8;
  --sand: #e6e0d6;
  --line: rgba(26, 23, 20, 0.14);
  --header: 76px;
  --serif: "Herculanum", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

@font-face {
  font-family: "Herculanum";
  src: url("fonts/Herculanum-Regular.woff2?v=6") format("woff2"),
       url("fonts/Herculanum-Regular.ttf?v=6") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--ink); }

html[lang="fi"] [data-lang="en"],
html[lang="en"] [data-lang="fi"] { display: none !important; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.8rem;
}

.skip:focus { transform: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header);
  padding: 0.85rem 1.4rem;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

.site-header.is-solid {
  background: rgba(18, 16, 14, 0.92);
  backdrop-filter: blur(12px);
}

.logo { display: block; margin-right: auto; }

.logo img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-nav {
  display: none;
  gap: 1.35rem;
}

.header-nav a,
.hero-nav a {
  color: white;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}

.header-nav a:hover,
.hero-nav a:hover,
.header-nav a[aria-current="true"] { color: var(--gold); }

.lang { display: flex; gap: 0.35rem; }

.lang button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: #ddd;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
}

.lang button[aria-pressed="true"],
.lang button:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  position: relative;
}

.nav-toggle-box,
.nav-toggle-box::before,
.nav-toggle-box::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  position: absolute;
  left: 11px;
}

.nav-toggle-box { top: 21px; }
.nav-toggle-box::before,
.nav-toggle-box::after { content: ""; left: 0; }
.nav-toggle-box::before { top: -7px; }
.nav-toggle-box::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-box { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-media,
.booking-media {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
}

.hero-media { background-image: url("images/start-hero.jpg"); }

.hero-shade,
.booking-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.hero-copy,
.booking-copy,
.location-copy { position: relative; z-index: 1; }

.hero-copy { padding: 6.5rem 1.25rem 3rem; }

.stamp {
  width: 92px;
  height: auto;
  margin: 0 auto 1.1rem;
}

h1, h2, .address {
  font-family: var(--serif);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
}

.hero-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.7rem;
  margin-top: 1.8rem;
}

.location-photo {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: grid;
  place-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.location-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.location-copy {
  max-width: 40rem;
  padding: 5rem 1.4rem;
}

.location-copy h2,
.booking-copy h2 { color: var(--gold); font-size: clamp(1.8rem, 4vw, 3rem); margin: 0 0 0.8rem; }

.location-copy p,
.booking-copy p { color: white; }

.location-facts {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem clamp(1.2rem, 4vw, 4rem);
  background: var(--paper);
}

.location-facts iframe {
  width: 100%;
  height: 320px;
  border: 0;
  background: var(--sand);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.45rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-deep);
}

.address {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.muted { color: var(--muted); }

.location-facts a { color: var(--ink); }

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.35rem;
}

.btn:hover { background: var(--gold-deep); color: white; }

.btn-bordered {
  background: transparent;
  border: 1px solid var(--gold);
  color: white;
}

.btn-bordered:hover { background: var(--gold); color: white; }

.chalets {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--sand);
}

.chalets-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 52vh;
  min-height: 52svh;
}

.chalets-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.chalets-copy h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.specs {
  margin-top: 0;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.amenity-list li {
  border: 1px solid var(--line);
  padding: 0.28rem 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery {
  background: #24211e;
  color: white;
  padding: calc(var(--header) + 1.25rem) 0 2.5rem;
}

.slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.slider-viewport { overflow: hidden; }

.slider-track {
  display: flex;
  gap: 0.9rem;
  transition: transform 0.45s ease;
}

.slide {
  flex: 0 0 68%;
  margin: 0;
  display: grid;
  place-items: center;
  opacity: 0.45;
  transition: opacity 0.45s ease;
  cursor: pointer;
}

.slide.is-active { opacity: 1; cursor: default; }

.slide img {
  width: 100%;
  height: min(68vh, calc(100vh - 240px));
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(214, 194, 167, 0.7);
  border-radius: 50%;
  background: rgba(18, 16, 14, 0.55);
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.slider-btn.prev { left: 0.8rem; }
.slider-btn.next { right: 0.8rem; }
.slider-btn:hover { background: var(--gold); color: var(--ink); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.slider-dots button[aria-current="true"] { background: var(--gold); }

.booking {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.booking-media { background-image: url("images/booking.jpg"); }

.booking-copy { padding: 6rem 1.25rem; max-width: 46rem; }

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 1.4rem 1.5rem;
  background: var(--ink);
  color: #cfc6ba;
  font-size: 0.92rem;
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--gold); }

@media (min-width: 900px) {
  .site-header.is-solid .header-nav { display: flex; }
}

@media (max-width: 899px) {
  .hero-nav { display: none; }
  .nav-toggle { display: block; }

  .header-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18, 16, 14, 0.96);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
  }

  .header-nav a { font-size: 1rem; }
  .site-header.is-open .header-nav { display: flex; }
  .site-header.is-open { background: transparent; }

  .chalets,
  .location-facts { grid-template-columns: 1fr; }

  .location-facts iframe { height: 260px; }
  .slide { flex-basis: 78%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider-track { transition: none; }
}
