/* WeaverWorks — Global mobility, privately advised. */

html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

::selection {
  background: #b8935a;
  color: #fff;
}

a {
  color: #b8935a;
}

a:hover {
  color: #8a6a2f;
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); }
  50% { transform: translate(3px, -5px) rotate(var(--r, 0deg)); }
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

/* ---------- Scroll progress ---------- */

.progress-track {
  position: fixed;
  top: 0;
  right: 0;
  width: 2px;
  height: 100dvh;
  background: rgba(26, 26, 26, 0.08);
  z-index: 60;
}

.progress-fill {
  width: 100%;
  background: #b8935a;
  height: 0%;
  transition: height 0.15s linear;
}

/* ---------- Fixed chrome ---------- */

.brand-mark {
  position: fixed;
  top: 22px;
  left: 24px;
  z-index: 50;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #1a1a1a;
  opacity: 0.55;
}

.site-nav {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  max-width: 60vw;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-link:hover {
  color: #b8935a;
}

.scene-counter {
  position: fixed;
  bottom: 20px;
  right: 24px;
  z-index: 50;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #b8935a;
}

/* ---------- Scroller / scenes ---------- */

.scroller {
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.scene {
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
}

/* ---------- Fade-in-on-scroll ---------- */

.fade {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 1.3s cubic-bezier(.2, .7, .3, 1),
    transform 1.3s cubic-bezier(.2, .7, .3, 1),
    filter 1.3s ease;
}

.fade.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

/* ---------- Staggered reveal (fragments / lines / access paragraphs) ---------- */

.stagger {
  opacity: 0;
  filter: blur(3px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease,
    filter 0.9s ease;
}

.stagger.is-visible {
  opacity: 1;
  filter: blur(0px);
}

/* ---------- Scene 0 — Hero ---------- */

.scene-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 32px;
  text-align: center;
}

.hero-intro {
  max-width: 920px;
}

.hero-intro-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(34px, 7vw, 68px);
  color: #1a1a1a;
  line-height: 1.25;
  text-wrap: pretty;
}

.hero-intro-subhead {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(19px, 3vw, 28px);
  color: #5c574f;
  margin-top: 26px;
}

.hero-underline {
  width: 0;
  height: 1px;
  background: #b8935a;
  margin: 34px auto 0;
  transition: width 1.2s ease 0.5s;
}

.hero-underline.is-visible {
  width: 56px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: #1a1a1a;
}

.scroll-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #1a1a1a;
}

/* ---------- Scene 1 — The Search ---------- */

.scene-search {
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.search-fragment {
  position: absolute;
  font-family: 'Instrument Serif', serif;
  color: #dbd5cd;
  white-space: nowrap;
  letter-spacing: 0.04em;
  width: 221px;
  height: 120px;
  animation-name: driftA;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.search-fragment.is-visible {
  opacity: 0.75;
}

.search-fragment-1 { top: 20%; left: 10%; --r: -4deg; transform: rotate(-4deg); font-size: clamp(26px, 4vw, 40px); animation-duration: 12s; }
.search-fragment-2 { top: 20%; left: 70%; --r: 3deg;  transform: rotate(3deg);  font-size: clamp(24px, 3.6vw, 36px); animation-duration: 13s; }
.search-fragment-3 { top: 68%; left: 10%; --r: 2deg;  transform: rotate(2deg);  font-size: clamp(24px, 3.8vw, 38px); animation-duration: 11s; }
.search-fragment-4 { top: 78%; left: 52%; --r: -2deg; transform: rotate(-2deg); font-size: clamp(22px, 3.4vw, 34px); animation-duration: 14s; }
.search-fragment-5 { top: 46%;  left: 82%; --r: -3deg; transform: rotate(-3deg); font-size: clamp(22px, 3.4vw, 34px); animation-duration: 12.5s; }
.search-fragment-6 { top: 46%; left: 4%;  --r: 1deg;  transform: rotate(1deg);  font-size: clamp(22px, 3.4vw, 34px); animation-duration: 13.5s; }

.search-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  background: #ffffff;
  padding: 36px 28px;
}

.search-intro-line1 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 24px);
  color: #5c574f;
  line-height: 1.5;
}

