/* ============================================================
   Lift 1A Consulting — v0.7
   Heritage-modernist alpine, with motion and a graphite anchor.
   ============================================================ */

:root {
  /* Palette */
  --snowfall: #FEFFF2;
  --loden:    #5C5C4D;
  --heather:  #8484A3;
  --lichen:   #D4D5BC;
  --linen:    #EDEFDF;
  --cairn:    #C8C5B8;
  --muted:    #8A8678;
  --graphite: #1A1C1A;

  /* Type */
  --type-display: 'Futura', 'Outfit', 'Trebuchet MS', 'Century Gothic', system-ui, sans-serif;
  --type-serif:   'Cormorant Garamond', 'Garamond', 'Iowan Old Style', 'Times New Roman', serif;
  --type-body:    'Inter', system-ui, -apple-system, sans-serif;
  --type-mono:    'Futura', 'Outfit', 'Trebuchet MS', 'Century Gothic', system-ui, sans-serif;

  /* Rhythm */
  --max-wide:    1180px;
  --pad-page:    clamp(34px, 6vw, 96px);
  --pad-section: clamp(76px, 11vh, 140px);

  /* Hairlines (Brand designer spec: 0.5px Loden at ~24% opacity) */
  --hairline: rgba(92, 92, 77, 0.22);
  --hairline-inv: rgba(254, 255, 242, 0.14);

  /* Motion — cinematic ease-out per Luke Webdesign's premium-site playbook */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);     /* entering / exiting viewport, cinematic settle */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);     /* morphing on screen */
  --ease:        var(--ease-out);                     /* default + back-compat */
}

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

html { scroll-behavior: smooth; background: var(--snowfall); }

body {
  background: var(--snowfall);
  color: var(--loden);
  font-family: var(--type-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--heather); color: var(--snowfall); }

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 1px solid var(--heather); outline-offset: 4px; }

ul, ol { list-style: none; }

/* ============================================================
   Nav
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px var(--pad-page);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 320ms var(--ease), border-color 320ms var(--ease), padding 320ms var(--ease);
}

.site-nav .wordmark,
.site-nav .nav-right a {
  color: rgba(254, 255, 242, 0.92);
  transition: color 320ms var(--ease);
}

.site-nav .wm-2 { color: rgba(254, 255, 242, 0.6); }

.site-nav.past-hero {
  background: rgba(254, 255, 242, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--hairline);
  padding-top: 22px;
  padding-bottom: 22px;
}

.site-nav.past-hero .wordmark { color: var(--loden); }
.site-nav.past-hero .wm-2 { color: var(--muted); }
.site-nav.past-hero .nav-right a { color: var(--muted); }

.wordmark {
  font-family: var(--type-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}

.wm-1 { font-weight: 500; }
.wm-2 { font-weight: 300; }

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

.nav-right a {
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-right a:hover { color: var(--heather) !important; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--pad-page) 80px;
  overflow: hidden;
  color: var(--snowfall);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(132, 132, 163, 0.35), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(31, 31, 26, 0.5), transparent 70%),
    linear-gradient(180deg, #3d3d33 0%, #5C5C4D 45%, #2a2a22 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(20, 20, 16, 0.5) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 540' preserveAspectRatio='none'><path d='M0 540 L0 380 L160 320 L320 360 L480 280 L640 340 L800 220 L960 320 L1120 260 L1280 340 L1440 270 L1600 320 L1760 290 L1920 330 L1920 540 Z' fill='%231f1f1a' opacity='0.55'/><path d='M0 540 L0 440 L200 410 L380 430 L560 390 L720 420 L880 380 L1080 420 L1280 400 L1440 430 L1600 410 L1760 425 L1920 410 L1920 540 Z' fill='%23141410' opacity='0.7'/></svg>") center bottom / 100% 100% no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform-origin: center center;
  animation: hero-push-in 38s var(--ease-out) forwards;
  will-change: transform;
}

@keyframes hero-push-in {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(31, 31, 26, 0.25) 0%, rgba(31, 31, 26, 0.45) 60%, rgba(31, 31, 26, 0.65) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-wide);
  width: 100%;
}

.hero-headline {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--snowfall);
  max-width: 22ch;
  margin-bottom: 32px;
}

.hero-sub {
  font-family: var(--type-body);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.7;
  color: rgba(254, 255, 242, 0.86);
  max-width: 56ch;
}

.hero-meta {
  position: absolute;
  bottom: 48px;
  left: var(--pad-page);
  right: var(--pad-page);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-mark-line {
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(254, 255, 242, 0.6);
}

/* ============================================================
   Section labels — indexed mono format
   ============================================================ */

.section-label {
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 64px;
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
}

.section-label.in { opacity: 1; }

/* ============================================================
   Reveal-on-scroll — visible fade-up for content blocks
   Entering viewport, per Emil's flowchart: ease-out.
   Start scale from 0.985 (not 0); travel 20px, not 60px.
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 950ms var(--ease-out),
    transform 950ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.sl-index { color: var(--loden); }
.sl-divider { color: var(--heather); opacity: 0.7; }
.sl-text { color: var(--heather); opacity: 0.85; }

/* Legacy label-rule (unused but kept for compat) */
.label-rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--heather);
  opacity: 0.65;
}

