/* Simba Fix Holdings — editorial / annual-report system. Dark only. */
:root {
  --ink: #05080f;
  --ink-2: #0a101c;
  --ink-3: #101828;
  --paper: #ece6da;
  --paper-2: #b9b3a6;
  --mute: #7d8494;
  --rule: rgba(236, 230, 218, 0.12);
  --rule-2: rgba(236, 230, 218, 0.22);
  --gold: #c9a45a;
  --gold-2: #e6c98a;
  --gold-3: #8f7134;
  --display: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: clamp(16px, 3.4vw, 48px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.wrap { width: 100%; padding-inline: var(--gut); max-width: 1480px; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--gold); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 16px; }
.label { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-2); }
.label b { color: var(--gold); font-weight: 500; }
.gold { color: var(--gold); }
.tag { display: inline-block; font: 500 0.66rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-3); padding: 5px 7px 4px; vertical-align: middle; font-style: normal; }
.arr { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }

/* Buttons: square, with a fill that wipes in */
.btn { position: relative; display: inline-flex; align-items: stretch; border: 1px solid var(--rule-2); color: var(--paper); font: 600 0.86rem/1 var(--sans); letter-spacing: 0.01em; overflow: hidden; isolation: isolate; transition: color 0.45s var(--ease), border-color 0.45s; }
.btn span { padding: 17px 22px; }
.btn i { display: grid; place-items: center; width: 52px; border-left: 1px solid currentColor; border-color: inherit; font-style: normal; }
.btn i .arr { transition: transform 0.45s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--ink); border-color: var(--gold); }
.btn:hover i .arr { transform: translateX(4px); }
.btn.solid { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.solid::before { background: var(--paper); }
.btn.solid i { border-color: rgba(5, 8, 15, 0.25); }
.btn.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.dark::before { background: var(--paper); }
.btn.dark-line { color: var(--ink); border-color: rgba(5, 8, 15, 0.35); }
.btn.dark-line::before { background: var(--ink); }
.btn.dark-line:hover { color: var(--paper); border-color: var(--ink); }
.btn.block { display: flex; width: 100%; }
.btn.block span { flex: 1; }
.ulink { position: relative; display: inline-flex; align-items: center; gap: 8px; font: 600 0.86rem/1.2 var(--sans); color: var(--paper); padding-bottom: 4px; background: none; border: 0; cursor: pointer; }
.ulink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform-origin: left; transition: transform 0.5s var(--ease); }
.ulink:hover::after { transform: scaleX(0); transform-origin: right; }
.ulink .arr { color: var(--gold); transition: transform 0.4s var(--ease); }
.ulink:hover .arr { transform: translateX(3px); }

/* Header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 80; transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease); border-bottom: 1px solid transparent; }
.hdr.solid { background: rgba(5, 8, 15, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--rule); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 72px; padding-inline: var(--gut); max-width: 1480px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 30px; transition: transform 0.8s var(--ease); }
.brand:hover img { transform: rotate(-12deg); }
.brand-t { font: 400 1.4rem/0.9 var(--display); display: flex; flex-direction: column; }
.brand-t em { font: 500 0.56rem/1 var(--mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-style: normal; margin-top: 5px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; font: 500 0.86rem/1 var(--sans); color: var(--paper-2); padding: 8px 0; transition: color 0.3s; }
.nav a::before { content: attr(data-i); font: 500 0.6rem/1 var(--mono); color: var(--gold); position: relative; top: -6px; margin-right: 4px; opacity: 0.8; }
.nav a span { position: relative; }
.nav a span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--paper); }
.nav a:hover span::after, .nav a[aria-current='page'] span::after { transform: scaleX(1); transform-origin: left; }
.hdr-meta { font: 500 0.7rem/1 var(--mono); color: var(--mute); letter-spacing: 0.06em; text-transform: uppercase; padding-left: 26px; border-left: 1px solid var(--rule); }
.hdr-cta { display: inline-flex; align-items: center; gap: 10px; font: 600 0.84rem/1 var(--sans); color: var(--ink); background: var(--gold); padding: 12px 16px; transition: background 0.3s; }
.hdr-cta:hover { background: var(--paper); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--rule-2); background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--paper); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-top: 72px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; transform: scale(1.12); animation: heroIn 2.4s var(--ease) 0.2s forwards, drift 30s ease-in-out 2.6s infinite alternate; }
@keyframes heroIn { to { transform: scale(1.02); } }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translate(-1.2%, -0.6%); } }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 15, 0.94) 0%, rgba(5, 8, 15, 0.75) 32%, rgba(5, 8, 15, 0.15) 62%, rgba(5, 8, 15, 0.3) 100%), linear-gradient(0deg, rgba(5, 8, 15, 0.96) 0%, rgba(5, 8, 15, 0) 40%), linear-gradient(180deg, rgba(5, 8, 15, 0.6) 0%, rgba(5, 8, 15, 0) 22%); }
.hero-meta { display: flex; gap: 32px; padding-top: 28px; }
.hero-meta .label { color: var(--paper-2); }
.hero-body { align-self: end; padding-bottom: 40px; }
.hero-title { font: 400 clamp(3.2rem, 9.4vw, 9.6rem)/0.9 var(--display); letter-spacing: -0.025em; max-width: 11ch; }
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 0.15s); }
.ready .hero-title .ln > span, .split-lines.in .ln > span { transform: none; }
.rotator { position: relative; display: inline-grid; vertical-align: top; overflow: hidden; clip-path: inset(0 -0.3em); }
.rotator em { grid-area: 1 / 1; color: var(--gold); transform: translateY(100%); transition: transform 0.9s var(--ease); white-space: nowrap; }
.rotator em.is-on { transform: none; }
.rotator em.is-out { transform: translateY(-100%); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 540px) auto; justify-content: space-between; align-items: end; gap: 32px; margin-top: 36px; }
.hero-lede { color: var(--paper-2); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-index { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-2); }
.hero-index a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 20px 20px 24px 0; border-right: 1px solid var(--rule); position: relative; transition: background 0.4s; }
.hero-index a + a { padding-left: 20px; }
.hero-index a:last-child { border-right: 0; }
.hero-index a::after { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.hero-index a:hover::after { transform: scaleX(1); }
.hero-index b { font: 500 0.7rem/1.6 var(--mono); color: var(--gold); grid-row: span 2; }
.hero-index span { font: 400 1.35rem/1.1 var(--display); }
.hero-index small { font-size: 0.78rem; color: var(--mute); margin-top: 4px; }

/* Tape */
.tape { border-block: 1px solid var(--rule); overflow: hidden; padding: 14px 0; background: var(--ink-2); }
.tape-track { display: flex; width: max-content; animation: tape 60s linear infinite; }
.tape-track > span { display: flex; }
.tape b { font: 400 0.78rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-2); padding: 0 18px; white-space: nowrap; }
.tape i { color: var(--gold); font-style: normal; font-family: var(--mono); font-size: 0.78rem; }
@keyframes tape { to { transform: translateX(-50%); } }

