/* ==========================================================================
   EIRIK — Life & Career Coaching
   Design system: Nordic humanism × Apple restraint
   ========================================================================== */

:root {
  /* color */
  --white: #ffffff;
  --ivory: #f5f4f0;
  --ivory-2: #efeee8;
  --charcoal: #12181f;
  --charcoal-soft: #1c242d;
  --olive: #5f6455;
  --olive-dark: #4a4e40;
  --slate: #4c5b68;
  --ink: #1a1f24;
  --ink-60: rgba(26, 31, 36, 0.6);
  --line: rgba(18, 24, 31, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.22);

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --fs-eyebrow: 0.75rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-h1: clamp(2.5rem, 5.6vw, 5.5rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.4rem);
  --fs-h3: clamp(1.375rem, 2vw, 1.75rem);

  /* layout */
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-pill: 999px;
  --nav-h: 84px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-s: 320ms;
  --dur-m: 620ms;
  --dur-l: 900ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.72;
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 1000;
  transition: top var(--dur-s) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ------------------------------ Buttons ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(18, 24, 31, 0);
  transition: background-color var(--dur-s) var(--ease),
    color var(--dur-s) var(--ease),
    border-color var(--dur-s) var(--ease),
    transform var(--dur-s) var(--ease),
    box-shadow var(--dur-s) var(--ease);
}
.btn svg { transition: transform var(--dur-s) var(--ease); flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(18, 24, 31, 0.35); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { background: var(--ivory); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--line-on-dark);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: var(--charcoal-soft); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline-dark:hover { background: var(--ivory); }

/* -------------------------------- Nav --------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.site-header.is-light .nav-inner { color: var(--ink); }

.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}
.brand-sub {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.72;
}
@media (max-width: 640px) { .brand-sub { display: none; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.86;
  transition: opacity var(--dur-s) var(--ease);
  position: relative;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-s) var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 28px; }

.nav-cta { height: 44px; padding: 0 22px; font-size: 0.86rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease), visibility var(--dur-m);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu ul {
  list-style: none;
  margin: 0 0 40px; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-menu a { font-size: 2rem; font-weight: 500; letter-spacing: -0.01em; }

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

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  overflow: visible;
  isolation: isolate; /* own stacking context — keeps the fog's z-index scoped to the hero */
  background: var(--charcoal);
}
/* This gradient sits ON TOP of the fog photo (higher z-index) and ends in
   the EXACT SAME color as .about's background — so no matter what tone the
   cloud photograph itself carries, the last pixels before About are
   guaranteed to be identical to it. This is what removes the seam. */
.hero::after {
  content: "";
  position: absolute;
  z-index: 21;
  left: 0; right: 0;
  bottom: 0; /* stays fully inside hero's own box — no cross-section overlap,
    so there is nothing for .about's stacking to ever cover or fight with */
  height: 190px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(245, 244, 240, 0) 0%,
    rgba(245, 244, 240, 0.35) 40%,
    rgba(245, 244, 240, 0.85) 70%,
    var(--ivory) 92%,
    var(--ivory) 100%
  );
}
.hero picture:has(.hero-fog) { display: contents; }

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden; /* clips the Ken Burns zoom so it never bleeds past the hero's own box */
}
.hero-media picture, .hero-media video {
  position: absolute; /* without this the video and the fallback picture stack
    in normal flow, one after the other — the fallback image then overflows
    hero-media's own box by a full hero-height and bleeds into About below */
  inset: 0;
}
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 58%;
  transform-origin: 68% 58%; /* zoom breathes outward from the same point it's framed on */
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero-media video { animation: none; }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 15, 0.54) 0%, rgba(8, 11, 15, 0.18) 30%, rgba(8, 11, 15, 0.3) 62%, rgba(8, 11, 15, 0.6) 100%);
}

/* Low mountain mist — a single DECORATIVE ABSOLUTE LAYER. It takes no space
   in document flow, is not a section, and sits only at the visual edge
   between hero and About (About starts immediately after in the DOM). */