/* ============================================================
   The moment — pace of AI, kinetic headline, two-col
   ============================================================ */

.moment {
  background: var(--linen);
  padding: var(--pad-section) var(--pad-page);
}

.moment-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.moment-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  margin-bottom: 64px;
}

.moment-headline {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(44px, 5.8vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.024em;
  color: var(--loden);
}

.kw-cycle {
  display: inline-block;
  color: var(--heather);
  font-style: italic;
  font-weight: 400;
  transition:
    opacity 260ms var(--ease-in-out),
    transform 260ms var(--ease-in-out);
  will-change: opacity, transform;
}

.kw-cycle.out {
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
}

.moment-body-col p {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: var(--loden);
  margin-bottom: 20px;
  max-width: 60ch;
}

.moment-body-col p:last-child { margin-bottom: 0; }

.moment-proof {
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
  font-family: var(--type-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 70ch;
}

.moment-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-top: 56px;
  margin-top: 16px;
  border-top: 1px solid var(--hairline);
}

.fact {
  padding: 8px 0;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  will-change: opacity, transform;
}

.fact.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.fact-stat {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--heather);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.fact-desc {
  font-family: var(--type-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--loden);
  margin-bottom: 18px;
  max-width: 42ch;
}

.fact-source {
  font-family: var(--type-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-source a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.fact-source a:hover {
  color: var(--heather);
  border-bottom-color: var(--heather);
}

@media (max-width: 860px) {
  .moment-facts { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   The work — numbered list + spinning brand mark
   ============================================================ */

.work {
  position: relative;
  padding: var(--pad-section) var(--pad-page);
  max-width: var(--max-wide);
  margin: 0 auto;
}

.work-grid {
  display: block;
}

.work-copy { max-width: 60ch; }

.work-lead {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--loden);
  margin-bottom: 32px;
}

.work-body {
  font-family: var(--type-body);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--loden);
  margin-bottom: 32px;
}

.work-close {
  font-family: var(--type-body);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  font-style: italic;
}

.work-portrait {
  margin: 0;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
  background: var(--linen);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-frame.no-image::after {
  content: "Portrait coming";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--type-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.portrait-caption {
  font-family: var(--type-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}

@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-portrait { order: -1; max-width: 320px; }
}

/* ============================================================
   The shape — network diagram (between Work and Principal)
   ============================================================ */

.shape {
  padding: var(--pad-section) var(--pad-page);
  max-width: var(--max-wide);
  margin: 0 auto;
}

.shape-lead {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--loden);
  max-width: 52ch;
  margin-bottom: 72px;
}

.network-stage {
  position: relative;
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 5 / 4;
  margin: clamp(72px, 9vw, 128px) auto 0;
}

.network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.network-line {
  stroke: var(--cairn);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition:
    stroke 260ms var(--ease-out),
    stroke-width 260ms var(--ease-out);
}
.network-line.drawn {
  animation: net-draw 1400ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 140ms);
}
@keyframes net-draw {
  to { stroke-dashoffset: 0; }
}

.network-dot {
  fill: var(--heather);
  opacity: 0;
}
.network-dot.live { opacity: 0.85; animation: dot-travel 5.2s linear infinite; }
.network-dot[data-i="1"].live { animation-delay: -0.9s; }
.network-dot[data-i="2"].live { animation-delay: -1.8s; }
.network-dot[data-i="3"].live { animation-delay: -2.6s; }
.network-dot[data-i="4"].live { animation-delay: -3.5s; }
.network-dot[data-i="5"].live { animation-delay: -4.3s; }

.network-dot[data-i="0"] { animation-name: dot-0; }
.network-dot[data-i="1"] { animation-name: dot-1; }
.network-dot[data-i="2"] { animation-name: dot-2; }
.network-dot[data-i="3"] { animation-name: dot-3; }
.network-dot[data-i="4"] { animation-name: dot-4; }
.network-dot[data-i="5"] { animation-name: dot-5; }

@keyframes dot-0 { 0%{transform:translate(500px,400px);opacity:0} 8%{opacity:0.85} 92%{opacity:0.85} 100%{transform:translate(500px,192px);opacity:0} }
@keyframes dot-1 { 0%{transform:translate(500px,400px);opacity:0} 8%{opacity:0.85} 92%{opacity:0.85} 100%{transform:translate(780px,264px);opacity:0} }
@keyframes dot-2 { 0%{transform:translate(500px,400px);opacity:0} 8%{opacity:0.85} 92%{opacity:0.85} 100%{transform:translate(780px,536px);opacity:0} }
@keyframes dot-3 { 0%{transform:translate(500px,400px);opacity:0} 8%{opacity:0.85} 92%{opacity:0.85} 100%{transform:translate(500px,608px);opacity:0} }
@keyframes dot-4 { 0%{transform:translate(500px,400px);opacity:0} 8%{opacity:0.85} 92%{opacity:0.85} 100%{transform:translate(220px,536px);opacity:0} }
@keyframes dot-5 { 0%{transform:translate(500px,400px);opacity:0} 8%{opacity:0.85} 92%{opacity:0.85} 100%{transform:translate(220px,264px);opacity:0} }

.network-node {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  background: var(--snowfall);
  padding: 10px 14px;
  z-index: 3;
  cursor: default;
  transition:
    opacity 600ms var(--ease-out),
    transform 240ms var(--ease-out);
  transition-delay: calc(700ms + var(--i, 0) * 120ms), 0ms;
}
.network-node.in { opacity: 1; }
.network-node:hover {
  transform: translate(-50%, -50%) scale(1.06);
  transition-delay: 0ms;
  z-index: 6;
}

/* Sub-spindles — radiate on node hover */
.spindles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.spindle {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 128px;
  margin: -3px 0 0 -64px;
  transform: translate3d(0, 0, 0) scale(0.5);
  opacity: 0;
  transition:
    transform 900ms var(--ease-out),
    opacity 700ms var(--ease-out);
  transition-delay: 0ms;
}

@media (hover: hover) {
  .network-node:hover .spindle {
    opacity: 1;
    transform: translate3d(var(--dx), var(--dy), 0) scale(1);
    transition-delay: var(--d, 0ms);
  }
}

.spindle-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--heather);
  flex-shrink: 0;
}

.spindle-label {
  display: block;
  text-align: center;
  font-family: var(--type-display);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--loden);
  line-height: 1.4;
}

