/* ============================================================
   --bg            sivun tausta
   --ink           päätekstin väri
   --muted         himmeämpi leipäteksti
   --gold          korostus (napit, linjat, pienet otsikot)
   --font-display  otsikkofontti (Barlow Condensed)
   --font-body     leipäteksti (Outfit)
   Fontit ovat paikallisia tiedostoja kansiossa fonts/ (ei Google-yhteyttä).
   Lisenssi: fonts/LICENSE.txt
   ============================================================ */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --bg: #09090b;
  --bg-soft: #101013;
  --surface: #16161a;
  --ink: #f5f2eb;
  --muted: #c9c3b7;
  --gold: #e2c27a;
  --gold-strong: #f3d9a4;
  --ink-on-gold: #1a1408;
  --line: rgba(245, 242, 235, 0.12);
  --gold-line: rgba(226, 194, 122, 0.45);
  --header-h: 4.6rem;
  --max: 72rem;
  --pad: clamp(1.15rem, 4vw, 2rem);
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 1.35rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  scrollbar-color: #3a3428 var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: calc(5.1rem + env(safe-area-inset-bottom));
}

body.is-locked {
  padding-bottom: 0;
}

body.is-locked .skip-link,
body.is-locked .site-header,
body.is-locked main,
body.is-locked .site-footer,
body.is-locked .sticky-bar,
body.is-locked .whatsapp-float,
body.is-locked .lightbox {
  display: none;
}

.gate {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}

body:not(.is-locked) .gate {
  display: none;
}

.gate-card {
  width: min(26rem, 100%);
  padding: 1.6rem 1.35rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.gate-text {
  margin-bottom: 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.45rem);
  font-weight: 600;
  line-height: 1.05;
}

.gate-input {
  display: block;
  width: 100%;
  min-height: 3.15rem;
  margin-bottom: 0.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.gate-card .btn {
  width: 100%;
}

.gate-error {
  margin-top: 0.85rem;
  color: var(--gold-strong);
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote,
address {
  margin: 0;
}

address {
  font-style: normal;
}

a {
  color: inherit;
}

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

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

.btn-gold:focus-visible {
  outline-color: #fff;
}

#sisalto:focus,
section:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  z-index: 80;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--ink-on-gold);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

h1,
h2,
.logo-name,
.card h3,
.reason h3,
.info-card strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 3.9rem);
  margin-bottom: 0.9rem;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.copy p + p {
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.15rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink-on-gold);
}

.btn-gold:hover {
  background: var(--gold-strong);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(245, 242, 235, 0.28);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-strong);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

@media (max-width: 640px) {
  .hero-copy .btn-row,
  .booking-panel .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.js .site-header {
  height: var(--header-h);
}

.site-header.is-stuck {
  background: #09090b;
  border-bottom-color: rgba(226, 194, 122, 0.18);
}

.header-inner {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo-mark {
  height: 2.9rem;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.logo-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-role {
  display: block;
  margin-top: 0.22rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.js .nav-toggle {
  display: inline-grid;
}

.bars {
  display: grid;
  gap: 5px;
}

.bars span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .bars span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.nav-open .bars span:nth-child(2) {
  opacity: 0;
}

body.nav-open .bars span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink);
}

.nav-list a:hover {
  color: var(--gold-strong);
}

.menu-cta {
  display: none;
}

.nav-cta {
  min-height: 2.7rem;
  padding-inline: 1.1rem;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 1.75rem) 0 2.5rem;
  background:
    radial-gradient(ellipse 55% 60% at 88% 42%, rgba(226, 194, 122, 0.11), transparent 62%);
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.h1-name {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.55rem, 7.4vw, 5.35rem);
  max-width: 10.5em;
  text-wrap: balance;
}

.h1-accent {
  display: block;
  margin-top: 0.45rem;
  color: var(--gold);
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  max-width: 18em;
}

.hero-brand {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  margin: 0 0 1.25rem;
}

.hero-copy .copy {
  margin-top: 1.15rem;
}

.hero-copy .lede {
  margin-top: 0;
  color: var(--ink);
}

.hero-meta {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hero-frame {
  position: relative;
  margin: 0;
  padding: 0 0 1rem 1rem;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius);
  display: block;
  background: #141416;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 1rem 0 0 0;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  pointer-events: none;
}

.photo-badge {
  position: absolute;
  left: 1.85rem;
  bottom: 1.85rem;
  z-index: 1;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.72);
  border: 1px solid var(--gold-line);
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- Hyvinvointiedut ---------- */

.benefits {
  padding: 1.7rem 0 1.85rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.benefits-copy p:last-child {
  margin: 0;
  color: var(--muted);
}

.benefit-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.15rem 0 0;
  padding: 0;
}

.benefit-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.6rem;
  padding: 0.7rem 0.55rem;
  background: #f6f3ec;
  border-radius: 0.9rem;
}

.benefit-list img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 1.7rem;
  object-fit: contain;
}