.hero-fog {
  position: absolute;
  z-index: 20;
  left: -5%;
  bottom: 0; /* fully inside hero's own box, ending flush with its bottom edge */
  width: 110%;
  max-width: none; /* the global img{max-width:100%} would otherwise clip this */
  height: 190px;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  opacity: 0.72;
  filter: blur(3px);
  will-change: opacity;
  transition: opacity 0.6s var(--ease);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.25) 18%, rgba(0, 0, 0, 0.8) 58%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.25) 18%, rgba(0, 0, 0, 0.8) 58%, #000 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-fog { transition: none; }
}
@media (max-width: 720px) {
  .hero-fog { height: 130px; }
  .hero::after { height: 130px; }
}

/* Fixed copy sits inset from the edge, integrated with the landscape rather
   than pinned to a template-style left margin — it must be understood
   before anyone notices the rotating word beneath it. */
.hero-content {
  position: absolute;
  z-index: 30; /* always above the fog (20/19) — headline/CTA stay crisp, and never move into it */
  left: clamp(24px, 8vw, 150px);
  top: 28vh;
  width: min(48vw, 720px);
}

.hero-eyebrow {
  color: var(--white);
  margin-bottom: 22px;
  opacity: 0.8;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: clamp(3.4rem, 5.8vw, 6.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 30px;
}

.hero-title-cycle {
  position: relative;
  display: block;
  height: 1.1em;
  overflow: hidden;
}
.htc-item {
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.22em);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.htc-item.is-active { opacity: 1; transform: translateY(0); filter: blur(0); }
.htc-item.is-leaving { opacity: 0; transform: translateY(-0.16em); filter: blur(6px); }
@media (prefers-reduced-motion: reduce) {
  .htc-item { transition: opacity 0.3s linear; transform: none; filter: none; }
}

.hero-sub {
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  max-width: 40ch;
  opacity: 0.86;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.hero-scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  opacity: 0.4;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.4s linear;
}
.hero-scroll-cue .line {
  width: 1px; height: 34px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.hero-scroll-cue .line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--white);
  animation: cueDrop 2.2s var(--ease) infinite;
}
@keyframes cueDrop {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@media (max-width: 720px) { .hero-scroll-cue { display: none; } }

/* Hero word — a large cinematic typographic layer embedded in the scene,
   sitting above the fog (never swallowed by it) and well clear of the
   fixed headline above. A soft bottom-only mask lets its lower edge
   dissolve into the mist without fading its top like a list item. */
.hero-word-wrap {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 74vh;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.58;
  transition: opacity 0.6s linear, transform 0.6s var(--ease);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
}
.hero-word {
  position: relative;
  height: clamp(48px, 8vw, 112px); /* reserves space for the largest (short) word */
  font-weight: 350;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}
.hero-word-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(26px) scale(0.99);
  filter: blur(5px);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), clip-path 0.9s var(--ease), filter 0.9s var(--ease);
}
.hero-word-item.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  clip-path: inset(0 0 0% 0);
}
.hero-word-item.is-leaving {
  opacity: 0;
  transform: translateY(-18px) scale(1.008);
  filter: blur(4px);
  clip-path: inset(0 0 0% 0);
}
/* Short words read large; longer ones scale down and always stay on one line. */
.hero-word-item[data-len="short"] { font-size: clamp(62px, 8.4vw, 136px); }
.hero-word-item[data-len="med"] { font-size: clamp(50px, 6.1vw, 110px); }
.hero-word-item[data-len="long"] { font-size: clamp(42px, 5.2vw, 92px); }

/* Shorter browser windows (laptops) get a tighter vertical rhythm so the
   fixed copy and the rotating word never fight for the same space. */