/* Mobile spindle behavior is handled in the network reflow block below */

@media (prefers-reduced-motion: reduce) {
  .spindle { transition: opacity 200ms linear; }
}

.nn-label {
  font-family: var(--type-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--heather);
  margin-bottom: 4px;
  transition: color 200ms var(--ease-out);
}
.nn-title {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--loden);
  white-space: nowrap;
  transition: color 200ms var(--ease-out);
}
.network-node:hover .nn-title { color: var(--heather); }
.network-node:hover .nn-label { color: var(--loden); }

.network-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: var(--snowfall);
  padding: 14px 22px;
  z-index: 4;
  opacity: 0;
  animation: net-center 800ms var(--ease-out) 200ms forwards;
}
@keyframes net-center {
  to { opacity: 1; }
}

.nc-eyebrow {
  font-family: var(--type-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.nc-title {
  font-family: var(--type-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--loden);
  white-space: nowrap;
}

.network-line.hot {
  stroke: var(--loden);
  stroke-width: 2;
}

/* Network hint — pulsing prompt to discover the hover interaction */
.network-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 78px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heather);
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  z-index: 5;
  animation:
    hint-in 800ms var(--ease-out) 2400ms forwards,
    hint-bob 3.2s ease-in-out 3400ms infinite;
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.network-hint.dismissed {
  opacity: 0 !important;
  animation: none;
  transform: translate(-50%, 70px);
}

@keyframes hint-in {
  to { opacity: 0.7; }
}

@keyframes hint-bob {
  0%, 100% { transform: translate(-50%, 78px); }
  50%      { transform: translate(-50%, 84px); }
}

.hint-mark {
  display: block;
  flex-shrink: 0;
}

.hint-ping {
  transform-origin: 9px 9px;
  transform-box: fill-box;
  animation: hint-ping 1.8s ease-out infinite;
}

@keyframes hint-ping {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hint-text {
  font-family: var(--type-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .network-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .network-hint { animation: hint-in 800ms ease-out 1000ms forwards; }
  .hint-ping { animation: none; }
}

/* ============================================================
   Network — mobile reflow (Phase 3: vertical spine)
   Below 760px the hex diagram becomes a vertical timeline:
   "The Core" header at top, then six bucket rows with all
   sub-items rendered statically as middot-separated text.
   The decorative SVG lines + dots are not content, so they
   are removed; the nodes and center are restructured.
   ============================================================ */

@media (max-width: 760px) {
  .network-stage {
    display: block;
    position: relative;
    aspect-ratio: auto;
    max-width: none;
    width: 100%;
    margin: 64px 0 0;
    padding-left: 22px;
  }

  /* Decorative chrome: lines + traveling dots have no content */
  .network-svg { display: none; }

  /* The connecting spine */
  .network-stage::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 18px;
    width: 1px;
    background: var(--hairline);
  }

  .network-center {
    position: static;
    transform: none;
    background: transparent;
    padding: 0 0 28px;
    text-align: left;
    animation: none;
    opacity: 1;
  }
  .nc-eyebrow { color: var(--heather); }
  .nc-title {
    font-size: 22px;
    white-space: normal;
    font-style: normal;
  }

  /* Spine markers — small dot at the start of each row */
  .network-center::before,
  .network-node::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 22px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--heather);
  }
  .network-center::before {
    top: 6px;
    background: var(--loden);
  }

  .network-node {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    text-align: left;
    background: transparent;
    padding: 18px 0 22px;
    border-top: 1px solid var(--hairline);
    display: block;
    transition: none;
    z-index: auto;
    cursor: default;
  }
  .network-node:hover {
    transform: none !important;
    z-index: auto;
  }

  .nn-label {
    display: inline-block;
    margin: 0 12px 0 0;
    font-size: 10.5px;
    color: var(--heather);
  }
  .nn-title {
    display: inline;
    font-size: 17px;
    line-height: 1.25;
    white-space: normal;
    max-width: none;
    color: var(--loden);
  }
  .network-node:hover .nn-title,
  .network-node:hover .nn-label { color: inherit; }

  /* Spindles become inline static text on mobile — no animation, no hover */
  .spindles {
    display: block;
    position: static;
    pointer-events: auto;
    width: auto;
    height: auto;
    margin-top: 10px;
  }
  .spindle {
    display: inline;
    position: static;
    margin: 0;
    width: auto;
    gap: 0;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .spindle-dot { display: none; }
  .spindle-label {
    display: inline;
    font-family: var(--type-display);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.65;
  }
  .spindle + .spindle .spindle-label::before {
    content: "  ·  ";
    color: var(--cairn);
  }
}

.work-examples-label {
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--heather);
  margin-bottom: 8px;
}

