/* New Heights Inc. landing.
   Brand kept from newhts.com: A Pompadour Display + Source Sans 3, paper,
   ink and the yellow. One ground (paper) instead of white header / black page
   / yellow card; yellow is the accent, used where something is the point. */

@font-face {
  font-family: 'A Pompadour Display';
  src: url('assets/fonts/a-pompadour-display-sample.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --paper: #f5f3eb;
  --paper-2: #eceadf;
  --paper-3: #e3e1d3;
  --ink: #242722;
  --ink-2: #191b16;
  --muted: #5f625a;
  --line: #d3d5c8;
  --line-2: #b9bcad;
  --yellow: #efed58;
  --yellow-2: #e2df3c;
  --olive: #6b6c12;
  --display: 'A Pompadour Display', Georgia, serif;
  --font: 'Source Sans 3', system-ui, sans-serif;
  --gutter: clamp(16px, 5.5vw, 88px);
  --max: 1440px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.14  0 0 0 0 0.15  0 0 0 0 0.12  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 4px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-synthesis: none; margin: 0; letter-spacing: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 50; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- shared bits ---------- */
.button {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 15px 20px; border-radius: var(--r);
  background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.2;
  transition: background-color .18s ease, transform .18s ease;
}
.button:hover { background: #3a3e35; }
.button:active { transform: translateY(1px); }
.button span { font-size: 18px; line-height: 1; transition: transform .18s ease; }
.button:hover span { transform: translateX(3px); }
.button--yellow { background: var(--yellow); color: var(--ink); }
.button--yellow:hover { background: #f6f480; }
.button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.button--ghost:hover { background: var(--paper-2); }

.text-link {
  font-size: 15px; font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line-2);
  transition: text-decoration-color .18s ease;
}
.text-link:hover { text-decoration-color: currentColor; }

.kicker { font-size: 15px; font-weight: 600; color: var(--olive); margin-bottom: 14px; }
.section-head { display: grid; gap: 0; max-width: 980px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(44px, 6vw, 84px); line-height: 1.04; }
.section-intro { margin-top: 22px; max-width: 560px; color: var(--muted); font-size: 18px; }
.section-head--row { max-width: none; grid-template-columns: 1fr minmax(260px, 420px); align-items: end; gap: 32px; }
.section-head--row .section-intro { margin-top: 0; }

/* ---------- hero ---------- */
.lh {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  border-bottom: 1px solid var(--line);
}

.site-header {
  display: flex; align-items: center; gap: 32px;
  padding-top: 18px; padding-bottom: 18px; position: relative; z-index: 3;
}
.brand { flex: none; display: block; }
.brand img { width: 168px; mix-blend-mode: multiply; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; }
.nav a, .footer-nav a {
  font-family: var(--display); font-size: 23px; line-height: 1; text-decoration: none;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-size: 0 40%; background-position: 0 85%; background-repeat: no-repeat;
  transition: background-size .25s ease;
}
.nav a:hover, .footer-nav a:hover { background-size: 100% 40%; }
.header-employees {
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted);
  padding: 9px 14px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2);
}
.header-employees:hover { color: var(--ink); background: var(--paper-2); }
.menu-btn { display: none; }
.mobile-nav { display: none; }

.hero {
  position: static; display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: center; padding-top: clamp(12px, 3vh, 40px); padding-bottom: clamp(12px, 3vh, 32px);
}
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: clamp(12px, 2.4vh, 26px); }
.eyebrow span:not(:last-child)::after { content: '/'; margin: 0 10px; color: var(--line-2); font-weight: 400; }
.hero h1 { font-size: clamp(56px, min(7.2vw, 10.6vh), 124px); line-height: 1.0; margin-bottom: clamp(18px, 3vh, 30px); }
.highlight { position: relative; z-index: 0; white-space: nowrap; }
.highlight::before {
  content: ''; position: absolute; z-index: -1; left: -.06em; right: -.1em; bottom: .1em; height: .36em;
  background: var(--yellow); transform: rotate(-2deg); transform-origin: left;
  animation: swipe 1s cubic-bezier(.2, .8, .2, 1) .35s both;
}
@keyframes swipe { from { transform: rotate(-2deg) scaleX(0); } to { transform: rotate(-2deg) scaleX(1); } }
.hero-lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; max-width: 520px; margin-bottom: clamp(22px, 4vh, 36px); }
.hero-local { font-size: 17px; color: var(--muted); max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-foot {
  position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-top: 14px; padding-bottom: 22px;
}
.tagline { font-family: var(--display); font-size: 26px; line-height: 1.1; max-width: 230px; }

/* ---------- services ---------- */
.services { padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(70px, 9vw, 120px); }
.svc-label { font-size: 14px; font-weight: 600; color: var(--olive); margin-bottom: 14px; }
.svc-body h3 { font-size: clamp(32px, 2.8vw, 44px); line-height: 1.08; margin-bottom: 16px; }
.svc-body > p:not(.svc-label) { color: var(--muted); margin-bottom: 22px; }
.svc-items { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); counter-reset: svc; }
.svc-items li { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: 12px; }
.svc-items li { counter-increment: svc; }
.svc-items li::before { content: counter(svc, decimal-leading-zero); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.svc-cta { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; color: var(--muted); }

/* ---------- work ---------- */
.work { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(80px, 10vw, 140px) 0; }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.5vw, 80px); align-items: center; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--ink); }
.case + .case { margin-top: clamp(24px, 3vw, 40px); }
.case--flip .case-copy { order: 2; }
.case-tag { font-size: 14px; font-weight: 600; color: var(--olive); margin-bottom: 12px; }
.case h3 { font-size: clamp(38px, 3.8vw, 58px); line-height: 1.05; margin-bottom: 18px; }
.case-copy > p:not(.case-tag) { color: var(--muted); max-width: 520px; margin-bottom: 28px; }