/* Figures */
.figures { border-bottom: 1px solid var(--rule); }
.fig-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fig { padding: 48px 24px 40px; border-left: 1px solid var(--rule); display: grid; gap: 14px; }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig-n { font: 500 0.7rem/1 var(--mono); color: var(--gold); }
.fig strong { font: 400 clamp(3rem, 6vw, 5.6rem)/0.9 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fig-l { color: var(--paper-2); font-size: 0.9rem; }

/* Generic sections */
.chapter, .intro, .opmodel, .statement, .people, .principles, .careers-teaser, .roster, .structure, .portrait, .company { padding: clamp(80px, 11vw, 160px) 0; border-bottom: 1px solid var(--rule); position: relative; }
.chapter.alt, .roster.alt { background: var(--ink-2); }
.chapter.tight { padding-top: 40px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.sec-lede { color: var(--paper-2); max-width: 62ch; margin: -24px 0 48px; }
h2 { font: 400 clamp(2.4rem, 5.4vw, 5rem)/0.98 var(--display); letter-spacing: -0.02em; }
h2 em, h1 em { color: var(--gold); }
.prose { color: var(--paper-2); font-size: 1.05rem; max-width: 64ch; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--paper); font-weight: 600; }

/* Intro statement with scroll-lit words */
.intro-grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.intro-text { font: 400 clamp(1.9rem, 3.9vw, 3.6rem)/1.12 var(--display); letter-spacing: -0.012em; }
.split-words .w { color: rgba(236, 230, 218, 0.14); transition: color 0.6s; }
.split-words .w.lit { color: var(--paper); }
.split-words .w.lit.g { color: var(--gold); font-style: italic; }

/* Horizontal pinned gallery */
.hscroll { height: calc(var(--n) * 85vh + 20vh); position: relative; border-bottom: 1px solid var(--rule); }
.hs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: 72px; }
.hs-head { display: flex; align-items: center; gap: 24px; }
.hs-count { font: 500 0.8rem/1 var(--mono); color: var(--paper-2); }
.hs-count b { color: var(--gold); font-weight: 500; }
.hs-bar { flex: 1; height: 1px; background: var(--rule); position: relative; overflow: hidden; }
.hs-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--hp, 0)); }
.hs-track { display: flex; gap: 4vw; padding-inline: var(--gut); will-change: transform; }
.hs-panel { flex: none; width: min(78vw, 1100px); display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: end; }
.hs-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; max-height: 64vh; position: relative; }
.hs-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease), filter 0.8s; filter: saturate(0.85); }
.hs-panel.on .hs-img img { transform: scale(1); filter: none; }
.hs-img:hover img { transform: scale(1.04); }
.hs-copy { display: grid; gap: 14px; padding-bottom: 6px; }
.hs-n { font: 400 clamp(4rem, 8vw, 7rem)/0.8 var(--display); color: transparent; -webkit-text-stroke: 1px var(--gold-3); }
.hs-copy h3 { font: 400 clamp(2.2rem, 4vw, 3.6rem)/1 var(--display); letter-spacing: -0.015em; }
.hs-copy p:not(.label) { color: var(--paper-2); max-width: 40ch; }
.hs-copy .ulink { justify-self: start; margin-top: 8px; }