@media (max-height: 950px) {
  .hero-content { top: 24vh; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-title { margin-bottom: 20px; font-size: clamp(2.8rem, 5vw, 5.2rem); }
  .hero-sub { margin-bottom: 30px; }
  .hero-word-wrap { top: 70vh; }
  .hero-word { height: clamp(34px, 6vw, 74px); }
  .hero-word-item[data-len="short"] { font-size: clamp(34px, 6.4vw, 80px); }
  .hero-word-item[data-len="med"] { font-size: clamp(28px, 5.4vw, 69px); }
  .hero-word-item[data-len="long"] { font-size: clamp(24px, 4.4vw, 56px); }
}

@media (max-width: 720px) {
  .hero-content { width: min(88vw, 600px); }
  .hero-title { font-size: clamp(48px, 12.5vw, 64px); line-height: 1.1; }
  .hero-eyebrow { font-size: 0.82rem; }
  .hero-word-wrap {
    left: 0; right: 0;
    bottom: 8%;
    top: auto;
    text-align: center;
    mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
  }
  .hero-word { height: clamp(31px, 10.4vw, 68px); }
  .hero-word-item { justify-content: center; }
  .hero-word-item[data-len="short"] { font-size: clamp(34px, 10.4vw, 68px); }
  .hero-word-item[data-len="med"] { font-size: clamp(24px, 7.2vw, 49px); }
  .hero-word-item[data-len="long"] { font-size: clamp(18px, 5.8vw, 39px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-word-item { transition: opacity var(--dur-s) linear; transform: none; clip-path: none; filter: none; }
}

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

.about {
  position: relative;
  /* No z-index here on purpose: .hero has isolation:isolate but no explicit
     z-index of its own, so it paints at the default (auto/0) level. Giving
     .about an explicit z-index (even a small one) would lift its entire box
     — flat background included — above hero's isolated stacking context,
     which silently erased the fog's 70-75px overlap into this section and
     was the real cause of the visible seam. Leave this at the default. */
  background: var(--ivory);
  margin-top: 0;
  padding: 96px 0 clamp(70px, 9vw, 140px); /* small breathing space after the mist — not a blank section */
}
@media (max-width: 720px) {
  .about { padding-top: 90px; }
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: stretch;
}
.about-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  align-self: center;
}
.about-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.3s var(--ease);
  will-change: transform;
}
.in-view .about-media img { transform: scale(1); }
.reveal-mask {
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform-origin: bottom;
  transform: scaleY(1);
  transition: transform 1.1s var(--ease);
}
.in-view .reveal-mask { transform: scaleY(0); }

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
.about-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  align-self: flex-start;
}
.about-copy .eyebrow { color: var(--olive); margin-bottom: 18px; }
.about-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
.about-text {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 40ch;
  margin: 40px 0 34px;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; align-items: start; }
  .about-media { aspect-ratio: 5 / 4; }
  .about-sticky { position: static; }
  .about-copy { min-height: 0; }
}

/* ------------------------------ Reveal-up ------------------------------ */

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.in-view .reveal-up { opacity: 1; transform: translateY(0); }
.stagger .reveal-up:nth-child(1) { transition-delay: 0ms; }
.stagger .reveal-up:nth-child(2) { transition-delay: 90ms; }
.stagger .reveal-up:nth-child(3) { transition-delay: 180ms; }
.stagger .reveal-up:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-mask, .about-media img { transition: opacity 0.3s linear !important; transform: none !important; }
}

/* ----------------------------- How it works ----------------------------- */

.how {
  background: var(--ivory);
  padding: clamp(90px, 11vw, 150px) 0 clamp(100px, 12vw, 160px);
}
.how-head {
  max-width: 640px;
  margin: 0 auto clamp(48px, 7vw, 88px);
  text-align: center;
}
.how-head .eyebrow { color: var(--olive); margin-bottom: 16px; }
.how-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.how-sub { font-size: var(--fs-body); line-height: 1.6; color: var(--ink-60); }

.how-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.how-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(214, 228, 242, 0.55), rgba(255, 255, 255, 0.28));
  border-radius: 20px;
  border: 1px solid rgba(150, 180, 210, 0.35);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 12px 32px rgba(40, 70, 110, 0.08);
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
}
.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 52px -22px rgba(40, 70, 110, 0.32);
  border-color: rgba(150, 180, 210, 0.6);
}
.how-card-top { padding: clamp(28px, 2.6vw, 40px) clamp(24px, 2.4vw, 32px); }
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(150, 180, 210, 0.5);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--olive-dark);
  box-shadow: 0 6px 16px -8px rgba(40, 70, 110, 0.3);
  transition: background-color var(--dur-m) var(--ease), color var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
}
.how-card:hover .how-num { background: var(--olive); border-color: var(--olive); color: var(--white); }
.how-card-title {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.how-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-60);
  margin-bottom: 26px;
  max-width: 34ch;
}
.how-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-s) var(--ease);
}
.how-link svg { transition: transform var(--dur-s) var(--ease); }
.how-link:hover { border-color: currentColor; }
.how-link:hover svg { transform: translateX(4px); }

