@font-face{font-family:Sora;src:url(sora.woff2) format("woff2");font-weight:300 800;font-display:swap}
@font-face{font-family:Manrope;src:url(manrope.woff2) format("woff2");font-weight:400 800;font-display:swap}
/* ============================================================
   Palette pulled from the membership card:
   matte black · royal violet · molten orange · copper edge
   ============================================================ */
:root {
  --ink: #09070d;
  --ink-2: #0f0c15;
  --panel: #14111b;
  --panel-2: #1a1624;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);

  --violet: #8b5cf6;
  --violet-deep: #5b3cc4;
  --violet-soft: #b9a3ff;
  --amber: #ff8a1f;
  --amber-soft: #ffb366;
  --copper: #d9823f;
  --rose: #f472b6;

  --text: #eeeaf5;
  --muted: #9b95ab;
  --dim: #6b6579;

  --display: 'Sora', 'Montserrat', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;

  --radius: 22px;
  --cx: 50vw;
  --cy: 30vh;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; position: relative; }

/* ---------- ambient layers ---------- */
.spotlight {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--cx) var(--cy), rgba(139, 92, 246, 0.09), transparent 60%);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .nav { position: relative; z-index: 2; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--amber), var(--violet));
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1200px, calc(100% - 32px)); z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px 10px 18px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(15, 12, 21, 0.72);
  border-color: var(--line-2);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .28em; font-size: 14px; }
.nav-brand b { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; color: var(--muted); padding: 8px 16px; border-radius: 999px; transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links .nav-cta {
  color: #120a02; background: linear-gradient(135deg, var(--amber-soft), var(--amber)); font-weight: 700; margin-left: 8px;
  box-shadow: 0 6px 24px -6px rgba(255, 138, 31, .6);
}
.nav-links .nav-cta:hover { color: #120a02; background: linear-gradient(135deg, #ffc285, var(--amber)); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #120a02; background: linear-gradient(135deg, var(--amber-soft), var(--amber));
  box-shadow: 0 12px 36px -10px rgba(255, 138, 31, .7);
}
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--violet); background: rgba(139, 92, 246, .08); }

/* ---------- hero ---------- */

/* ---------- hero (editorial) ---------- */
@font-face{font-family:'Playfair Display';src:url(playfair-800.woff2) format("woff2");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'Playfair Display';src:url(playfair-italic-700.woff2) format("woff2");font-weight:700;font-style:italic;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url(instrument.woff2) format("woff2");font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url(instrument-italic.woff2) format("woff2");font-style:italic;font-display:swap}
:root { --serif: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif; --cream: #f4efe8; --copper-soft: #e2a468; }

.hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding-top: 96px; display: flex; flex-direction: column; overflow: hidden;
  background: #09070d;
}
.lux-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 5px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.lux-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); transition: background .3s; }
.lux-link::before { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--copper-soft); transition: width .4s cubic-bezier(.2,.7,.2,1); z-index: 1; }
.lux-link:hover::before { width: 100%; }
.lux-link svg { transition: transform .3s; }
.lux-link:hover svg { transform: translate(2px, 2px); }

.lux-bar { position: relative; z-index: 3; width: calc(min(1200px, 100% - 32px) - 48px); margin: 0 auto; padding: 20px 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); }
.lux-scroll { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.lux-scroll i { width: 1px; height: 30px; background: linear-gradient(var(--copper-soft), transparent); animation: lux-drop 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes lux-drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.lux-tag { justify-self: end; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--copper-soft); }


/* stats */
.stats {
  margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26,22,36,.7), rgba(15,12,21,.7)); backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}
.stat { padding: 30px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: -.02em; }
.counter-suffix { color: var(--amber); }
.stat-label { margin-top: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* marquee */
.marquee { margin-top: 80px; padding: 28px 0; border-block: 1px solid var(--line); display: flex; align-items: center; gap: 40px; overflow: hidden; position: relative; }
.marquee-label {
  flex: none; padding-left: max(24px, calc((100vw - 1200px) / 2)); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim);
  position: relative; z-index: 2; background: var(--ink); padding-right: 24px;
}
.marquee-track { display: flex; align-items: center; gap: 72px; animation: marquee 64s linear infinite; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .45; transition: opacity .3s, filter .3s; }
.marquee-logo:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- section scaffolding ---------- */
.section { padding: 140px 0 40px; position: relative; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kicker-num { font-family: var(--display); color: var(--amber); }
.kicker-line { width: 48px; height: 1px; background: linear-gradient(90deg, var(--amber), var(--violet)); }
.section-title {
  font-family: var(--serif, var(--display)); font-weight: 400; font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -.02em; margin-top: 18px; color: var(--cream, var(--text));
}
.section-title em { font-style: italic; font-weight: 400; display: inline; color: var(--copper-soft, var(--amber-soft)); }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 620px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.about-portrait { position: relative; }
.about-frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,138,31,.25), transparent 50%),
    linear-gradient(160deg, #2b1d5c, #15101f 70%);
  border: 1px solid var(--line-2);
}
.about-frame::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 18px);
}
.about-frame img { position: absolute; bottom: 0; left: 50%; translate: -50% 0; height: 94%; width: auto; max-width: none; }
.about-years {
  position: absolute; right: -28px; bottom: 36px; padding: 18px 22px; border-radius: 18px; max-width: 210px;
  background: linear-gradient(135deg, var(--amber-soft), var(--amber)); color: #170c02;
  box-shadow: 0 24px 50px -16px rgba(255,138,31,.6); display: flex; gap: 12px; align-items: center;
}
.about-years-num { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }
.about-years-txt { font-size: 12.5px; line-height: 1.35; font-weight: 700; }
.about-lead { font-family: var(--display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; font-weight: 400; color: var(--text); letter-spacing: -.01em; }
.about-body { margin-top: 20px; color: var(--muted); font-size: 17px; }
.sector-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.sector {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--panel); font-size: 14px; font-weight: 600;
}
.sector svg { color: var(--violet-soft); }
.building {
  margin-top: 26px; padding: 22px 24px; border-radius: 18px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(139,92,246,.14), rgba(139,92,246,.03)); border: 1px solid rgba(139,92,246,.28);
}
.building-head { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-soft); font-weight: 700; }
.building-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.building-tags span { padding: 8px 16px; border-radius: 999px; background: rgba(9,7,13,.6); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; }