.benefit-list img.benefit-logo-edenred {
  height: 3.15rem;
}

.benefits-note {
  margin: 1.35rem 0 0.7rem;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.booking-panel .benefit-list {
  margin-top: 0;
}

/* ---------- Stats ---------- */

.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.stats li {
  padding: 1.2rem 0.4rem;
  display: grid;
  gap: 0.2rem;
}

.stats strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(4.25rem, 8vw, 6.75rem) 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    var(--bg-soft);
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.card:hover {
  border-color: var(--gold-line);
  transform: translateY(-3px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-num {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.card h3 {
  margin: 0.7rem 0 0.55rem;
  font-size: 1.9rem;
  font-weight: 600;
}

.card p,
.reason p {
  color: var(--muted);
}

.fineprint {
  margin-top: 1.5rem;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.text-link {
  color: var(--gold-strong);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--gold);
}

/* ---------- Hinnasto ---------- */

.price-layout,
.price-extras {
  display: grid;
  gap: 1rem;
}

.price-extras {
  margin-top: 1rem;
}

.price-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.2rem;
}

.price-panel h3 {
  margin: 0 0 0.8rem;
  font-size: 1.85rem;
  font-weight: 600;
}

.price-panel-main {
  background:
    radial-gradient(ellipse at top right, rgba(226, 194, 122, 0.14), transparent 55%),
    var(--surface);
  border-color: rgba(226, 194, 122, 0.28);
}

.price-list,
.includes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.price-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0.2rem;
}

.price-list strong,
.price-amount {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-strong);
  letter-spacing: 0.02em;
}

.price-list strong {
  font-size: 1.7rem;
  white-space: nowrap;
}

.price-amount {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 5vw, 3.5rem);
  line-height: 0.95;
}

.price-amount span {
  font-size: 0.42em;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.includes li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1rem;
  color: var(--muted);
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 1px;
  background: var(--gold);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 2.75rem;
}

.pullquote {
  margin-top: 1.8rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.02;
  max-width: 16ch;
}

.pullquote cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reasons {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}