.seq {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0;
  background: var(--paper); border: 1px solid var(--ink); border-radius: var(--r);
}
.seq-left { padding: 26px 24px; border-right: 1px solid var(--line); }
.seq-right { padding: 26px 24px; position: relative; }
.seq-title { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.seq-filters { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.seq-filters li {
  font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: var(--r);
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1), background-color .3s ease;
}
.seq-filters li:last-child { background: var(--ink); color: var(--paper); box-shadow: none; }
.seq-count { font-size: 15px; color: var(--muted); }
.seq-count span { display: block; font-family: var(--display); font-size: 56px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.slip { transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.slip-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.slip-addr { font-family: var(--display); font-size: 30px; line-height: 1.1; margin-bottom: 18px; }
.ladder { margin: 0 0 14px; display: grid; gap: 12px; }
.ladder div { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; transition: opacity .3s ease; }
.ladder dt { font-size: 14px; color: var(--muted); }
.ladder dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.meter { grid-column: 1 / -1; height: 10px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--fill, 0%); background: var(--ink); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.ladder .is-hot .meter i { background: var(--yellow-2); }
.ladder .is-hot dd { background: var(--yellow); padding: 0 6px; border-radius: 2px; }
.slip-note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; transition: opacity .3s ease; }
.seq-foot { grid-column: 1 / -1; font-size: 13px; color: var(--muted); padding: 10px 24px; border-top: 1px solid var(--line); }
.seq-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.replay {
  font: 600 13px var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2);
  background: none; border: 0; padding: 4px 6px; margin: -4px -6px; cursor: pointer; border-radius: var(--r);
}
.replay:hover { color: var(--ink); background: var(--paper-2); }
[data-step].is-pending { opacity: 0; transform: translateY(6px); }
.ladder [data-step].is-pending { opacity: .35; transform: none; }

.shot { position: relative; display: block; border: 1px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--paper-3); aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.shot:hover img { transform: scale(1.02); }
.shot-modes { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; }
.shot-modes span { background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: var(--r); }
.shot-modes span:first-child { background: var(--ink); color: var(--paper); }

.case-small {
  margin-top: clamp(24px, 3vw, 40px); padding-top: 32px; border-top: 1px solid var(--ink);
  display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 32px; align-items: center;
}
.case-small h3 { font-size: clamp(28px, 2.4vw, 36px); line-height: 1.1; margin-bottom: 8px; }
.case-small p:not(.case-tag) { color: var(--muted); max-width: 620px; }
.case-illo svg { width: 100%; height: auto; overflow: visible; }
.case-illo .il-floor { fill: none; stroke: var(--line-2); stroke-dasharray: 3 4; }
.case-illo rect, .case-illo path, .case-illo circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.1; }
.case-illo path { fill: none; }
.case-illo .il-accent { fill: var(--yellow); }
.il-layer { transform: translateY(0); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.case-small:hover .il-layer, .case-small.is-in .il-layer { transform: translateY(calc(var(--lift) * -1)); }

/* ---------- about ---------- */
.about { padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(60px, 8vw, 110px); }
.lead-person { display: grid; grid-template-columns: minmax(200px, 4fr) 8fr; gap: clamp(28px, 4.5vw, 80px); align-items: start; padding-top: 40px; border-top: 1px solid var(--ink); }
.lead-photo { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.lead-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lead-body h3 { font-size: clamp(40px, 4vw, 60px); line-height: 1.05; }
.role { font-size: 15px; font-weight: 600; color: var(--olive); margin: 6px 0 22px; }
.pull { font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; max-width: 680px; margin-bottom: 26px; }
.bio { columns: 2 300px; column-gap: 40px; color: var(--muted); margin-bottom: 26px; }
.bio p { margin-bottom: 16px; break-inside: avoid; }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 clamp(28px, 3vw, 48px); margin-top: clamp(48px, 6vw, 80px); }
.person { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); align-content: start; }
.person h3 { font-size: 32px; line-height: 1.1; }
.person .role { margin: 4px 0 12px; }
.person--org .role { margin: 0 0 4px; }
.person--org h3 { margin-bottom: 10px; }
.person p:not(.role) { color: var(--muted); font-size: 16px; }
.person .text-link { display: inline-block; margin-top: 14px; }
.initials {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 16px;
}
.org-logo { width: 56px; height: 56px; object-fit: contain; }
details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 18px; line-height: 1; color: var(--muted); }
details[open] summary::after { content: '\2212'; }
details p { margin-top: 12px; }

