:root {
  --bg: #f4f4f1;
  --surface: #ffffff;
  --surface-2: #e9e9e4;
  --ink: #101010;
  --muted: #676761;
  --line: #d8d8d2;
  --accent: #177245;
  --inverse: #111111;
  --inverse-ink: #ffffff;
  --shadow: 0 18px 55px rgba(22, 22, 20, .08);
  --radius: 28px;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #0e0e0e;
  --surface: #171717;
  --surface-2: #222222;
  --ink: #f5f5f2;
  --muted: #a2a29b;
  --line: #30302e;
  --accent: #6fce9e;
  --inverse: #f2f2ee;
  --inverse-ink: #111111;
  --shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans); transition: background .35s, color .35s; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { background: var(--ink); color: var(--bg); }
.page-width { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

.cursor-dot, .cursor-ring { display: none; pointer-events: none; position: fixed; z-index: 200; border-radius: 50%; opacity: 0; }
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  body, a, button, [role="button"], [role="slider"] { cursor: none; }
  .cursor-dot { display: block; width: 5px; height: 5px; background: #fff; transform: translate(-50%, -50%); mix-blend-mode: difference; }
  .cursor-ring { display: block; width: 32px; height: 32px; border: 1px solid #fff; transform: translate(-50%, -50%); mix-blend-mode: difference; transition: width .18s, height .18s, background .18s, border-color .18s, opacity .15s; }
  .cursor-ready .cursor-dot, .cursor-ready .cursor-ring { opacity: 1; }
  .cursor-ring.active { width: 48px; height: 48px; border-color: #fff; background: rgba(255,255,255,.16); }
}

.entry { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 28px; overflow: hidden; background: var(--bg); color: var(--ink); cursor: pointer; transition: opacity .65s cubic-bezier(.75,0,.2,1), visibility .65s; }
.entry::before { content: ""; position: absolute; width: min(48vw, 660px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.entry::after { content: ""; position: absolute; width: min(32vw, 430px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.entry.leaving { opacity: 0; visibility: hidden; }
.entry-bar, .entry-footer { position: absolute; left: 28px; right: 28px; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.entry-bar { top: 28px; }.entry-footer { bottom: 28px; }
.entry-center { position: relative; z-index: 2; text-align: center; }
.entry-mark { width: 62px; height: 62px; margin: 0 auto 30px; display: grid; place-items: center; border-radius: 18px; background: var(--inverse); color: var(--inverse-ink); font-size: 27px; font-weight: 800; }
.entry-center p { margin: 0 0 14px; color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .06em; }
.entry-center h1 { margin: 0; font-size: clamp(3.2rem, 8vw, 7.7rem); line-height: .9; letter-spacing: -.075em; }
.entry-hint { display: inline-block; margin-top: 26px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }

.site { opacity: 0; transform: translateY(14px); transition: opacity .6s ease .22s, transform .6s ease .22s; }
.entered .site { opacity: 1; transform: none; }
.audio-dock { position: fixed; z-index: 48; right: 18px; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(16px); transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .4s ease .35s, background .35s; }
.entered .audio-dock { opacity: 1; pointer-events: auto; }
.audio-label { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.volume-dial { --volume-deg: 100.8deg; position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--ink) 0 var(--volume-deg), var(--surface-2) var(--volume-deg) 360deg); touch-action: none; outline: none; }
.volume-dial::before { content: ""; position: absolute; inset: 4px; border-radius: inherit; background: var(--surface); }
.volume-dial:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.volume-dial button { position: relative; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; }
.volume-dial i { font-size: 18px; }
.volume-dial .volume-off { display: none; }
.volume-dial.muted .volume-on { display: none; }.volume-dial.muted .volume-off { display: block; }
.audio-value { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.nav-wrap { position: fixed; inset: 0 0 auto; z-index: 50; padding: 16px 20px; }
.nav { position: relative; width: min(1200px, 100%); height: 64px; margin: auto; padding: 0 10px 0 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: 0 10px 40px rgba(0,0,0,.05); backdrop-filter: blur(18px); }
.scroll-progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 999px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.logo { width: max-content; font-size: 22px; font-weight: 850; letter-spacing: -.05em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 650; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-tools { justify-self: end; display: flex; gap: 6px; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); cursor: pointer; transition: background .2s, transform .2s; }
.icon-button:hover { background: var(--surface-2); transform: translateY(-1px); }
.icon-button i { font-size: 18px; }
.icon-button .moon { display: none; }
[data-theme="dark"] .icon-button .sun { display: none; }
[data-theme="dark"] .icon-button .moon { display: block; }
.icon-button.muted { opacity: .45; }

.hero { min-height: 100svh; padding: 140px 0 70px; display: grid; grid-template-columns: 1.18fr .72fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.overline, .section-tag { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 790px; margin: 24px 0 30px; font-size: clamp(3.5rem, 7.2vw, 7.2rem); line-height: .9; letter-spacing: -.075em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; padding: 0 18px; border: 1px solid var(--line); border-radius: 15px; font-size: 14px; font-weight: 750; transition: transform .2s, box-shadow .2s; }
.button i, .text-link i, .profile-bottom > a i, .link-list b i { font-size: 18px; transition: transform .2s; }
.button:hover i, .text-link:hover i, .company-card > a:hover i { transform: translate(3px, -3px); }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button.primary { border-color: var(--inverse); background: var(--inverse); color: var(--inverse-ink); }
.button.secondary { background: var(--surface); }

.profile-card { min-height: 560px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 34px; background: var(--inverse); color: var(--inverse-ink); box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .18s ease-out, box-shadow .3s; }
.profile-top { display: flex; justify-content: space-between; color: color-mix(in srgb, var(--inverse-ink) 60%, transparent); font-size: 12px; font-weight: 650; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #4fb67d; }
.portrait { text-align: center; }
.portrait span { display: grid; width: 150px; height: 150px; margin: 0 auto 18px; place-items: center; border: 1px solid color-mix(in srgb, var(--inverse-ink) 18%, transparent); border-radius: 44px; background: color-mix(in srgb, var(--inverse-ink) 7%, transparent); font-size: 76px; font-weight: 850; letter-spacing: -.08em; }
.portrait p { margin: 0; color: color-mix(in srgb, var(--inverse-ink) 62%, transparent); font-size: 13px; }
.profile-bottom { padding: 20px; display: flex; align-items: end; justify-content: space-between; border-radius: 20px; background: color-mix(in srgb, var(--inverse-ink) 8%, transparent); }
.profile-roles { display: grid; gap: 14px; }
.profile-roles > div { display: flex; flex-direction: column; gap: 4px; }
.profile-roles > div + div { padding-top: 13px; border-top: 1px solid color-mix(in srgb, var(--inverse-ink) 14%, transparent); }
.profile-bottom small { color: color-mix(in srgb, var(--inverse-ink) 55%, transparent); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.profile-bottom strong { margin-top: 3px; font-size: 14px; line-height: 1.25; }
.profile-bottom > a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--inverse-ink); color: var(--inverse); font-size: 18px; }

.intro, .expertise, .role, .connect { padding-block: 115px; border-top: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 36px; }
.intro h2, .section-head h2, .role h2 { margin: 0; font-size: clamp(2.8rem, 5.6vw, 5.8rem); line-height: .95; letter-spacing: -.065em; }
.intro-grid > div { max-width: 590px; }
.intro-grid p { margin: 0 0 22px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.numbers { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.numbers article { min-height: 230px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.numbers strong { font-size: clamp(4rem, 7vw, 6.5rem); line-height: 1; letter-spacing: -.07em; }
.numbers strong span { color: var(--accent); }.numbers p { max-width: 260px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.section-head { margin: 34px 0 48px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.skill { min-height: 330px; padding: 26px; display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .25s, box-shadow .25s; }
.skill:hover { transform: translateY(-7px) rotate(.15deg); box-shadow: var(--shadow); }
.skill-wide { grid-column: span 2; }
.skill-number { color: var(--muted); font-size: 12px; font-weight: 700; }
.skill-symbol { align-self: center; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 20px; background: var(--surface-2); font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.skill-symbol i { font-size: 28px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.skill:hover .skill-symbol i { transform: scale(1.15) rotate(-5deg); }
.skill h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.035em; }
.skill p { max-width: 580px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.company-card { min-height: 560px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 38px; overflow: hidden; position: relative; transition: transform .3s, box-shadow .3s; }
.company-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; top: -120px; border: 1px solid currentColor; border-radius: 50%; opacity: .08; transition: transform .6s; }
.company-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.company-card:hover::after { transform: scale(1.35); }
.bolder-card { background: var(--inverse); color: var(--inverse-ink); }
.memorial-card { background: var(--surface); color: var(--ink); }
.company-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 18px; font-size: 23px; opacity: .88; }
.company-index { display: block; margin-bottom: 20px; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; opacity: .58; }
.company-card h3 { margin: 0 0 22px; font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: .96; letter-spacing: -.06em; }
.company-card p { max-width: 560px; margin: 0; color: currentColor; font-size: 16px; line-height: 1.7; opacity: .68; }
.company-card > a { width: max-content; display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 750; }
.company-card > a i { transition: transform .2s; }

.link-list { border-top: 1px solid var(--line); }
.link-list a { min-height: 125px; display: grid; grid-template-columns: 70px 1fr 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.link-list a:hover { padding-inline: 18px; border-radius: 18px; background: var(--surface); }
.link-list > a > span { color: var(--muted); font-size: 12px; }
.link-list div { display: flex; flex-direction: column; gap: 6px; }
.link-list small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.link-list strong { font-size: 24px; letter-spacing: -.03em; }
.link-list p { color: var(--muted); font-size: 14px; }
.link-list b { font-size: 20px; font-weight: 500; }

footer { min-height: 140px; padding-block: 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-name { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.footer-name span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--inverse); color: var(--inverse-ink); font-weight: 800; }
.footer-top { display: inline-flex; align-items: center; gap: 8px; }

.reveal { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1), filter .75s ease; }
.reveal.visible { opacity: 1; transform: none; filter: none; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .profile-card { width: min(100%, 560px); min-height: 500px; }
  .intro-grid, .leadership-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .skill-grid { grid-template-columns: 1fr 1fr; }
  .skill-wide { grid-column: span 2; }
}

@media (max-width: 650px) {
  .page-width { width: min(100% - 24px, 1240px); }
  .nav-wrap { padding: 10px 12px; }
  .nav { height: 58px; padding-left: 16px; grid-template-columns: 1fr auto; border-radius: 18px; }
  .nav-links { display: none; }
  .entry { padding: 18px; }.entry-bar, .entry-footer { left: 18px; right: 18px; }
  .entry-bar span:last-child, .entry-footer span:last-child { display: none; }
  .entry::before { width: 82vw; }.entry::after { width: 56vw; }
  .audio-dock { right: 10px; top: auto; bottom: 12px; padding: 8px; flex-direction: row; border-radius: 18px; transform: none; }
  .audio-label { display: none; }
  .volume-dial { width: 44px; height: 44px; }
  .volume-dial button { width: 32px; height: 32px; }
  .hero { padding-top: 115px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .actions { flex-direction: column; }.button { width: 100%; }
  .profile-card { min-height: 470px; border-radius: 26px; }
  .profile-bottom { align-items: flex-start; }
  .intro, .expertise, .role, .connect { padding-block: 80px; }
  .intro-grid { gap: 32px; }
  .numbers, .skill-grid { grid-template-columns: 1fr; }
  .skill-wide { grid-column: auto; }
  .numbers article { min-height: 190px; }
  .section-head { align-items: start; flex-direction: column; }
  .skill { min-height: 300px; }
  .company-card { min-height: 510px; padding: 28px; border-radius: 28px; }
  .link-list a { grid-template-columns: 35px 1fr auto; min-height: 110px; }
  .link-list p { display: none; }
  footer { align-items: flex-start; flex-direction: column; }
  footer > p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