/* Operating model */
.om-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); }
.om-sticky { position: sticky; top: 110px; align-self: start; display: grid; gap: 28px; }
.om-sticky h2 { max-width: 11ch; }
.om-big { font: 400 clamp(7rem, 15vw, 14rem)/0.8 var(--display); color: var(--gold); letter-spacing: -0.04em; height: 0.8em; overflow: hidden; }
.om-num { display: block; transition: transform 0.6s var(--ease); }
.om-bar { height: 1px; background: var(--rule); position: relative; max-width: 320px; }
.om-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--om, 0.2)); transition: transform 0.7s var(--ease); }
.om-steps { list-style: none; margin: 0; padding: 18vh 0 10vh; }
.om-step { padding: 36px 0; border-top: 1px solid var(--rule); display: grid; gap: 12px; opacity: 0.28; transition: opacity 0.6s; }
.om-step:last-child { border-bottom: 1px solid var(--rule); }
.om-step.active { opacity: 1; }
.om-i { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.om-step h3 { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.05 var(--display); }
.om-step p { color: var(--paper-2); max-width: 46ch; }

/* Big statement */
.statement .label { margin-bottom: 36px; }
blockquote.big { margin: 0; font: 400 clamp(2.2rem, 5.4vw, 5.4rem)/1.04 var(--display); letter-spacing: -0.02em; max-width: 22ch; }

/* People list with hover image */
.name-list { border-top: 1px solid var(--rule); }
.name-row { display: grid; grid-template-columns: 60px 1.2fr 1fr 64px; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--rule); position: relative; isolation: isolate; transition: padding 0.5s var(--ease); }
.name-row::before { content: ''; position: absolute; inset: 0; background: var(--ink-3); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); z-index: -1; }
.name-row:hover::before { transform: scaleY(1); transform-origin: top; }
.name-row:hover { padding-left: 16px; padding-right: 16px; }
.nr-n { font: 500 0.72rem/1 var(--mono); color: var(--gold); }
.nr-name { font: 400 clamp(1.6rem, 3vw, 2.6rem)/1 var(--display); letter-spacing: -0.01em; }
.nr-role { color: var(--paper-2); font-size: 0.92rem; }
.nr-thumb { width: 52px; height: 52px; object-fit: cover; object-position: 50% 8%; justify-self: end; filter: grayscale(1); transition: filter 0.4s; }
.nr-thumb.mono { display: grid; place-items: center; border: 1px solid var(--rule-2); font: 400 1.2rem/1 var(--display); color: var(--gold); }
.name-row:hover .nr-thumb { filter: none; }
.hover-img { position: fixed; left: 0; top: 0; z-index: 60; width: 240px; aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.85); transition: opacity 0.35s, transform 0.5s var(--ease); overflow: hidden; background: radial-gradient(ellipse at 50% 80%, rgba(201, 164, 90, 0.45), #0f1a2e 70%); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hover-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Principles */
.acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.acc-row { display: grid; grid-template-columns: 60px 1fr 1fr; align-items: baseline; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.acc-n { font: 500 0.72rem/1 var(--mono); color: var(--gold); }
.acc-row h3 { font: 400 clamp(1.8rem, 4vw, 3.4rem)/1 var(--display); transition: color 0.4s, transform 0.5s var(--ease); }
.acc-row p { color: var(--paper-2); max-width: 40ch; opacity: 0.6; transition: opacity 0.4s; }
.acc-row:hover h3 { color: var(--gold); transform: translateX(12px); }
.acc-row:hover p { opacity: 1; }

/* Job table */
.ct-title { margin-bottom: 48px; max-width: 14ch; }
.job-table { border-top: 1px solid var(--rule); }
.job-row { display: grid; grid-template-columns: 60px 1.5fr 1fr 1fr 48px; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--rule); position: relative; isolation: isolate; transition: padding 0.5s var(--ease), color 0.3s; }
.job-row[hidden] { display: none; }
.job-row::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); z-index: -1; }
.job-row:hover::before { transform: scaleY(1); transform-origin: top; }
.job-row:hover { color: var(--ink); padding-left: 16px; padding-right: 16px; }
.job-row:hover .jr-d, .job-row:hover .jr-l, .job-row:hover .jr-n { color: var(--ink); }
.job-row:hover .tag { color: var(--ink); border-color: var(--ink); }
.jr-n { font: 500 0.72rem/1 var(--mono); color: var(--gold); }
.jr-t { font: 400 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--display); }
.jr-d, .jr-l { font-size: 0.86rem; color: var(--paper-2); }
.jr-go { justify-self: end; transition: transform 0.5s var(--ease); }
.jr-go .arr { width: 22px; height: 22px; }
.job-row:hover .jr-go { transform: rotate(-45deg); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.tab { background: none; border: 0; padding: 6px 0; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); cursor: pointer; position: relative; }
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.tab:hover { color: var(--paper); }
.tab.active { color: var(--gold); }
.tab.active::after { transform: scaleX(1); }

/* Gold band */
.goldband { background: var(--gold); color: var(--ink); overflow: hidden; position: relative; }
.goldband h2 em { color: var(--ink); }
.gb-marquee { border-bottom: 1px solid rgba(5, 8, 15, 0.18); padding: 12px 0; overflow: hidden; }
.gb-marquee > div { display: flex; align-items: center; width: max-content; animation: tape 40s linear infinite reverse; }
.gb-marquee span { font: 500 0.74rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding: 0 22px; white-space: nowrap; }
.gb-marquee img { width: 16px; filter: brightness(0) opacity(0.7); }
.gb-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding-block: clamp(64px, 9vw, 120px); }
.goldband h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 0.92; }
.gb-side p { font-size: 1.05rem; max-width: 42ch; color: rgba(5, 8, 15, 0.78); }
.gb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Openers */
.opener { padding-top: calc(72px + clamp(40px, 7vw, 100px)); border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.op-top { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(28px, 4vw, 56px); }
.op-rule { flex: 1; height: 1px; background: var(--rule); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) 0.3s; }
.ready .op-rule { transform: none; }
.op-title { font: 400 clamp(3rem, 8.6vw, 8.4rem)/0.92 var(--display); letter-spacing: -0.025em; }
.op-foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.op-lede { color: var(--paper-2); font-size: 1.08rem; max-width: 52ch; }
.op-side { display: grid; gap: 8px; text-align: right; padding-left: 28px; border-left: 1px solid var(--rule); }
.op-side strong { font: 400 clamp(2.6rem, 5vw, 4.4rem)/0.9 var(--display); color: var(--gold); }
.letterbox { margin: 0; height: clamp(320px, 62vh, 720px); overflow: hidden; position: relative; }
.letterbox img { width: 100%; height: 125%; object-fit: cover; will-change: transform; }
.reveal-img { clip-path: inset(14% 6% 14% 6%); transition: clip-path 1.6s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0); }