.reason {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.num {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.reason h3 {
  margin-bottom: 0.35rem;
  font-size: 1.7rem;
  font-weight: 600;
}

/* ---------- Booking ---------- */

.booking-panel {
  padding: clamp(1.6rem, 4vw, 3.5rem);
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse at top right, rgba(226, 194, 122, 0.16), transparent 52%),
    linear-gradient(180deg, #17171b, #101013);
  border: 1px solid rgba(226, 194, 122, 0.28);
}

.booking-paths {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.booking-path h3 {
  margin: 0 0 0.35rem;
  font-size: 1.7rem;
  font-weight: 600;
}

.booking-path p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.booking-path .btn {
  width: 100%;
}

.booking-path .btn + .btn {
  margin-top: 0.55rem;
}

.booking-panel .fineprint {
  margin-top: 1.15rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 0.85rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 100%;
  padding: 1.3rem 1.2rem 1.35rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.info-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
}

.info-card .kicker {
  margin-bottom: 0.35rem;
}

.info-card strong {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.info-card strong + span {
  color: var(--muted);
}

.map-block {
  margin-top: 1.25rem;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 18rem;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 20rem;
  border: 0;
}

.map-caption {
  margin-top: 0.75rem;
}

.map-caption a {
  color: var(--gold);
  font-weight: 500;
}

.social-block {
  margin-top: 2.25rem;
}

.social-block h3 {
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.social {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social a {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.social a:hover {
  color: var(--gold-strong);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 2.4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #070708;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.footer-brand {
  display: block;
  width: min(100%, 18rem);
  height: auto;
}

.footer-role {
  margin-top: 0.7rem;
  color: var(--muted);
}

.site-footer address {
  display: grid;
  gap: 0.25rem;
}

.site-footer address a {
  text-decoration: none;
}

.site-footer address a:hover {
  color: var(--gold-strong);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
}

/* ---------- Sticky mobile bar ---------- */

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.6rem;
  padding: 0.65rem var(--pad) calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(9, 9, 11, 0.94);
  border-top: 1px solid rgba(226, 194, 122, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sticky-bar .btn {
  flex: 1;
  min-height: 2.9rem;
}

.sticky-bar .btn-ghost {
  flex: 0.55;
}

body.nav-open .sticky-bar,
body.nav-open .whatsapp-float {
  visibility: hidden;
}

/* ---------- WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: calc(4.85rem + env(safe-area-inset-bottom));
  z-index: 41;
  display: grid;
  place-items: center;
  width: 3.45rem;
  height: 3.45rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

.whatsapp-float:hover {
  background: #1ebe5b;
}

@media (min-width: 861px) {
  .whatsapp-float {
    right: 1.35rem;
    bottom: 1.35rem;
  }
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.cards .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3) { transition-delay: 0.16s; }
.contact-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.contact-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ---------- Desktop ---------- */

@media (min-width: 800px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats li + li {
    border-left: 1px solid var(--line);
    padding-left: 1.25rem;
  }

  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: start;
  }
}

@media (min-width: 861px) {
  body {
    padding-bottom: 0;
  }

  .hero-frame {
    order: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.78fr);
    gap: 3rem;
  }

  .hero-frame img {
    aspect-ratio: 5 / 7;
    max-height: 74vh;
    width: 100%;
    height: 74vh;
    object-fit: cover;
  }

  .nav-toggle,
  .js .nav-toggle,
  .sticky-bar,
  .menu-cta {
    display: none;
  }

  .nav-panel {
    display: block;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .nav-list a {
    font-size: 0.98rem;
    letter-spacing: 0.03em;
  }
}

@media (min-width: 900px) {
  .benefits .benefit-list {
    margin-top: 1.4rem;
  }

  .benefit-list li {
    min-height: 6.2rem;
    padding: 1rem 1.2rem;
  }

  .benefit-list img {
    height: 2.5rem;
  }

  .benefit-list img.benefit-logo-edenred {
    height: 4.4rem;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-2 {
    grid-template-columns: 1fr 1fr;
  }

  .booking-paths {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .price-layout {
    grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .price-extras {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- Mobile menu (only after JS is available) ---------- */

@media (min-width: 700px) and (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(210px, 0.82fr);
    gap: 1.4rem;
    align-items: center;
  }

  .hero-frame img {
    width: 100%;
    height: min(58vh, 520px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 16%;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--header-h) + 0.85rem) 0 1.75rem;
  }

  .hero-grid {
    gap: 1.35rem;
  }

  /* Profiilikuva ensin: ei tuplaa CTA:ta heti latauksessa (sticky-palkki hoitaa toiminnot). */
  .hero-frame {
    order: -1;
    padding: 0 0 0.5rem 0.65rem;
  }

  .hero-frame img {
    max-height: min(48svh, 26rem);
    aspect-ratio: 4 / 5;
    width: 100%;
    height: auto;
  }

  .hero-copy .btn-row {
    display: none;
  }

  .js .nav-cta {
    display: none;
  }

  .js .nav-panel {
    position: fixed;
    z-index: 45;
    inset: var(--header-h) 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.75rem;
    padding: 1.4rem var(--pad) 6rem;
    background-color: #09090b;
    background-image: linear-gradient(180deg, rgba(9, 9, 11, 0.42), rgba(9, 9, 11, 0.22) 42%, rgba(9, 9, 11, 0.72)), url("../images/sidebar.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.4rem);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .js body.nav-open .nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .js body.nav-open {
    overflow: hidden;
  }

  .js .nav-list {
    display: grid;
    gap: 0.35rem;
  }

  .js .nav-list a {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 9vw, 2.8rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
  }

  .js .menu-cta {
    display: inline-flex;
    align-self: flex-start;
  }

  .logo-role {
    display: none;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.35rem;
  }
}

/* ---------- Galleria ---------- */

.gallery-switch {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
}

.js .gallery-switch {
  display: flex;
}

.gallery-tab {
  min-height: 2.7rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: transparent;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.gallery-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-on-gold);
}

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

.gallery-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.gallery-panel + .gallery-panel .gallery-label {
  margin-top: 1.6rem;
}

.js .gallery-label {
  display: none;
}

.js .gallery-panel:not(.is-active) {
  display: none;
}

.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.gallery-item {
  min-width: 0;
}

.gallery-link {
  display: block;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #141416;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
}

.gallery-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s var(--ease);
}

.gallery-link:hover img {
  transform: scale(1.04);
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .nav-list {
    gap: 0.45rem;
  }

  .nav-list a {
    font-size: 0.84rem;
  }

  .nav-cta {
    padding-inline: 0.7rem;
    font-size: 0.95rem;
  }

  .logo-role {
    display: none;
  }
}

.lightbox {
  width: min(96vw, 1100px);
  max-width: 96vw;
  max-height: 100vh;
  max-height: 100dvh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(5, 5, 7, 0.88);
}

.lightbox-frame {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
}

.lightbox-figure {
  margin: 0;
  min-width: 0;
}

.lightbox-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(82vh, 82dvh);
  margin-inline: auto;
  object-fit: contain;
  border-radius: 0.8rem;
  background: #141416;
}

.lightbox-count {
  margin-top: 0.65rem;
  text-align: center;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: rgba(9, 9, 11, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold-strong);
  border-color: var(--gold);
}

@media (max-width: 699px) {
  .lightbox-frame {
    grid-template-columns: 1fr;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .lightbox-prev {
    left: 0.35rem;
  }

  .lightbox-next {
    right: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .gallery-link:hover img {
    transform: none;
  }
}

@media (forced-colors: active) {
  .btn-gold,
  .logo-mark,
  .card,
  .info-card {
    border: 1px solid ButtonText;
  }
}