/* ---------- journal ---------- */
.journal { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(60px, 8vw, 110px); }
.entry {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-rows: auto auto 1fr; gap: 10px 48px;
  text-decoration: none; padding: 32px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.entry-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.entry-meta span:not(:last-child)::after { content: '/'; margin: 0 10px; color: var(--line-2); font-weight: 400; }
.entry-title { font-family: var(--display); font-size: clamp(34px, 3.6vw, 54px); line-height: 1.06; }
.entry-dek { grid-column: 1; color: var(--muted); max-width: 640px; }
.entry-side { grid-column: 2; grid-row: 2 / 4; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border-left: 1px solid var(--line); padding-left: 28px; }
.entry-sub { font-family: var(--display); font-size: 24px; line-height: 1.15; }
.entry:hover .entry-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--yellow-2); }

/* ---------- bookings ---------- */
.book { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(80px, 10vw, 140px); }
.book-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.book-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 200px 220px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.book-face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.book-name { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.book-name span { display: block; font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--olive); margin-top: 2px; }
.book-len { color: var(--muted); font-size: 15px; }
.book-row .button { justify-self: end; }
.soon { justify-self: end; font-size: 15px; font-weight: 600; color: var(--muted); padding: 15px 0; }
.is-soon .initials { background: var(--paper-3); color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: var(--ink-2); color: var(--paper); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: clip; }
.contact .kicker { color: var(--yellow); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.contact h2 { font-size: clamp(50px, 7vw, 108px); line-height: 1.02; max-width: 860px; margin-bottom: 36px; }
.contact-aside { text-align: right; }
.mail { font-size: 22px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #6c6f64; padding-bottom: 6px; display: inline-block; margin-bottom: 18px; }
.mail:hover { border-color: var(--yellow); }
.contact-aside p { color: #bdbfb3; }

/* ---------- partners + footer ---------- */
.site-footer { background: var(--paper); }
.partners { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(40px, 5vw, 64px); }
.partners h2 { font-size: clamp(36px, 3.6vw, 52px); margin-bottom: 28px; }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.partner-list li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-list a { text-decoration: none; display: grid; place-items: center; height: 132px; padding: 22px; transition: background-color .2s ease; }
.partner-list a:hover { background: var(--paper-2); }
.partner-list img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: .85; transition: filter .25s ease, opacity .25s ease; }
.partner-list a:hover img { filter: none; opacity: 1; }
.partner-list .p-dark { grid-auto-flow: column; gap: 12px; }
.partner-list .p-dark img { max-height: 40px; filter: invert(1) grayscale(1); mix-blend-mode: multiply; }
.partner-list .p-dark:hover img { filter: invert(1); }
.partner-list .p-dark span { font-weight: 700; font-size: 15px; line-height: 1.15; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; padding-top: 28px; padding-bottom: 36px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.footer-name { font-family: var(--display); font-size: 28px; text-decoration: none; }
.foot-brand p { color: var(--muted); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer-nav a { font-size: 21px; }
.legal { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-copy { max-width: 520px; }
  .book-row { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .book-len { display: none; }
  .partner-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 960px) {
  .nav, .header-employees { display: none; }
  .menu-btn {
    display: inline-flex; margin-left: auto; font: 600 15px var(--font); color: var(--ink);
    background: none; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r); padding: 10px 14px; cursor: pointer;
  }
  .mobile-nav:not([hidden]) {
    display: grid; position: absolute; z-index: 5; top: 84px; left: 16px; right: 16px;
    background: var(--paper); border: 1px solid var(--ink); border-radius: var(--r); padding: 8px 18px;
  }
  .mobile-nav a { font-family: var(--display); font-size: 28px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--muted); }
  .case, .lead-person { grid-template-columns: 1fr; }
  .case--flip .case-copy { order: 0; }
  .section-head--row { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 1fr; }
  .entry-side { grid-column: 1; grid-row: auto; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { text-align: left; }
  .lead-photo { max-width: 280px; }
}
@media (max-width: 899px) {
  .lh { min-height: 0; }
  .hero { grid-template-rows: auto auto; padding-top: 8px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { width: 132px; }
  .hero h1 { font-size: clamp(52px, 14vw, 72px); }
  .seq { grid-template-columns: 1fr; }
  .seq-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-small { grid-template-columns: 1fr; gap: 18px; }
  .case-illo { width: 140px; }
  .bio { columns: 1; }
  .book-row { grid-template-columns: 48px minmax(0, 1fr); row-gap: 12px; }
  .book-face { width: 48px; height: 48px; }
  .book-row .button, .book-row .soon { grid-column: 2; justify-self: start; }
  .soon { padding: 0; }
  .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-list a { height: 110px; }
}

/* ---------- legal pages ---------- */
.doc .site-header { justify-content: space-between; }
.doc-body { max-width: 760px; padding-top: 48px; padding-bottom: 96px; }
.doc-body h1 { font-size: clamp(48px, 7vw, 84px); line-height: 1.04; margin-bottom: 24px; }
.doc-body h2 { font-size: 32px; margin: 40px 0 10px; }
.doc-body p { color: var(--muted); margin-bottom: 14px; }
.doc-body .doc-lede { font-size: 20px; color: var(--ink); }
.doc-body a { text-underline-offset: 4px; }

/* ---------- the mountain ---------- */
.lh { --m-paper: var(--paper); --m-ink: #242722; --m-sun: #efed58; --m-soft: #b9bcad; }
.mtn-wrap { position: absolute; inset: 0; z-index: 0; }
.mtn { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.site-header, .hero, .hero-foot { position: relative; z-index: 2; }
.mobile-nav { z-index: 6; }
.hero-local { font-size: 17px; color: var(--muted); max-width: 470px; margin: -14px 0 clamp(22px, 4vh, 34px); }
.camps { position: absolute; inset: 0; pointer-events: none; }
.camp {
  position: absolute; left: 0; top: 0; will-change: transform;
  display: block; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--muted);
}
.camp b, .camp { line-height: 1.15; }
.camp > b { display: block; font-size: 12px; font-weight: 600; color: var(--olive); }
.camp { padding: 0 0 0 30px; margin-top: -40px; }
.camp > b, .camp > .camp-t { background: var(--paper); padding: 1px 5px; margin-left: -5px; box-decoration-break: clone; }
.camp > .camp-t { display: inline-block; }
.camp::before { /* leader from the camp marker up to the label */
  content: ''; position: absolute; left: 0; top: 40px; width: 34px; height: 1px; background: var(--ink);
  transform-origin: left center; transform: rotate(-40deg);
}
.camp.is-reached { color: var(--ink); }
.camp--summit { margin-top: -86px; padding-left: 44px; font-family: var(--display); font-size: 30px; font-weight: 400; color: var(--ink); }
.camp--summit > b { font-family: var(--font); font-size: 12px; }
.camp--summit::before { display: none; }
.scroll-cue { display: block; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 14px; }
.scroll-cue::after { content: ''; display: inline-block; width: 1px; height: 22px; background: var(--ink); margin-left: 10px; vertical-align: middle; transform-origin: top; animation: cue 1.8s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.mtn-fallback { display: none; }
html.js:not(.motion) [data-hero-copy], html.js:not(.motion) .camps, html.js:not(.motion) [data-hero-foot] { opacity: 0; animation: show 0s 2.6s forwards; }
@keyframes show { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.js:not(.motion) [data-hero-copy], html.js:not(.motion) .camps, html.js:not(.motion) [data-hero-foot] { opacity: 1; animation: none; } }
.ln { padding-bottom: .08em; margin-bottom: -.08em; } /* room for descenders inside split-line masks */

/* ---------- services: the climb ---------- */
.story { display: grid; grid-template-columns: minmax(220px, 3fr) 9fr; gap: clamp(28px, 4vw, 72px); }
.story-rail { position: sticky; top: 16vh; align-self: start; padding-top: 6px; }
.story-peak { width: 100%; max-width: 240px; height: auto; overflow: visible; margin-bottom: 26px; }
.peak-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.peak-fill { fill: var(--paper); }
.peak-row { fill: none; stroke: var(--ink); stroke-linejoin: round; }
.peak-trail { fill: none; stroke: var(--yellow-2); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.peak-dot { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.6; }
.story-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.story-index li {
  font-family: var(--display); font-size: clamp(30px, 2.6vw, 42px); line-height: 1.1; color: var(--line-2);
  padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline;
  transition: color .35s ease;
}
.story-index li span { font-family: var(--font); font-size: 13px; font-weight: 600; transition: color .35s ease; }
.story-index li.is-on { color: var(--ink); }
.story-index li.is-on span { color: var(--olive); }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; min-height: 86vh; padding: 6vh 0; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter-fig { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--paper-2); aspect-ratio: 1122 / 1402; }
.chapter-fig img { width: 100%; height: 100%; object-fit: cover; }
.chapter-body h3 { font-size: clamp(34px, 3.2vw, 52px); line-height: 1.06; margin-bottom: 16px; }
.chapter-body > p:not(.svc-label) { color: var(--muted); margin-bottom: 22px; max-width: 460px; }

/* ---------- drawn rules ---------- */
.has-rule { position: relative; border-top-color: transparent !important; }
.has-rule::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(.2, .8, .2, 1); }
.has-rule.rule-in::before { transform: scaleX(1); }

/* ---------- altimeter ---------- */
.alti { position: fixed; left: 22px; bottom: 26px; z-index: 30; display: flex; align-items: flex-end; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.alti.is-on { opacity: 1; transform: none; }
.alti-rail { width: 3px; height: 92px; background: var(--paper-3); border-radius: 2px; overflow: hidden; display: flex; align-items: flex-end; }
.alti-rail i { display: block; width: 100%; height: 100%; background: var(--ink); transform-origin: bottom; transform: scaleY(0); }
.alti-read { display: grid; line-height: 1.2; background: color-mix(in srgb, var(--paper) 88%, transparent); padding: 4px 6px; border-radius: 3px; }
.alti-read b { font-size: 14px; font-variant-numeric: tabular-nums; }
.alti-read span { font-size: 12px; color: var(--muted); font-weight: 600; }
.contact-in .alti-read { background: transparent; }
@media (max-width: 1279px) { .alti { display: none; } }

/* ---------- contact summit ---------- */
.contact { --m-paper: #191b16; --m-ink: #b4b6a8; --m-sun: #efed58; --m-soft: #55584c; min-height: 100svh; padding-bottom: 46vh; }
.contact .mtn { z-index: 0; }
.contact-grid { grid-template-columns: 1fr auto; align-items: start; }
.contact-aside { padding-top: 8px; }

@media (max-width: 1180px) {
  .story { grid-template-columns: 1fr; }
  .story-rail { display: none; }
  .chapter { min-height: 0; padding: 48px 0; }
}
@media (max-width: 899px) {
  .lh { display: flex; flex-direction: column; min-height: 0; }
  .lh > .site-header { order: 1; } .lh > .mobile-nav { order: 2; } .lh > .hero { order: 3; }
  .mtn-wrap { order: 4; position: relative; inset: auto; height: 112vw; max-height: 640px; margin-top: 12px; }
  .lh > .hero-foot { order: 5; padding-top: 0; }
  .camp { font-size: 12px; }
  .camp > b { font-size: 11px; }
  .camp--summit { font-size: 24px; margin-top: -76px; padding-left: 38px; }
  .chapter { grid-template-columns: 1fr; }
  .chapter-fig { aspect-ratio: 16 / 11; }
  .contact { min-height: 0; padding-bottom: 92vw; }
  .contact-grid { grid-template-columns: 1fr; }
}
.camp--summit > b, .camp--summit > .camp-t { background: transparent; }

/* ---------- 3D hero ---------- */
.mtn3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.summit-line { display: none; }
@media (min-width: 900px) {
  html.has-3d.motion .summit-line {
    display: grid; position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 3; pointer-events: none;
    font-family: var(--display); font-size: clamp(44px, 5.4vw, 88px); line-height: 1.02; opacity: 0;
  }
  html.has-3d.motion .summit-line span:last-child { color: var(--olive); }
}

/* the hero canvas is flat paper; lay the page grain back over it */
.mtn-wrap::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.14  0 0 0 0 0.15  0 0 0 0 0.12  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.shot { isolation: isolate; }
.shot-night { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.shot:hover .shot-night, .shot:focus-visible .shot-night { opacity: 1; }
.shot-modes { z-index: 2; }

html.js:not(.motion) .ph h1 { opacity: 0; animation: show 0s 2.4s forwards; }
@media (prefers-reduced-motion: reduce) { html.js:not(.motion) .ph h1 { opacity: 1; animation: none; } }

.more-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.soon { text-decoration: none; }
.soon:hover { color: var(--ink); }

/* Lenis drives scrolling when it is on; native smooth scrolling fights it (Home/End and
   anchor jumps stall part-way), so it is only left on when Lenis is not running. */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
[data-lenis-prevent] { overscroll-behavior: contain; }

/* contact: copy stacks on the left so the sun has the right side to itself */
.contact .contact-grid { grid-template-columns: 1fr; gap: 28px; }
.contact .contact-aside { text-align: left; padding-top: 0; }
.alti.is-tucked { opacity: 0; transform: translateY(8px); }

/* flipped cases: the picture takes the wide column, the copy the narrow one */
@media (min-width: 961px) { .case--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