/* Walking figures */
.opener.has-walker { padding-bottom: 240px; }
.walker { position: absolute; left: 0; bottom: 0; height: 220px; pointer-events: none; animation: walk 24s linear infinite; z-index: 2; }
.walker img { height: 100%; width: auto; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.55)); animation: step 0.55s ease-in-out infinite alternate; transform-origin: bottom center; }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-3), transparent); }
@keyframes walk { from { transform: translateX(-260px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes step { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-7px) rotate(1deg); } }

/* About */
.ch-grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.ch-body h2 { margin-bottom: 40px; max-width: 14ch; }
.dropcap p:first-child::first-letter { float: left; font: 400 5.2rem/0.8 var(--display); color: var(--gold); margin: 6px 12px 0 0; }
.ledger { display: grid; }
.ledger-row { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--rule); }
.ledger-row:last-child { border-bottom: 1px solid var(--rule); }
.ledger-big { font: 400 clamp(1.6rem, 2.8vw, 2.5rem)/1.2 var(--display); }
.mission { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.mission li { display: grid; gap: 8px; color: var(--paper-2); font-size: 1.02rem; }
.mission b { font: 500 0.72rem/1 var(--mono); color: var(--gold); }
.timeline { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--rule-2); }
.timeline li { position: relative; padding: 40px 20px 0 0; display: grid; gap: 10px; align-content: start; }
.tl-dot { position: absolute; top: 0; left: 0; width: 13px; height: 13px; border: 1px solid var(--gold); background: var(--ink); transform: rotate(45deg); }
.timeline li.in .tl-dot { background: var(--gold); transition: background 0.4s 0.6s; }
.timeline h3 { font: 400 1.9rem/1 var(--display); }
.timeline p { color: var(--paper-2); font-size: 0.92rem; }

/* Companies page */
.co-index { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.co-index a { flex: 1 1 200px; padding: 22px 20px 22px 0; display: flex; gap: 12px; align-items: baseline; font: 400 1.3rem/1 var(--display); border-right: 1px solid var(--rule); transition: color 0.3s; }
.co-index a + a { padding-left: 20px; }
.co-index a:last-child { border-right: 0; }
.co-index b { font: 500 0.7rem/1 var(--mono); color: var(--gold); }
.co-index a:hover { color: var(--gold); }
.company { padding-top: clamp(64px, 8vw, 120px); scroll-margin-top: 72px; }
.co-head { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.co-n { font: 400 clamp(4rem, 8vw, 7rem)/0.8 var(--display); color: transparent; -webkit-text-stroke: 1px var(--gold-3); }
.co-head h2 { font-size: clamp(3rem, 7vw, 6.4rem); line-height: 0.9; }
.co-head .tag { margin-bottom: 14px; }
.co-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 56px; }
.co-facts { margin: 0; border-top: 1px solid var(--rule); align-self: start; }
.co-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.co-facts dt { font: 500 0.7rem/1.6 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.co-facts dd { margin: 0; font-size: 0.94rem; }
.co-facts a { color: var(--gold); }
.co-text { display: grid; gap: 28px; }
.co-lead { font: 400 clamp(1.6rem, 2.8vw, 2.4rem)/1.15 var(--display); }
.svc { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.svc li { break-inside: avoid; display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; transition: color 0.3s, padding 0.4s var(--ease); }
.svc li:hover { color: var(--gold); padding-left: 8px; }
.svc b { font: 500 0.68rem/1.9 var(--mono); color: var(--gold); }
.co-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Leadership */
.pt-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 7vw, 120px); align-items: center; }
.portrait.flip .pt-fig { order: 2; }
.portrait.flip { background: var(--ink-2); }
.pt-fig { margin: 0; position: relative; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(ellipse 80% 70% at 50% 75%, rgba(201, 164, 90, 0.4), rgba(16, 24, 40, 0.95) 60%, var(--ink-3)); overflow: hidden; }
.pt-frame { position: absolute; inset: 14px; border: 1px solid rgba(201, 164, 90, 0.35); pointer-events: none; z-index: 2; }
.pt-frame::before, .pt-frame::after { content: ''; position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; }
.pt-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.pt-frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.pt-fig img { position: relative; width: 88%; height: 94%; object-fit: cover; object-position: top; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55)); transition: transform 0.6s var(--ease); }
.pt-fig figcaption { position: absolute; left: 28px; top: 28px; z-index: 3; }
.pt-copy { display: grid; gap: 22px; }
.pt-copy h2 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 0.92; }
.pt-links { display: flex; gap: 24px; }
.roster-table { border-top: 1px solid var(--rule); }
.rt-row { display: grid; grid-template-columns: 60px 1fr 1fr 1.4fr 150px; gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); transition: background 0.4s; }
.rt-row:hover { background: rgba(236, 230, 218, 0.025); }
.rt-n { font: 500 0.72rem/1 var(--mono); color: var(--gold); }
.rt-role { font: 500 0.72rem/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-2); }
.rt-name { font: 400 1.7rem/1.05 var(--display); }
.rt-row.open .rt-name { color: var(--gold); font-style: italic; }
.rt-note { color: var(--mute); font-size: 0.9rem; }
.rt-link { justify-self: end; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.bd { padding: 28px 24px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; transition: background 0.4s; }
.bd:hover { background: var(--ink-3); }
.bd img, .bd-mono { width: 56px; height: 56px; object-fit: cover; object-position: 50% 6%; margin-bottom: 10px; }
.bd img { filter: grayscale(1); transition: filter 0.4s; }
.bd:hover img { filter: none; }
.bd-mono { display: grid; place-items: center; border: 1px solid var(--rule-2); font: 400 1.3rem/1 var(--display); color: var(--gold); }
.bd h3 { font: 400 1.6rem/1.05 var(--display); }
.bd h3 a:hover { color: var(--gold); }
.bd p { color: var(--mute); font-size: 0.88rem; }
.bd.chair { background: linear-gradient(160deg, rgba(201, 164, 90, 0.12), transparent 60%); }

/* Org chart */
.org-legend { display: flex; gap: 18px; font: 500 0.68rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); }
.org-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 12px; height: 12px; display: inline-block; }
.lg.filled { background: var(--ink-3); border: 1px solid var(--gold); }
.lg.open { border: 1px dashed var(--gold); }
.lg.tba { border: 1px dashed var(--mute); }
.org { --c: rgba(201, 164, 90, 0.5); overflow-x: auto; padding: 8px 0 24px; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--gold-3) transparent; }
.org.dragging { cursor: grabbing; user-select: none; }
.org ul { list-style: none; margin: 0; padding: 0; }
.node { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; background: var(--ink-3); border: 1px solid var(--rule-2); transition: border-color 0.3s, transform 0.4s var(--ease); }
.node:hover { border-color: var(--gold); transform: translateY(-2px); }
.node img { grid-row: span 2; width: 34px; height: 34px; object-fit: cover; object-position: 50% 6%; }
.node small { grid-column: -2; font: 500 0.62rem/1.35 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); }
.node strong { grid-column: -2; font: 400 1.08rem/1.15 var(--display); }
.node.vacant { background: transparent; border-style: dashed; }
.node.vacant strong { color: var(--mute); font-style: italic; }
.node.vacant.open { border-color: var(--gold-3); }
.node.root { padding: 14px 20px; border-color: var(--gold); }
.node.root img { width: 46px; height: 46px; }
.node.root strong { font-size: 1.4rem; }
.org-root { display: flex; justify-content: center; position: relative; padding-bottom: 32px; min-width: 1320px; }
.org-root::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 1px; height: 32px; background: var(--c); }
.org-l1 { display: grid; grid-template-columns: repeat(7, minmax(170px, 1fr)); gap: 0 10px; min-width: 1320px; }
.org-l1 > li { position: relative; padding-top: 28px; }
.org-l1 > li::before { content: ''; position: absolute; top: 0; left: -5px; right: -5px; height: 1px; background: var(--c); }
.org-l1 > li:first-child::before { left: 50%; }
.org-l1 > li:last-child::before { right: 50%; }
.org-l1 > li::after { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 28px; background: var(--c); }
.org-l1 li ul { margin-left: 12px; }
.org-l1 li ul li { position: relative; padding: 10px 0 0 16px; }
.org-l1 li ul li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--c); }
.org-l1 li ul li:last-child::before { bottom: auto; height: 34px; }
.org-l1 li ul li::after { content: ''; position: absolute; left: 0; top: 34px; width: 16px; height: 1px; background: var(--c); }
.org-l1 li ul .node { padding: 8px 10px; grid-template-columns: 1fr; }
.org-l1 li ul .node strong { font-size: 0.98rem; }
.js .org .node { opacity: 0; transform: translateY(10px); transition: opacity 0.6s, transform 0.6s var(--ease), border-color 0.3s; transition-delay: var(--nd, 0ms); }
.js .org.in .node { opacity: 1; transform: none; }

