/* =========================================================
   DANIELLA — NUTRICIONISTA
   Editorial / quiet luxury. Paper, graphite, a touch of saffron.
   ========================================================= */

:root {
  --paper: #ededeb;
  --paper-2: #f5f4f1;
  --paper-3: #e3e2de;
  --ink: #1d2022;
  --graphite: #464c50;
  --muted: #63686b;
  --saffron: #f0b91f;
  --line: rgba(29, 32, 34, 0.14);
  --line-light: rgba(237, 237, 235, 0.16);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, sans-serif;

  --pad: clamp(20px, 3.4vw, 60px);
  --gap: clamp(16px, 2vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* type scale — one step per role */
  --fs-display: clamp(2.9rem, 7vw, 8.4rem);   /* h2 section titles */
  --fs-h3: clamp(2rem, 3.8vw, 4.4rem);         /* list / card titles */
  --fs-h4: clamp(1.4rem, 2.1vw, 2.3rem);       /* questions, quotes */
  --fs-lead: clamp(1.15rem, 1.45vw, 1.5rem);   /* lead paragraphs */
  --fs-body: clamp(1rem, 1.05vw, 1.125rem);
  --fs-body-sm: 0.95rem;
  --fs-small: 0.8rem;                          /* eyebrows, labels */

  /* vertical rhythm */
  --space-section: clamp(104px, 12vw, 220px);
  --space-head: clamp(56px, 7vw, 120px);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--saffron); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.hero :focus-visible, .method :focus-visible, .cta :focus-visible, .footer :focus-visible,
.menu :focus-visible, .plan--feature :focus-visible, .book-pill:focus-visible { outline-color: var(--saffron); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; border-radius: 100px;
  background: var(--ink); color: var(--paper); font-size: var(--fs-body-sm);
  transform: translateY(-160%); transition: transform 0.4s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Shared type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.display em, .hero__title em, .cta__title em { font-style: italic; letter-spacing: -0.035em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--graphite);
}
.eyebrow i { font-style: normal; color: var(--muted); }
.eyebrow--light { color: rgba(237, 237, 235, 0.7); }
.eyebrow--light i { color: rgba(237, 237, 235, 0.4); }

.section-head { padding: 0 var(--pad); margin-bottom: var(--space-head); }
.section-head--split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: end;
}
.section-head--split .eyebrow { grid-column: 1 / 4; align-self: start; padding-top: 0.8em; }
.section-head--split .display { grid-column: 4 / -1; }


/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* static on purpose: an animated full-screen layer above everything costs every scroll frame */
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: var(--pad);
}
.no-js .loader, .loader.is-done { display: none; }
.loader__name {
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(4rem, 17vw, 18rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.loader__word { display: inline-block; }
.loader__word .char { display: inline-block; will-change: transform; }
.loader__meta {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--graphite);
}
.loader__count {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 0.8;
  text-transform: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- Cursor ---------- */
.cursor, .follower { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid;
    place-items: center;
    position: fixed;
    top: 0; left: 0;
    width: 10px; height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 99;
    transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), background-color 0.3s;
  }
  .cursor__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: var(--ink);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.3s, transform 0.5s var(--ease);
    white-space: nowrap;
  }
  .cursor.is-label {
    width: 92px; height: 92px; margin: -46px 0 0 -46px;
    background: var(--saffron);
    mix-blend-mode: normal;
  }
  .cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
  .cursor.is-hidden { width: 0; height: 0; margin: 0; }

  .follower {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: clamp(220px, 19vw, 340px);
    aspect-ratio: 4 / 5;
    pointer-events: none;
    z-index: 30;
    overflow: hidden;
    clip-path: inset(50% 50% 50% 50%);
    transition: clip-path 0.7s var(--ease);
  }
  .follower.is-active { clip-path: inset(0 0 0 0); }
  .follower__inner { position: absolute; inset: 0; }
  .follower__inner img { position: absolute; inset: 0; transition: opacity 0.5s, transform 1s var(--ease); }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(18px, 2vw, 30px) var(--pad);
  color: var(--ink);
  /* no mix-blend-mode: blending a fixed bar re-composites the page on every scroll frame */
  transition: transform 0.8s var(--ease), color 0.4s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: baseline; gap: 0; justify-self: start; }
