/* RSMH Fjällsjö — warm Nordic experience layer */
:root {
  --forest-950: #0d3025;
  --forest-800: #18553f;
  --forest-600: #2f7a5c;
  --lake-500: #4e8f95;
  --cream-100: #fbf8f0;
  --clay-400: #d98662;
  --experience-shadow: 0 30px 80px rgba(13, 48, 37, 0.14);
}

body {
  background:
    radial-gradient(circle at 10% 8%, rgba(78, 143, 149, 0.08), transparent 28rem),
    radial-gradient(circle at 92% 32%, rgba(217, 134, 98, 0.07), transparent 24rem),
    var(--bg-gradient);
}

.navbar {
  border-bottom-color: rgba(13, 48, 37, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.navbar .container::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: var(--clay-400);
  box-shadow: 0 0 0 5px rgba(217, 134, 98, 0.12);
}

.nav-links a {
  letter-spacing: -0.01em;
}

.nav-links li:last-child a {
  color: #fff;
  background: var(--forest-950);
  box-shadow: 0 8px 22px rgba(13, 48, 37, 0.18);
}

.nav-links li:last-child a:hover,
.nav-links li:last-child a:focus-visible {
  color: #fff;
  background: var(--forest-800);
  transform: translateY(-1px);
}

.btn {
  border-radius: 999px;
  min-height: 3.35rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.24) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform 560ms ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(130%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--forest-800), var(--forest-600));
  box-shadow: 0 14px 30px rgba(24, 85, 63, 0.22);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(13, 48, 37, 0.2);
  backdrop-filter: blur(12px);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 2200;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--lake-500), var(--clay-400));
  pointer-events: none;
}

.home-hero {
  min-height: min(820px, calc(100svh - 82px));
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    linear-gradient(115deg, rgba(251, 248, 240, 0.97) 5%, rgba(255,255,255,.82) 52%, rgba(238,247,243,.8)),
    var(--page-hero-bg) center/cover no-repeat;
}

.page-hero .page-hero-inner.reveal,
.page-hero .page-hero-image.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(to bottom right, transparent 49%, #fff 50%);
  opacity: .94;
  pointer-events: none;
}

.experience-orb {
  position: absolute;
  width: 24rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .24;
  pointer-events: none;
  animation: experience-float 12s ease-in-out infinite alternate;
}

.experience-orb.is-lake {
  top: -12rem;
  right: 12%;
  background: radial-gradient(circle, rgba(78,143,149,.62), transparent 68%);
}

.experience-orb.is-clay {
  bottom: -15rem;
  left: 30%;
  background: radial-gradient(circle, rgba(217,134,98,.48), transparent 68%);
  animation-delay: -5s;
}

@keyframes experience-float {
  to { transform: translate3d(2rem, 1.5rem, 0) scale(1.08); }
}

.home-hero .page-hero-inner {
  grid-template-columns: minmax(0, .92fr) minmax(350px, 1.08fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
}

.hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.25rem;
  color: var(--forest-800);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-greeting::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.home-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.15rem, 6.2vw, 5.7rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.home-hero h1 span {
  display: block;
}

.home-hero h1 .hero-title-accent {
  margin-top: .08em;
  color: var(--forest-800);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .78em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.04em;
}

.home-hero .page-hero-lead {
  max-width: 39rem;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: #314b43;
}

.hero-promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-promise-list li {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--forest-950);
  font-size: .88rem;
  font-weight: 700;
}

.hero-promise-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay-400);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  transform: translate3d(0, var(--hero-shift, 0), 0);
  transition: transform 100ms linear;
}

.hero-visual .page-hero-image {
  position: absolute;
  inset: 1.75rem 0 0 2rem;
  aspect-ratio: auto;
  border: 8px solid rgba(255,255,255,.78);
  border-radius: 44% 56% 48% 52% / 48% 38% 62% 52%;
  box-shadow: var(--experience-shadow);
  transform: rotate(1.5deg);
}

.hero-visual .page-hero-image img {
  object-position: 52% center;
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  max-width: 230px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(13,48,37,.15);
}

.hero-float-card strong,
.hero-float-card span {
  display: block;
}

.hero-float-card strong {
  color: var(--forest-950);
  font-family: var(--font-family-display);
  font-size: 1.02rem;
}

.hero-float-card span {
  margin-top: .2rem;
  color: #486057;
  font-size: .82rem;
}

.hero-float-card.is-place { left: 0; bottom: 2.4rem; }
.hero-float-card.is-welcome { right: -1rem; top: 0; }

.hero-logo-stamp {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: .25rem;
  width: 92px;
  height: 92px;
  padding: .6rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 35px rgba(13,48,37,.18);
  animation: stamp-drift 6s ease-in-out infinite alternate;
}

.hero-logo-stamp img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

@keyframes stamp-drift { to { transform: translateY(-8px) rotate(2deg); } }

.home-action-grid {
  counter-reset: action-card;
}

.home-action-card {
  counter-increment: action-card;
  overflow: hidden;
  border: 1px solid rgba(13,48,37,.1);
  background: linear-gradient(160deg, rgba(255,255,255,.98), rgba(247,250,247,.9));
  box-shadow: 0 18px 50px rgba(13,48,37,.07);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
}

.home-action-card::before {
  content: "0" counter(action-card);
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  color: rgba(13,48,37,.15);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-style: italic;
}