.search-intro-line2 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 24px);
  color: #b8935a;
  margin-top: 4px;
  margin-bottom: 32px;
}

.search-heading1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(26px, 4.6vw, 44px);
  color: #1a1a1a;
  line-height: 1.3;
  text-wrap: pretty;
}

.search-heading2 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(26px, 4.6vw, 44px);
  color: #8a6a2f;
  line-height: 1.3;
  margin-top: 6px;
}

/* ---------- Scene 2 — The Private Room ---------- */

.scene-room {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.room-copy {
  text-align: center;
  max-width: 640px;
}

.room-heading1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(24px, 3.8vw, 34px);
  color: #1a1a1a;
  line-height: 1.5;
}

.room-heading2 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(19px, 2.8vw, 24px);
  color: #5c574f;
  margin-top: 12px;
}

.room-lines {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.room-lines + .lp-body-muted {
  margin-top: 36px;
}

.room-line {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(20px, 3.2vw, 26px);
  color: #1a1a1a;
  transform: translateY(16px);
}

.room-line.is-visible {
  transform: translateY(0);
}

.room-closing {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(18px, 2.6vw, 26px);
  color: #1a1a1a;
  line-height: 1.5;
  margin-top: 44px;
}

.accent-italic {
  color: #8a6a2f;
  font-style: italic;
}

/* ---------- Scene 3 — The Reality ---------- */

.scene-reality {
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.reality-noise {
  position: absolute;
  inset: 0;
  columns: 3;
  column-gap: 28px;
  padding: 60px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 2.1;
  color: #1a1a1a;
  opacity: 0.20;
  pointer-events: none;
}

.reality-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  background: #ffffff;
  padding: 28px 24px;
  box-shadow: 0 0 60px 60px #ffffff;
}

.reality-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(21px, 3.4vw, 32px);
  color: #1a1a1a;
  line-height: 1.5;
  text-wrap: pretty;
}

.reality-tagline {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 32px);
  color: #8a6a2f;
  margin-top: 26px;
}

/* ---------- Scene 4 — Notes From The Room ---------- */

.scene-notes {
  background-color: #f7f3ea;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 35px,
      rgba(26, 26, 26, 0.07) 35px,
      rgba(26, 26, 26, 0.07) 36px
    ),
    linear-gradient(
      to right,
      transparent 56px,
      rgba(184, 147, 90, 0.4) 56px,
      rgba(184, 147, 90, 0.4) 57px,
      transparent 57px
    );
  box-shadow: inset 0 0 140px rgba(26, 26, 26, 0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.carousel {
  width: 100%;
  max-width: 940px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  -webkit-overflow-scrolling: touch;
}

.carousel-slide {
  min-width: 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 34px;
}

.note-card {
  max-width: 660px;
  text-align: center;
}

.note-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #b8935a;
  margin-bottom: 26px;
}

.note-line {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.5;
}

.note-line-primary {
  font-size: clamp(26px, 4.4vw, 40px);
}

.note-line-supporting {
  font-size: clamp(20px, 3.2vw, 28px);
}

.note-context {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  line-height: 1.6;
}

.note-context-primary {
  font-size: clamp(19px, 2.8vw, 25px);
  color: #3a3a38;
  margin-top: 30px;
}

.note-context-supporting {
  font-size: clamp(14px, 2vw, 16px);
  color: #6e6e6b;
  margin-top: 20px;
}

.carousel-dots {
  display: flex;
  gap: 9px;
  margin-top: 26px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8d2c4;
}

.dot.is-active {
  background: #b8935a;
}

.carousel-hint {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #9c9686;
  margin-top: 16px;
}