.brand__name { font-family: var(--serif); font-size: 1.65rem; letter-spacing: -0.02em; line-height: 1; }
.brand__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin: 0 0.9em 0 0.2em; transform: translateY(-1px); }
.brand__role { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.75; }

.nav { display: flex; gap: clamp(18px, 2.2vw, 36px); font-size: 0.86rem; letter-spacing: 0.01em; }
.nav a { opacity: 0.66; transition: opacity 0.4s; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.menu-btn {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.16em;
  min-height: 44px;
}
.menu-btn__lines { position: relative; width: 26px; height: 8px; }
.menu-btn__lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.6s var(--ease), top 0.6s var(--ease); }
.menu-btn__lines i:first-child { top: 0; }
.menu-btn__lines i:last-child { top: 6.5px; }
.menu-open .menu-btn__lines i:first-child { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-btn__lines i:last-child { top: 3.25px; transform: rotate(-45deg); }

/* rolling hover text */
[data-hover-text] { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
[data-hover-text] .roll { display: block; transition: transform 0.6s var(--ease); }
[data-hover-text] .roll + .roll { position: absolute; left: 0; top: 100%; }
[data-hover-text]:hover .roll { transform: translateY(-100%); }

/* ---------- Floating book pill ---------- */
.book-pill {
  position: fixed;
  right: var(--pad);
  bottom: clamp(18px, 2.4vw, 34px);
  z-index: 55;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px 15px 18px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 40px -12px rgba(29, 32, 34, 0.45);
  transition: opacity 0.5s, transform 0.8s var(--ease), background-color 0.4s;
}
.book-pill:hover { background: var(--graphite); }
.book-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); position: relative; }
.book-pill__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--saffron); animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.book-pill.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ---------- Menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 58; pointer-events: none; visibility: hidden; }
.menu.is-open { pointer-events: auto; visibility: visible; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: top; }
.menu__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(110px, 14vh, 160px) var(--pad) var(--pad);
  color: var(--paper);
}
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.menu__list a { display: flex; align-items: baseline; gap: 2vw; padding: 0.6vh 0; }
.menu__n { font-size: var(--fs-small); letter-spacing: 0.16em; color: var(--saffron); width: 3em; }
.menu__t {
  font-family: var(--serif); font-size: clamp(2.6rem, 9vh, 7rem); line-height: 1.05; letter-spacing: -0.02em;
  display: inline-block; transition: transform 0.7s var(--ease), font-style 0s;
}
.menu__list a:hover .menu__t { transform: translateX(1.2vw); font-style: italic; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: rgba(237,237,235,0.65); }
.menu__foot a:hover { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 10px 10px 28px;
  border-radius: 100px;
  border: 1px solid var(--ink);
  font-size: 0.95rem; letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.6s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.7s var(--ease);
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.btn__icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  transition: background-color 0.5s, color 0.5s, transform 0.7s var(--ease);
}
.btn__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn:hover .btn__icon { background: var(--saffron); color: var(--ink); transform: rotate(45deg); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark::before { background: var(--graphite); }
.btn--dark .btn__icon { background: var(--paper); color: var(--ink); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease);
}
.link:hover { background-size: 0% 1px; background-position: 100% 100%; }
.link i { font-style: normal; transition: transform 0.6s var(--ease); }
.link:hover i { transform: translate(3px, -3px); }