.work-cluster {
  max-width: 820px;
  margin-bottom: 56px;
}

.work-cluster:last-child { margin-bottom: 0; }

.wc-label {
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heather);
  margin-bottom: 8px;
  padding-bottom: 10px;
}

.work-list {
  list-style: none;
  padding: 0;
}

.work-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-areas:
    "num title"
    "num detail";
  gap: 4px 28px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}

.work-list li:last-child { border-bottom: 1px solid var(--hairline); }

.wl-num {
  grid-area: num;
  font-family: var(--type-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--heather);
  padding-top: 6px;
}

.wl-title {
  grid-area: title;
  font-family: var(--type-display);
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--loden);
  margin-bottom: 6px;
}

.wl-detail {
  grid-area: detail;
  font-family: var(--type-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}

/* ============================================================
   Principal — graphite invert (the load-bearing dark section)
   ============================================================ */

.principal {
  background: var(--graphite);
  color: var(--snowfall);
  padding: var(--pad-section) var(--pad-page);
}

.principal > * {
  max-width: var(--max-wide);
  margin-left: auto;
  margin-right: auto;
}

.principal .sl-index { color: rgba(254, 255, 242, 0.7); }
.principal .sl-divider { color: var(--heather); opacity: 0.7; }
.principal .sl-text { color: var(--heather); opacity: 0.95; }

.principal-lead {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--snowfall);
  max-width: 880px;
  margin-bottom: 64px;
}

.principal-header {
  display: flex;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 880px;
  margin-bottom: 64px;
}

.principal-portrait {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(170px, 20vw, 230px);
}

.principal-header .principal-lead {
  margin-bottom: 0;
}

.principal .portrait-caption {
  color: var(--heather);
}

@media (max-width: 720px) {
  .principal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .principal-portrait { width: 200px; }
}

.principal-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: 56px;
  max-width: 880px;
}

.pg-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--hairline-inv);
  align-items: baseline;
}

.pg-row:last-child { border-bottom: 1px solid var(--hairline-inv); }

.pg-label {
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heather);
}

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

.pg-list li {
  font-family: var(--type-body);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(254, 255, 242, 0.92);
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
}

.pg-list li:last-child { margin-bottom: 0; }

.pg-list-detailed li { margin-bottom: 18px; }

.pg-role { display: block; }

.pg-detail {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 8px;
}

.pg-list li::before {
  content: "\2022";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--heather);
  font-size: 18px;
  line-height: 1.4;
}

.principal-foot {
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(254, 255, 242, 0.45);
}

/* ============================================================
   Contact
   ============================================================ */

.contact {
  padding: var(--pad-section) var(--pad-page);
}
.contact-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.contact-lead {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--loden);
  margin-bottom: 40px;
}

.contact-links {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  font-family: var(--type-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heather);
  text-decoration: none;
  transition: color 220ms var(--ease-out);
}

.contact-link:hover {
  color: var(--loden);
}

.contact-icon {
  display: block;
  flex: 0 0 auto;
  transition: transform 280ms var(--ease-out);
}

.contact-link:hover .contact-icon {
  transform: translateY(-1px);
}

.contact-label {
  display: inline-block;
}

.contact-scope {
  margin-top: 56px;
  max-width: 62ch;
  font-family: var(--type-body);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: var(--loden);
}

.contact-foot {
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 40px;
}

/* ============================================================
   Origin — closing meditation
   ============================================================ */

.origin-media {
  position: relative;
  margin: clamp(72px, 11vw, 128px) calc(50% - 50vw) clamp(-60px, -6vw, -32px);
  width: 100vw;
  height: clamp(260px, 46vh, 520px);
  overflow: hidden;
}

.origin-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .origin-media {
    margin-top: clamp(56px, 9vw, 96px);
    height: clamp(220px, 38vh, 360px);
  }
}

.origin {
  padding: clamp(96px, 14vh, 180px) var(--pad-page) clamp(96px, 14vh, 160px);
  max-width: var(--max-wide);
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
}

.origin-text {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.008em;
  color: var(--loden);
  max-width: 58ch;
  margin-bottom: 22px;
}

.origin-personal {
  font-family: var(--type-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--heather);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: 72px var(--pad-page) 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  border-top: 1px solid var(--hairline);
}

.foot-mark {
  font-family: var(--type-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--loden);
}

.reg-mark {
  font-size: 9px;
  vertical-align: top;
  margin-left: 1px;
  color: var(--muted);
  font-weight: 400;
}