/* ---------- Scene 5 — Expert Access ---------- */

.scene-access {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.access-copy {
  max-width: 680px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.access-lead {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(24px, 3.8vw, 34px);
  color: #1a1a1a;
  line-height: 1.5;
  transform: translateY(16px);
}

.access-body {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(18px, 2.6vw, 24px);
  color: #1a1a1a;
  line-height: 1.65;
  transform: translateY(16px);
}

.access-tagline {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(19px, 2.8vw, 26px);
  color: #8a6a2f;
  margin-top: 8px;
  transform: translateY(16px);
}

.access-lead.is-visible,
.access-body.is-visible,
.access-tagline.is-visible {
  transform: translateY(0);
}

/* ---------- Scene 6 — The Invitation ---------- */

.scene-invitation {
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease, transform 1.8s cubic-bezier(.2, .7, .3, 1);
}

.hero-image.is-visible {
  opacity: 1;
  transform: scale(1);
}

.hero-image.kenburns {
  transition: none;
  animation: kenburns 22s ease-in-out infinite alternate;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 12, 8, 0.72) 0%, rgba(15, 12, 8, 0.28) 42%, rgba(15, 12, 8, 0) 62%);
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  padding: 0 28px;
  text-align: center;
}

.hero-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(23px, 4vw, 38px);
  color: #faf7f0;
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-tagline {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(19px, 2.8vw, 25px);
  color: #e3c98a;
  margin-top: 26px;
  line-height: 1.5;
}

/* ---------- Scene 7 — CTA ---------- */

.scene-cta {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cta-copy {
  text-align: center;
}

.cta-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 5.8vw, 54px);
  color: #1a1a1a;
}

.cta-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #5c574f;
  margin-top: 16px;
  line-height: 1.7;
}

.assessment-button {
  display: inline-block;
  margin-top: 44px;
  padding: 16px 42px;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.assessment-button:hover {
  background: #1a1a1a;
  color: #faf7f0;
}

.footer-links {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #9c9686;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.footer-link {
  color: #9c9686;
  text-decoration: none;
}

.footer-link:hover {
  color: #b8935a;
}

/* ---------- Footer (inline, sits quietly below the CTA button) ---------- */

.cta-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-email a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #9c9686;
  text-decoration: none;
}

.footer-email a:hover {
  color: #b8935a;
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .brand-mark {
    top: 18px;
    left: 18px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .site-nav {
    top: 20px;
    right: 18px;
    max-width: 76vw;
    gap: 10px;
  }

  .nav-link {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .scene-counter {
    right: 18px;
    bottom: 16px;
  }

  .search-fragment {
    width: auto;
    max-width: 60vw;
    height: auto;
    white-space: normal;
    text-align: center;
  }

  .search-fragment-1 { left: 6%; }
  .search-fragment-2 { left: 36%; }
  .search-fragment-3 { left: 6%; }
  .search-fragment-4 { left: 28%; }
  .search-fragment-5 { left: 38%; }
  .search-fragment-6 { left: 4%; }

  .reality-noise {
    columns: 1;
    padding: 40px 24px;
    font-size: 10px;
    line-height: 1.85;
  }

  .hero-image {
    object-position: 78% 50%;
  }
}

.footer-legal {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.02em;
  color: #b7b2a4;
  line-height: 1.6;
  max-width: 420px;
}

/* ============================================================
   Light pages (index.html, partner.html)
   Normal document flow — no scroll-snap, no scene counter.
   Reuses the same fonts/palette/.fade system as global-mobility.
   ============================================================ */

.light-page {
  background: #ffffff;
}

.lp-hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.lp-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #b8935a;
  margin-bottom: 22px;
}

.lp-hero-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(38px, 6.4vw, 68px);
  color: #1a1a1a;
  line-height: 1.2;
  max-width: 880px;
  text-wrap: pretty;
}