/* ---------- Hero (full-bleed photograph) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(120px, 16vh, 180px) var(--pad) clamp(28px, 4vh, 48px);
  color: var(--paper);
  background: #cfd2cf;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { object-position: 50% 40%; transform-origin: 50% 60%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(100% 85% at 0% 100%, rgba(17, 19, 21, 0.78) 0%, rgba(17, 19, 21, 0.58) 30%, rgba(17, 19, 21, 0.22) 55%, rgba(17, 19, 21, 0) 78%),
    linear-gradient(to top, rgba(17, 19, 21, 0.6) 0%, rgba(17, 19, 21, 0.28) 32%, rgba(17, 19, 21, 0) 58%),
    linear-gradient(to bottom, rgba(17, 19, 21, 0.32) 0%, rgba(17, 19, 21, 0) 20%);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 5.6vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: clamp(20px, 3vh, 36px);
  text-shadow: 0 2px 30px rgba(17, 19, 21, 0.35);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line__in { display: inline-block; }
.hero__title em { padding-right: 0.04em; }

.hero__foot {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 3vh, 32px);
}
.hero__lede { max-width: 34ch; color: var(--paper); text-shadow: 0 1px 16px rgba(17, 19, 21, 0.4); }

.btn--light { border-color: rgba(237, 237, 235, 0.7); color: var(--paper); }
.btn--light::before { background: var(--paper); }
.btn--light:hover { color: var(--ink); }
.btn--light .btn__icon { background: var(--paper); color: var(--ink); }

/* header turns light over dark sections (class toggled in main.js) */
.header.is-on-dark, .menu-open .header { color: var(--paper); }

/* ---------- About ---------- */
.parallax { position: absolute; inset: -12% 0; }

/* Static layout: no JS, reduced motion, or before the story is set up */
.about { padding: var(--space-section) var(--pad); }
.about__stage {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  align-items: start;
}
.about__eyebrow { grid-column: 1 / 4; grid-row: 1; padding-top: 0.8em; }
.about__title { grid-column: 4 / -1; grid-row: 1; margin-bottom: var(--space-head); }
.about__photo { grid-column: 1 / 6; grid-row: 2; aspect-ratio: 4 / 5.2; overflow: hidden; position: relative; margin: 0; }
.about__photo img { object-position: 50% 30%; } /* keep in sync with objY in main.js */
.about__cap, .about__count { display: none; }
.about__panel { grid-column: 7 / -1; grid-row: 2; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 80px); }
.about__slides { display: grid; gap: 1.1em; }
.about__slide {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  line-height: 1.08; letter-spacing: -0.018em;
  max-width: 21ch; color: var(--ink);
}
.about__slide--strong em, .about__slide--strong { font-style: italic; }
.about__slide--strong { padding-left: 0.6em; border-left: 2px solid var(--saffron); }
.about__creds { font-family: var(--sans); }
.about__creds li:first-child { border-top: 1px solid var(--line); }
.about__creds li {
  display: grid; grid-template-columns: 9.5em 1fr; gap: 1em;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-body-sm);
}
.about__creds span { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); padding-top: 0.2em; }