.foot-tagline {
  font-family: var(--type-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.foot-right {
  text-align: right;
  font-family: var(--type-body);
  color: var(--muted);
  max-width: 42ch;
}

.foot-copy {
  font-size: 12px;
  line-height: 1.5;
}

.foot-legal {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 6px;
  opacity: 0.78;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 860px) {
  .nav-right { gap: 18px; }
  .nav-right a { font-size: 10px; letter-spacing: 0.16em; }

  .hero { min-height: 92vh; padding-top: 120px; padding-bottom: 110px; }
  .hero-headline { font-size: clamp(40px, 11vw, 64px); max-width: 100%; }
  .hero-meta { position: static; margin-top: 56px; flex-direction: column; align-items: flex-start; gap: 8px; }

  .moment-grid { grid-template-columns: 1fr; gap: 32px; }
  .moment-headline { max-width: 100%; }

  .work-list li { grid-template-columns: 52px 1fr; gap: 4px 16px; padding: 24px 0; }

  .pg-row { grid-template-columns: 1fr; gap: 12px; }

  .site-footer { flex-direction: column; align-items: flex-start; }
  .foot-right { text-align: left; }
}

@media (max-width: 480px) {
  .wm-2 { display: none; }
  .nav-right { gap: 12px; }
  .hero-headline { font-size: clamp(36px, 12vw, 56px); }
}

/* ============================================================
   Print + reduced motion
   ============================================================ */

@media print {
  .site-nav, .hero-bg, .hero-overlay, .hero-meta { display: none; }
  .hero { min-height: auto; color: black; }
  .hero-headline, .hero-sub { color: black; }
  .principal { background: white; color: black; }
  .principal-lead, .pg-list li { color: black; }
  body { background: white; color: black; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; }
  .kw-cycle { transition: none; }
  .section-label { opacity: 1; }
  .fact { opacity: 1; transform: none; }
  .hero-video { animation: none; transform: none; }
  details[open] .faq-a { animation: none; }
}

/* ============================================================
   Accessibility utilities
   ============================================================ */

.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-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--graphite);
  color: var(--snowfall);
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 2px;
  transition: top 200ms var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ============================================================
   Hero ambient field (three.js canvas)
   Sits above the video + overlay, beneath the headline.
   ============================================================ */

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

/* ============================================================
   Nav — animated underline + magnetic-ready transitions
   ============================================================ */

.site-nav .nav-right a {
  position: relative;
  transition: color 320ms var(--ease), transform 260ms var(--ease-out);
}

.nav-right a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms var(--ease-out);
}
.nav-right a:hover::after,
.nav-right a.active::after { transform: scaleX(1); }

.wordmark { transition: transform 260ms var(--ease-out); }

.contact-link {
  transition: color 220ms var(--ease-out), transform 260ms var(--ease-out);
}

/* ============================================================
   Questions — quiet FAQ
   ============================================================ */

.faq {
  background: var(--linen); /* differentiates Questions from Contact */
  padding: var(--pad-section) var(--pad-page);
}

.faq > * {
  max-width: var(--max-wide);
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible {
  outline: 1px solid var(--heather);
  outline-offset: 6px;
}

.faq-q {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.014em;
  color: var(--loden);
  transition: color 220ms var(--ease-out);
}
.faq-item summary:hover .faq-q,
.faq-item[open] .faq-q { color: var(--heather); }

.faq-mark {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--heather);
  transition: transform 320ms var(--ease-out);
}
.faq-mark::before { left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; }
.faq-mark::after  { top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -0.75px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }

.faq-a {
  padding: 0 56px 30px 0;
}
.faq-a p {
  font-family: var(--type-body);
  font-size: clamp(14px, 1vw, 15.5px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 64ch;
}

.faq-item[open] .faq-a {
  animation: faq-open 440ms var(--ease-out);
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .faq-a { padding-right: 28px; }
}

/* ============================================================
   The work — selected outcomes (proof)
   ============================================================ */

.work-proof {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
}

.work-proof-label {
  font-family: var(--type-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heather);
  margin-bottom: 40px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}

.proof-figure {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--heather);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.proof-desc {
  font-family: var(--type-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--loden);
  max-width: 34ch;
}

@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr; gap: 30px; }
  .proof-figure { font-size: clamp(36px, 11vw, 46px); }
}

/* ============================================================
   v0.8 — restructured homepage (Range / Problems / Outcomes / About / Close)
   ============================================================ */

/* Generic light section container */
.section {
  padding: var(--pad-section) var(--pad-page);
}
.section > * {
  max-width: var(--max-wide);
  margin-left: auto;
  margin-right: auto;
}
.problems { background: var(--linen); }

/* Hero additions */
.hero-lines { margin-top: 26px; }
.hero-lines p {
  font-family: var(--type-body);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
  color: rgba(254, 255, 242, 0.82);
}
.hero-pivot {
  font-family: var(--type-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.3;
  color: var(--snowfall);
  margin-top: 22px;
  max-width: 30ch;
}
.hero-cta-row { margin-top: 34px; }
.hero-cta {
  display: inline-block;
  font-family: var(--type-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--snowfall);
  border: 1px solid rgba(254, 255, 242, 0.55);
  padding: 15px 28px;
  transition: background-color 360ms var(--ease-out), color 360ms var(--ease-out), border-color 360ms var(--ease-out);
}
.hero-cta:hover { background: var(--snowfall); color: var(--graphite); border-color: var(--snowfall); }

/* Prose grid (Why range) + shared headline */
.prose-headline {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--loden);
}
.prose-headline em { font-style: normal; color: var(--heather); }