/* Careers */
.offer { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.offer-item { padding: 32px 24px 36px 0; display: grid; gap: 14px; align-content: start; border-right: 1px solid var(--rule); }
.offer-item + .offer-item { padding-left: 24px; }
.offer-item:last-child { border-right: 0; }
.offer-item h3 { font: 400 1.8rem/1.05 var(--display); }
.offer-item p { color: var(--paper-2); font-size: 0.94rem; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.process li { padding: 0 24px 0 0; display: grid; gap: 12px; align-content: start; }
.pr-n { font: 400 4.4rem/0.8 var(--display); color: transparent; -webkit-text-stroke: 1px var(--gold-3); transition: color 0.4s; }
.process li:hover .pr-n { color: var(--gold); }
.process h3 { font: 400 1.7rem/1 var(--display); }
.process p { color: var(--paper-2); font-size: 0.92rem; }

/* Job page */
.job-op { padding-bottom: 48px; }
.job-op .op-title { font-size: clamp(2.6rem, 7vw, 6.4rem); margin: 18px 0 40px; }
.back { color: var(--paper-2); transition: color 0.3s; }
.back:hover { color: var(--gold); }
.job-facts { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.job-facts div { padding: 16px 20px 0 0; display: grid; gap: 6px; }
.job-facts dt { font: 500 0.68rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.job-facts dd { margin: 0; font-size: 0.95rem; }
.job-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.jb { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 36px 0; border-top: 1px solid var(--rule); }
.jb-lead { font: 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.25 var(--display); }
.jb h3 { font: 600 0.95rem/1.4 var(--sans); margin: 0 0 10px; }
.jb h3:not(:first-child) { margin-top: 24px; }
.dash { list-style: none; margin: 0; padding: 0; }
.dash li { position: relative; padding-left: 22px; margin: 8px 0; color: var(--paper-2); }
.dash li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--gold); }
.kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.kpis li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--paper-2); font-size: 0.94rem; }
.kpis b { font: 500 0.68rem/1.9 var(--mono); color: var(--gold); }
.path { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.path li { font: 400 1.35rem/1.1 var(--display); }
.path li:not(:last-child)::after { content: '→'; margin-left: 14px; color: var(--gold); font-family: var(--sans); font-size: 1rem; }
.apply { position: sticky; top: 96px; display: grid; gap: 18px; padding: 28px; border: 1px solid var(--gold-3); background: linear-gradient(170deg, rgba(201, 164, 90, 0.1), transparent 55%); }
.apply h3 { font: 400 2rem/1 var(--display); }
.apply p:not(.label) { color: var(--paper-2); font-size: 0.94rem; }
.apply .ulink { justify-self: start; }
.fine { font-size: 0.78rem; color: var(--mute); line-height: 1.5; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.lines { border-top: 1px solid var(--rule); }
.big-line { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--rule); position: relative; }
.big-line strong { font: 400 clamp(1.7rem, 3.4vw, 3rem)/1 var(--display); transition: color 0.3s, transform 0.5s var(--ease); word-break: break-word; }
.big-line em { font-style: normal; color: var(--mute); font-size: 0.9rem; }
a.big-line:hover strong { color: var(--gold); transform: translateX(10px); }
.form { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--rule-2); background: var(--ink-2); position: sticky; top: 96px; }
.form label { display: grid; gap: 6px; }
.form label span { font: 500 0.68rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.form input, .form select, .form textarea { font: 400 1.05rem/1.4 var(--sans); color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--rule-2); padding: 10px 0; border-radius: 0; transition: border-color 0.3s; width: 100%; }
.form select option { background: var(--ink-2); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { justify-self: start; cursor: pointer; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1) invert(0.92) hue-rotate(180deg) contrast(0.85) brightness(0.9); }