.expertise {
  margin-top: 100px; display: flex; gap: 0; overflow: hidden; white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.expertise-track { display: flex; flex: none; width: max-content; animation: marquee2 70s linear infinite; }
.expertise:hover .expertise-track { animation-play-state: paused; }
.expertise-item {
  flex: none; display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font-family: var(--display); font-size: clamp(28px, 4vw, 52px); font-weight: 700; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(238,234,245,.32);
}
.expertise-item:nth-child(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.expertise-gem { width: 14px; height: 14px; rotate: 45deg; background: var(--amber); display: inline-block; border-radius: 2px; }
.expertise-item:nth-child(2n) .expertise-gem { background: var(--violet); }
@keyframes marquee2 { to { transform: translateX(-50%); } }

/* ---------- ventures ---------- */
.venture-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; perspective: 1400px; }
.venture-wrap { height: 100%; }
.venture {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 30px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
  transition: border-color .3s, box-shadow .3s, transform .25s ease-out;
}
.venture::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: linear-gradient(135deg, var(--amber), transparent 40%, var(--violet));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.venture:hover::after { opacity: 1; }
.venture:hover { box-shadow: 0 40px 80px -40px rgba(139,92,246,.6); }
.venture-sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 45%);
}
.tilt:hover .venture-sheen { opacity: 1; }
.venture.is-flagship {
  background:
    radial-gradient(circle at 100% 0%, rgba(139,92,246,.35), transparent 50%),
    linear-gradient(180deg, #1d1630, var(--panel));
}
.venture-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.venture-num { font-family: var(--display); color: var(--amber); font-weight: 700; }
.venture-role { color: var(--muted); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.venture-logo {
  margin: 34px 0 28px; height: 120px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(180deg, #f7f5fb, #e7e3ef); box-shadow: inset 0 -10px 30px rgba(91,60,196,.08);
}
.venture-logo img { max-height: 84px; max-width: 78%; object-fit: contain; }
.venture-name { font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.venture-tag { margin-top: 8px; color: var(--amber-soft); font-size: 14px; font-weight: 600; font-style: italic; }
.venture-blurb { margin-top: 14px; color: var(--muted); font-size: 15px; flex: 1; }
.venture-link {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.venture-link svg { transition: transform .3s, color .3s; }
.venture:hover .venture-link svg { transform: translate(3px, -3px); color: var(--amber); }

/* ---------- experience ---------- */
.exp-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.exp-list { list-style: none; border-top: 1px solid var(--line-2); }
.exp-row {
  width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; text-align: left;
  padding: 24px 12px; border-bottom: 1px solid var(--line-2); position: relative; transition: background .35s, padding .35s;
}
.exp-row::before {
  content: ''; position: absolute; left: 0; top: -1px; bottom: -1px; width: 0; background: linear-gradient(90deg, rgba(139,92,246,.18), transparent);
  transition: width .45s ease;
}
.exp-row.is-active::before { width: 100%; }
.exp-row.is-active { padding-left: 12px; }
.exp-idx { font-family: var(--display); color: var(--dim); font-weight: 700; font-size: 15px; position: relative; transition: color .3s; }
.exp-row.is-active .exp-idx { color: var(--amber); }
.exp-main { display: grid; position: relative; }
.exp-role { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; line-height: 1.3; }
.exp-org { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.exp-sector, .exp-panel-sector {
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  white-space: nowrap; position: relative;
}
.c-amber { color: var(--amber-soft); background: rgba(255,138,31,.1); border: 1px solid rgba(255,138,31,.25); }
.c-violet { color: var(--violet-soft); background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.3); }
.c-rose { color: #f9a8d4; background: rgba(244,114,182,.1); border: 1px solid rgba(244,114,182,.25); }

.exp-panel-wrap { position: sticky; top: 110px; }
.exp-panel {
  position: relative; border-radius: 28px; padding: 34px; min-height: 420px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
  display: flex; flex-direction: column;
}
.exp-panel::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--copper), transparent);
}
.exp-panel-glow {
  position: absolute; width: 360px; height: 360px; right: -140px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.4), transparent 65%);
}
.exp-panel-inner { position: relative; flex: 1; display: flex; flex-direction: column; }
.exp-panel-num {
  font-family: var(--display); font-size: 110px; font-weight: 800; line-height: .9; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); position: absolute; right: 0; top: -6px;
}
.exp-panel-logos {
  display: flex; gap: 12px; align-items: center; height: 96px; padding: 0 20px; border-radius: 18px; width: fit-content; min-width: 170px;
  background: linear-gradient(180deg, #f7f5fb, #e7e3ef);
}
.exp-panel-logos img { max-height: 64px; max-width: 140px; object-fit: contain; }
.exp-mono { font-family: var(--display); font-weight: 800; letter-spacing: .2em; color: var(--violet-deep); font-size: 24px; }
.exp-panel-sector { margin-top: auto; width: fit-content; }
.exp-panel-role { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.2; margin-top: 16px; letter-spacing: -.015em; }
.exp-panel-org { color: var(--muted); margin-top: 8px; }
.exp-dots { display: flex; gap: 8px; margin-top: 26px; position: relative; }
.exp-dots button { width: 22px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .3s, width .3s; }
.exp-dots button.on { width: 40px; background: linear-gradient(90deg, var(--amber), var(--violet)); }

/* ---------- credentials ---------- */
.cred-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.cert {
  position: relative; overflow: hidden; height: 100%; min-height: 300px; padding: 26px; border-radius: 24px;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
}
.cert::before {
  content: ''; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -80px; rotate: 45deg; border-radius: 28px;
  border: 1px solid rgba(255,255,255,.06);
}
.accent-violet { --acc: var(--violet); --acc-soft: var(--violet-soft); }
.accent-amber { --acc: var(--amber); --acc-soft: var(--amber-soft); }
.cert-gem {
  width: 54px; height: 54px; border-radius: 14px; rotate: 45deg; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--acc-soft), var(--acc)); box-shadow: 0 12px 30px -8px var(--acc); margin: 6px 0 0 6px;
}
.cert-gem svg { rotate: -45deg; color: #120a02; }
.cert-code { font-family: var(--display); font-weight: 800; font-size: 38px; letter-spacing: -.02em; margin-top: 30px; color: var(--acc-soft); }
.cert-title { font-weight: 700; margin-top: 6px; line-height: 1.35; }
.cert-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cert-issuer { margin-top: auto; padding-top: 18px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 700; }

.edu { padding: 30px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line-2); }
.edu-head { display: flex; gap: 10px; align-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.edu-head svg { color: var(--amber); }
.edu-line { list-style: none; margin-top: 26px; position: relative; padding-left: 26px; }
.edu-line::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--amber), var(--violet), transparent); }
.edu-item { position: relative; display: grid; padding-bottom: 26px; }
.edu-item:last-child { padding-bottom: 0; }
.edu-node { position: absolute; left: -26px; top: 6px; width: 11px; height: 11px; rotate: 45deg; background: var(--ink); border: 2px solid var(--amber); }
.edu-item:nth-child(even) .edu-node { border-color: var(--violet); }
.edu-years { font-size: 12px; letter-spacing: .14em; color: var(--amber-soft); font-weight: 700; }
.edu-title { font-weight: 700; margin-top: 4px; }
.edu-place { color: var(--muted); font-size: 14px; }