.prose-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: 8px;
}
.prose-body p {
  font-family: var(--type-body);
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.75;
  color: var(--loden);
  margin-bottom: 22px;
}
.prose-body p:last-child { margin-bottom: 0; }
.prose-foot { color: var(--muted); font-size: clamp(15px, 1.1vw, 16px) !important; }

/* Problems — looks like one, is actually five */
.problems-intro { max-width: var(--max-wide); margin-bottom: clamp(40px, 5vw, 72px); align-items: center; grid-template-columns: 0.9fr 1.45fr; gap: clamp(28px, 4vw, 64px); }
.problems-intro .prose-headline { font-size: clamp(28px, 3.6vw, 46px); }
.problems-intro .prose-headline em { font-style: italic; color: var(--heather); }

.problem-list { border-bottom: 1px solid var(--hairline); }
.problem {
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-top: 1px solid var(--hairline);
}
.problem-name {
  font-family: var(--type-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 33px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--loden);
}
.lbl {
  font-family: var(--type-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--heather);
  margin-right: 12px;
}
.problem-looks {
  font-family: var(--type-body);
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--muted);
  margin-top: 14px;
}
.problem-dims {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 18px;
  padding: 0;
}
.problem-dims li {
  font-family: var(--type-body);
  font-size: 13px;
  line-height: 1;
  color: var(--loden);
  background: var(--linen);
  border: 1px solid var(--cairn);
  padding: 8px 13px;
  border-radius: 2px;
}
.problem-help {
  font-family: var(--type-body);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--loden);
  max-width: 70ch;
}