/* Footer */
.ftr { background: var(--ink); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.ftr-top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.ftr-lead { display: grid; gap: 22px; align-content: start; justify-items: start; }
.ftr-statement { font: 400 clamp(1.8rem, 3.2vw, 2.8rem)/1.08 var(--display); max-width: 18ch; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ftr-cols > div { display: grid; gap: 10px; align-content: start; }
.ftr-cols .label { margin-bottom: 8px; color: var(--gold); }
.ftr-cols a, .ftr-cols span { color: var(--paper-2); font-size: 0.92rem; transition: color 0.3s; }
.ftr-cols a:hover { color: var(--paper); }
.ftr-cols .clock { font: 500 0.72rem/1 var(--mono); color: var(--mute); text-transform: uppercase; }
.ftr-mark { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; white-space: nowrap; }
.ftr-mark span { display: inline-block; font: 400 clamp(6rem, 22vw, 22rem)/0.82 var(--display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--gold-3); padding: 2vw 0 1vw; will-change: transform; }
.ftr-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 24px; font: 500 0.7rem/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
.totop { display: inline-flex; gap: 6px; align-items: center; color: var(--paper-2); }
.totop:hover { color: var(--gold); }

/* Corner characters */
.peek { position: fixed; right: clamp(8px, 2vw, 28px); bottom: 0; z-index: 40; display: flex; align-items: flex-end; gap: 8px; pointer-events: none; transform: translateY(110%); transition: transform 1s cubic-bezier(0.34, 1.35, 0.5, 1); }
.peek.show { transform: translateY(26%); }
.peek.show:hover { transform: translateY(10%); }
.peek.away { transform: translateY(110%); }
.peek-img { height: clamp(180px, 28vh, 260px); width: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6)); pointer-events: auto; transform-origin: 50% 100%; animation: sway 3.4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg) translateY(-4px); } }
.peek-note { position: relative; margin-bottom: 48%; max-width: 220px; padding: 14px 16px; background: var(--paper); color: var(--ink); pointer-events: auto; opacity: 0; transform: translateY(10px); transition: opacity 0.4s 0.8s, transform 0.6s var(--ease) 0.8s; }
.peek-note::after { content: ''; position: absolute; right: -7px; bottom: 14px; border: 7px solid transparent; border-left-color: var(--paper); border-right: 0; }
.peek.show .peek-note { opacity: 1; transform: none; }
.peek-note p { font: 400 1.15rem/1.15 var(--display); padding-right: 12px; }
.peek-note a { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font: 500 0.68rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-3); }
.peek-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; background: none; color: var(--ink); opacity: 0.5; font-size: 1rem; cursor: pointer; }
.peek-x:hover { opacity: 1; }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; transition: transform 1s var(--ease) 0.15s; }
.pl-inner { display: grid; justify-items: center; gap: 18px; }
.pl-inner img { width: 64px; animation: plIn 1s var(--ease) both; }
.pl-count { font: 500 0.8rem/1 var(--mono); color: var(--gold); letter-spacing: 0.2em; }
.pl-line { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--pl, 0)); }
@keyframes plIn { from { opacity: 0; transform: translateY(12px); } }
.preloader.done { transform: translateY(-100%); }
.no-preload .preloader { display: none; }

/* Cursor */
.cursor { display: none; }
@media (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 150; }
  .c-dot, .c-ring { position: fixed; left: 0; top: 0; pointer-events: none; will-change: transform; border-radius: 50%; }
  .c-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--gold); }
  .c-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(201, 164, 90, 0.55); display: grid; place-items: center; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.4s, border-color 0.4s; }
  .c-label { font: 500 0.6rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); font-style: normal; opacity: 0; transition: opacity 0.2s; }
  .cursor.hover .c-ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--gold); }
  .cursor.label .c-ring { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--gold); border-color: var(--gold); }
  .cursor.label .c-label { opacity: 1; }
  .cursor.label .c-dot { opacity: 0; }
}

/* Progress */
.progress { position: fixed; left: 0; top: 0; z-index: 90; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* View transitions between pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.4s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.7s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-16px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(24px); } }
.hdr { view-transition-name: hdr; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .org .node { opacity: 1; transform: none; }
  .ln > span { transform: none !important; }
  .reveal-img { clip-path: none; }
  .split-words .w { color: var(--paper); }
  .preloader { display: none; }
}