/* Story mode: one pinned stage — arched window opens, photo fills, then yields to the text */
.about.is-story { padding: 0; }
.about.is-story .about__stage {
  --t: 23%; --r: 40%; --b: 23%; --l: 40%; --rad: 10vw;
  position: relative; display: block;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.about.is-story .about__eyebrow { position: absolute; z-index: 3; top: clamp(96px, 13vh, 130px); left: var(--pad); padding: 0; }
.about.is-story .about__photo {
  position: absolute; inset: 0; aspect-ratio: auto; z-index: 1;
  clip-path: inset(var(--t) var(--r) var(--b) var(--l) round var(--rad) var(--rad) 0 0);
  background: #cfd2cf;
}
.about.is-story .about__photo img { position: absolute; inset: 0; will-change: transform; }
.about.is-story .about__cap {
  display: flex; justify-content: space-between; align-items: flex-end;
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18vh var(--pad) clamp(28px, 4vh, 48px);
  background: linear-gradient(to top, rgba(17, 19, 21, 0.5), rgba(17, 19, 21, 0));
  color: var(--paper);
  font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.16em;
}
.about.is-story .about__title {
  position: absolute; inset: 0; z-index: 2; margin: 0;
  display: flex; align-items: center; justify-content: center;
  column-gap: 23vw; /* arched window (20vw) + breathing room */
  font-size: clamp(3rem, 7vw, 9rem);
  pointer-events: none;
}
.about.is-story .about__w { display: block; flex: 1; white-space: nowrap; will-change: transform; }
.about.is-story .about__w--l { text-align: right; }
.about.is-story .about__w--r { text-align: left; }

.about.is-story .about__panel {
  position: absolute; z-index: 2;
  top: 0; bottom: 0; left: 55%; right: var(--pad);
  padding: clamp(110px, 16vh, 160px) 0 clamp(28px, 6vh, 64px);
  justify-content: space-between; gap: 32px;
}
.about.is-story .about__count {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: var(--fs-small); letter-spacing: 0.16em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.about.is-story .about__count b { font-weight: 500; color: var(--ink); }
.about.is-story .about__count i { width: 48px; height: 1px; background: var(--line); }
.about.is-story .about__slides { display: grid; gap: 0; }
.about.is-story .about__slide { grid-area: 1 / 1; align-self: center; }
.about__slide .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.about__slide .w > span { display: inline-block; will-change: transform; }
.about__slide--strong .w { padding-right: 0.06em; margin-right: -0.06em; }

/* ---------- Horizontal gallery ---------- */
.hgallery { position: relative; height: 400vh; background: var(--paper-2); }
.hgallery__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hgallery__track {
  display: flex; align-items: center;
  gap: clamp(28px, 4vw, 80px);
  padding: 0 var(--pad);
  will-change: transform;
}
.hgallery__intro { flex: 0 0 min(78vw, 720px); display: flex; flex-direction: column; gap: 32px; }
.hgallery__quote {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.4vw, 7.4rem);
  line-height: 0.92; letter-spacing: -0.03em;
}
.hg { flex: 0 0 auto; overflow: hidden; position: relative; }
.hg img { transform: scale(1.15); }
.hg--a { width: clamp(240px, 26vw, 460px); aspect-ratio: 2 / 3; }
.hg--b { width: clamp(200px, 19vw, 340px); aspect-ratio: 3 / 4; align-self: flex-end; margin-bottom: 8vh; }
.hg--c { width: clamp(260px, 30vw, 520px); aspect-ratio: 4 / 5; align-self: flex-start; margin-top: 10vh; }
.hg--d { width: clamp(240px, 24vw, 420px); aspect-ratio: 2 / 3; }
.hg--e { width: clamp(280px, 34vw, 600px); aspect-ratio: 4 / 5; margin-right: 6vw; }
.hgallery__mid { flex: 0 0 min(80vw, 560px); display: flex; flex-direction: column; gap: 24px; }
.hgallery__mid p { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; }
.hgallery__mid span { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.16em; color: var(--graphite); }
.hgallery__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(24px, 4vh, 44px); height: 1px; background: var(--line); }
.hgallery__progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- Areas ---------- */
.areas { padding: var(--space-section) 0; }
.areas__list { border-top: 1px solid var(--line); }
.area {
  position: relative;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  align-items: center;
  padding: clamp(24px, 3vw, 44px) var(--pad);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  transition: color 0.6s var(--ease);
}
.area::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.7s var(--ease);
}
.area__n { grid-column: 1 / 2; font-size: var(--fs-small); letter-spacing: 0.16em; color: var(--muted); transition: color 0.6s; }
.area__t {
  grid-column: 2 / 8;
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 0.98; letter-spacing: -0.025em;
  transition: transform 0.8s var(--ease);
}
.area__d { grid-column: 9 / 12; color: var(--graphite); font-size: var(--fs-body-sm); max-width: 34ch; transition: color 0.6s; }
.area__go {
  grid-column: 12 / -1; justify-self: end;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: transform 0.8s var(--ease), background-color 0.5s, border-color 0.5s, color 0.5s;
}
.area__go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (hover: hover) {
  .area:hover { color: var(--paper); }
  .area:hover::before { transform: scaleY(1); transform-origin: top; }
  .area:hover .area__n { color: var(--saffron); }
  .area:hover .area__d { color: rgba(237, 237, 235, 0.72); }
  .area:hover .area__t { transform: translateX(1.4vw); }
  .area:hover .area__go { background: var(--saffron); border-color: var(--saffron); color: var(--ink); transform: rotate(45deg); }
}