/* About */
.principal-header.about-header { align-items: flex-start; gap: clamp(32px, 4.5vw, 72px); }
.about-intro { flex: 1; }
.about-prose {
  font-family: var(--type-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: rgba(254, 255, 242, 0.82);
  margin-top: 20px;
  max-width: 64ch;
}

/* Close */
.contact-rationale {
  font-family: var(--type-body);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 64ch;
  margin-top: 22px;
}

@media (max-width: 860px) {
  .prose-grid { grid-template-columns: 1fr; gap: 28px; }
  .principal-header.about-header { flex-direction: column; }
}

.outcomes .proof-grid { margin-top: clamp(40px, 5vw, 64px); }


/* Problems carousel */
.carousel { position: relative; margin-top: clamp(36px, 4.5vw, 64px); outline: none; }
.carousel:focus-visible { outline: 1px solid var(--heather); outline-offset: 8px; }
.carousel-viewport { overflow: hidden; padding: 10px 0 18px; }
.carousel-track { display: flex; align-items: stretch; gap: clamp(16px, 2vw, 28px); transition: transform 600ms var(--ease-out); will-change: transform; }
.pcard {
  flex: 0 0 auto;
  width: min(560px, 86vw);
  box-sizing: border-box;
  background: var(--snowfall);
  border: 1px solid var(--cairn);
  border-radius: 12px;
  padding: clamp(28px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  opacity: 0.38;
  transform: scale(0.93);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.pcard.is-active { opacity: 1; transform: scale(1); }
.pcard-kicker { font-family: var(--type-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--heather); }
.pcard-kicker span { color: var(--muted); }
.pcard-name { font-family: var(--type-serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.14; letter-spacing: -0.018em; color: var(--loden); margin-top: 14px; }
.pcard-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-top: clamp(16px, 1.8vw, 24px); }
.pcard-line .lbl { min-width: 92px; }
.pcard-looks { font-family: var(--type-serif); font-weight: 400; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.25; color: var(--muted); }
.pcard-cycle { display: inline-block; font-family: var(--type-serif); font-weight: 400; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.25; color: var(--loden); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.pcard-cycle.flip { opacity: 0; transform: translateY(-7px); }
.pcard-help { font-family: var(--type-body); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; color: var(--loden); margin-top: clamp(26px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--cairn); max-width: 74ch; }
.pcard-help .lbl { margin-right: 12px; }
.carousel-ui { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.carousel-nav { display: flex; align-items: center; gap: 18px; }
.carousel-btn {
  width: 46px; height: 46px; border: 1px solid var(--cairn); background: transparent; border-radius: 50%;
  color: var(--loden); font-size: 17px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out), border-color 320ms var(--ease-out);
}
.carousel-btn:hover { background: var(--loden); color: var(--snowfall); border-color: var(--loden); }
.carousel-counter { font-family: var(--type-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: var(--muted); min-width: 64px; text-align: center; }
.carousel-dots { display: flex; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--cairn); background: transparent; padding: 0; cursor: pointer; transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out); }
.dot.on { background: var(--heather); border-color: var(--heather); }
@media (max-width: 720px) {
  .pcard { width: 82vw; }
  .pcard-line { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pcard-line .lbl { min-width: 0; }
  .pcard-looks, .pcard-cycle { display: block; }
  .pcard-cycle { min-height: 2.5em; }
  .carousel-ui { flex-direction: column; align-items: flex-start; gap: 20px; }
}


/* Scheduling page */
.sched { padding: clamp(110px,14vh,170px) var(--pad-page) clamp(80px,10vh,140px); max-width: 880px; margin: 0 auto; }
.sched-head h1 { font-family: var(--type-serif); font-weight:400; font-size: clamp(34px,5vw,56px); line-height:1.08; letter-spacing:-0.02em; color: var(--loden); }
.sched-sub { font-family: var(--type-body); font-size: clamp(16px,1.3vw,18px); line-height:1.6; color: var(--muted); margin-top:18px; max-width:54ch; }
.sched-tz { font-family: var(--type-mono); font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color: var(--muted); margin-top:14px; }
.sched-grid { display:grid; grid-template-columns: 230px 1fr; gap: clamp(24px,3vw,48px); margin-top: clamp(34px,4vw,52px); border-top:1px solid var(--hairline); padding-top: clamp(26px,3vw,40px); }
.sched-days { display:flex; flex-direction:column; gap:2px; max-height:440px; overflow:auto; }
.sched-day { text-align:left; background:transparent; border:none; border-bottom:1px solid var(--hairline); padding:14px 8px; font-family:var(--type-body); font-size:15px; color:var(--loden); cursor:pointer; transition:color .25s var(--ease-out), background-color .25s var(--ease-out); }
.sched-day:hover { background: var(--linen); }
.sched-day.on { color: var(--heather); }
.sched-slots { display:grid; grid-template-columns: repeat(auto-fill, minmax(108px,1fr)); gap:10px; align-content:start; }
.sched-slot { background:transparent; border:1px solid var(--cairn); border-radius:2px; padding:12px 10px; font-family:var(--type-body); font-size:14px; color:var(--loden); cursor:pointer; transition:background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out); }
.sched-slot:hover { background: var(--loden); color: var(--snowfall); border-color: var(--loden); }
.sched-form { margin-top: 4px; display:flex; flex-direction:column; gap:16px; max-width:460px; }
.sched-form label { font-family:var(--type-mono); font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:6px; }
.sched-form input, .sched-form textarea { width:100%; box-sizing:border-box; font-family:var(--type-body); font-size:16px; color:var(--loden); background:var(--snowfall); border:1px solid var(--cairn); border-radius:2px; padding:12px 14px; }
.sched-form textarea { min-height:90px; resize:vertical; }
.sched-btn { align-self:flex-start; font-family:var(--type-mono); font-size:12px; letter-spacing:0.2em; text-transform:uppercase; color:var(--snowfall); background:var(--loden); border:1px solid var(--loden); padding:14px 26px; cursor:pointer; transition:background-color .3s var(--ease-out); }
.sched-btn:hover { background:var(--graphite); border-color:var(--graphite); }
.sched-btn:disabled { opacity:.6; cursor:default; }
.sched-picked { font-family:var(--type-serif); font-size: clamp(19px,1.9vw,24px); color:var(--loden); margin-bottom:6px; }
.sched-msg { font-family:var(--type-body); font-size:15px; color:var(--muted); margin-top:14px; }
.sched-confirm { font-family:var(--type-serif); font-size: clamp(24px,2.6vw,34px); color:var(--loden); line-height:1.25; }
.sched-back { align-self:flex-start; background:transparent; border:none; cursor:pointer; font-family:var(--type-mono); font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--muted); padding:0; }
@media (max-width:680px){ .sched-grid{ grid-template-columns:1fr; } .sched-days{ flex-direction:row; overflow-x:auto; max-height:none; } }


/* Scheduling embed (Google widget, framed in brand) */
.sched-embed { margin-top: clamp(32px, 4vw, 52px); border: 1px solid var(--cairn); border-radius: 14px; overflow: hidden; background: var(--snowfall); }
.sched-embed iframe { display: block; width: 100%; min-height: 760px; border: 0; }
.sched-foot { margin-top: 26px; font-family: var(--type-body); font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .sched-embed iframe { min-height: 900px; } }


/* Article (Insights) */
.article { max-width: 940px; margin: 0 auto; padding: clamp(104px, 13vh, 150px) var(--pad-page) clamp(70px, 9vh, 120px); }
.article-eyebrow { font-family: var(--type-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--heather); }
.article-title { font-family: var(--type-serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; letter-spacing: -0.02em; color: var(--loden); margin-top: 18px; }
.article-byline { font-family: var(--type-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--hairline); }
.article-body { margin-top: 36px; }
.article-body p { font-family: var(--type-body); font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.8; color: var(--loden); margin-bottom: 24px; }
.article-body h2 { font-family: var(--type-serif); font-weight: 400; font-size: clamp(23px, 2.5vw, 30px); line-height: 1.2; letter-spacing: -0.015em; color: var(--loden); margin-top: 44px; margin-bottom: 12px; }
.article-cta { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--hairline); font-family: var(--type-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.article-cta a { color: var(--heather); }
.foot-links { margin-top: 14px; }
.foot-links a { font-family: var(--type-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); transition: color 0.25s var(--ease-out); }
.foot-links a:hover { color: var(--heather); }


/* Insights index */
.insights-intro { font-family: var(--type-body); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; color: var(--muted); margin-top: 20px; max-width: 60ch; padding-bottom: 32px; border-bottom: 1px solid var(--hairline); }
.insights-list { list-style: none; padding: 0; margin: 0; }
.insights-item { border-bottom: 1px solid var(--hairline); }
.insights-item a { display: block; padding: 28px 0; text-decoration: none; }
.ii-title { display: block; font-family: var(--type-serif); font-weight: 400; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.18; letter-spacing: -0.015em; color: var(--loden); transition: color 0.25s var(--ease-out); }
.insights-item a:hover .ii-title { color: var(--heather); }
.ii-desc { display: block; font-family: var(--type-body); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; color: var(--muted); margin-top: 10px; max-width: 66ch; }


/* Mobile hamburger menu (homepage nav only) */
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-self: center; gap: 5px; width: 28px; height: 22px; padding: 0; background: transparent; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1.6px; background: var(--snowfall); transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out), background-color 0.3s var(--ease-out); }
.site-nav.past-hero .nav-toggle span { background: var(--loden); }
.has-menu.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.has-menu.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.has-menu.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
@media (max-width: 1024px) {
  .has-menu .nav-toggle { display: flex; }
  .has-menu .wordmark, .has-menu .nav-toggle { position: relative; z-index: 2; }
  .has-menu .nav-right {
    position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 1;
    background: var(--graphite);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: clamp(92px, 15vh, 132px) var(--pad-page) calc(44px + env(safe-area-inset-bottom));
    overflow-y: auto;
    display: none;
  }
  .has-menu.is-open .nav-right { display: flex; }
  .has-menu.is-open { background: transparent !important; border-color: transparent !important; }
  .has-menu.is-open .wordmark { color: var(--snowfall); }
  .has-menu.is-open .nav-toggle span { background: var(--snowfall); }
  .has-menu .nav-right a { color: var(--snowfall); font-size: 16px; letter-spacing: 0.16em; padding: 15px 2px; text-align: center; }
  .has-menu .nav-right .nav-cta { border: 1px solid rgba(254, 255, 242, 0.35); border-radius: 4px; margin-top: 18px; padding: 18px; text-align: center; }
  .has-menu .nav-right a.nav-cta:hover { background: var(--heather) !important; border-color: var(--heather); }
}

/* Bridge line handing the Problems intro into the carousel */

/* Schedule intake modal */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(22, 28, 28, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-overlay[hidden] { display: none; }
.modal { position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; background: var(--snowfall); color: var(--loden); border-radius: 4px; padding: clamp(28px, 4vw, 52px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.30); }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal-close:hover { color: var(--loden); }
.modal-eyebrow { font-family: var(--type-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--heather); margin-bottom: 10px; }
.modal-title { font-family: var(--type-serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.14; letter-spacing: -0.015em; color: var(--loden); }
.modal-intro { font-family: var(--type-body); font-size: 15px; line-height: 1.6; color: var(--muted); margin: 12px 0 24px; }
.intake-form .field { display: block; margin-bottom: 16px; }
.intake-form .field span { display: block; font-family: var(--type-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.intake-form input, .intake-form textarea { width: 100%; box-sizing: border-box; font-family: var(--type-body); font-size: 15px; color: var(--loden); background: #fff; border: 1px solid rgba(22, 28, 28, 0.18); border-radius: 3px; padding: 11px 12px; }
.intake-form input:focus, .intake-form textarea:focus { outline: none; border-color: var(--heather); }
.intake-form textarea { resize: vertical; }
.modal-submit { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--type-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--snowfall); background: var(--loden); border: none; border-radius: 3px; padding: 13px 26px; cursor: pointer; transition: background 0.2s var(--ease-out); }
.modal-submit:hover { background: var(--heather); }

/* About CTA (dark section) */
.about-cta { margin-top: 26px; }
.about-cta a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--type-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--snowfall); border-bottom: 1px solid var(--heather); padding-bottom: 4px; transition: color 0.2s var(--ease-out); }
.about-cta a:hover { color: var(--heather); }
.about-cta a span { transition: transform 0.2s var(--ease-out); }
.about-cta a:hover span { transform: translateX(3px); }

/* Top-nav Schedule CTA */
.nav-right .nav-cta { border: 1px solid currentColor; border-radius: 999px; padding: 7px 15px; transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out); }
.nav-right a.nav-cta:hover { background: var(--heather) !important; border-color: var(--heather); color: var(--snowfall) !important; }

/* Contact closing CTA */
.contact .contact-lead { margin-bottom: 18px; max-width: none; }
.contact-body { font-family: var(--type-body); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; color: var(--muted); max-width: 52ch; margin-bottom: 30px; }
.contact-cta-row { margin-bottom: 44px; }
.contact-cta-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--type-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--snowfall); background: var(--loden); border-radius: 3px; padding: 15px 30px; transition: background 0.2s var(--ease-out); }
.contact-cta-btn:hover { background: var(--heather); color: var(--snowfall); }

/* Personal LinkedIn under the About portrait */
.portrait-linkedin { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--type-display); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--snowfall); transition: color 220ms var(--ease-out); }
.portrait-linkedin svg { display: block; flex: 0 0 auto; }
.portrait-linkedin:hover { color: var(--heather); }