/* Responsive */
@media (max-width: 1180px) {
  .hdr-meta { display: none; }
  .nav { gap: 18px; }
  .board, .offer { grid-template-columns: repeat(2, 1fr); }
  .offer-item:nth-child(2) { border-right: 0; }
  .offer-item:nth-child(3) { padding-left: 0; }
  .offer-item:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .timeline { grid-template-columns: 1fr; gap: 0; margin-left: 6px; }
  .timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 36px 40px; }
  .rt-row { grid-template-columns: 50px 1fr 1fr; }
  .rt-note { grid-column: 2 / -1; }
  .rt-link { grid-column: 2 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  .burger { display: block; margin-left: auto; }
  .hdr-cta { display: none; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 10px; padding: 0 var(--gut); background: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease); }
  .nav.open { clip-path: inset(0 0 0 0); }
  .nav a { font: 400 clamp(2.6rem, 11vw, 4rem)/1.1 var(--display); color: var(--paper); transform: translateY(30px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.6s; }
  .nav a::before { font-size: 0.7rem; top: -1.6em; }
  .nav.open a { transform: none; opacity: 1; }
  .nav.open a:nth-child(2) { transition-delay: 0.06s; }
  .nav.open a:nth-child(3) { transition-delay: 0.12s; }
  .nav.open a:nth-child(4) { transition-delay: 0.18s; }
  .nav.open a:nth-child(5) { transition-delay: 0.24s; }
  .hero-meta { gap: 16px; flex-wrap: wrap; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-index { grid-template-columns: 1fr 1fr; }
  .hero-index a:nth-child(2) { border-right: 0; }
  .hero-index a:nth-child(3) { padding-left: 0; }
  .hero-index a:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .fig-grid { grid-template-columns: 1fr 1fr; }
  .fig:nth-child(3) { border-left: 0; padding-left: 0; }
  .fig:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .intro-grid, .ch-grid, .ledger-row, .jb { grid-template-columns: 1fr; gap: 18px; }
  .hscroll { height: auto; }
  .hs-sticky { position: static; height: auto; padding: 72px 0; }
  .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 12px; scrollbar-width: none; }
  .hs-track::-webkit-scrollbar { display: none; }
  .hs-panel { width: 84vw; grid-template-columns: 1fr; gap: 20px; scroll-snap-align: start; }
  .hs-panel .hs-img img { transform: none; filter: none; }
  .om-grid { grid-template-columns: 1fr; }
  .om-sticky { position: static; }
  .om-big, .om-bar { display: none; }
  .om-steps { padding: 0; }
  .om-step { opacity: 1; }
  .name-row { grid-template-columns: 36px 1fr 52px; }
  .nr-role { grid-column: 2; grid-row: 2; }
  .nr-thumb { grid-row: 1 / span 2; grid-column: 3; }
  .acc-row { grid-template-columns: 36px 1fr; }
  .acc-row p { grid-column: 2; opacity: 1; }
  .job-row { grid-template-columns: 36px 1fr 28px; gap: 6px 14px; }
  .jr-d, .jr-l { grid-column: 2; }
  .jr-go { grid-column: 3; grid-row: 1; }
  .gb-in, .co-grid, .pt-grid, .job-layout, .contact-grid, .ftr-top { grid-template-columns: 1fr; }
  .portrait.flip .pt-fig { order: 0; }
  .pt-fig { max-width: 440px; }
  .mission { grid-template-columns: 1fr; }
  .svc { columns: 1; }
  .process { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .job-facts { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .apply, .form { position: static; }
  .op-foot { flex-direction: column; align-items: flex-start; }
  .op-side { text-align: left; padding-left: 0; border-left: 0; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  .hero-index { grid-template-columns: 1fr; }
  .hero-index a { border-right: 0; padding-left: 0 !important; border-top: 1px solid var(--rule); }
  .hero-index a:first-child { border-top: 0; }
  .board, .offer, .process { grid-template-columns: 1fr; }
  .offer-item { padding-left: 0 !important; border-right: 0; border-top: 1px solid var(--rule); }
  .ftr-cols { grid-template-columns: 1fr; }
  .walker { height: 150px; }
  .opener.has-walker { padding-bottom: 170px; }
  .peek-img { height: 140px; }
  .peek-note { max-width: 170px; padding: 10px 12px; margin-bottom: 40%; }
  .peek-note p { font-size: 0.98rem; }
  .btn span { padding: 15px 16px; }
  .btn i { width: 46px; }
}

/* Org chart becomes a vertical tree on small screens */
@media (max-width: 900px) {
  .org { overflow: visible; cursor: auto; }
  .org-root, .org-l1 { min-width: 0; }
  .org-root { justify-content: flex-start; padding-bottom: 0; }
  .org-root::after { display: none; }
  .org-l1 { display: block; margin-left: 14px; }
  .org-l1 > li { padding: 10px 0 0 18px; }
  .org-l1 > li::before { left: 0 !important; right: auto !important; top: 0; bottom: 0; width: 1px; height: auto; }
  .org-l1 > li:last-child::before { bottom: auto; height: 38px; }
  .org-l1 > li::after { left: 0; top: 38px; width: 18px; height: 1px; }
  .org-l1 > li > .node { max-width: 420px; }
}

/* Hero photo sits right of the headline on wide screens */
@media (min-width: 901px) {
  .hero-media { left: 28%; }
  .hero-media img { object-position: 58% 30%; }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: #0d1422; }
  .hero-veil { background: linear-gradient(90deg, var(--ink) 0%, rgba(5, 8, 15, 0.82) 14%, rgba(5, 8, 15, 0.2) 40%, rgba(5, 8, 15, 0) 70%), linear-gradient(0deg, rgba(5, 8, 15, 0.97) 0%, rgba(5, 8, 15, 0) 42%), linear-gradient(180deg, rgba(5, 8, 15, 0.65) 0%, rgba(5, 8, 15, 0) 22%); }
  .hero::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 30%; z-index: -1; background: linear-gradient(90deg, var(--ink) 60%, transparent); pointer-events: none; }
}
@media (min-width: 901px) {
  .hero::after { width: 46%; background: linear-gradient(90deg, var(--ink) 45%, rgba(5, 8, 15, 0.7) 75%, transparent); }
}

/* Phone hero: photo on top, statement below */
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(72px + 58vw); grid-template-rows: auto auto auto; }
  .hero-media { bottom: auto; height: calc(72px + 62vw); }
  .hero-veil { background: linear-gradient(0deg, var(--ink) 0%, rgba(5, 8, 15, 0) 45%), linear-gradient(180deg, rgba(5, 8, 15, 0.7) 0%, rgba(5, 8, 15, 0) 30%); }
  .hero-media img { object-position: 55% 30%; }
  .hero-meta { position: absolute; top: 84px; left: 0; right: 0; }
  .hero-body { padding-top: 8px; }
  .hero-title { font-size: clamp(2.8rem, 12.5vw, 5rem); }
  .hero-title .rotator { display: grid; }
}