.home-action-card:nth-child(2) { background: linear-gradient(160deg, #f5faf9, #edf5f4); }
.home-action-card:nth-child(3) { background: linear-gradient(160deg, #fffaf5, #fbf3ea); }

.home-action-card .feature-icon {
  background: var(--forest-950);
  color: #fff;
  box-shadow: 0 12px 26px rgba(13,48,37,.18);
}

.journey-assistant {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(78,143,149,.32), transparent 22rem),
    linear-gradient(135deg, var(--forest-950), #174f3d 58%, #275f58);
  border-radius: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--experience-shadow);
}

.journey-assistant::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -7rem;
  bottom: -10rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.02);
}

.journey-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 4.5rem);
}

.journey-assistant h2,
.journey-assistant p { color: #fff; }
.journey-assistant p { opacity: .8; }

.journey-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.journey-option {
  min-height: 64px;
  padding: .8rem 1rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 1rem;
  color: #fff;
  background: rgba(255,255,255,.08);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.journey-option:hover,
.journey-option:focus-visible,
.journey-option[aria-pressed="true"] {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.65);
  transform: translateY(-2px);
}

.journey-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 1.8rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}

.journey-result-kicker {
  margin-bottom: .7rem;
  color: #bde7d6;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.journey-result h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.journey-result .btn { margin-top: .5rem; background: #fff; color: var(--forest-950); }

.booking-availability {
  margin: 0 0 var(--spacing-8);
  padding: .9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  color: var(--color-text-muted);
  background: #f8faf9;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.5;
}

.booking-availability.is-checking { color: #315b60; border-color: #a9cdd0; background: #f0f8f8; }
.booking-availability.is-available { color: #14532d; border-color: #86c89f; background: #effaf3; }
.booking-availability.is-unavailable { color: #991b1b; border-color: #efaaaa; background: #fff4f4; }
.booking-availability.is-warning { color: #854d0e; border-color: #e8ca79; background: #fffbeb; }

.preview-grid {
  gap: clamp(2rem, 7vw, 6rem);
}

.preview-media {
  border-radius: 2.5rem;
  box-shadow: var(--experience-shadow);
}

.preview-media.is-menu-poster {
  max-height: 680px;
  padding: .65rem;
  background: linear-gradient(145deg, #fff, #eef6f0);
  transform: rotate(1.2deg);
}

.preview-media.is-menu-poster img {
  object-position: top;
  border-radius: 2rem;
}

.preview-card h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.section-light {
  background: linear-gradient(180deg, rgba(247,244,236,.78), rgba(255,255,255,.72));
  border-block: 1px solid rgba(13,48,37,.07);
}

.story-mosaic {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: 250px 250px;
  gap: 1rem;
}

.story-mosaic figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 2rem;
  box-shadow: 0 20px 50px rgba(13,48,37,.12);
}

.story-mosaic figure:first-child { grid-row: 1 / 3; }
.story-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.75,.25,1); }
.story-mosaic figure:hover img { transform: scale(1.04); }

.story-mosaic figcaption {
  position: absolute;
  inset: auto 1rem 1rem;
  width: fit-content;
  padding: .55rem .8rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(13,48,37,.72);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 700;
}

.final-cta-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(78,143,149,.2), transparent 18rem),
    linear-gradient(135deg, #fff, var(--cream-100));
  border: 1px solid rgba(13,48,37,.12);
  box-shadow: var(--experience-shadow);
}

.mobile-action-dock { display: none; }

@media (max-width: 900px) {
  .home-hero .page-hero-inner,
  .journey-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 470px; }
  .hero-visual .page-hero-image { left: 0; }
}

@media (max-width: 768px) {
  body { padding-bottom: 76px; }
  .navbar .container::after { display: none; }
  .nav-links li:last-child a { color: var(--color-text-main); background: transparent; box-shadow: none; }
  .home-hero { min-height: auto; padding: 3.5rem 0 5rem; }
  .home-hero::after { height: 42px; }
  .home-hero h1 { font-size: clamp(2.7rem, 13vw, 4.15rem); max-width: 10ch; }
  .home-hero .page-hero-actions { max-width: none; }
  .hero-visual { min-height: 360px; margin-top: .5rem; }
  .hero-visual .page-hero-image { inset: 1rem .5rem 0; border-radius: 2.4rem; transform: none; }
  .hero-float-card.is-welcome { right: 0; top: -.4rem; }
  .hero-float-card.is-place { left: 0; bottom: -.4rem; }
  .hero-logo-stamp { width: 70px; height: 70px; right: .25rem; bottom: -.6rem; }
  .journey-options { grid-template-columns: 1fr; }
  .story-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 170px; }
  .story-mosaic figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .preview-card h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .mobile-action-dock {
    position: fixed;
    z-index: 1800;
    inset: auto .75rem .65rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .35rem;
    padding: .4rem;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 1.35rem;
    background: rgba(13,48,37,.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(13,48,37,.28);
  }
  .mobile-action-dock a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: #fff;
    font-size: .76rem;
    font-weight: 800;
  }
  .mobile-action-dock a:first-child { background: rgba(255,255,255,.13); }
}

@media (prefers-reduced-motion: reduce) {
  .experience-orb,
  .hero-logo-stamp { animation: none !important; }
  .hero-visual,
  .home-action-card { transform: none !important; transition: none !important; }
  .btn::before { display: none; }
}