/* ---------- Method ---------- */
.method {
  background: var(--graphite);
  color: var(--paper);
  padding: var(--space-section) 0;
}
.method__head { padding: 0 var(--pad); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-bottom: var(--space-head); }
.method__head .eyebrow { grid-column: 1 / 4; align-self: start; padding-top: 0.8em; }
.method__head .display { grid-column: 4 / -1; }
.method__head .display em { color: var(--saffron); }
.method__stack { padding: 0 var(--pad); display: flex; flex-direction: column; gap: 6vh; }
.step {
  position: sticky;
  top: clamp(80px, 11vh, 120px);
  min-height: min(76vh, 720px);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  background: var(--paper-2);
  color: var(--ink);
  padding: clamp(24px, 3vw, 48px);
  border-radius: 4px;
  transform-origin: center top;
  box-shadow: 0 -30px 60px -30px rgba(0,0,0,0.35);
}
.step__shade { position: absolute; inset: 0; z-index: 3; background: #111315; opacity: 0; pointer-events: none; border-radius: inherit; }
.step:nth-child(2) { top: calc(clamp(80px, 11vh, 120px) + 18px); background: #efeeea; }
.step:nth-child(3) { top: calc(clamp(80px, 11vh, 120px) + 36px); background: #e9e8e3; }
.step:nth-child(4) { top: calc(clamp(80px, 11vh, 120px) + 54px); background: #e4e3de; }
.step__text { grid-column: 1 / 7; display: flex; flex-direction: column; }
.step__n {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 13rem);
  line-height: 0.8; letter-spacing: -0.04em;
  margin-bottom: auto;
}
.step__t { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 0.95; letter-spacing: -0.025em; margin: 40px 0 20px; }
.step__d { max-width: 38ch; color: var(--graphite); }
.step__tag {
  align-self: flex-start;
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.16em;
}
.step__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }
.step__img { grid-column: 8 / -1; overflow: hidden; border-radius: 2px; min-height: 280px; }

/* ---------- Modes ---------- */
.modes { padding: var(--space-section) 0 0; }
.modes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: 0 var(--pad); }
.mode:nth-child(2) { margin-top: clamp(0px, 12vw, 220px); }
.mode__img { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--paper-3); }
.mode__img--map iframe {
  position: absolute; inset: -60px 0 0 0;
  width: 100%; height: calc(100% + 60px);
  border: 0;
  filter: grayscale(1) contrast(0.92) brightness(1.04) sepia(0.12);
  pointer-events: none; /* wheel/touch go to the page, not the map */
}
.mode__map-link { position: absolute; inset: 0; z-index: 1; }
.mode__body { padding-top: 28px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px var(--gap); align-items: start; }
.mode__t { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 0.9; letter-spacing: -0.025em; grid-row: span 2; }
.mode__body p { color: var(--graphite); max-width: 36ch; }
.mode__body .link { justify-self: start; font-size: var(--fs-body-sm); }

/* ---------- Price ---------- */
.price { padding: var(--space-section) 0; }
.toggle {
  position: relative;
  display: inline-grid; grid-template-columns: 1fr 1fr;
  margin: 0 var(--pad) clamp(32px, 4vw, 56px);
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.toggle button {
  position: relative; z-index: 1;
  padding: 12px 28px;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: color 0.5s var(--ease);
}
.toggle button[aria-pressed="true"] { color: var(--paper); }
.toggle__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px);
  border-radius: 100px;
  background: var(--ink);
  transition: transform 0.7s var(--ease);
}
.toggle.is-presencial .toggle__thumb { transform: translateX(100%); }