/* ===== Simba, the lion guide ===== */
.simba { position: fixed; top: 86px; right: clamp(10px, 2vw, 26px); z-index: 70; display: flex; align-items: flex-start; gap: 10px; transition: top 0.5s var(--ease); }
.hdr.hide ~ .simba, body.hdr-hidden .simba { top: 16px; }
.simba-btn { position: relative; width: 74px; height: 74px; border: 0; padding: 0; background: none; cursor: pointer; flex: none; animation: simbaIn 1s cubic-bezier(0.34, 1.5, 0.5, 1) 1.4s both, bob 3.2s ease-in-out 2.4s infinite; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55)); }
.simba-btn:hover .lion { transform: rotate(-8deg) scale(1.06); }
.lion { width: 100%; height: 100%; transition: transform 0.5s var(--ease); overflow: visible; }
.lion .mane { transform-origin: 60px 62px; animation: mane 6s ease-in-out infinite; }
.lion .eyes { transform-origin: 60px 61px; animation: blink 5s infinite; }
.lion .ears { transform-origin: 60px 40px; animation: ears 7s ease-in-out infinite; }
.lion .mouth { opacity: 0; transform-origin: 60px 81px; }
.simba.talking .lion .smile { opacity: 0; }
.simba.talking .lion .mouth { opacity: 1; animation: talk 0.22s ease-in-out infinite alternate; }
.simba-ping { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); }
.simba-ping::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); animation: ping 1.8s ease-out infinite; }
.simba.seen .simba-ping { display: none; }
@keyframes simbaIn { from { opacity: 0; transform: translateY(-30px) scale(0.6) rotate(-20deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes mane { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(4deg) scale(1.03); } }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(0.1); } }
@keyframes ears { 0%, 90%, 100% { transform: rotate(0); } 93% { transform: rotate(-6deg); } 96% { transform: rotate(6deg); } }
@keyframes talk { from { transform: scaleY(0.5); } to { transform: scaleY(1.15); } }
@keyframes ping { to { transform: scale(2.2); opacity: 0; } }

.simba-bubble { position: relative; margin-top: 8px; width: min(290px, calc(100vw - 120px)); padding: 16px 18px 14px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateX(16px) scale(0.92); transform-origin: right top; pointer-events: none; transition: opacity 0.4s, transform 0.6s cubic-bezier(0.34, 1.4, 0.5, 1); }
.simba-bubble::after { content: ''; position: absolute; right: -8px; top: 22px; border: 8px solid transparent; border-left-color: var(--paper); border-right: 0; }
.simba.say .simba-bubble { opacity: 1; transform: none; pointer-events: auto; }
.sb-tag { display: block; font: 500 0.62rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 8px; }
.sb-text { font: 400 1.18rem/1.22 var(--display); min-height: 2.4em; }
.sb-actions { display: flex; gap: 16px; margin-top: 12px; }
.sb-actions button { background: none; border: 0; padding: 0 0 2px; font: 600 0.74rem/1 var(--sans); color: var(--ink); border-bottom: 1px solid var(--gold-3); cursor: pointer; }
.sb-actions button:hover { color: var(--gold-3); }
.sb-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 1rem; color: var(--ink); opacity: 0.45; cursor: pointer; }
.sb-x:hover { opacity: 1; }

.simba-chat { position: absolute; top: 84px; right: 0; width: min(370px, calc(100vw - 20px)); max-height: min(560px, calc(100vh - 190px)); display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--gold-3); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85); transform-origin: top right; animation: chatIn 0.5s var(--ease); }
.simba-chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(-10px) scale(0.96); } }
.simba-chat header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--rule); background: linear-gradient(170deg, rgba(201, 164, 90, 0.14), transparent); }
.simba-chat header > div { width: 40px; height: 40px; flex: none; }
.simba-chat header p { display: grid; flex: 1; }
.simba-chat header strong { font: 400 1.3rem/1 var(--display); }
.simba-chat header span { font: 500 0.62rem/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.sc-x { background: none; border: 1px solid var(--rule-2); color: var(--paper); width: 30px; height: 30px; cursor: pointer; }
.sc-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; scrollbar-width: thin; }
.msg { max-width: 88%; padding: 10px 13px; font-size: 0.92rem; line-height: 1.45; animation: msgIn 0.4s var(--ease); }
.msg.bot { background: var(--ink-3); border: 1px solid var(--rule); justify-self: start; }
.msg.me { background: var(--gold); color: var(--ink); justify-self: end; }
.msg a { color: var(--gold); border-bottom: 1px solid currentColor; display: inline-block; margin-top: 6px; font-weight: 600; font-size: 0.84rem; }
.msg.typing { display: flex; gap: 4px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: dots 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; } .msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: 0.4; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.sc-chips button { background: none; border: 1px solid var(--rule-2); color: var(--paper-2); font: 500 0.74rem/1 var(--sans); padding: 8px 10px; cursor: pointer; transition: border-color 0.3s, color 0.3s; }
.sc-chips button:hover { border-color: var(--gold); color: var(--paper); }
.sc-form { display: flex; border-top: 1px solid var(--rule); }
.sc-form input { flex: 1; background: transparent; border: 0; color: var(--paper); font: 400 0.95rem/1 var(--sans); padding: 15px 16px; }
.sc-form input:focus { outline: none; }
.sc-form button { width: 52px; border: 0; background: var(--gold); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.sc-form button .arr { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .simba { top: 80px; }
  .simba-btn { width: 58px; height: 58px; }
  .simba-bubble { width: calc(100vw - 96px); padding: 12px 14px; }
  .sb-text { font-size: 1.02rem; }
  .simba-chat { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-height: 78vh; border-left: 0; border-right: 0; border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .simba-btn, .lion * { animation: none !important; } }

/* ===== Extra motion ===== */
.tape-track, .gb-marquee > div { transition: none; }
.tape, .gb-marquee { transform: skewX(var(--skew, 0deg)); transition: transform 0.25s ease-out; }
.btn.solid, .hdr-cta { will-change: transform; }
.op-title em, .hero-title em { display: inline-block; }