@media (max-width: 960px) {
  .how-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ------------------------------- Sessions ------------------------------- */

.sessions {
  position: relative;
  color: var(--white);
  padding: clamp(90px, 12vw, 160px) 0;
  overflow: hidden;
}
.sessions-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sessions-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease), filter 1.1s var(--ease);
  transform: scale(1.04) translate3d(0, 0, 0);
  will-change: transform;
}
.sessions-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.55) 0%, rgba(11, 15, 20, 0.72) 100%);
}
.sessions[data-focus="30"] .sessions-media img { transform: scale(1.08) translate3d(-1.2%, -0.6%, 0); filter: brightness(1.07) saturate(1.05); }
.sessions[data-focus="40"] .sessions-media img { transform: scale(1.06) translate3d(0, -0.3%, 0); filter: brightness(1.09) saturate(1.06); }
.sessions[data-focus="60"] .sessions-media img { transform: scale(1.09) translate3d(1.2%, 0.4%, 0); filter: brightness(1.11) saturate(1.07); }

.sessions-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.sessions-head .eyebrow { color: var(--white); margin-bottom: 16px; }
.sessions-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.sessions-sub { opacity: 0.78; font-size: var(--fs-body); }

.sessions-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin: 0 auto;
}
.session {
  padding: 0 clamp(16px, 3vw, 44px);
  text-align: center;
  border-left: 1px solid var(--line-on-dark);
  transition: opacity 0.7s var(--ease);
}
.session:first-child { border-left: none; }
.sessions-grid.has-hover .session { opacity: 0.84; }
.sessions-grid.has-hover .session.is-focused { opacity: 1; }

.session-duration {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  opacity: 0.7;
  margin-bottom: 14px;
}
.session-name {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 18px;
}
.session-price {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 26px;
  position: relative;
}
.session-price::after {
  content: "";
  display: block;
  width: 30px; height: 1px;
  background: var(--line-on-dark);
  margin: 18px auto 0;
}
.session-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-s) var(--ease);
}
.session-link svg { transition: transform var(--dur-s) var(--ease); }
.session-link:hover { border-color: currentColor; }
.session-link:hover svg { transform: translateX(4px); }

@media (max-width: 760px) {
  .sessions-grid { grid-template-columns: 1fr; gap: 36px; max-width: 320px; }
  .session { border-left: none; border-top: 1px solid var(--line-on-dark); padding: 36px 0 0; }
  .session:first-child { border-top: none; padding-top: 0; }
}

/* ------------------------------- Reviews -------------------------------- */

.reviews {
  background: var(--white);
  padding: clamp(90px, 11vw, 150px) 0;
}
.reviews-head { text-align: center; margin-bottom: clamp(48px, 6vw, 76px); }
.reviews-head .eyebrow { color: var(--olive); margin-bottom: 16px; }
.reviews-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px 32px;
  background: var(--white);
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 24, 31, 0.2);
  box-shadow: 0 20px 44px -26px rgba(18, 24, 31, 0.24);
}
.review-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--olive);
  opacity: 0.4;
  margin-bottom: 6px;
}
.review-quote {
  font-size: 1.03rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 28px;
}
.review-person { display: flex; align-items: center; gap: 13px; }
.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 31, 0.08), 0 0 0 0 rgba(95, 100, 85, 0);
  transition: box-shadow var(--dur-m) var(--ease);
}
.review-card:hover .review-avatar {
  box-shadow: inset 0 0 0 1px rgba(18, 24, 31, 0.08), 0 0 0 4px rgba(95, 100, 85, 0.16);
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name { font-size: 0.88rem; font-weight: 600; letter-spacing: -0.005em; }

.review-card-dup { display: none; }

/* Mobile: a self-playing marquee instead of a manually dragged, scrollbar-showing
   strip — the track holds two identical sets of cards and slides exactly one
   set-width to the left on loop, so the seam is invisible. */
@media (max-width: 860px) {
  .reviews { overflow: hidden; }
  .reviews-track {
    display: flex;
    grid-template-columns: none;
    width: max-content;
    gap: 16px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    animation: reviewsMarquee 26s linear infinite;
  }
  .review-card { min-width: 82vw; }
  .review-card-dup { display: block; }
  .reviews-track:hover { animation-play-state: paused; }
  /* The track is now much wider than the viewport, so the scroll-reveal
     observer never sees enough of it to flip .in-view — force the cards
     visible here instead of waiting on that. */
  .review-card.reveal-up { opacity: 1; transform: none; }
}
@keyframes reviewsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reviews-track::-webkit-scrollbar { display: none; }
  .review-card { scroll-snap-align: center; }
  .review-card-dup { display: none; }
}

