html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* Ordinary, readable HTML is the fallback. Motion enables the horizontal layout. */
.io-hero__title > span { display: block; }
.io-globe-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 100% 50%; opacity: .65; }
@media (min-width: 900px) { .io-globe-fallback { width: 65%; left: 35%; } }
.io-journey { background: var(--io-ink); color: var(--io-bone); overflow: clip; }
.io-journey__track { width: 100%; }
.io-journey .io-chapter {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
  gap: clamp(36px, 7vw, 120px); margin: 0; padding: 100px var(--gutter, 4rem);
  border-bottom: 1px solid var(--io-line); box-sizing: border-box;
}
.io-journey .io-chapter h2 {
  font-family: "IO Archivo", "Archivo", sans-serif; font-weight: 800;
  font-size: clamp(42px, 5.7vw, 88px); line-height: 1.03;
  letter-spacing: -.035em; max-width: 13ch; margin: 0;
  color: var(--io-bone); text-wrap: balance;
}
.io-journey .io-chapter p {
  font-size: clamp(18px, 1.65vw, 25px); line-height: 1.55;
  max-width: 33ch; margin: 0; color: #b4bbc7;
}
.io-journey.is-horizontal { min-height: 100svh; }
.io-journey.is-horizontal .io-journey__track { display: flex; width: max-content; }
.io-journey.is-horizontal .io-chapter {
  flex: 0 0 100vw; width: 100vw; min-height: 100svh;
  border-bottom: 0; padding: 80px clamp(48px, 6vw, 110px);
}
.io-journey.is-horizontal .io-chapter:nth-child(2) { background: #111419; }
.io-journey.is-horizontal .io-chapter:nth-child(3) { background: #16191f; }
@media (max-width: 999px) {
  .io-journey .io-chapter { grid-template-columns: 1fr; gap: 24px; padding: 64px var(--gutter, 1.25rem); }
  .io-journey .io-chapter h2 { font-size: clamp(34px, 7.5vw, 60px); max-width: 15ch; }
  .io-journey .io-chapter p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}

@font-face { font-family: "IO Archivo"; src: url("/assets/approved-io-archivo.8704c6f7f4e7.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }
:root { --io-ink: #0C0E12; --io-line: #262A33; --io-bone: #F1EEE6; }

.io-copy-introduction { padding-block: 72px; }
.io-copy-introduction p { max-width: 45ch; font-size: clamp(24px, 3vw, 38px); line-height: 1.45; margin: 0; color: var(--io-bone); }
.io-journey .io-chapter p { max-width: 42ch; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.6; }
.io-journey.is-horizontal .io-chapter { padding-block: 48px; }
.io-fixed-line { display: block; white-space: nowrap; }
.io-journey .io-chapter h2.io-fixed-heading { width: max-content; max-width: none; text-align: center; }
@media (max-width:999px) { .io-copy-introduction { padding-block: 48px; } .io-journey .io-chapter p { max-width: none; font-size: 17px; } }
.io-overview { padding: 0; background: var(--io-ink); }
.io-overview__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-block: 1px solid var(--io-line); box-sizing: border-box; }
.io-overview__tile { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; padding: clamp(24px,3vw,48px); min-height: clamp(170px,20vw,260px); border-right: 1px solid var(--io-line); border-bottom: 1px solid var(--io-line); box-sizing: border-box; background: #111419; }
.io-overview__tile[href] { cursor: pointer; }
.io-overview__tile:hover,.io-overview__tile:focus-visible { text-decoration: none; }
.io-overview__tile:nth-child(3n) { border-right: 0; }
.io-overview__tile:nth-child(n+4) { border-bottom: 0; }
.io-overview__tile strong { position: relative; z-index: 1; display: block; width: 100%; max-width: 22ch; font-family: "IO Archivo", "Archivo", sans-serif; font-weight: 800; font-size: clamp(18px,2.1vw,28px); line-height: 1.18; letter-spacing: -.025em; color: var(--io-bone); text-wrap: balance; transition: color 280ms ease; }
.io-overview__tile[data-zoom-target] strong { width: max-content; line-height: 1.03; letter-spacing: -.035em; }
.io-overview__logo { justify-content: center; }
.io-overview__logo svg { width: clamp(90px,12vw,172px); height: auto; }
/* Honey Ember palette and wash positions from Jack's saved reference. */
.io-ember { position: absolute; inset: -24px; pointer-events: none; opacity: 0; background: #F5DEC4; filter: blur(24px); transition: opacity 280ms ease; }
.io-ember i { position: absolute; display: block; border-radius: 50%; filter: blur(64px); }
.io-ember i:nth-child(1) { top: -13%; left: -6%; width: 71%; height: 70%; background: #EEAA23; opacity: .78; }
.io-ember i:nth-child(2) { top: 9%; right: -8%; width: 62%; height: 63%; background: #EE881B; opacity: .70; }
.io-ember i:nth-child(3) { bottom: -21%; left: 12%; width: 67%; height: 66%; background: #ED7736; opacity: .58; }
.io-ember i:nth-child(4) { right: 19%; bottom: -10%; width: 56%; height: 57%; background: #EDB6A3; opacity: .68; }
.io-overview__tile:focus-visible { outline: 2px solid var(--io-bone); outline-offset: -4px; }
.io-overview__tile:focus-visible .io-ember { opacity: 1; }
.io-overview__tile:focus-visible strong { color: #171310; }
@media (hover:hover) { .io-overview__tile:hover .io-ember { opacity: 1; }.io-overview__tile:hover strong { color: #171310; } }
@media (prefers-reduced-motion:no-preference) and (hover:hover) { .io-overview__tile:hover .io-ember i { animation: io-ember-drift 5s ease-in-out infinite alternate; }.io-overview__tile:hover .io-ember i:nth-child(even) { animation-direction: alternate-reverse; } }
@keyframes io-ember-drift { from { transform: translate(-1px,-1px); } to { transform: translate(1px,1px); } }
@media (prefers-reduced-motion:reduce) { .io-ember,.io-overview__tile strong { transition: none; } }
.is-horizontal .io-overview { position: absolute; inset: 0; box-sizing: border-box; visibility: hidden; }
.is-horizontal .io-overview__grid { height: 100%; grid-template-rows: repeat(2,minmax(0,1fr)); }
.io-journey.is-horizontal[data-overview] { height: 100svh; }
.io-journey.is-horizontal[data-overview] .io-journey__track { display: grid; width: 300vw; grid-template-columns: repeat(3,100vw); grid-template-rows: repeat(4,100svh); }
.io-journey.is-horizontal[data-overview] .io-chapter:nth-child(4) { grid-column: 3; grid-row: 2; }
.io-journey.is-horizontal[data-overview] .io-chapter:nth-child(5) { grid-column: 3; grid-row: 3; }
.io-zoom-heading { position: absolute; top: 0; left: 0; margin: 0; pointer-events: none; font-family: "IO Archivo", "Archivo", sans-serif; font-weight: 800; color: var(--io-bone); visibility: hidden; transform-origin: top left; text-wrap: balance; text-align: center; }
@media (max-width:999px) { .io-overview__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.io-overview__tile:nth-child(n) { border-right: 1px solid var(--io-line); border-bottom: 1px solid var(--io-line); }.io-overview__tile:nth-child(2n) { border-right: 0; }.io-overview__tile:nth-child(n+5) { border-bottom: 0; } }
@media (max-width:600px) { .io-overview__tile { padding: 20px; min-height: 140px; }.io-overview__tile strong { font-size: 17px; } }

.io-journey.is-horizontal[data-overview] .io-chapter:nth-child(6) { grid-column: 3; grid-row: 4; }

.io-platform-name { white-space: nowrap; }
.io-trademark { font-size: .32em; vertical-align: super; line-height: 0; }
.outbound-brand-note { max-width: 85ch; margin-top: 24px; font-size: 12px; line-height: 1.6; color: var(--slate); }

/* Review-only layout. The globe and hero styling come from io-hero.css. */
body { background:var(--io-ink); color:var(--io-bone); }
:where(button,a,summary):focus-visible { outline:2px solid var(--io-signal); outline-offset:5px; }
.hero.io-hero { min-height:740px; }
.outbound-study .io-hero__copy { max-width:min(45vw,640px); }
.outbound-study .io-hero__title { max-width:15ch; }
.outbound-study .io-hero__sub { max-width:34rem; color:#a6aebb; }
.study-company { position:absolute; padding-left:13px; font:500 11px/1.4 "IO Mono",monospace; color:#a6aebb; white-space:nowrap; transform:translateY(-50%); text-shadow:0 2px 8px #0c0e12; }
.study-company::before { content:""; position:absolute; top:50%; left:-3px; width:6px; height:6px; border-radius:50%; transform:translateY(-50%); background:#b4bbc7; box-shadow:0 0 0 4px rgba(12,14,18,.6); }
.study-company.is-selected { color:var(--io-bone); }
.study-company.is-selected::before { background:var(--io-signal); }
.outbound-study:not([data-study-state=market]) .study-company:not(.is-selected) { opacity:.45; }
.study-account-slot { position:absolute; z-index:2; width:282px; right:var(--gutter); top:64px; height:240px; }
.study-account { height:100%; padding:22px 24px; background:rgba(22,25,31,.94); border:1px solid var(--io-line); border-radius:10px; color:var(--io-bone); }
[data-study-state=market] .study-account { visibility:hidden; }
.study-company-info h2 { font:700 20px/1.25 "IO Archivo",sans-serif; letter-spacing:-.015em; margin:0; }
.study-account p { color:#a6aebb; font:400 14px/1.5 "Plus Jakarta Sans",sans-serif; margin:5px 0 0; }
.study-person { margin-top:21px; padding-top:18px; border-top:1px solid var(--io-line); }
.study-person h3 { font:600 18px/1.3 "Plus Jakarta Sans",sans-serif; margin:0; letter-spacing:-.02em; }
.study-call { display:flex; align-items:center; gap:9px; margin-top:19px; font:500 13px/1.4 "IO Mono",monospace; color:var(--io-bone); }
.study-call svg { width:17px; height:17px; fill:none; stroke:var(--io-signal); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
[data-study-state=account] .study-call { visibility:hidden; }
@media(max-width:899px) {
 .hero.io-hero { min-height:0; display:flex; flex-direction:column; align-items:stretch; }
 .outbound-study .io-hero__copy { max-width:none; }
 .outbound-study .io-hero__title { max-width:15ch; }
 .hero.io-hero .io-hero__inner { order:0; padding-block:44px 8px; }
 .hero.io-hero .io-stage { order:1; height:400px; }
 .study-account-slot { order:2; position:relative; right:auto; top:auto; width:calc(100% - 2*var(--gutter)); max-width:440px; height:240px; margin:0 var(--gutter) 32px; }
 .study-account { padding:22px 24px; }
 .study-company { font-size:10px; }
}
/* Expanded account qualities and outreach variants. */
.study-account-slot { width:304px; height:392px; top:16px; }
.study-account { padding:20px 22px; }
.study-qualities { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 18px; margin:18px 0 0; }
.study-qualities div { min-width:0; }
.study-qualities dt { font:400 11px/1.5 "Plus Jakarta Sans",sans-serif; color:#a6aebb; }
.study-qualities dd { margin:3px 0 0; font:600 17px/1.3 "Plus Jakarta Sans",sans-serif; color:var(--io-bone); font-variant-numeric:tabular-nums; }
.study-person { margin-top:17px; padding-top:14px; }
.study-call { margin-top:17px; min-height:20px; }
.study-call.is-response svg { stroke:var(--io-bone); }
.study-history { display:flex; flex-wrap:wrap; align-content:flex-start; gap:5px 8px; list-style:none; padding:0; margin:13px 0 0; min-height:38px; }
.study-history li { font:400 10px/1.5 "Plus Jakarta Sans",sans-serif; color:#a6aebb; }
.study-history li:not(:last-child)::after { content:'›'; padding-left:8px; color:#596170; }
.study-history li[aria-current] { color:var(--io-bone); }
[data-study-state=account] .study-history { visibility:hidden; }
@media(max-width:899px) { .study-account-slot { top:auto; width:calc(100% - 2*var(--gutter)); height:392px; } }
/* Readable city names with accurate anchors and collision-aware placement. */
.study-company { width:0; height:0; padding:0; transform:none; text-shadow:none; }
.study-company::before { top:0; left:0; width:7px; height:7px; transform:translate(-50%,-50%); }
.study-city-name { position:absolute; padding:4px 7px; border-radius:4px; background:rgba(12,14,18,.92); font:600 13px/1.35 "Plus Jakarta Sans",sans-serif; color:#bfc5cf; white-space:nowrap; }
.study-company.is-selected .study-city-name { color:var(--io-bone); background:rgba(22,25,31,.97); }
.outbound-study:not([data-study-state=market]) .study-company:not(.is-selected) { opacity:1; }
.study-account .study-account-city { font-size:12px; line-height:1.4; color:#bfc5cf; margin-top:4px; }
.study-qualities { margin-top:13px; }
@media(max-width:899px) { .study-city-name { font-size:12px; } }


/* Match inbound globe geometry; the account follows its selected city. */
.preview-chrome { display:none; }
.hero.io-hero { min-height:clamp(640px,calc(100vh - 100px),900px); }
.outbound-study .io-hero__copy { max-width:640px; }
.study-account-slot { left:0; top:0; right:auto; width:266px; height:auto; opacity:0; }
[data-globe-ready=true] .study-account-slot { opacity:1; }
.study-account { padding:16px 18px; }
.study-company-info h2 { font-size:18px; }
.study-qualities { gap:8px 14px; margin-top:10px; }
.study-person { margin-top:12px; padding-top:12px; }
.study-person h3 { font-size:16px; }
.study-call { margin-top:12px; }
.study-history { margin-top:10px; min-height:30px; }
.outbound-city-bridge { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:1; }
.outbound-city-bridge[hidden],.study-active-city[hidden] { display:none; }
.outbound-city-bridge line { stroke:rgba(138,147,163,.4); stroke-width:1; }
@media(min-width:900px) and (max-width:1099px) { .outbound-study .io-hero__copy { max-width:45vw; } }
@media(max-width:899px) {
 .hero.io-hero { min-height:0; }
 .hero.io-hero .io-stage { height:480px; }
 .study-account-slot { position:relative; width:232px; max-width:calc(100% - 16px); top:auto; margin:16px 0 32px; order:2; }
 .outbound-study .io-hero__copy { max-width:640px; }
}
@media(max-width:760px) { .hero.io-hero .io-stage { height:440px; } }

/* A single restrained city-marker layer over the dotted land texture. */
[data-hero-layout=split] .study-company::before{width:4px;height:4px;background:rgba(180,187,199,.6);box-shadow:none}
[data-hero-layout=split] .study-company.is-selected::before{width:6px;height:6px;background:var(--io-signal);box-shadow:0 0 0 4px rgba(255,90,31,.1)}