.lp-hero-subhead {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 26px);
  color: #5c574f;
  margin-top: 22px;
  max-width: 640px;
}

.lp-divider {
  width: 56px;
  height: 1px;
  background: #b8935a;
  margin: 34px auto 0;
}

.lp-section {
  padding: 110px 24px;
  text-align: center;
}

.lp-section-alt {
  background: #f5f5f5;
}

.lp-section-narrow {
  max-width: 700px;
  margin: 0 auto;
}

.lp-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #b8935a;
  margin-bottom: 20px;
}

.lp-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(26px, 4vw, 40px);
  color: #1a1a1a;
  line-height: 1.4;
  text-wrap: pretty;
}

.lp-heading-italic {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #8a6a2f;
}

.lp-body {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(18px, 2.2vw, 22px);
  color: #1a1a1a;
  line-height: 1.75;
  margin-top: 24px;
}

.lp-body-muted {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #5c574f;
  line-height: 1.8;
  margin-top: 18px;
}

/* Three-step process */

.lp-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 56px;
  margin-top: 56px;
}

.lp-step {
  max-width: 220px;
}

.lp-step-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 36px;
  color: #b8935a;
}

.lp-step-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.6;
  margin-top: 14px;
}

/* Light-touch verticals list */

.lp-verticals {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
}

.lp-vertical {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #9c9686;
}

.lp-vertical-active a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #b8935a;
  padding-bottom: 2px;
}

.lp-vertical-active a:hover {
  color: #8a6a2f;
}

/* Notebook-paper band (brand device, reused from Notes From The Room) */

.paper-bg {
  background-color: #f7f3ea;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 35px,
      rgba(26, 26, 26, 0.07) 35px,
      rgba(26, 26, 26, 0.07) 36px
    ),
    linear-gradient(
      to right,
      transparent 56px,
      rgba(184, 147, 90, 0.4) 56px,
      rgba(184, 147, 90, 0.4) 57px,
      transparent 57px
    );
  box-shadow: inset 0 0 140px rgba(26, 26, 26, 0.09);
}

/* Founder / signed note on the paper band */

.founder-note {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.founder-note-body {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 23px);
  color: #1a1a1a;
  line-height: 1.75;
}

.founder-note-sign {
  margin-top: 28px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #5c574f;
}

/* Full-bleed photo band (brand image — the chair) */

.lp-photo-section {
  position: relative;
  overflow: hidden;
  height: 88vh;
}

/* Closing CTA */

.lp-cta {
  padding: 120px 24px;
  text-align: center;
  background: #ffffff;
}

.brand-button {
  display: inline-block;
  margin-top: 12px;
  padding: 16px 42px;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.brand-button:hover {
  background: #1a1a1a;
  color: #faf7f0;
}

.brand-button-ghost {
  display: inline-block;
  margin-top: 12px;
  padding: 15px 34px;
  border: 1px solid #d8d2c4;
  color: #5c574f;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.brand-button-ghost:hover {
  border-color: #b8935a;
  color: #8a6a2f;
}

.lp-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.lp-footer {
  padding: 48px 24px 56px;
  text-align: center;
  border-top: 1px solid #e4ddcc;
}

.lp-footer .footer-links {
  margin-top: 14px;
}

.lp-footer .footer-legal {
  margin: 18px auto 0;
}

/* Single note on a paper-bg band */

.paper-note {
  text-align: center;
}

.paper-note .note-label {
  margin-bottom: 0;
}

.paper-note .note-line {
  margin-top: 26px;
}

.paper-note .note-context {
  margin: 20px auto 0;
  max-width: 520px;
}

.paper-note .brand-button-ghost {
  margin-top: 40px;
}

@media (max-width: 640px) {
  .lp-hero {
    padding: 120px 20px 64px;
  }

  .lp-section {
    padding: 80px 20px;
  }

  .lp-steps {
    gap: 40px;
  }

  .lp-photo-section {
    height: 78vh;
  }
}