/* ------------------------------- Final CTA ------------------------------- */

.final-cta {
  position: relative;
  color: var(--white);
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.final-cta-media { position: absolute; inset: 0; z-index: 0; }
.final-cta-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 62% 30%;
  transform: scale(1.05);
  transition: transform 1.6s var(--ease);
}
.in-view .final-cta-media img { transform: scale(1); }
.final-cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 60% at 50% 46%, rgba(8, 11, 15, 0.5) 0%, rgba(8, 11, 15, 0.2) 60%, rgba(8, 11, 15, 0) 100%),
    linear-gradient(180deg, rgba(8, 11, 15, 0.38) 0%, rgba(8, 11, 15, 0.22) 35%, rgba(8, 11, 15, 0.5) 100%);
}
.final-cta-content { position: relative; z-index: 1; padding: 90px var(--gutter); max-width: 580px; }
.final-cta .eyebrow { color: var(--white); margin-bottom: 20px; }
.final-cta-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}

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

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand strong { font-size: 0.95rem; letter-spacing: 0.1em; }
.footer-brand span { font-size: 0.8rem; color: var(--ink-60); }

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.footer-links a { font-size: 0.86rem; opacity: 0.76; transition: opacity var(--dur-s) var(--ease); }
.footer-links a:hover { opacity: 1; }

.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
}
.footer-social a:hover { background: var(--ivory); }

.footer-tagline {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-60);
  text-align: center;
}

@media (max-width: 620px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-m) var(--ease);
}
.booking-modal.is-open { opacity: 1; pointer-events: auto; }

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 19, 24, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.booking-panel {
  --booking-muted: #4c5b68; /* slate, not flat gray — echoes the fjord photography */
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  scrollbar-width: none;
  background: rgba(250, 246, 236, 0.58);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: 0 50px 100px -24px rgba(10, 14, 18, 0.5);
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform var(--dur-m) var(--ease), opacity var(--dur-m) var(--ease);
}
.booking-panel::-webkit-scrollbar { display: none; }
.booking-modal.is-open .booking-panel { transform: translateY(0) scale(1); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .booking-modal, .booking-panel { transition: opacity var(--dur-s) linear; transform: none !important; }
}

.booking-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 32px);
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--booking-muted);
  cursor: pointer;
  transition: color var(--dur-s) var(--ease);
}
.booking-back:hover { color: var(--olive-dark); }

.booking-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.booking-close:hover { background: var(--white); transform: rotate(90deg); }

.booking-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 3.6vw, 44px);
  align-items: start;
}

/* --- Left: intro --- */
.booking-eyebrow { color: var(--olive-dark); margin-bottom: 14px; }
.booking-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.booking-headline em { font-style: normal; color: var(--olive); }
.booking-lede {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--booking-muted);
  max-width: 34ch;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.booking-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(20px, 3vw, 28px); }
.booking-features li { display: flex; align-items: flex-start; gap: 12px; }
.booking-feature-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(76, 91, 104, 0.14);
  border: 1px solid rgba(76, 91, 104, 0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate);
}
.booking-features strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--charcoal); margin-bottom: 2px; }
.booking-features li > div span { display: block; font-size: 0.85rem; color: var(--booking-muted); }

.booking-location {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--olive-dark);
}