.price__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: 0 var(--pad); }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  min-height: clamp(380px, 38vw, 560px);
  padding: clamp(24px, 2.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.plan--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.plan__head h3 { font-weight: 500; font-size: 1.02rem; letter-spacing: 0.005em; }
.plan__tags { display: inline-flex; align-items: center; gap: 12px; }
.plan__label { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); white-space: nowrap; }
.plan__badge {
  color: var(--ink);
  background: var(--saffron);
  padding: 5px 11px; border-radius: 100px;
  font-size: var(--fs-small); letter-spacing: 0.04em;
  font-weight: 600;
}
.plan__price {
  margin-top: auto;
  display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 0.12em;
  font-family: var(--serif);
  line-height: 0.8;
}
.plan__cur { font-size: clamp(1.6rem, 2.4vw, 2.6rem); padding-top: 0.25em; letter-spacing: -0.01em; }
.plan__val { font-size: clamp(6rem, 13vw, 15rem); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; display: inline-block; }
.plan__old {
  align-self: flex-end;
  margin-left: 0.6em; margin-bottom: 0.6em;
  font-size: clamp(1.1rem, 1.6vw, 1.6rem);
  color: rgba(237,237,235,0.5);
  text-decoration-thickness: 1px;
}
.plan__note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--graphite); max-width: 40ch; font-size: var(--fs-body-sm); }
.plan--feature .plan__note { border-color: var(--line-light); color: rgba(237,237,235,0.72); }
.plan--feature .plan__label { color: rgba(237,237,235,0.62); }

.price__foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px;
  padding: clamp(32px, 4vw, 56px) var(--pad) 0;
}
.price__info { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: var(--fs-body-sm); color: var(--graphite); }
.price__info li { display: inline-flex; align-items: center; gap: 10px; }
.price__info li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--saffron); }

/* ---------- FAQ ---------- */
.faq { padding: var(--space-section) var(--pad); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.faq__aside { grid-column: 1 / 5; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 28px; }
.faq__img { position: relative; width: 62%; aspect-ratio: 3 / 4; overflow: hidden; margin-top: 20px; }
.faq__list { grid-column: 6 / -1; border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(22px, 2.4vw, 34px) 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: var(--fs-h4);
  line-height: 1.08; letter-spacing: -0.015em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { transition: transform 0.7s var(--ease); }
.qa summary:hover span { transform: translateX(10px); }
.qa summary i {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: background-color 0.5s, border-color 0.5s, transform 0.7s var(--ease);
}
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: var(--ink);
  transition: transform 0.7s var(--ease);
}
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--saffron); border-color: var(--saffron); transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a > * { padding-bottom: clamp(24px, 2.6vw, 36px); max-width: 58ch; color: var(--graphite); }
.qa__a ul { display: grid; gap: 10px; }
.qa__a li { display: grid; grid-template-columns: 18px 1fr; }
.qa__a li::before { content: "—"; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(120px, 15vw, 260px) var(--pad) clamp(100px, 12vw, 200px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  overflow: hidden;
}
.cta__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 8.4vw, 10.5rem);
  line-height: 0.9; letter-spacing: -0.035em;
  max-width: 14ch;
  margin: 32px 0 36px;
}
.cta__title em { color: var(--saffron); }
.cta__lede { color: rgba(237, 237, 235, 0.66); max-width: 36ch; }
.cta__circle {
  position: relative;
  margin-top: clamp(48px, 6vw, 90px);
  width: clamp(170px, 15vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(237, 237, 235, 0.3);
  overflow: hidden;
  isolation: isolate;
}
.cta__circle-bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--saffron);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.8s var(--ease);
}
.cta__circle:hover .cta__circle-bg { transform: scale(1); }
.cta__circle-text { font-family: var(--serif); font-size: clamp(1.4rem, 1.8vw, 1.9rem); line-height: 1.05; transition: color 0.5s; }
.cta__circle:hover .cta__circle-text { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 0 var(--pad) 24px; overflow: hidden; }
.footer__top {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.98rem;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; color: rgba(237,237,235,0.88); }
.footer__label { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.16em; color: rgba(237,237,235,0.58); }
.footer__col--end { align-items: flex-end; justify-content: flex-start; }
.totop {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--line-light);
  display: grid; place-items: center;
  transition: background-color 0.5s, color 0.5s, border-color 0.5s;
}
.totop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.totop:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.footer__mark { overflow: hidden; line-height: 0.76; margin: 1vw 0 2vw; text-align: center; }
.footer__word {
  display: inline-block;
  padding-top: 0.06em;
  font-family: var(--serif);
  font-size: 27.4vw;
  letter-spacing: -0.045em;
  white-space: nowrap;
  text-align: center;
  transform-origin: bottom;
}
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
  font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.14em; color: rgba(237,237,235,0.58);
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}
.footer__clock { font-variant-numeric: tabular-nums; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header { grid-template-columns: 1fr auto; }
}