/* ---------- contact ---------- */
.contact { padding-bottom: 140px; }
.contact::before {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 1100px; height: 600px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(139,92,246,.22), transparent 65%);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-list { display: grid; gap: 10px; }
.c-row {
  display: grid; grid-template-columns: 46px 1fr 38px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px;
  background: rgba(20,17,27,.6); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .3s;
}
.c-row:hover { border-color: rgba(139,92,246,.4); background: rgba(26,22,36,.9); transform: translateX(4px); }
.c-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,138,31,.1); color: var(--amber); }
.c-text { display: grid; min-width: 0; }
.c-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.c-value { font-weight: 600; overflow-wrap: anywhere; }
a.c-value:hover { color: var(--amber-soft); }
.c-copy { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); transition: color .2s, background .2s; }
.c-copy:hover { color: var(--text); background: rgba(255,255,255,.06); }

/* flip card */
.flip-scene { perspective: 1600px; display: grid; justify-items: center; gap: 18px; }
.flip-tilt { width: 100%; max-width: 560px; }
.flip-card {
  position: relative; display: block; width: 100%; aspect-ratio: 1.6; transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.3,.7,.2,1); text-align: left;
}
.flip-card.is-flipped { transform: rotateY(180deg); }
.card-face {
  position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
  padding: 7% 7.5%; display: flex; flex-direction: column; align-items: center;
  background:
    radial-gradient(circle at 0% 100%, rgba(139,92,246,.25), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(139,92,246,.2), transparent 30%),
    linear-gradient(160deg, #1a1622, #0c0a10 60%);
  border: 1.5px solid var(--copper);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 50px 90px -30px rgba(0,0,0,.9), 0 0 50px -10px rgba(217,130,63,.35);
}
.card-back { transform: rotateY(180deg); justify-content: center; }
.card-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 30%) var(--my, 20%), rgba(255,255,255,.07), transparent 45%);
}
.card-chev {
  position: absolute; right: -14%; top: -20%; width: 46%; aspect-ratio: 1; rotate: 45deg; border-radius: 10px;
  border: 1px solid rgba(185,163,255,.18); box-shadow: inset 0 0 0 26px rgba(139,92,246,.05), 0 0 0 26px rgba(139,92,246,.03);
}
.card-top { align-self: flex-start; display: flex; flex-direction: column; font-size: clamp(8px, 1.4vw, 11px); letter-spacing: .3em; line-height: 1.4; padding-left: 12px; border-left: 1px solid var(--line-2); }
.card-mini { color: var(--text); }
.card-mini.dim { color: var(--muted); }
.card-mark { width: 16%; height: auto; margin-top: -2%; filter: drop-shadow(0 6px 14px rgba(139,92,246,.5)); }
.card-name { font-family: var(--display); font-weight: 700; letter-spacing: .06em; font-size: clamp(14px, 3vw, 24px); margin-top: 3%; color: #f2f0f6; text-shadow: 0 2px 0 rgba(0,0,0,.6); white-space: nowrap; }
.card-title { font-size: clamp(8px, 1.5vw, 12px); letter-spacing: .3em; color: var(--amber); font-weight: 600; margin-top: 1%; }
.card-rule { width: 72%; height: 1px; margin: 4% 0; position: relative; background: linear-gradient(90deg, transparent, var(--amber) 30%, var(--amber) 70%, transparent); }
.card-rule i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; background: var(--amber); translate: -50% -50%; rotate: 45deg; box-shadow: 0 0 0 4px #110e15; }
.card-bottom { width: 100%; display: grid; grid-template-columns: 1fr 1.3fr; gap: 5%; font-size: clamp(9px, 1.55vw, 13px); }
.card-co { border-left: 2px solid var(--amber); padding-left: 10px; display: grid; align-content: start; }
.card-co b { font-weight: 700; }
.card-co span { color: var(--muted); }
.card-info { display: grid; gap: 3px; padding-left: 5%; border-left: 1px solid var(--line-2); }
.card-info .o, .card-word .o { color: var(--amber); }
.card-back-logo { display: none; }
.card-word { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 5vw, 42px); letter-spacing: .02em; color: #ececf1; text-shadow: 0 3px 0 rgba(0,0,0,.6); }
.card-tagline { font-style: italic; color: var(--muted); font-size: clamp(10px, 1.8vw, 15px); letter-spacing: .06em; }
.card-subs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; font-size: clamp(9px, 1.5vw, 13px); }
.card-subs > div { display: grid; justify-items: center; gap: 8px; color: var(--muted); }
.card-subs > div + div { border-left: 1px solid var(--line-2); }
.card-sub-plate { display: grid; place-items: center; height: clamp(34px, 6vw, 52px); padding: 0 14px; border-radius: 10px; background: #f3f1f7; }
.card-sub-plate img { max-height: 78%; max-width: 120px; object-fit: contain; }
.flip-hint { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--dim); letter-spacing: .06em; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-family: var(--display); }
.footer-tag { font-style: italic; color: var(--amber-soft); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .portrait-stage { width: min(380px, 80vw); }
  .about-grid, .exp-layout, .cred-layout, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 56px; }
  .about-portrait { max-width: 420px; }
  .venture-grid { grid-template-columns: 1fr 1fr; }
  .venture-wrap:first-child { grid-column: 1 / -1; }
  .exp-panel-wrap { position: static; }
  .exp-panel { min-height: 340px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px; gap: 4px;
    background: rgba(15,12,21,.96); border: 1px solid var(--line-2); border-radius: 22px; backdrop-filter: blur(16px);
    opacity: 0; pointer-events: none; translate: 0 -8px; transition: opacity .3s, translate .3s;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; translate: 0 0; }
  .nav-links a { padding: 14px 16px; }
  .nav-links .nav-cta { margin: 6px 0 0; text-align: center; }
  .nav.is-scrolled, .nav { background: rgba(15,12,21,.72); border-color: var(--line-2); backdrop-filter: blur(16px); }
  .hero { padding-top: 110px; }
  .hero-roles li { flex-direction: column; gap: 2px; }
  .role-org { text-align: left; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); padding: 22px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .stat-value { font-size: 38px; }
  .marquee-label { display: none; }
  .section { padding-top: 100px; }
  .venture-grid, .cert-grid { grid-template-columns: 1fr; }
  .cert { min-height: 0; }
  .exp-row { grid-template-columns: 36px 1fr; }
  .exp-sector { grid-column: 2; width: fit-content; }
  .about-years { right: 12px; }
  .badge-a { left: 0; }
  .badge-b { right: 0; }
  .badge-c { right: 0; }
  .card-face { padding: 6% 6.5%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== CV viewer ===== */
body.cv-open { overflow: hidden; }
.cv-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: rgba(9, 7, 13, .92);
  backdrop-filter: blur(8px);
}
.cv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  color: var(--text);
  font-family: var(--display);
  border-bottom: 1px solid var(--line);
}
.cv-toolbar > div { display: flex; align-items: center; gap: 12px; }
.cv-close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--text);
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.cv-scroll { flex: 1; overflow: auto; padding: 24px 12px 48px; }
.cv-page {
  width: 100%;
  max-width: 794px;
  margin: 0 auto;
  padding: 34px 46px 42px;
  color: #282432;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.5;
}
.cv-head { text-align: center; }
.cv-banner {
  position: relative;
  height: 76px;
  margin: -34px -46px 0;
  overflow: hidden;
  background: #37115c;
}
.cv-banner::before,
.cv-banner::after {
  position: absolute;
  content: '';
  width: 42%;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .42);
  transform: skewX(-32deg);
}
.cv-banner::before { left: -9%; top: 11px; }
.cv-banner::after { right: -9%; bottom: 11px; }
.cv-identity { position: relative; margin-top: -36px; }
.cv-identity img {
  width: 76px;
  height: 76px;
  margin: 0 auto 6px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #eeeaf3;
  object-fit: cover;
  object-position: center 24%;
}
.cv-identity h1 { margin: 0; color: #282432; font-size: 25px; letter-spacing: 1.4px; line-height: 1.2; text-transform: uppercase; }
.cv-title {
  display: inline-block;
  margin: 7px 0 0;
  padding: 3px 12px;
  color: #fff;
  background: #552184;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cv-company { margin-top: 4px; color: #625a6b; font-size: 10px; }
.cv-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 18px;
  margin: 14px 0 0;
  padding: 11px 0;
  list-style: none;
  border-top: 1px solid #d9d4df;
  border-bottom: 1px solid #d9d4df;
  color: #484252;
  font-size: 9px;
}
.cv-contact li { display: flex; align-items: center; gap: 5px; }
.cv-contact svg { flex: none; color: #552184; }
.cv-section { min-width: 0; }
.cv-page h2 {
  margin: 0 0 9px;
  padding-bottom: 5px;
  color: #552184;
  border-bottom: 1px solid #cfc5d8;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.cv-page p { margin: 0 0 6px; }
.cv-summary { margin: 16px 0; }
.cv-summary p { color: #4a4550; }
.cv-content { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); gap: 28px; }
.cv-content > aside,
.cv-content > div { min-width: 0; }
.cv-content .cv-section + .cv-section { margin-top: 18px; }
.cv-item { margin-bottom: 10px; break-inside: avoid; }
.cv-item strong { color: #30283a; font-size: 10px; }
.cv-detail { color: #6a6471; font-size: 9px; line-height: 1.45; }
.cv-employer { color: #552184; font-weight: 600; }
.cv-skills { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cv-skills li { position: relative; padding-left: 12px; color: #4a4550; font-size: 9px; }
.cv-skills li::before { position: absolute; left: 0; color: #7136a0; content: '•'; }
@media (max-width: 640px) {
  .cv-toolbar { padding: 10px 14px; }
  .cv-toolbar .btn { padding: 11px 14px; font-size: 13px; }
  .cv-scroll { padding: 14px 10px 30px; }
  .cv-page { padding: 28px 22px 32px; }
  .cv-banner { margin: -28px -22px 0; }
  .cv-content { grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); gap: 18px; }
  .cv-contact { gap: 7px 12px; }
}
@media print {
  @page { size: A4; margin: 8mm 10mm; }
  body.cv-open { overflow: visible; }
  body.cv-open #site,
  body.cv-open .spotlight,
  body.cv-open .grain,
  .cv-toolbar { display: none !important; }
  body.cv-open { background: #fff !important; }
  .cv-overlay { position: static; display: block; background: none; backdrop-filter: none; }
  .cv-scroll { overflow: visible; padding: 0; }
  .cv-page {
    max-width: none;
    padding: 0;
    box-shadow: none;
    font-size: 10px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .cv-banner { margin: 0 -10mm; }
  .cv-summary { margin: 12px 0; }
  .cv-content .cv-section + .cv-section { margin-top: 13px; }
  .cv-item { margin-bottom: 7px; }
}

/* ---------- PHP port additions ---------- */
.reveal { opacity: 0; transform: translateY(var(--ry-off, 28px)); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
.icon { flex: none; vertical-align: middle; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.cv-overlay[hidden] { display: none; }
.exp-panel-inner.swap { animation: swap .4s ease both; }
@keyframes swap { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
.exp-panel-logos[hidden], .exp-mono[hidden] { display: none; }
.footer-links { display: flex; gap: 18px; align-items: center; }
.footer-links a:hover { color: var(--text); }
.card-section .card-wrap { max-width: 640px; margin: 36px auto 0; perspective: 1400px; }
.card-3d { position: relative; aspect-ratio: 1004 / 637; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card-3d.flipped { transform: rotateY(180deg); }
.card-3d .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(139,92,246,.45); }
.card-3d .face img { width: 100%; height: 100%; object-fit: cover; }
.card-3d .back { transform: rotateY(180deg); }
.card-flip { display: flex; justify-content: center; margin-top: 22px; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .card-3d { transition: none; } }
.exp-panel-inner[hidden], [hidden] { display: none !important; }

.contact-cta { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 26px; border: 1px solid var(--line-2); background: radial-gradient(120% 90% at 100% 0%, rgba(139,92,246,.22), transparent 60%), var(--panel); }
.contact-cta h3 { font-family: var(--display); font-size: 24px; line-height: 1.2; margin-top: 8px; }
.contact-cta p { color: var(--muted); margin-bottom: 10px; }
.contact-cta .btn { justify-content: center; width: 100%; }
.footer-credit { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-credit a:hover { color: var(--text); }
.footer-credit strong { color: var(--muted); font-weight: 700; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } .contact-cta { position: static; } }
@media (max-width: 760px) { .footer-credit { flex-direction: column; } }

/* TAPVI footer */
.tapvi-footer { padding: 34px 0 0; overflow: hidden; background: #000; border-top: 1px solid var(--line); }
.tf-top { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.tf-logo img { height: 24px; width: auto; }
.tf-meta { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.tf-meta a:hover { color: var(--text); }
.tf-word { margin: 10px 0 0; padding-top: .06em; text-align: center; font-family: 'Manrope', var(--body); font-weight: 800; line-height: .78; letter-spacing: -.03em; white-space: nowrap; user-select: none;
  font-size: clamp(90px, 28.5vw, 440px); height: .6em; overflow: hidden;
  background: linear-gradient(180deg, rgba(229,183,124,.24), rgba(229,183,124,0) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Privacy page */
.pv { padding: 150px 0 90px; position: relative; z-index: 2; }
.pv .section-title { margin-top: 18px; }
.pv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.pv-card, .pv-choice { padding: 28px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--panel); }
.pv-card h2, .pv-choice h2 { font-family: var(--display); font-size: 20px; margin-bottom: 14px; }
.pv-card ul { list-style: none; display: grid; gap: 12px; }
.pv-card li { position: relative; padding-left: 22px; color: var(--muted); }
.pv-card li::before { content: ''; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.pv-choice { margin-top: 18px; background: radial-gradient(120% 120% at 100% 0%, rgba(139,92,246,.2), transparent 60%), var(--panel); }
.pv-status { margin-bottom: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); }
.pv-status.on { border-color: rgba(255,138,31,.4); color: var(--amber-soft); }
.pv-status.off { color: var(--muted); }
.pv-note { margin-top: 16px; font-size: 14px; color: var(--dim); }
.nav-links.is-static { position: static; opacity: 1; pointer-events: auto; translate: none; }
@media (max-width: 760px) { .pv-grid { grid-template-columns: 1fr; } .pv { padding-top: 120px; } }


.hero-after { position: relative; z-index: 2; padding-top: 56px; }
.hero-after .stats { margin-top: 0; }
.hero-after .marquee { margin-top: 64px; }

/* Visitor counter */
.visitor-pill {
  --mx: 50%; --my: 50%; position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 9px 24px 9px 16px; border-radius: 999px; overflow: hidden;
  border: 1px solid var(--line-2); background: radial-gradient(140px circle at var(--mx) var(--my), rgba(139, 92, 246, .22), transparent 70%), rgba(9, 7, 13, .5);
  backdrop-filter: blur(10px); transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.visitor-pill:hover, .visitor-pill:focus-visible { transform: translateY(-2px); border-color: rgba(226, 164, 104, .5); outline: none; }
.vp-live { position: relative; width: 28px; height: 28px; display: grid; place-items: center; }
.vp-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--copper-soft); }
.vp-live::before, .vp-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(226, 164, 104, .5); animation: vp-ring 2.8s ease-out infinite; }
.vp-live::after { animation-delay: 1.4s; }
@keyframes vp-ring { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }
.vp-body { display: flex; align-items: baseline; gap: 10px; }
.vp-num { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.vp-num.bump { animation: vp-bump .5s cubic-bezier(.2,.7,.2,1); }
@keyframes vp-bump { 40% { transform: scale(1.15); } }
.vp-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.vp-extra { max-width: 0; opacity: 0; white-space: nowrap; overflow: hidden; font-size: 12px; color: var(--copper-soft); transition: max-width .5s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.visitor-pill:hover .vp-extra, .visitor-pill:focus-visible .vp-extra { max-width: 170px; opacity: 1; }


/* ---------- hero v4: cinematic, portrait on the right ---------- */
.hero { padding-top: 0; background: #09070d; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: radial-gradient(120% 90% at 60% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%); }
.cn-stage { position: relative; z-index: 2; flex: 1; min-height: 520px; margin: 92px auto 0; width: calc(min(1200px, 100% - 32px) - 48px); display: flex; align-items: stretch; }
.cn-meta { position: absolute; z-index: 4; right: 0; top: 4px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.cn-copy { container-type: inline-size; position: relative; z-index: 4; width: min(620px, 56%); padding: clamp(8px, 3vh, 32px) 0 clamp(20px, 4vh, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.cn-label { display: flex; align-items: center; gap: 16px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--copper-soft); font-weight: 600; }
.cn-label::before { content: ''; width: 44px; height: 1px; background: var(--copper-soft); opacity: .7; }
.cn-name { font-family: 'Playfair Display', var(--serif); font-weight: 800; color: var(--cream); line-height: .96; letter-spacing: -.02em; margin: clamp(16px, 3vh, 28px) 0 clamp(18px, 3vh, 28px); font-size: clamp(40px, min(5.9vw, 11.2vh, 14.2cqw), 112px); }
.cn-name span { display: block; }
.cn-name em { display: block; width: fit-content; padding-right: .14em; overflow: visible; font-style: italic; font-weight: 700; letter-spacing: -.01em; padding-left: .12em; color: var(--copper-soft); background: linear-gradient(180deg, #f0c08a, #d9823f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cn-name span { text-shadow: 0 10px 40px rgba(0,0,0,.45); }
.cn-intro { max-width: 470px; color: var(--muted); font-size: clamp(15px, 2vh, 18px); line-height: 1.7; }
.cn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(20px, 3.4vh, 34px); }
.cn-actions .btn-primary { box-shadow: none; background: linear-gradient(180deg, #ffa845, #ff8a1f); height: 52px; padding: 0 26px; }
.cn-roles { list-style: none; display: grid; grid-template-columns: auto auto auto; justify-content: start; column-gap: 26px; margin-top: 0; border-top: 1px solid var(--line-2); }
.cn-roles li { display: flex; flex-direction: column; gap: 3px; padding: 16px 0 0; }
.cn-roles .role-title { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.cn-roles .role-org { font-size: 14px; color: var(--text); text-align: left; }
.lux-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 5px; font-size: 14.5px; font-weight: 600; color: var(--text); }

/* portrait + light */
.cn-figure { position: absolute; z-index: 2; right: 0; bottom: 0; height: 100%; aspect-ratio: 760 / 1139; margin: 0; }

.cn-cut { position: relative; z-index: 2; width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }
.cn-cut img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0, #000 16%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0, #000 16%); mask-composite: intersect; }
/*GLOW_REMOVED*/
.cn-spot, .cn-streak, .cn-floor { display: none; }

@media (max-width: 1024px) {
  .hero { min-height: 0; }
  .cn-stage { flex-direction: column; align-items: stretch; margin-top: 84px; width: calc(100% - 40px); }
  .cn-meta { display: none; }
  .cn-figure { order: 2; position: relative; right: auto; bottom: auto; height: auto; width: min(82%, 400px); align-self: center; margin-top: 8px; }
  .cn-copy { order: 1; width: 100%; margin-top: 20px; padding: 0 0 8px; }
  .cn-floor { display: none; }
  .cn-name { font-size: clamp(40px, min(12.6vw, 14.2cqw), 92px); }
  .lux-bar { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .lux-scroll, .lux-tag { display: none; }
}
@media (max-width: 760px) { .lux-bar { width: calc(100% - 40px); } .vp-label { display: none; } }
@media (min-width: 1025px) and (max-height: 700px) { .cn-roles li:nth-child(n+3) { display: none; } }

.lux-scroll i { width: 24px; height: 1px; background: linear-gradient(90deg, var(--copper-soft), transparent); animation: none; }
@media (max-width: 760px) { .cn-roles { grid-template-columns: 1fr; row-gap: 0; } .cn-roles li { padding: 14px 0; border-bottom: 1px solid var(--line); } }

/* ---------- animated cinematic background ---------- */
.cn-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; --px: 0px; --py: 0px; }
.cn-blob { position: absolute; will-change: transform; transform: translate3d(calc(var(--px) * var(--k)), calc(var(--py) * var(--k)), 0); }
.cn-blob i { display: block; width: 100%; height: 100%; border-radius: 50%; filter: blur(64px); animation: cn-drift var(--t) ease-in-out infinite alternate; }
.cn-blob.b1 { --k: 1.1; --t: 16s; left: 52%; top: -12%; width: 56vw; height: 56vw; max-width: 820px; max-height: 820px; }
.cn-blob.b1 i { background: radial-gradient(circle, rgba(139, 92, 246, .50), rgba(91, 60, 196, .14) 55%, transparent 72%); }
.cn-blob.b2 { --k: -0.8; --t: 21s; left: -12%; top: 48%; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; }
.cn-blob.b2 i { background: radial-gradient(circle, rgba(217, 130, 63, .30), transparent 68%); animation-delay: -6s; }
.cn-blob.b3 { --k: 0.5; --t: 26s; right: -14%; bottom: -26%; width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; }
.cn-blob.b3 i { background: radial-gradient(circle, rgba(70, 90, 220, .34), transparent 68%); animation-delay: -11s; }
@keyframes cn-drift { 0% { transform: translate(-6%, -4%) scale(1); } 100% { transform: translate(7%, 6%) scale(1.14); } }
.cn-beam { position: absolute; top: -30%; height: 170%; width: 18vw; max-width: 260px; filter: blur(22px); transform-origin: 50% 0; mix-blend-mode: screen;
  background: linear-gradient(180deg, rgba(185, 163, 255, .20), rgba(185, 163, 255, .05) 55%, transparent 85%);
  translate: calc(var(--px) * var(--k)) 0; animation: cn-beam 11s ease-in-out infinite alternate; }
.cn-beam.m1 { --k: 1.6; left: 46%; rotate: 22deg; }
.cn-beam.m2 { --k: -1.2; left: 66%; rotate: 30deg; width: 11vw; background: linear-gradient(180deg, rgba(255, 179, 102, .16), transparent 80%); animation-delay: -5s; }
@keyframes cn-beam { from { opacity: .35; } to { opacity: 1; } }
.cn-cursor { position: absolute; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(139, 92, 246, .22), rgba(217, 130, 63, .06) 45%, transparent 68%); will-change: transform; }
.cn-bg.live .cn-cursor { opacity: 1; }
.cn-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { background: radial-gradient(130% 100% at 60% 40%, transparent 60%, rgba(0, 0, 0, .5) 100%); }
@media (prefers-reduced-motion: reduce) { .cn-blob i, .cn-beam { animation: none; } }

@media (max-width: 1024px) { .cn-copy { display: block; } .cn-roles { margin-top: 28px; } }

.cn-mid .cn-name { margin-top: 0; }
@media (max-width: 1024px) { .cn-mid { margin-top: 24px; } }

/* typewriter roles */
.cn-type { display: flex; align-items: center; min-height: 1.6em; margin: -4px 0 clamp(14px, 2.4vh, 22px); font-size: clamp(16px, 2.3vh, 21px); font-weight: 600; letter-spacing: .02em; color: var(--cream); }
.cn-type::before { content: ''; width: 28px; height: 1px; margin-right: 14px; background: var(--copper-soft); opacity: .8; flex: none; }
.cn-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 4px; background: var(--copper-soft); animation: cn-blink 1s steps(1) infinite; }
@keyframes cn-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cn-caret { animation: none; } }

/* =====================================================================
   MOBILE EXPERIENCE (most visits come from NFC / phones)
   ===================================================================== */
html { -webkit-tap-highlight-color: transparent; }
.mbar, .toast, .nav-foot, .snap-dots, .exp-detail { display: none; }
.toast { position: fixed; left: 50%; bottom: 110px; translate: -50% 20px; z-index: 90; padding: 10px 18px; border-radius: 999px; background: rgba(244,239,232,.96); color: #14101c; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s; }
.toast.show { opacity: 1; translate: -50% 0; }
.toast { display: block; }

@media (max-width: 760px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .btn:active, .lux-link:active, .venture:active, .cert:active, .exp-row:active, .c-row:active, .visitor-pill:active { transform: scale(.97); }
  .tilt { transform: none !important; }

  /* --- nav: glass bar + full-screen drawer --- */
  .nav { left: 12px; right: 12px; width: auto; transform: none; top: calc(10px + env(safe-area-inset-top)); background: none !important; border-color: transparent !important; backdrop-filter: none !important; padding: 8px 10px 8px 16px; }
  .nav::before { content: ''; position: absolute; inset: 0; border-radius: 999px; z-index: 0; background: rgba(15,12,21,.62); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
  .nav-brand, .nav-toggle { position: relative; z-index: 3; }
  .nav-toggle { display: grid; width: 44px; height: 44px; }
  .nav-links { position: fixed; inset: 0; z-index: 2; width: auto; height: 100dvh; padding: 110px 28px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px;
    background: radial-gradient(90% 50% at 80% 0%, rgba(91,60,196,.35), transparent 70%), rgba(9,7,13,.97); border: 0; border-radius: 0; backdrop-filter: blur(18px);
    opacity: 0; pointer-events: none; translate: 0 0; transition: opacity .35s; overflow-y: auto; }
  .nav-links.is-open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-family: var(--serif); font-size: clamp(34px, 10.5vw, 46px); line-height: 1.15; color: var(--cream); padding: 8px 0; border-radius: 0; opacity: 0; translate: 0 18px; transition: opacity .5s, translate .5s, color .25s; transition-delay: calc(var(--i, 0) * 55ms + 80ms); }
  .nav-links.is-open a { opacity: 1; translate: 0 0; }
  .nav-links a:nth-child(1) { --i: 0; } .nav-links a:nth-child(2) { --i: 1; } .nav-links a:nth-child(3) { --i: 2; } .nav-links a:nth-child(4) { --i: 3; } .nav-links a:nth-child(5) { --i: 4; }
  .nav-links a.active { color: var(--copper-soft); font-style: italic; }
  .nav-links .nav-cta { --i: 5; margin: 22px 0 0; width: 100%; text-align: center; font-family: var(--body); font-size: 16px; padding: 16px; color: #1a0f02; border-radius: 999px; }
  .nav-foot { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 28px; width: 100%; border-top: 1px solid var(--line-2); }
  .nav-links .nav-foot a { font-family: var(--body); font-size: 15px; color: var(--muted); padding: 4px 0; opacity: 1; translate: none; }
  body.menu-open { overflow: hidden; }

  /* --- hero as a poster: portrait behind, copy anchored at the bottom --- */
  .hero { min-height: 100vh; min-height: 100svh; padding-top: 0; }
  .cn-stage { position: relative; flex: 1; min-height: 560px; margin: 0; width: 100%; padding: 0 20px 18px; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .cn-figure { position: absolute; order: 0; top: calc(56px + env(safe-area-inset-top)); left: 50%; right: auto; bottom: auto; translate: -50% 0; width: min(100vw, 480px); height: auto; margin: 0; align-self: auto; }
  .cn-copy { position: relative; order: 0; width: 100%; margin: 0; padding: 130px 0 0; }
  .cn-copy::before { content: ''; position: absolute; z-index: -1; left: -20px; right: -20px; top: 0; bottom: -18px; background: linear-gradient(180deg, rgba(9,7,13,0), rgba(9,7,13,.9) 118px, #09070d 190px); }
  .cn-label { font-size: 10px; letter-spacing: .2em; gap: 10px; }
  .cn-label::before { width: 22px; }
  .cn-name { margin: 12px 0 8px; font-size: clamp(36px, min(12.6vw, 13.4cqw), 78px); }
  .cn-type { margin: 0 0 12px; font-size: 16px; }
  .cn-intro { font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cn-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .cn-actions .btn-primary { grid-column: 1 / -1; justify-content: center; height: 54px; font-size: 16px; }
  .cn-actions .lux-link { justify-content: center; height: 46px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); }
  .cn-actions .lux-link::before, .cn-actions .lux-link::after { display: none; }
  .cn-roles { display: none; }
  .lux-bar { padding: 12px 0 18px; border-top: 0; }
  .visitor-pill { padding: 7px 18px 7px 12px; }

  /* --- sections tighter --- */
  .section { padding: 72px 0 12px; }
  .section-title { font-size: clamp(36px, 10.5vw, 50px); }
  .section-sub { font-size: 16px; }
  .section-head { margin-bottom: 8px; }
  .hero-after { padding-top: 28px; }
  .hero-after .marquee { margin-top: 36px; }

  /* --- swipe carousels --- */
  [data-snap] { display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; margin: 0 -24px; padding: 8px 24px 10px; perspective: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  [data-snap]::-webkit-scrollbar { display: none; }
  [data-snap] > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: center; }
  .cert-grid[data-snap] > * { flex-basis: 70%; }
  .venture-wrap:first-child { grid-column: auto; }
  .snap-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
  .snap-dots button { width: 7px; height: 7px; padding: 0; border-radius: 4px; background: var(--line-2); transition: width .3s, background .3s; }
  .snap-dots button.on { width: 24px; background: var(--amber); }
  .venture { height: 100%; }
  .venture-top { align-items: flex-start; gap: 10px; }
  .venture-role { font-size: 10px; letter-spacing: .1em; text-align: right; }

  /* --- career: tap a row to open its details in place --- */
  .exp-panel-wrap { display: none; }
  .exp-row.is-active { padding-left: 12px; }
  .exp-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
  .exp-row.is-active + .exp-detail { grid-template-rows: 1fr; }
  .exp-detail-in { overflow: hidden; min-height: 0; }
  .exp-detail-logos { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 4px 12px 0; }
  .exp-detail-logos img { height: 50px; width: auto; padding: 8px 14px; border-radius: 12px; background: linear-gradient(180deg, #fff, #e7e2f1); }
  .exp-detail .exp-mono { font-family: var(--serif); font-size: 26px; color: var(--cream); letter-spacing: .1em; }
  .exp-detail p { padding: 12px 12px 22px; font-size: 14px; color: var(--muted); }
  .exp-row { padding: 20px 12px; }

  /* --- contact + footer touch targets --- */
  .c-row { min-height: 64px; }
  .c-copy { width: 46px; height: 46px; }
  .contact-cta { padding: 24px; }
  .tapvi-footer { padding-top: 26px; }

  /* --- sticky quick-action bar --- */
  .mbar { display: grid; grid-template-columns: 1fr 1.7fr 1fr 1fr; gap: 4px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; padding: 6px; border-radius: 24px;
    background: rgba(15,12,21,.82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.75);
    transform: translateY(150%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .mbar.show { transform: none; }
  body.menu-open .mbar, body.cv-open .mbar { transform: translateY(150%); }
  .mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border-radius: 18px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--muted); transition: transform .15s, background .2s; }
  .mbar a:active, .mbar button:active { transform: scale(.93); background: rgba(255,255,255,.06); }
  .mbar .primary { background: linear-gradient(180deg, #ffa845, #ff8a1f); color: #1a0f02; }
  .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
  .card-3d { cursor: pointer; }
}
@media (max-width: 760px) { .expertise { margin-top: 36px; } .expertise-item { font-size: 24px; } }

/* keep the descender of the "y" visible inside the gradient text */
.cn-name em { line-height: 1.04; padding-bottom: .2em; margin-bottom: -.2em; }