/* --- Right: scheduler --- */
.booking-scheduler { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 20px); }
.booking-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 10px;
}

/* One step visible at a time — a short fade/slide instead of one long,
   scroll-everything stack. */
.booking-stepper { display: flex; gap: clamp(16px, 2.4vw, 28px); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.booking-step-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--booking-muted);
  opacity: 0.55;
  cursor: not-allowed;
  transition: color var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
.booking-step-tab.is-done { opacity: 0.85; cursor: pointer; color: var(--olive-dark); }
.booking-step-tab.is-done:hover { color: var(--olive); }
.booking-step-tab.is-active { opacity: 1; color: var(--charcoal); cursor: default; }

.booking-panel-step {
  animation: bookingStepIn 0.4s var(--ease);
}
@keyframes bookingStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .booking-panel-step { animation: none; }
}

.booking-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(95, 100, 85, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--olive-dark);
}
.booking-summary button {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--olive-dark);
  text-decoration: underline;
  cursor: pointer;
}

.booking-cal,
.booking-time,
.booking-form {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  padding: clamp(14px, 1.8vw, 20px);
}

.booking-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.booking-cal-month { font-family: var(--font-serif); font-size: 1.1rem; color: var(--charcoal); }
.booking-cal-nav { display: flex; gap: 8px; }
.booking-cal-navbtn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
.booking-cal-navbtn:hover { background: var(--ivory); }
.booking-cal-navbtn:disabled { opacity: 0.35; cursor: not-allowed; }

.booking-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.booking-cal-weekdays span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--booking-muted);
  opacity: 0.85;
}

.booking-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: clamp(32px, 4vw, 38px); gap: 4px; }
.booking-cal-day {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.booking-cal-day:hover:not(:disabled) { background: rgba(255, 255, 255, 0.7); }
.booking-cal-day:disabled { color: var(--ink-60); opacity: 0.35; cursor: not-allowed; }
.booking-cal-day.is-selected { background: var(--olive); color: var(--white); }
.booking-cal-day.is-outside { opacity: 0.3; }

.booking-selected-date { font-size: 0.95rem; font-weight: 600; color: var(--olive-dark); margin-bottom: 12px; }
.booking-time-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.booking-time-slot {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
}
.booking-time-slot:hover { border-color: var(--olive); }
.booking-time-slot.is-selected { background: var(--olive); border-color: var(--olive); color: var(--white); }
.booking-time-slot.is-hidden { display: none; }

.booking-more-times {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--booking-muted);
  cursor: pointer;
}
.booking-more-times svg { transition: transform var(--dur-s) var(--ease); }
.booking-more-times.is-expanded svg { transform: rotate(180deg); }
.booking-more-times:hover { color: var(--olive-dark); }

.booking-form { display: flex; flex-direction: column; gap: 12px; }
.booking-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--olive-dark); }
.booking-field em { font-weight: 400; opacity: 0.6; font-style: normal; }
.booking-field input,
.booking-field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 14px;
  resize: vertical;
  transition: border-color var(--dur-s) var(--ease), background-color var(--dur-s) var(--ease);
}
.booking-field input:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: rgba(255, 255, 255, 0.85);
}

.booking-submit { width: 100%; justify-content: center; margin-top: 4px; background: var(--olive); border-color: var(--olive); }
.booking-submit:hover { background: var(--olive-dark); }
.booking-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--booking-muted);
  margin: 2px 0 0;
}

@media (max-width: 860px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-form-row { grid-template-columns: 1fr; }
  .booking-time-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Success state --- */
.booking-success { text-align: center; padding: clamp(24px, 5vw, 40px) 0; }
.booking-check {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.7);
  opacity: 0;
  animation: bookingCheckIn 0.5s var(--ease) 0.1s forwards;
}
@keyframes bookingCheckIn {
  to { transform: scale(1); opacity: 1; }
}
.booking-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.booking-success p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--booking-muted);
  max-width: 34ch;
  margin: 0 auto 26px;
}
.booking-success .btn { margin: 0 auto; }
@media (prefers-reduced-motion: reduce) {
  .booking-check { animation: none; transform: scale(1); opacity: 1; }
}