@media (max-width: 900px) {
  .about__stage { grid-template-columns: 1fr; row-gap: 40px; }
  .about__eyebrow, .about__title, .about__photo, .about__panel { grid-column: 1 / -1; grid-row: auto; }
  .about__title { margin-bottom: 0; }
  .about__slide { max-width: none; }

  .about.is-story .about__stage { --t: 30%; --r: 24%; --b: 30%; --l: 24%; --rad: 26vw; }
  .about.is-story .about__eyebrow { top: 92px; }
  .about.is-story .about__title {
    flex-direction: column; column-gap: 0; row-gap: calc(40svh + 4vh);
    font-size: 15vw; text-align: center;
  }
  .about.is-story .about__w { flex: none; text-align: center !important; }
  .about.is-story .about__panel { top: 50%; left: var(--pad); padding: 24px 0 96px; gap: 16px; justify-content: flex-start; }
  .about.is-story .about__creds { margin-top: auto; }
  .about.is-story .about__slide { font-size: clamp(1.35rem, 5.6vw, 1.9rem); align-self: start; }
  .about.is-story .about__cap { padding-bottom: 28px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-head--split, .method__head { grid-template-columns: 1fr; }
  .section-head--split .eyebrow, .section-head--split .display,
  .method__head .eyebrow, .method__head .display { grid-column: 1 / -1; }
  .section-head--split, .method__head { gap: 20px; }


  .area { grid-template-columns: 36px 1fr 40px; row-gap: 10px; }
  .area__n { grid-column: 1; align-self: start; padding-top: 0.6em; }
  .area__t { grid-column: 2; }
  .area__go { grid-column: 3; grid-row: 1; align-self: start; width: 40px; height: 40px; }
  .area__d { grid-column: 2 / 3; }


  .step { grid-template-columns: 1fr; min-height: auto; gap: 24px; }
  .step__text, .step__img { grid-column: 1 / -1; }
  .step__img { aspect-ratio: 16 / 10; min-height: 0; }
  .step__n { margin-bottom: 0; font-size: 5rem; }
  .step__t { margin: 24px 0 12px; }

  .modes__grid { grid-template-columns: 1fr; gap: 72px; }
  .mode:nth-child(2) { margin-top: 0; }
  .mode__body { grid-template-columns: 1fr; }
  .mode__t { grid-row: auto; }

  .price__grid { grid-template-columns: 1fr; }
  .plan { min-height: 340px; }

  .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .faq__aside, .faq__list { grid-column: 1 / -1; }
  .faq__aside { position: static; }
  .faq__img { display: none; }

  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__col--end { grid-column: 2; grid-row: 1; }

  .hgallery { height: 340vh; }
}

@media (max-width: 600px) {
  .brand__role { display: none; }
  .brand__dot { margin-right: 0; }
  .hero__title { font-size: 11.5vw; }
  .hero__media img { object-position: 50% 50%; }
  .book-pill { left: var(--pad); right: var(--pad); justify-content: center; }
  .footer__bottom { flex-direction: column; }
  .about__creds li { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .hgallery__intro { flex-basis: 84vw; }
  .hgallery__quote { font-size: 3.1rem; }
  .hg--a { width: 66vw; }
  .hg--b { width: 54vw; margin-bottom: 14vh; }
  .hg--c { width: 72vw; margin-top: 12vh; }
  .hg--d { width: 62vw; }
  .hg--e { width: 76vw; }
  .hgallery__mid { flex-basis: 78vw; }
  .plan__head { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hgallery { height: auto; }
  .hgallery__sticky { position: relative; height: auto; overflow-x: auto; padding: 80px 0; }
  .hgallery__progress { display: none; }
}

/* ---------- Additions ---------- */
@media (hover: hover) and (pointer: fine) {
  .cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}
.sl-mask { padding: 0 0.12em 0.1em 0; margin: 0 -0.12em -0.1em 0; }
.menu.is-open .menu__bg { transform: none; }
section[tabindex="-1"]:focus { outline: none; }
