:root {
  --bg: #090b0f;
  --bg-soft: #10141b;
  --panel: rgba(255,255,255,.045);
  --panel-strong: rgba(255,255,255,.075);
  --text: #f4f6f8;
  --muted: #9ba6b2;
  --line: rgba(255,255,255,.12);
  --accent: #ff6b2c;
  --accent-soft: rgba(255,107,44,.16);
  --line-strong: rgba(255,255,255,.2);
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,107,44,.09), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(113,164,255,.06), transparent 26rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #111; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  transform: translateY(-160%);
  background: white; color: black; padding: .7rem 1rem; border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.section.compact { padding: 10px 0 70px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,11,15,.74);
  backdrop-filter: blur(20px) saturate(130%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 1px 0 rgba(255,255,255,.02);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--text); color: var(--bg); border-radius: 9px;
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.brand-name { letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: .92rem; }
.site-nav a { position: relative; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.site-nav a[aria-current="true"] { color: var(--text); }
.site-nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 1px;
  background: var(--accent); transform-origin: left; animation: nav-indicator .28s ease both;
}
.site-nav .nav-cta {
  color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; background: rgba(255,255,255,.03);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.03); color: var(--text);
  font: 700 .78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}
.lang-toggle:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.lang-toggle[aria-pressed="true"] {
  border-color: rgba(255,107,44,.44);
  background: rgba(255,107,44,.12);
  color: #ffd6c4;
}
.menu-toggle { display: none; background: transparent; color: var(--text); border: 1px solid var(--line); padding: 7px 11px; border-radius: 10px; }

.hero { min-height: calc(100vh - 72px); display: grid; align-items: center; padding-top: 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr); gap: 70px; align-items: center; }
.eyebrow, .mono-label {
  margin: 0 0 18px;
  color: var(--muted);
  font: 600 .74rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}
.hero h1 {
  max-width: 850px; margin: 0;
  font-size: clamp(3.25rem, 7.4vw, 7.2rem);
  line-height: .94; letter-spacing: -.065em; font-weight: 720;
}
.hero h1, .section-heading h2, .contact-section h2 { text-wrap: balance; }
.accent { color: var(--accent); }
.lede { max-width: 760px; margin: 32px 0 0; color: #c2cad3; font-size: clamp(1.08rem, 1.6vw, 1.35rem); text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 650; }
.button.primary { background: var(--text); color: var(--bg); }
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.signal-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 42px; }
.signal-row span, .tags span {
  border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.025);
  border-radius: 999px; padding: 6px 10px; font-size: .78rem;
}

.hero-panel {
  border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  overflow: hidden; box-shadow: var(--shadow);
}
@media (hover: hover) {
  .hero-panel { transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
  .hero-panel:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 28px 88px rgba(0,0,0,.34); }
}
.panel-topline, .panel-meta {
  display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px;
  color: var(--muted); font: 600 .68rem/1.3 ui-monospace, monospace; letter-spacing: .08em;
}
.panel-topline { border-bottom: 1px solid var(--line); }
.panel-meta { border-top: 1px solid var(--line); }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status i { width: 7px; height: 7px; background: #63e693; border-radius: 50%; box-shadow: 0 0 12px rgba(99,230,147,.6); }
.portrait-photo {
  margin: 16px; aspect-ratio: 4/4.6; border-radius: 16px; position: relative; overflow: hidden;
  background: #121820;
}
.portrait-photo img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: 52% 44%;
  filter: saturate(.88) contrast(1.02);
}
.portrait-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9,11,15,.04) 42%, rgba(9,11,15,.78) 100%),
    linear-gradient(90deg, rgba(9,11,15,.12), transparent 45%);
}
.portrait-overlay {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px;
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  color: rgba(255,255,255,.92);
  font: 600 .58rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}
.portrait-overlay span:last-child { color: rgba(255,255,255,.64); text-align: right; max-width: 150px; }
.panel-copy { padding: 8px 18px 20px; }
.panel-copy p:last-child { margin: 0; color: #c8d0d8; }

.discipline-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.discipline-card { min-height: 220px; padding: 26px; background: rgba(255,255,255,.025); }
.discipline-card + .discipline-card { border-left: 1px solid var(--line); }
.number { color: var(--accent); font: 600 .75rem ui-monospace, monospace; }
.discipline-card h2 { margin: 56px 0 8px; font-size: 1.2rem; }
.discipline-card p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.sticky-copy { position: sticky; top: 120px; }
.section-heading h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 4.6rem); line-height: 1.02; letter-spacing: -.055em; }
.story-copy { max-width: 720px; }
.story-copy p { color: #aeb8c2; font-size: 1.08rem; }
.story-copy .story-lead { color: var(--text); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.35; letter-spacing: -.025em; margin-top: 0; }
.journey { margin-top: 54px; border-top: 1px solid var(--line); }
.journey div { display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.journey span { font-weight: 650; }
.journey i { height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }

.skills-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.skill-item h4 { margin: 0 0 8px; font-size: .95rem; letter-spacing: -.01em; }
.skill-item p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.stack-block { margin-top: 30px; }
.stack-block .tags { margin-top: 14px; }

.row-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.section-note { max-width: 390px; margin: 0; color: var(--muted); }
.text-link { color: #c7d0d9; border-bottom: 1px solid var(--line); padding-bottom: 4px; }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.work-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.work-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 460px; }
.work-card.wide-card { grid-column: 1 / -1; display: grid; grid-template-columns: .55fr 1.45fr; }
.wide-card .work-visual { min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); display: grid; place-items: center; }
.wide-card .work-copy { align-self: center; }
.work-visual { min-height: 300px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.featured .work-visual { min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
.visual-one { background: radial-gradient(circle at 45% 45%, rgba(255,107,44,.16), transparent 28%), #0c1117; }
.visual-two { background: linear-gradient(135deg, #0d131c, #151b23); display: grid; place-items: center; }
.visual-three { background: radial-gradient(circle at 70% 30%, rgba(100,155,255,.12), transparent 30%), #0d1118; display: grid; place-items: center; }
.visual-four { background: radial-gradient(circle at 30% 60%, rgba(104,211,198,.13), transparent 32%), #0c1117; }
.work-copy { padding: 28px; }
.featured .work-copy { align-self: end; padding: 40px; }
.work-copy h3 { margin: 0 0 12px; font-size: clamp(1.6rem, 2.4vw, 2.6rem); letter-spacing: -.04em; }
.work-copy p:not(.mono-label) { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  color: #f3f6f9;
  font: 650 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}
.project-link b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 50%;
  color: var(--accent);
  font: 500 1rem/1 Inter, sans-serif;
  transition: transform .3s var(--ease-out-expo), color .25s ease, border-color .25s ease, background .25s ease;
}
.project-link:hover { color: #fff; }
.project-link:hover b {
  transform: translate(3px, -3px);
  border-color: rgba(255,107,44,.65);
  background: rgba(255,107,44,.12);
  color: #ffd6c4;
}

.network-map { position: absolute; inset: 0; }
.node { position: absolute; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px rgba(255,107,44,.08), 0 0 30px rgba(255,107,44,.45); }
.n1 { left: 22%; top: 30%; } .n2 { left: 48%; top: 48%; } .n3 { left: 70%; top: 25%; } .n4 { left: 78%; top: 66%; } .n5 { left: 28%; top: 72%; }
.line { position: absolute; height: 1px; background: rgba(255,255,255,.17); transform-origin: left center; }
.l1 { width: 31%; left: 23%; top: 32%; transform: rotate(27deg); }
.l2 { width: 29%; left: 49%; top: 49%; transform: rotate(-37deg); }
.l3 { width: 33%; left: 49%; top: 50%; transform: rotate(28deg); }
.l4 { width: 30%; left: 29%; top: 73%; transform: rotate(-42deg); }

.terminal-lines { width: 80%; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.28); }
.terminal-lines span { display: block; font: .8rem/2 ui-monospace, monospace; color: #aeb8c2; }
.terminal-lines span:first-child { color: var(--accent); }

.bars { width: 70%; height: 160px; display: flex; align-items: end; gap: 10px; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.12)); border-radius: 5px 5px 0 0; }

.timeline { border-left: 1px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 64px 42px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -5px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px var(--accent-soft); }
.timeline-item h3 { margin: 0 0 10px; font-size: 1.55rem; }
.timeline-item p:last-child { color: var(--muted); max-width: 650px; }

.insights-note { max-width: 620px; margin: -14px 0 40px; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.insight-card { min-height: 330px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.insight-card h3 { margin: 40px 0 10px; font-size: 1.5rem; line-height: 1.2; }
.insight-card p:not(.mono-label) { color: var(--muted); }
.coming {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  color: #a9926a; font: 600 .64rem ui-monospace, monospace; letter-spacing: .1em;
}
.coming::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(255,107,44,.7);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .coming::before { animation: none; } }
@keyframes pulse-dot { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 14px;
}
.photo-card {
  margin: 0; position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #11161d;
}
.photo-card.portrait { grid-row: span 2; }
.photo-card.tall { grid-row: span 3; }
.photo-card.wide { grid-column: span 2; grid-row: span 2; }
.photo-open {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: transparent; color: inherit; overflow: hidden;
}
.photo-open img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}
.photo-card:nth-child(1) img { object-position: 50% 58%; }
.photo-card:nth-child(2) img { object-position: 50% 50%; }
.photo-card:nth-child(3) img { object-position: 50% 38%; }
.photo-card:nth-child(6) img { object-position: 50% 58%; }
.photo-card:nth-child(9) img { object-position: 50% 56%; }
.photo-card:nth-child(12) img { object-position: 50% 38%; }
.photo-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.7));
}
.photo-card:hover .photo-open img { transform: scale(1.025); filter: saturate(1.05); }
.photo-card figcaption {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 13px;
  display: flex; justify-content: space-between; gap: 12px; pointer-events: none;
  color: #eef1f4; font: 600 .66rem/1.3 ui-monospace, monospace; letter-spacing: .07em;
}
.photo-card figcaption span:last-child { color: rgba(255,255,255,.64); text-align: right; }
.photo-zoom {
  position: absolute; z-index: 3; top: 12px; right: 12px; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 999px;
  background: rgba(8,10,14,.52); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); opacity: 0; transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.photo-card:hover .photo-zoom { opacity: 1; transform: translateY(0); }

.photo-lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; padding: 30px;
  background: rgba(4,6,9,.94); backdrop-filter: blur(18px);
}
.photo-lightbox.open { display: grid; place-items: center; }
.lightbox-stage {
  width: min(94vw, 1320px); height: min(86vh, 940px);
  display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 12px;
}
.lightbox-stage img {
  width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block;
}
.lightbox-stage p {
  margin: 0; text-align: center; color: #aeb8c2;
  font: 600 .7rem/1.4 ui-monospace, monospace; letter-spacing: .08em;
}
.lightbox-close {
  position: absolute; top: 22px; right: 24px; z-index: 2;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  background: rgba(255,255,255,.06); color: white; padding: 9px 13px; cursor: pointer;
}
body.lightbox-open { overflow: hidden; }


/* AI */
.ai-section {
  background:
    radial-gradient(circle at 12% 55%, rgba(255,107,44,.06), transparent 30rem),
    radial-gradient(circle at 86% 30%, rgba(120,146,255,.055), transparent 28rem);
}
.ai-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.ai-feature, .ai-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.ai-feature { min-height: 540px; display: grid; grid-template-rows: 1fr auto; }
.ai-orbit {
  min-height: 340px; position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255,107,44,.13), transparent 34%);
  background-size: 42px 42px, 42px 42px, auto;
}
.orbit-ring {
  position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%; transform: translate(-50%,-50%);
}
.ring-one { width: 220px; height: 220px; }
.ring-two { width: 360px; height: 360px; border-style: dashed; opacity: .6; }
.orbit-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 110px; height: 110px; display: grid; place-items: center; border-radius: 24px;
  background: var(--accent); color: #111; font: 800 2.1rem ui-monospace, monospace;
  box-shadow: 0 0 70px rgba(255,107,44,.24);
}
.orbit-label {
  position: absolute; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(9,11,15,.78); color: #cbd3db; font: 600 .66rem ui-monospace, monospace; letter-spacing: .1em;
}
.label-context { left: 17%; top: 22%; }
.label-reason { right: 14%; top: 30%; }
.label-act { right: 20%; bottom: 20%; }
.label-verify { left: 18%; bottom: 24%; }
.ai-feature-copy { padding: 32px; border-top: 1px solid var(--line); }
.ai-feature-copy h3, .ai-card h3 { margin: 0 0 10px; letter-spacing: -.035em; }
.ai-feature-copy h3 { font-size: clamp(1.8rem, 3vw, 3rem); }
.ai-feature-copy p:not(.mono-label), .ai-card p:not(.mono-label) { color: var(--muted); }
.ai-side-grid { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.ai-card { padding: 28px; min-height: 260px; display: flex; flex-direction: column; }
.ai-card h3 { font-size: 1.45rem; }
.ai-flow {
  margin-top: auto; padding-top: 24px; display: grid; grid-template-columns: max-content 1fr max-content 1fr max-content;
  align-items: center; gap: 7px; color: #9ea8b2; font: 600 .58rem ui-monospace, monospace; letter-spacing: .08em;
}
.ai-flow i { height: 1px; background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.08)); }
.mini-terminal {
  margin-top: auto; padding: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.22); border-radius: 12px;
}
.mini-terminal span { display: block; color: #aeb7c0; font: .68rem/1.9 ui-monospace, monospace; }
.mini-terminal span:first-child { color: var(--accent); }

/* Power BI */
.dashboards-section {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.018) 25%, rgba(255,255,255,.018) 75%, transparent);
}
.dashboard-intro {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px;
  padding: 22px 0 30px; border-top: 1px solid var(--line);
}
.dashboard-intro > div:first-child { max-width: 720px; }
.dashboard-intro p:not(.mono-label) { margin: 0; color: var(--muted); }
.dashboard-signal { display: flex; align-items: center; gap: 9px; color: #8e99a4; font: 600 .62rem ui-monospace, monospace; letter-spacing: .08em; }
.dashboard-signal i { width: 22px; height: 1px; background: var(--accent); opacity: .65; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dashboard-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel);
}
.dashboard-featured { grid-column: 1 / -1; }
.dashboard-toolbar {
  min-height: 42px; padding: 0 15px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line); color: #7f8994; font: 600 .62rem ui-monospace, monospace; letter-spacing: .08em;
}
.dashboard-toolbar > div { display: flex; gap: 6px; }
.dashboard-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); }
.powerbi-embed {
  aspect-ratio: 16 / 8.5; position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(255,199,0,.075), transparent 30%);
  background-size: 36px 36px, 36px 36px, auto;
}
.compact-embed { aspect-ratio: 16 / 10; }
.powerbi-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff;
}
.powerbi-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center;
  gap: 7px; padding: 28px;
}
.powerbi-placeholder h3 { margin: 0; font-size: clamp(1.4rem, 2.5vw, 2.2rem); letter-spacing: -.04em; }
.powerbi-placeholder > p:not(.mono-label) { margin: 0; color: var(--muted); max-width: 520px; }
.powerbi-mark { height: 56px; display: flex; align-items: end; gap: 6px; margin-bottom: 12px; }
.powerbi-mark i { display: block; width: 12px; border-radius: 3px 3px 0 0; background: #f2c811; }
.powerbi-mark i:nth-child(1) { height: 55%; }
.powerbi-mark i:nth-child(2) { height: 78%; }
.powerbi-mark i:nth-child(3) { height: 100%; }
.powerbi-mark.small { height: 42px; }
.powerbi-mark.small i { width: 9px; }
.embed-state {
  margin-top: 12px; padding: 6px 9px; border: 1px solid rgba(242,200,17,.24); border-radius: 999px;
  color: #b9a84b; background: rgba(242,200,17,.05); font: 600 .6rem ui-monospace, monospace; letter-spacing: .08em;
}
.dashboard-copy {
  padding: 26px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; border-top: 1px solid var(--line);
}
.dashboard-copy h3 { margin: 0; font-size: 1.45rem; }
.dashboard-copy > p { margin: 0; color: var(--muted); }
.small-copy { grid-template-columns: 1fr; padding: 20px 24px; }

/* Make the enlarged navigation collapse before it crowds the header. */
@media (max-width: 1040px) {
  .brand-name { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 20px; right: 20px; top: 64px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(15,18,24,.98); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav a[aria-current="true"]::after { left: 12px; right: auto; bottom: 6px; width: 22px; }
  .site-nav .nav-cta { border: 0; padding: 12px; background: transparent; }
  .header-actions { margin-left: auto; }
}

.contact-section { padding-bottom: 140px; }
.contact-section h2 { max-width: 980px; margin: 0; font-size: clamp(3rem, 6.4vw, 6.5rem); line-height: .98; letter-spacing: -.06em; }
.contact-links { margin-top: 60px; border-top: 1px solid var(--line); }
.contact-links a { display: flex; justify-content: space-between; align-items: center; padding: 20px 2px; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
.contact-links a:hover span { color: var(--accent); }
.contact-links a b { transition: transform .2s ease, color .2s ease; }
.contact-links a:hover b { color: var(--accent); transform: translate(3px, -3px); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-row { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }

a, button { transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@keyframes nav-indicator {
  from { transform: scaleX(.35); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal-ready .reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
      opacity .72s cubic-bezier(.22, 1, .36, 1),
      transform .72s cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--reveal-order, 0) * 55ms);
    will-change: opacity, transform;
  }
  .scroll-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }
  .scroll-reveal-ready .reveal.is-visible.work-card:hover,
  .scroll-reveal-ready .reveal.is-visible.discipline-card:hover,
  .scroll-reveal-ready .reveal.is-visible.insight-card:hover {
    transform: translate3d(0, -3px, 0);
  }
  .photo-card img { transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .4s ease; }
  .photo-card:hover img { transform: scale(1.035); filter: saturate(1.02) contrast(1.03); }
}

@media (prefers-reduced-motion: no-preference) {
  .work-card, .discipline-card, .insight-card { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
  .work-card:hover, .discipline-card:hover, .insight-card:hover {
    transform: translateY(-3px); border-color: rgba(255,255,255,.22); background: var(--panel-strong);
  }
}

@media (max-width: 900px) {
  .section { padding: 82px 0; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 54px; }
  .hero { min-height: auto; }
  .hero-panel { max-width: 520px; }
  .sticky-copy { position: static; }
  .discipline-grid { grid-template-columns: 1fr; }
  .discipline-card + .discipline-card { border-left: 0; border-top: 1px solid var(--line); }
  .work-card.featured { grid-template-columns: 1fr; }
  .featured .work-visual { min-height: 340px; border-right: 0; border-bottom: 1px solid var(--line); }
  .work-card.wide-card { grid-template-columns: 1fr; }
  .wide-card .work-visual { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-card { min-height: 260px; }
  .ai-layout { grid-template-columns: 1fr; }
  .ai-side-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-featured { grid-column: auto; }
  .dashboard-copy { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .brand-name { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 14px; right: 14px; top: 64px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(15,18,24,.97); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { border: 0; padding: 12px; background: transparent; }
  .lang-toggle { min-width: 52px; padding-inline: 12px; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 5rem); }
  .hero-grid { gap: 42px; }
  .row-heading { align-items: flex-start; flex-direction: column; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.featured { grid-column: auto; }
  .work-card.wide-card { grid-column: auto; }
  .skills-strip { grid-template-columns: 1fr; gap: 24px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .photo-card.wide { grid-column: span 2; grid-row: span 2; }
  .photo-card.tall { grid-row: span 3; }
  .photo-card.portrait { grid-row: span 2; }
  .photo-lightbox { padding: 18px; }
  .lightbox-close { top: 14px; right: 14px; }
  .ai-side-grid { grid-template-columns: 1fr; }
  .ai-orbit { min-height: 300px; }
  .ring-two { width: 300px; height: 300px; }
  .dashboard-intro { grid-template-columns: 1fr; }
  .dashboard-signal { display: none; }
  .powerbi-embed { aspect-ratio: 4 / 3; }
  .footer-row { min-height: 120px; align-items: flex-start; justify-content: center; flex-direction: column; padding: 28px 0; }
}


@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .photo-card,
  .photo-card.portrait,
  .photo-card.tall,
  .photo-card.wide { grid-column: auto; grid-row: auto; min-height: 280px; }
  .photo-card.tall { min-height: 420px; }
  .photo-card.wide { min-height: 240px; }
  .portrait-overlay span:last-child { display: none; }
}


/* KEV dashboard emulation */
.dashboard-grid-emulated { grid-template-columns: 1fr; }
.kev-dashboard-card { overflow: hidden; }
.kev-shell {
  padding: 26px;
  background:
    radial-gradient(circle at top left, rgba(255,166,0,.09), transparent 24rem),
    linear-gradient(180deg, rgba(8,11,22,.98), rgba(9,16,32,.98));
  color: #e9eef7;
}
.kev-hero {
  display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.kev-hero h3 {
  margin: 6px 0 0; font-size: clamp(1.7rem, 3vw, 2.7rem); letter-spacing: -.04em; color: #f3f7ff;
}
.kev-status-group {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
}
.kev-status-pill {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
  border-radius: 999px; border: 1px solid rgba(242,200,17,.22);
  background: rgba(242,200,17,.10); color: #f6d363;
  font: 600 .64rem/1 ui-monospace, monospace; letter-spacing: .08em;
}
.kev-status-pill.subtle {
  border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #aab8cf;
}

.kev-filter-bar {
  display: grid; gap: 16px; padding: 18px 0 6px;
}
.range-group, .kev-action-row {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.range-chip, .toggle-chip, .ghost-button {
  min-height: 38px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); color: #d8e1ef;
  font: 600 .72rem/1 ui-monospace, monospace; letter-spacing: .05em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.range-chip:hover, .toggle-chip:hover, .ghost-button:hover {
  transform: translateY(-1px); border-color: rgba(255,255,255,.22);
}
.range-chip.active, .toggle-chip.active {
  background: rgba(255,166,0,.15); border-color: rgba(255,166,0,.42); color: #ffc764;
}
.ghost-button { background: rgba(255,255,255,.025); }

.kev-control-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.kev-field {
  display: grid; gap: 7px;
}
.kev-field span {
  color: #9fb0c8; font: 600 .62rem/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase;
}
.kev-field select, .kev-field input {
  width: 100%; min-height: 46px; border-radius: 12px; padding: 0 14px;
  background: rgba(5,9,18,.78); border: 1px solid rgba(255,255,255,.11); color: #eef2f9;
  font: 500 .92rem/1.2 Inter, system-ui, sans-serif;
}
.kev-field select:focus, .kev-field input:focus {
  outline: none; border-color: rgba(255,166,0,.5); box-shadow: 0 0 0 3px rgba(255,166,0,.14);
}
.kev-search-field { grid-column: span 1; }

.kev-kpi-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 18px;
}
.kev-kpi-card {
  padding: 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
}
.kpi-label {
  display: block; color: #98a9c3; font: 600 .66rem/1.5 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase;
}
.kev-kpi-card strong {
  display: block; margin-top: 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.05em;
}
.kev-kpi-card small {
  display: block; margin-top: 10px; color: #9da9bc; font-size: .78rem;
}

.kev-visual-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 16px;
}
.kev-panel {
  padding: 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(11,16,31,.92), rgba(10,14,26,.82));
}
.kev-panel-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-bottom: 16px;
}
.kev-panel-heading h4 {
  margin: 0; color: #f2f6fd; font-size: 1.02rem; letter-spacing: -.02em;
}
.kev-panel-heading span {
  color: #95a5be; font: 600 .64rem/1.2 ui-monospace, monospace; letter-spacing: .07em; text-align: right;
}

.donut-layout {
  display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: center;
}
.kev-donut {
  width: 210px; height: 210px; border-radius: 50%;
  background: conic-gradient(#f8ab3c 0 180deg, #68d3c6 180deg 300deg, #394960 300deg 360deg);
  position: relative; margin: 0 auto;
}
.kev-donut::after {
  content: ""; position: absolute; inset: 22px; border-radius: 50%; background: #0b1222; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.kev-donut-center {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; align-content: center;
}
.kev-donut-center strong { font-size: 2.3rem; line-height: 1; letter-spacing: -.06em; }
.kev-donut-center span { color: #95a5be; font: 600 .7rem/1.5 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }

.kev-legend {
  display: grid; gap: 12px;
}
.legend-row {
  display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center;
}
.legend-swatch {
  width: 12px; height: 12px; border-radius: 999px;
}
.legend-row .label {
  color: #dce4f0; font-size: .92rem;
}
.legend-row .value {
  color: #9eb0c8; font: 600 .66rem/1.2 ui-monospace, monospace; letter-spacing: .06em;
}

.bar-list { display: grid; gap: 12px; }
.bar-row { display: grid; gap: 6px; }
.bar-head {
  display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; color: #dfe5f0;
}
.bar-head .muted { color: #9cb0c8; font: 600 .65rem/1.2 ui-monospace, monospace; letter-spacing: .06em; }
.bar-track {
  height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden;
}
.bar-fill {
  height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f7b04a, #68d3c6);
}

.vendor-cloud {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; min-height: 226px;
}
.vendor-chip {
  display: grid; align-content: center; gap: 4px; min-width: 108px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07);
}
.vendor-chip strong {
  font-size: .82rem; line-height: 1.2; color: #edf2fb;
}
.vendor-chip span {
  color: #93a4bf; font: 600 .64rem/1.2 ui-monospace, monospace; letter-spacing: .06em;
}

.month-chart {
  display: flex; align-items: end; gap: 8px; min-height: 220px;
}
.month-col {
  flex: 1 1 0; display: grid; align-items: end; gap: 8px;
}
.month-bar {
  min-height: 8px; border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #68d3c6, #3aa3c0);
  position: relative;
}
.month-bar span {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  color: #dbe5f6; font: 600 .6rem/1 ui-monospace, monospace; letter-spacing: .06em;
}
.month-label {
  color: #92a3bd; font: 600 .58rem/1.3 ui-monospace, monospace; letter-spacing: .05em; text-align: center;
}

.kev-table-panel { margin-top: 16px; }
.kev-table-wrap {
  overflow: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.08);
}
.kev-table {
  width: 100%; border-collapse: collapse; min-width: 880px; background: rgba(6,9,17,.55);
}
.kev-table thead th {
  position: sticky; top: 0; background: #121b33; z-index: 1;
  padding: 12px 12px; text-align: left; color: #dbe5f5;
  font: 700 .68rem/1.2 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.kev-table tbody td {
  padding: 12px 12px; border-bottom: 1px solid rgba(255,255,255,.05);
  vertical-align: top; color: #e8eef8; font-size: .9rem;
}
.kev-table tbody tr:hover { background: rgba(255,255,255,.03); }
.kev-table .kev-empty {
  text-align: center; color: #91a2bc; padding: 28px 14px;
}
.kev-cve {
  color: #ffc764; font: 700 .78rem/1.4 ui-monospace, monospace; letter-spacing: .05em;
}
.kev-name-cell {
  min-width: 280px;
}
.kev-name-cell strong {
  display: block; color: #edf3fe; font-size: .92rem;
}
.kev-name-cell small {
  display: block; margin-top: 6px; color: #97a8c1; line-height: 1.45;
}
.ransomware-pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border-radius: 999px; font: 700 .62rem/1 ui-monospace, monospace; letter-spacing: .06em;
}
.ransomware-pill.known { color: #ffcb75; background: rgba(255,166,0,.14); border: 1px solid rgba(255,166,0,.26); }
.ransomware-pill.unknown { color: #aab6cc; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.ransomware-pill.no { color: #82d8cc; background: rgba(104,211,198,.12); border: 1px solid rgba(104,211,198,.24); }

.table-helper {
  color: #8195b3; font: 600 .62rem/1 ui-monospace, monospace; letter-spacing: .07em;
}
.kev-footnote {
  padding-top: 14px; color: #8ea1be; font: 600 .66rem/1.5 ui-monospace, monospace; letter-spacing: .05em;
}
.kev-error {
  padding: 16px; border-radius: 14px; background: rgba(255,89,94,.12); border: 1px solid rgba(255,89,94,.24);
  color: #ffd9db;
}

@media (max-width: 1080px) {
  .kev-control-grid,
  .kev-kpi-grid,
  .kev-visual-grid {
    grid-template-columns: 1fr 1fr;
  }
  .donut-layout { grid-template-columns: 1fr; }
  .kev-donut { width: 190px; height: 190px; }
}
@media (max-width: 820px) {
  .kev-shell { padding: 18px; }
  .kev-hero { flex-direction: column; align-items: flex-start; }
  .kev-status-group { justify-content: flex-start; }
  .kev-control-grid,
  .kev-kpi-grid,
  .kev-visual-grid { grid-template-columns: 1fr; }
  .month-chart { min-height: 180px; }
}



/* V6 — Security Analytics Lab polish */
.kev-dashboard-card {
  border-color: rgba(255,255,255,.09);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.kev-shell {
  padding: 0;
  background: #0b1020;
  border-top: 1px solid rgba(255,255,255,.04);
}
.kev-report-chrome {
  min-height: 66px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #11172a;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.kev-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kev-brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #ff9b45;
  color: #111827;
  font: 900 .72rem/1 ui-monospace, monospace;
  box-shadow: 0 6px 22px rgba(255,155,69,.18);
}
.kev-brand-name,
.kev-brand-subtitle {
  display: block;
}
.kev-brand-name {
  color: #ff9b45;
  font: 800 .74rem/1.2 ui-monospace, monospace;
  letter-spacing: .09em;
}
.kev-brand-subtitle {
  margin-top: 4px;
  color: #a4b2cb;
  font: 600 .64rem/1.2 ui-monospace, monospace;
  letter-spacing: .04em;
}
.kev-report-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.kev-source-badge,
.kev-report-date {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  font: 600 .61rem/1 ui-monospace, monospace;
  letter-spacing: .06em;
}
.kev-source-badge {
  color: #8de0d4;
  background: rgba(77,199,183,.08);
  border: 1px solid rgba(77,199,183,.22);
}
.kev-report-date {
  color: #9aabc4;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
}

.kev-hero {
  padding: 18px 20px 16px;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(255,155,69,.045), transparent 24%),
    #0c1222;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.kev-hero h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 620;
  letter-spacing: -.035em;
}
.kev-report-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.kev-report-meta span {
  padding: 6px 8px;
  border-radius: 5px;
  color: #8798b4;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  font: 700 .56rem/1 ui-monospace, monospace;
  letter-spacing: .08em;
}

.kev-filter-bar {
  margin: 0;
  padding: 15px 20px 16px;
  gap: 12px;
  background: #0d1324;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.range-group {
  gap: 7px;
}
.range-chip,
.toggle-chip,
.ghost-button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: .62rem;
  box-shadow: none;
}
.range-chip.active,
.toggle-chip.active {
  color: #141a27;
  background: #ff9b45;
  border-color: #ff9b45;
}
.kev-control-grid {
  gap: 10px;
}
.kev-field {
  gap: 5px;
}
.kev-field span {
  color: #a4afc2;
  font-size: .58rem;
}
.kev-slicer-control {
  position: relative;
  border-radius: 5px;
  background: #17213b;
  border: 1px solid #2c3855;
  overflow: hidden;
}
.kev-slicer-control::after {
  content: "⌄";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-52%);
  color: #8290a6;
  pointer-events: none;
  font-size: .8rem;
}
.kev-search-control::after {
  content: "⌕";
  font-size: .95rem;
}
.kev-field select,
.kev-field input {
  min-height: 38px;
  padding: 0 30px 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: .82rem;
}
.kev-field select:focus,
.kev-field input:focus {
  box-shadow: inset 0 0 0 1px rgba(255,155,69,.58);
}
.kev-action-row {
  gap: 7px;
}

.kev-kpi-grid {
  padding: 14px 14px 0;
  gap: 10px;
  background: #0b1020;
}
.kev-kpi-card {
  position: relative;
  padding: 14px 14px 12px;
  border-radius: 6px;
  background: #1a2540;
  border: 1px solid #2b3856;
  min-height: 112px;
  overflow: hidden;
}
.kev-kpi-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ff9b45;
}
.kev-kpi-card:nth-child(3)::before,
.kev-kpi-card:nth-child(4)::before {
  background: #4dc7b7;
}
.kpi-label {
  color: #c0c9d8;
  font: 600 .62rem/1.35 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.kev-kpi-card strong {
  margin-top: 7px;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 420;
  color: #f6f8fc;
}
.kev-kpi-card small {
  margin-top: 7px;
  color: #8290a7;
  font-size: .68rem;
}

.kev-visual-grid {
  padding: 10px 14px 0;
  gap: 10px;
  grid-template-columns: .86fr 1.14fr;
}
.kev-panel {
  padding: 14px;
  border-radius: 6px;
  background: #17213b;
  border: 1px solid #2b3856;
  box-shadow: none;
}
.kev-panel-heading {
  min-height: 38px;
  align-items: flex-start;
  padding-bottom: 10px;
}
.kev-panel-heading > div {
  display: grid;
  gap: 3px;
}
.kev-panel-heading h4 {
  font-size: .84rem;
  font-weight: 600;
  color: #eef2f8;
}
.kev-panel-heading span {
  text-align: left;
  color: #798aa5;
  font-size: .55rem;
}
.visual-menu {
  width: 28px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #7585a0;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s ease, background .15s ease;
}
.kev-panel:hover .visual-menu {
  opacity: 1;
}
.visual-menu:hover {
  background: rgba(255,255,255,.06);
  color: #cfd7e4;
}

.donut-layout {
  grid-template-columns: 170px 1fr;
  gap: 14px;
}
.kev-donut {
  width: 165px;
  height: 165px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.kev-donut::after {
  inset: 26px;
  background: #17213b;
}
.kev-donut-center strong {
  font-size: 1.9rem;
  font-weight: 450;
}
.kev-donut-center span {
  font-size: .56rem;
}
.legend-row {
  grid-template-columns: 9px 1fr auto;
  gap: 8px;
}
.legend-swatch {
  width: 8px;
  height: 8px;
}
.legend-row .label {
  font-size: .75rem;
}
.legend-row .value {
  font-size: .55rem;
}

.bar-list {
  gap: 9px;
}
.bar-head {
  font-size: .72rem;
}
.bar-head .muted {
  font-size: .56rem;
}
.bar-track {
  height: 8px;
  background: #11182b;
}
.bar-fill {
  background: #ff9b45;
  border-radius: 2px;
}

.vendor-cloud {
  min-height: 180px;
  gap: 5px;
  align-content: stretch;
}
.vendor-chip {
  min-width: 92px;
  min-height: 58px;
  padding: 8px 9px;
  border-radius: 2px;
  background: #273451;
  border: 1px solid rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
}
.vendor-chip:nth-child(3n+1) { background: #355b91; }
.vendor-chip:nth-child(3n+2) { background: #3f877e; }
.vendor-chip:nth-child(3n+3) { background: #8d5f88; }
.vendor-chip strong {
  font-size: .68rem;
}
.vendor-chip span {
  font-size: .53rem;
  color: rgba(255,255,255,.62);
}

.month-chart {
  min-height: 180px;
  gap: 5px;
  padding-top: 16px;
}
.month-bar {
  border-radius: 2px 2px 0 0;
  background: #4dc7b7;
}
.month-bar span {
  top: -18px;
  font-size: .53rem;
}
.month-label {
  font-size: .5rem;
}

.kev-table-panel {
  margin: 10px 14px 0;
  padding: 0;
  overflow: hidden;
  background: #17213b;
}
.kev-table-panel .kev-panel-heading {
  padding: 12px 14px 10px;
  margin: 0;
}
.kev-table-wrap {
  border-radius: 0;
  border: 0;
  border-top: 1px solid #2b3856;
  max-height: 390px;
}
.kev-table {
  background: #11192d;
}
.kev-table thead th {
  background: #263552;
  color: #dfe7f3;
  padding: 9px 10px;
  font-size: .57rem;
}
.kev-table tbody td {
  padding: 9px 10px;
  font-size: .76rem;
  border-bottom-color: rgba(255,255,255,.045);
}
.kev-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,.018);
}
.kev-table tbody tr:hover {
  background: rgba(77,199,183,.06);
}
.kev-cve {
  color: #d7e1f0;
  font-size: .66rem;
}
.kev-name-cell strong {
  font-size: .76rem;
}
.kev-name-cell small {
  margin-top: 4px;
  color: #8595ad;
  font-size: .66rem;
}
.ransomware-pill {
  min-height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: .52rem;
}
.ransomware-pill.known {
  color: #111827;
  background: #ff9b45;
  border-color: #ff9b45;
}
.ransomware-pill.no {
  color: #0b1718;
  background: #4dc7b7;
  border-color: #4dc7b7;
}
.ransomware-pill.unknown {
  color: #c3ccdb;
  background: #2d3954;
  border-color: #3c4966;
}

.kev-footnote {
  margin: 0;
  padding: 10px 14px 14px;
  background: #0b1020;
  color: #6f809b;
  font-size: .56rem;
}

.dashboard-copy {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
}

@media (max-width: 1080px) {
  .kev-visual-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 820px) {
  .kev-report-chrome {
    padding: 12px 14px;
    align-items: flex-start;
    flex-direction: column;
  }
  .kev-report-actions {
    justify-content: flex-start;
  }
  .kev-hero {
    padding: 16px 14px 14px;
  }
  .kev-filter-bar {
    padding: 14px;
  }
  .kev-kpi-grid,
  .kev-visual-grid {
    padding-left: 10px;
    padding-right: 10px;
  }
  .kev-table-panel {
    margin-left: 10px;
    margin-right: 10px;
  }
  .kev-visual-grid {
    grid-template-columns: 1fr;
  }
  .donut-layout {
    grid-template-columns: 150px 1fr;
  }
}
@media (max-width: 560px) {
  .kev-brand-subtitle {
    max-width: 220px;
  }
  .kev-report-meta {
    justify-content: flex-start;
  }
  .donut-layout {
    grid-template-columns: 1fr;
  }
  .kev-donut {
    width: 150px;
    height: 150px;
  }
}

/* Visual refinement — editorial depth and restrained motion */
:root {
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
  --glass-edge: rgba(255,255,255,.15);
  --surface-highlight: rgba(255,255,255,.075);
}

html { background: #07090d; }
body {
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 85rem 50rem at 50% -20rem, rgba(255,255,255,.045), transparent 64%),
    radial-gradient(circle at 12% 11%, rgba(255,107,44,.12), transparent 29rem),
    radial-gradient(circle at 90% 26%, rgba(113,164,255,.08), transparent 31rem),
    #07090d;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  opacity: .42;
  background:
    linear-gradient(90deg, transparent 49.96%, rgba(255,255,255,.022) 50%, transparent 50.04%) 0 0 / 82px 82px,
    linear-gradient(transparent 49.96%, rgba(255,255,255,.018) 50%, transparent 50.04%) 0 0 / 82px 82px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 62%);
}
body::after {
  opacity: .65;
  background:
    radial-gradient(circle at 20% 84%, rgba(255,107,44,.07), transparent 26rem),
    radial-gradient(circle at 85% 68%, rgba(86,143,255,.055), transparent 27rem);
}

main { isolation: isolate; }
.section { position: relative; }
.section > .shell { position: relative; }

.site-header {
  background: rgba(7,9,13,.62);
  border-bottom-color: rgba(255,255,255,.055);
  transition: background .45s var(--ease-soft), border-color .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}
.site-header.is-scrolled {
  background: rgba(7,9,13,.82);
  border-bottom-color: rgba(255,255,255,.1);
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
}
.nav-wrap { min-height: 76px; }
.brand { transition: opacity .2s ease, transform .35s var(--ease-out-expo); }
.brand:hover { transform: translateY(-1px); }
.brand-mark {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 22px rgba(0,0,0,.18);
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  opacity: .7;
  transition: transform .35s var(--ease-out-expo);
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="true"]::after { background: var(--accent); }
.site-nav .nav-cta,
.lang-toggle {
  border-color: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.site-nav .nav-cta:hover,
.lang-toggle:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.075);
}

.scroll-progress {
  position: fixed;
  top: 75px;
  left: 0;
  z-index: 49;
  width: 100%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent), #ffb163 55%, rgba(255,255,255,.7));
  box-shadow: 0 0 18px rgba(255,107,44,.45);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  opacity: .9;
}

.hero {
  min-height: max(740px, calc(100svh - 76px));
  overflow: hidden;
  padding-top: 82px;
  padding-bottom: 90px;
}
.hero::before {
  content: "";
  position: absolute;
  width: min(78vw, 1080px);
  height: min(78vw, 1080px);
  top: 50%;
  left: 38%;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(255,255,255,.012), 0 0 0 136px rgba(255,255,255,.009);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: 6%;
  right: -12rem;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,44,.13), rgba(255,107,44,.025) 34%, transparent 69%);
  filter: blur(3px);
  pointer-events: none;
}
.hero-grid { gap: clamp(44px, 6vw, 84px); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .mono-label { color: #aab4c1; }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin: 0 9px 4px 0;
  background: var(--accent);
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(255,107,44,.5);
}
.hero h1 {
  max-width: 930px;
  font-size: clamp(3.5rem, 7.55vw, 7.7rem);
  font-weight: 690;
  line-height: .91;
  letter-spacing: -.072em;
  text-shadow: 0 1px 0 rgba(255,255,255,.1);
}
.accent {
  display: inline-block;
  background: linear-gradient(100deg, #ff8e51, #ff6132 45%, #ffc29f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.lede { max-width: 710px; color: #b5c0cc; line-height: 1.65; }
.button {
  min-height: 49px;
  border-radius: 999px;
  padding: 0 21px;
  transition: transform .35s var(--ease-out-expo), box-shadow .35s var(--ease-out-expo), background .25s ease, border-color .25s ease, color .25s ease;
}
.button.primary {
  background: linear-gradient(135deg, #fff, #e4e9ee);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 28px rgba(0,0,0,.22);
}
.button.primary:hover { transform: translateY(-2px) scale(1.01); box-shadow: inset 0 1px 0 #fff, 0 16px 36px rgba(0,0,0,.34); }
.button.secondary { background: rgba(255,255,255,.035); backdrop-filter: blur(12px); }
.button.secondary:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); color: #fff; }
.signal-row span, .tags span {
  border-color: rgba(255,255,255,.105);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(8px);
}
.signal-row span { transition: border-color .25s ease, color .25s ease, background .25s ease; }
.signal-row span:hover { color: #f9fafb; border-color: rgba(255,107,44,.42); background: rgba(255,107,44,.09); }

.hero-panel,
.work-card,
.discipline-card,
.ai-feature,
.ai-card,
.dashboard-card,
.insight-card {
  position: relative;
  isolation: isolate;
  border-color: rgba(255,255,255,.105);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.hero-panel::before,
.work-card::before,
.discipline-card::before,
.ai-feature::before,
.ai-card::before,
.dashboard-card::before,
.insight-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(440px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255,255,255,.095), transparent 42%);
  transition: opacity .45s ease;
}
.has-pointer::before { opacity: 1; }
.hero-panel {
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025) 42%, rgba(255,107,44,.035));
  box-shadow: 0 34px 100px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero-panel::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 1px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,.025);
  pointer-events: none;
}
.panel-topline, .panel-meta { padding: 15px 18px; }
.portrait-photo { margin: 18px; border-radius: 18px; }
.portrait-photo img { transition: transform 1.1s var(--ease-out-expo), filter .8s ease; }
.hero-panel:hover .portrait-photo img { transform: scale(1.035); filter: saturate(.98) contrast(1.04); }
.status i { animation: status-pulse 2.6s ease-in-out infinite; }
.panel-copy { padding: 10px 20px 23px; }

.discipline-grid {
  border-color: rgba(255,255,255,.105);
  border-radius: 26px;
  box-shadow: 0 22px 70px rgba(0,0,0,.13), inset 0 1px 0 rgba(255,255,255,.04);
}
.discipline-card { min-height: 236px; background: rgba(255,255,255,.028); }
.discipline-card + .discipline-card { border-left-color: rgba(255,255,255,.105); }
.discipline-card h2 { margin-top: 62px; letter-spacing: -.025em; }
.number { letter-spacing: .08em; }

.section-heading h2 { letter-spacing: -.065em; }
.story-copy p { color: #a9b5c0; }
.story-copy .story-lead { color: #eef2f6; }
.journey { border-top-color: rgba(255,255,255,.12); }
.journey div { border-bottom-color: rgba(255,255,255,.09); }
.journey div:hover span { color: #fff; }
.journey i { transition: transform .5s var(--ease-out-expo); }
.journey div:hover i { transform: scaleX(.84); transform-origin: left; }

.work-grid { gap: 20px; }
.work-card {
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  transition: transform .5s var(--ease-out-expo), border-color .4s ease, box-shadow .5s var(--ease-out-expo), background .4s ease;
}
.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.24);
  background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.027));
  box-shadow: 0 28px 68px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.075);
}
.work-visual { background-color: #0c1118; }
.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 28%, transparent 68%, rgba(255,255,255,.025));
}
.network-map { background-image: radial-gradient(rgba(255,255,255,.13) .65px, transparent .75px); background-size: 18px 18px; mask-image: radial-gradient(circle at center, black, transparent 79%); }
.node { animation: node-glow 3.6s ease-in-out infinite; }
.n2 { animation-delay: -.7s; } .n3 { animation-delay: -1.5s; } .n4 { animation-delay: -2.2s; } .n5 { animation-delay: -2.8s; }
.line { overflow: hidden; }
.line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -28%;
  width: 26%;
  height: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,151,92,.9), transparent);
  animation: signal-travel 4.4s var(--ease-soft) infinite;
}
.terminal-lines { border-color: rgba(255,255,255,.14); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.terminal-lines span { opacity: .78; }
.terminal-lines span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: #63e693; box-shadow: 0 0 9px rgba(99,230,147,.45); }
.terminal-lines span:first-child::before { background: var(--accent); box-shadow: 0 0 9px rgba(255,107,44,.5); }
.bars i { box-shadow: 0 0 22px rgba(147,190,255,.08); }

.timeline { border-left-color: rgba(255,255,255,.14); }
.timeline-item { transition: transform .4s var(--ease-out-expo); }
.timeline-item:hover { transform: translateX(6px); }
.timeline-dot { box-shadow: 0 0 0 7px var(--accent-soft), 0 0 20px rgba(255,107,44,.32); }

.ai-section::before {
  content: "";
  position: absolute;
  inset: 8% 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.028), transparent) center top / min(100%, 1180px) 1px no-repeat;
}
.ai-feature, .ai-card { background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.ai-orbit { background-color: #0b1017; }
.orbit-ring { box-shadow: inset 0 0 30px rgba(255,255,255,.015); }
.ring-one { border-color: rgba(255,184,139,.28); }
.ring-two { border-color: rgba(255,255,255,.18); }
.orbit-core {
  border-radius: 30px;
  background: linear-gradient(145deg, #ffb180, #ff6535 55%, #e94d2e);
  box-shadow: 0 0 0 1px rgba(255,255,255,.24) inset, 0 0 72px rgba(255,107,44,.3);
}
.orbit-label { border-color: rgba(255,255,255,.16); box-shadow: 0 12px 26px rgba(0,0,0,.16); }

.dashboard-card { border-radius: 26px; box-shadow: 0 25px 75px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.05); }
.dashboard-toolbar { background: rgba(255,255,255,.018); }
.kev-shell { position: relative; }
.kev-shell::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, rgba(255,255,255,.032), transparent 22%, transparent 75%, rgba(255,255,255,.02)); }

.insight-card {
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
}
.insight-card h3 { letter-spacing: -.035em; }
.photo-card { border-color: rgba(255,255,255,.12); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.photo-card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); border-radius: inherit; }
.photo-card:hover { border-color: rgba(255,255,255,.32); }

.contact-section { overflow: hidden; }
.contact-section::before {
  content: "";
  position: absolute;
  width: min(58vw, 700px);
  height: min(58vw, 700px);
  right: -16vw;
  bottom: -45%;
  border: 1px solid rgba(255,107,44,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(255,107,44,.02), 0 0 0 152px rgba(255,107,44,.012);
}
.contact-links a { transition: color .25s ease, padding .35s var(--ease-out-expo), border-color .25s ease; }
.contact-links a:hover { padding-left: 10px; border-bottom-color: rgba(255,255,255,.24); }
.site-footer { background: rgba(255,255,255,.012); }

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,230,147,.16), 0 0 12px rgba(99,230,147,.6); }
  50% { box-shadow: 0 0 0 5px rgba(99,230,147,0), 0 0 16px rgba(99,230,147,.65); }
}
@keyframes node-glow {
  0%, 100% { transform: scale(1); opacity: .82; }
  50% { transform: scale(1.18); opacity: 1; }
}
@keyframes signal-travel {
  0%, 16% { transform: translateX(0); opacity: 0; }
  25% { opacity: 1; }
  66%, 100% { transform: translateX(510%); opacity: 0; }
}
@keyframes orbit-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbit-turn-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes core-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.035); }
}

@media (prefers-reduced-motion: no-preference) {
  .ring-one { animation: orbit-turn 18s linear infinite; }
  .ring-two { animation: orbit-turn-reverse 42s linear infinite; }
  .orbit-core { animation: core-breathe 5.5s ease-in-out infinite; }
  .ai-feature:hover .ring-one { animation-duration: 10s; }
  .ai-feature:hover .ring-two { animation-duration: 25s; }
  .hero-copy.reveal.is-visible .eyebrow { animation: title-detail-in .7s var(--ease-out-expo) both .06s; }
  .hero-copy.reveal.is-visible h1 { animation: title-detail-in .9s var(--ease-out-expo) both .1s; }
  .hero-copy.reveal.is-visible .lede { animation: title-detail-in .8s var(--ease-out-expo) both .18s; }
  .hero-copy.reveal.is-visible .hero-actions { animation: title-detail-in .8s var(--ease-out-expo) both .26s; }
  .hero-copy.reveal.is-visible .signal-row { animation: title-detail-in .8s var(--ease-out-expo) both .33s; }
}
@keyframes title-detail-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 74px; }
  .hero::before { left: 58%; width: 720px; height: 720px; }
  .hero-panel { max-width: 540px; }
}
@media (max-width: 720px) {
  .nav-wrap { min-height: 68px; }
  .scroll-progress { top: 67px; }
  .hero { padding-top: 56px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 5.35rem); line-height: .93; }
  .hero::before { left: 70%; width: 520px; height: 520px; }
  .hero::after { width: 25rem; height: 25rem; right: -13rem; }
  .eyebrow::before { width: 16px; margin-right: 7px; }
  .discipline-grid { border-radius: 22px; }
  .discipline-card + .discipline-card { border-top-color: rgba(255,255,255,.105); }
  .work-card, .dashboard-card, .ai-feature, .ai-card { border-radius: 22px; }
  .work-card:hover { transform: translateY(-3px); }
  .featured .work-copy { padding: 30px; }
  .panel-topline, .panel-meta { padding-inline: 15px; }
  .portrait-photo { margin: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal-ready .reveal.is-visible.work-card:hover {
    transform: translate3d(0, -5px, 0);
  }
  .scroll-reveal-ready .reveal.is-visible.discipline-card:hover,
  .scroll-reveal-ready .reveal.is-visible.insight-card:hover {
    transform: translate3d(0, -4px, 0);
  }
}

/* Premium interaction layer */
.hero-luminance {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-luminance::before,
.hero-luminance::after {
  content: "";
  position: absolute;
  width: clamp(18rem, 38vw, 40rem);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(2px);
  transition: transform .75s var(--ease-out-expo);
}
.hero-luminance::before {
  top: 8%;
  right: -12%;
  opacity: .74;
  background: radial-gradient(circle, rgba(255,140,84,.16), rgba(255,107,44,.055) 29%, transparent 68%);
  transform: translate3d(calc(var(--hero-parallax-x, 0px) * .45), calc(var(--hero-parallax-y, 0px) * .45), 0);
}
.hero-luminance::after {
  bottom: -29%;
  left: -12%;
  opacity: .5;
  background: radial-gradient(circle, rgba(113,164,255,.11), rgba(113,164,255,.025) 37%, transparent 70%);
  transform: translate3d(calc(var(--hero-parallax-x, 0px) * -.3), calc(var(--hero-parallax-y, 0px) * -.3), 0);
}
.hero-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffd4be;
  box-shadow: 0 0 0 5px rgba(255,107,44,.06), 0 0 18px rgba(255,107,44,.55);
}
.hero-spark:nth-child(1) { top: 23%; right: 10%; }
.hero-spark:nth-child(2) { top: 74%; right: 33%; width: 3px; height: 3px; opacity: .64; }
.hero-spark:nth-child(3) { top: 48%; left: 6%; width: 3px; height: 3px; opacity: .5; }

.surface-glint {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: -48%;
  width: 30%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.018) 24%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.018) 76%, transparent);
  mix-blend-mode: screen;
}
.surface-glint.is-playing { animation: surface-glint 1.55s var(--ease-out-expo) both; }

.hero-panel,
.work-card,
.discipline-card,
.ai-feature,
.ai-card,
.dashboard-card,
.insight-card { overflow: hidden; }
.hero-panel { transform-style: preserve-3d; }
.hero-panel .portrait-photo {
  transform: translate3d(var(--portrait-shift-x, 0px), var(--portrait-shift-y, 0px), 0);
  transition: transform .7s var(--ease-out-expo), box-shadow .5s ease;
}
.hero-panel.has-parallax .portrait-photo { box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.hero-panel .panel-copy,
.hero-panel .panel-meta { transform: translateZ(1px); }

.button.is-magnetic,
.site-nav .nav-cta.is-magnetic {
  transform: translate3d(var(--magnetic-x, 0px), var(--magnetic-y, 0px), 0);
}
.button.primary.is-magnetic:hover {
  transform: translate3d(var(--magnetic-x, 0px), calc(var(--magnetic-y, 0px) - 2px), 0) scale(1.01);
}
.button.secondary.is-magnetic:hover {
  transform: translate3d(var(--magnetic-x, 0px), calc(var(--magnetic-y, 0px) - 2px), 0);
}
.site-nav .nav-cta.is-magnetic:hover {
  transform: translate3d(var(--magnetic-x, 0px), calc(var(--magnetic-y, 0px) - 1px), 0);
}

.section-heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--accent), rgba(255,107,44,0));
  box-shadow: 0 0 13px rgba(255,107,44,.26);
  transform: scaleX(.55);
  transform-origin: left;
  transition: transform .9s var(--ease-out-expo);
}
.section-heading.is-visible::after { transform: scaleX(1); }

.photo-card::after {
  background:
    linear-gradient(180deg, transparent 42%, rgba(0,0,0,.78)),
    linear-gradient(110deg, transparent 44%, rgba(255,255,255,.1) 50%, transparent 56%);
  background-size: 100% 100%, 230% 100%;
  background-position: 0 0, 130% 0;
  transition: background-position .85s var(--ease-out-expo);
}
.photo-card:hover::after { background-position: 0 0, -38% 0; }

@keyframes surface-glint {
  0% { left: -48%; opacity: 0; }
  12% { opacity: .7; }
  72% { opacity: .34; }
  100% { left: 124%; opacity: 0; }
}
@keyframes spark-drift-one {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .75; }
  50% { transform: translate3d(-8px, 11px, 0); opacity: 1; }
}
@keyframes spark-drift-two {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .42; }
  50% { transform: translate3d(7px, -10px, 0); opacity: .84; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-spark:nth-child(1) { animation: spark-drift-one 7s ease-in-out infinite; }
  .hero-spark:nth-child(2) { animation: spark-drift-two 9s ease-in-out infinite -2s; }
  .hero-spark:nth-child(3) { animation: spark-drift-one 11s ease-in-out infinite -5s; }
}
@media (max-width: 720px) {
  .hero-spark:nth-child(3) { display: none; }
  .section-heading::after { margin-top: 18px; }
}

/* Dashboard — tuned to the portfolio's graphite and signal-orange system */
.kev-dashboard-card {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.025);
  box-shadow: 0 36px 105px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
}
.kev-shell {
  --kev-bg: #0a0c10;
  --kev-surface: rgba(255,255,255,.043);
  --kev-surface-strong: rgba(255,255,255,.069);
  --kev-line: rgba(255,255,255,.11);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 4%, rgba(255,107,44,.12), transparent 23rem),
    radial-gradient(circle at 94% 38%, rgba(255,255,255,.045), transparent 28rem),
    linear-gradient(140deg, rgba(255,255,255,.024), transparent 36%),
    var(--kev-bg);
  color: var(--text);
  border-top-color: rgba(255,255,255,.08);
}
.kev-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.035) 50%, transparent 50.1%) 0 0 / 58px 58px,
    linear-gradient(transparent 49.9%, rgba(255,255,255,.025) 50%, transparent 50.1%) 0 0 / 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}
.kev-shell::after { opacity: .8; background: linear-gradient(112deg, rgba(255,255,255,.045), transparent 21%, transparent 79%, rgba(255,107,44,.045)); }
.kev-shell > * { position: relative; z-index: 1; }
.kev-report-chrome {
  background: rgba(10,12,16,.63);
  border-bottom-color: var(--kev-line);
  backdrop-filter: blur(18px) saturate(120%);
}
.kev-brand-mark {
  border-radius: 11px;
  color: #170e0a;
  background: linear-gradient(145deg, #ffcaad, #ff7442 58%, #eb5431);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62), 0 10px 25px rgba(255,107,44,.19);
}
.kev-brand-name { color: #f0f3f6; }
.kev-brand-subtitle, .kev-report-date { color: #9da9b5; }
.kev-source-badge {
  color: #ffd0bc;
  background: rgba(255,107,44,.09);
  border-color: rgba(255,107,44,.27);
}
.kev-report-date { border-color: var(--kev-line); background: rgba(255,255,255,.028); }
.kev-hero {
  background: linear-gradient(90deg, rgba(255,107,44,.06), transparent 40%);
  border-bottom-color: var(--kev-line);
}
.kev-hero h3 { color: #f3f5f7; }
.kev-report-meta span {
  color: #b5c0ca;
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.09);
}
.kev-filter-bar { background: rgba(255,255,255,.018); border-bottom-color: var(--kev-line); }
.range-chip, .toggle-chip, .ghost-button {
  color: #c8d1d9;
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.115);
  border-radius: 8px;
}
.range-chip:hover, .toggle-chip:hover, .ghost-button:hover {
  border-color: rgba(255,255,255,.27);
  background: rgba(255,255,255,.07);
}
.range-chip.active, .toggle-chip.active {
  color: #210f08;
  background: linear-gradient(135deg, #ffc09e, #ff7040);
  border-color: #ff8557;
  box-shadow: 0 7px 18px rgba(255,107,44,.16), inset 0 1px 0 rgba(255,255,255,.46);
}
.kev-field span { color: #abb5bf; }
.kev-slicer-control {
  background: rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.115);
}
.kev-field select, .kev-field input { color: #e8edf1; }
.kev-slicer-control::after { color: #a8b3bd; }
.kev-field select:focus, .kev-field input:focus { box-shadow: inset 0 0 0 1px rgba(255,107,44,.7), 0 0 0 3px rgba(255,107,44,.11); }
.kev-kpi-grid { background: transparent; }
.kev-kpi-card {
  border-color: var(--kev-line);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--kev-surface-strong), rgba(255,255,255,.023));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 28px rgba(0,0,0,.12);
}
.kev-kpi-card::before { width: 2px; background: linear-gradient(var(--accent), rgba(255,107,44,.12)); }
.kev-kpi-card:nth-child(3)::before, .kev-kpi-card:nth-child(4)::before { background: linear-gradient(#d9e0e7, rgba(217,224,231,.12)); }
.kpi-label { color: #c0c9d1; }
.kev-kpi-card strong { color: #f5f7f9; }
.kev-kpi-card small { color: #8f9aa5; }
.kev-visual-grid { background: transparent; }
.kev-panel {
  border-color: var(--kev-line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 12px 28px rgba(0,0,0,.1);
}
.kev-panel-heading h4 { color: #f0f3f5; }
.kev-panel-heading span { color: #97a3ae; }
.visual-menu { color: #aeb8c1; }
.visual-menu:hover { color: #fff; background: rgba(255,255,255,.09); }
.kev-donut { box-shadow: 0 0 0 1px rgba(255,255,255,.055), 0 18px 42px rgba(0,0,0,.17); }
.kev-donut::after { background: #14181e; }
.kev-donut-center span { color: #9ca8b3; }
.legend-row .label, .bar-head, .vendor-chip strong { color: #e1e6ea; }
.legend-row .value, .bar-head .muted, .vendor-chip span, .month-label { color: #96a2ad; }
.bar-track { background: rgba(255,255,255,.07); }
.bar-fill { background: linear-gradient(90deg, #ff7544, #ffc3a1); }
.vendor-chip,
.vendor-chip:nth-child(3n+1),
.vendor-chip:nth-child(3n+2),
.vendor-chip:nth-child(3n+3) {
  border-color: rgba(255,255,255,.075);
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}
.vendor-chip:nth-child(3n+1) { box-shadow: inset 2px 0 0 rgba(255,107,44,.65); }
.vendor-chip:nth-child(3n+2) { box-shadow: inset 2px 0 0 rgba(221,227,232,.6); }
.vendor-chip:nth-child(3n+3) { box-shadow: inset 2px 0 0 rgba(255,173,133,.45); }
.month-bar { background: linear-gradient(180deg, #ffc19f, #ff6d3b); box-shadow: 0 -8px 18px rgba(255,107,44,.15); }
.month-bar span { color: #dfe5e9; }
.kev-table-panel { background: rgba(255,255,255,.034); }
.kev-table-wrap { border-top-color: var(--kev-line); }
.kev-table { background: rgba(0,0,0,.16); }
.kev-table thead th { background: rgba(255,255,255,.075); color: #dfe5e9; }
.kev-table tbody td { color: #dce2e7; }
.kev-table tbody tr:nth-child(even) { background: rgba(255,255,255,.018); }
.kev-table tbody tr:hover { background: rgba(255,107,44,.07); }
.kev-cve { color: #ffad86; }
.kev-name-cell strong { color: #f0f3f5; }
.kev-name-cell small, .kev-footnote { color: #84909b; }
.ransomware-pill.known { color: #260e06; background: #ff986c; border-color: #ff986c; }
.ransomware-pill.no { color: #1b2228; background: #c1cbd3; border-color: #c1cbd3; }
.ransomware-pill.unknown { color: #bbc5cd; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.kev-footnote { background: rgba(0,0,0,.14); }

@keyframes dashboard-stage-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(7px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes dashboard-card-in {
  from { opacity: 0; transform: translate3d(0, 15px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes dashboard-bar-rise {
  from { transform: scaleX(0); opacity: .3; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes dashboard-column-rise {
  from { transform: scaleY(.05); opacity: .15; }
  to { transform: scaleY(1); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .kev-shell.is-cinematic .kev-report-chrome { animation: dashboard-stage-in .65s var(--ease-out-expo) both; }
  .kev-shell.is-cinematic .kev-hero { animation: dashboard-stage-in .72s var(--ease-out-expo) both .06s; }
  .kev-shell.is-cinematic .kev-filter-bar { animation: dashboard-stage-in .72s var(--ease-out-expo) both .12s; }
  .kev-shell.is-cinematic .kev-kpi-card { animation: dashboard-card-in .7s var(--ease-out-expo) both; }
  .kev-shell.is-cinematic .kev-kpi-card:nth-child(1) { animation-delay: .18s; }
  .kev-shell.is-cinematic .kev-kpi-card:nth-child(2) { animation-delay: .24s; }
  .kev-shell.is-cinematic .kev-kpi-card:nth-child(3) { animation-delay: .3s; }
  .kev-shell.is-cinematic .kev-kpi-card:nth-child(4) { animation-delay: .36s; }
  .kev-shell.is-cinematic .kev-panel { animation: dashboard-card-in .78s var(--ease-out-expo) both .36s; }
  .kev-shell.is-cinematic .kev-table-panel { animation: dashboard-stage-in .8s var(--ease-out-expo) both .46s; }
  .kev-shell.is-cinematic .kev-footnote { animation: dashboard-stage-in .7s var(--ease-out-expo) both .54s; }
  .kev-shell.is-cinematic .kev-donut { animation: dashboard-card-in .9s var(--ease-out-expo) both .48s; }
  .kev-shell.is-cinematic .bar-fill { transform-origin: left; animation: dashboard-bar-rise .85s var(--ease-out-expo) both .48s; }
  .kev-shell.is-cinematic .month-bar { transform-origin: bottom; animation: dashboard-column-rise .85s var(--ease-out-expo) both .53s; }
}
@media (max-width: 720px) {
  .kev-report-chrome { background: rgba(10,12,16,.78); }
  .kev-kpi-card, .kev-panel { border-radius: 12px; }
}

/* Cinematic graphic pass */
.hero-luminance {
  opacity: 0;
  transition: opacity 1.1s var(--ease-out-expo);
}
.hero.is-luminous .hero-luminance { opacity: 1; }
.hero-copy.is-visible ~ .hero-luminance,
.hero:has(.hero-copy.is-visible) .hero-luminance { opacity: 1; }
.hero-luminance > i { will-change: transform, opacity; }
.hero-luminance::before {
  box-shadow: 0 0 0 1px rgba(255,182,144,.055), 0 0 0 64px rgba(255,107,44,.012), 0 0 0 128px rgba(255,107,44,.008);
}

.portrait-photo { isolation: isolate; }
.portrait-photo img { position: relative; z-index: 1; }
.portrait-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -28% -65%;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-46%) rotate(19deg);
  background: linear-gradient(90deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%);
  mix-blend-mode: screen;
}
.portrait-photo::after { z-index: 2; }
.portrait-overlay { z-index: 3; }

.network-map::before {
  content: "";
  position: absolute;
  left: 48%;
  top: 48%;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,160,109,.75);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.35);
  opacity: 0;
  box-shadow: 0 0 32px rgba(255,107,44,.18);
}
.network-map::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
  transform: scale(.84);
  opacity: .45;
}
.terminal-lines {
  position: relative;
  overflow: hidden;
}
.terminal-lines::after {
  content: "";
  position: absolute;
  right: 17px;
  bottom: 13px;
  width: 42px;
  height: 1px;
  opacity: .8;
  background: linear-gradient(90deg, transparent, var(--accent));
  box-shadow: 0 0 10px rgba(255,107,44,.5);
}
.visual-three::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background: linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.07) 50%, transparent 50.5%) 0 0 / 25% 100%;
  mask-image: linear-gradient(to top, #000, transparent 85%);
}
.bars { position: relative; }
.bars::after {
  content: "";
  position: absolute;
  right: -3%;
  bottom: -1px;
  left: -3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
}
.ai-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(74%, 410px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: conic-gradient(from 40deg, transparent 0 12%, rgba(255,179,137,.14) 15%, transparent 19% 48%, rgba(255,255,255,.09) 51%, transparent 55% 100%);
  mask: radial-gradient(transparent 63%, #000 64% 65%, transparent 66%);
}
.orbit-label { transition: transform .45s var(--ease-out-expo), border-color .3s ease, background .3s ease; }
.ai-feature:hover .label-context { transform: translate(-4px, -3px); }
.ai-feature:hover .label-reason { transform: translate(4px, -3px); }
.ai-feature:hover .label-act { transform: translate(3px, 3px); }
.ai-feature:hover .label-verify { transform: translate(-3px, 3px); }

.timeline::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 88px;
  opacity: 0;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 13px rgba(255,107,44,.68);
}
.timeline { position: relative; overflow: hidden; }

@keyframes portrait-specular-pass {
  0% { opacity: 0; transform: translateX(-46%) rotate(19deg); }
  18% { opacity: .8; }
  78% { opacity: .24; }
  100% { opacity: 0; transform: translateX(46%) rotate(19deg); }
}
@keyframes network-ping {
  0% { transform: translate(-50%, -50%) scale(.34); opacity: .82; }
  78%, 100% { transform: translate(-50%, -50%) scale(11); opacity: 0; }
}
@keyframes terminal-cursor {
  0%, 100% { opacity: .32; transform: scaleX(.55); transform-origin: right; }
  50% { opacity: 1; transform: scaleX(1); transform-origin: right; }
}
@keyframes data-bar-load {
  from { opacity: 0; transform: scaleY(.1); }
  to { opacity: 1; transform: scaleY(1); }
}
@keyframes timeline-scan {
  0% { top: -88px; opacity: 0; }
  14% { opacity: 1; }
  80% { opacity: .55; }
  100% { top: calc(100% + 88px); opacity: 0; }
}
@keyframes orbit-signal-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-panel.is-visible .portrait-photo::before { animation: portrait-specular-pass 1.65s var(--ease-out-expo) both .45s; }
  .scroll-reveal-ready .work-card.is-visible .network-map::before { animation: network-ping 3.8s var(--ease-out-expo) infinite .7s; }
  .scroll-reveal-ready .work-card.is-visible .terminal-lines::after { animation: terminal-cursor 1.3s steps(2, end) infinite; }
  .scroll-reveal-ready .work-card.is-visible .bars i {
    transform-origin: bottom;
    animation: data-bar-load .72s var(--ease-out-expo) both;
  }
  .scroll-reveal-ready .work-card.is-visible .bars i:nth-child(1) { animation-delay: .06s; }
  .scroll-reveal-ready .work-card.is-visible .bars i:nth-child(2) { animation-delay: .12s; }
  .scroll-reveal-ready .work-card.is-visible .bars i:nth-child(3) { animation-delay: .18s; }
  .scroll-reveal-ready .work-card.is-visible .bars i:nth-child(4) { animation-delay: .24s; }
  .scroll-reveal-ready .work-card.is-visible .bars i:nth-child(5) { animation-delay: .3s; }
  .scroll-reveal-ready .work-card.is-visible .bars i:nth-child(6) { animation-delay: .36s; }
  .timeline.is-cinematic::before { animation: timeline-scan 2.5s var(--ease-out-expo) both .2s; }
  .ai-feature.is-visible .ai-orbit::after { animation: orbit-signal-turn 16s linear infinite; }
}
@media (max-width: 720px) {
  .network-map::after { inset: 18%; }
  .timeline::before { display: none; }
  .ai-orbit::after { width: 82%; }
}

/* Scroll-cinematic scene for the featured OT monitoring project */
.work-card.featured .visual-one {
  isolation: isolate;
  background:
    radial-gradient(circle at 48% 48%, rgba(255,107,44,.18), transparent 20%),
    radial-gradient(circle at 66% 10%, rgba(255,255,255,.055), transparent 28%),
    #0b1017;
}
.work-card.featured .visual-one::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 43%;
  right: -42%;
  bottom: -55%;
  left: -42%;
  pointer-events: none;
  opacity: .75;
  background:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(ellipse at center, rgba(255,107,44,.12), transparent 61%);
  border-top: 1px solid rgba(255,160,113,.3);
  transform: perspective(760px) rotateX(65deg) rotateZ(var(--work-grid-tilt, 0deg)) translate3d(var(--work-grid-x, 0px), var(--work-grid-y, 0px), 0);
  transform-origin: center top;
  transition: transform .15s linear;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 90%);
}
.work-card.featured .visual-one::after {
  z-index: 3;
  opacity: .72;
  background:
    linear-gradient(90deg, transparent 0%, transparent 39%, rgba(255,208,183,.05) 44%, rgba(255,145,89,.42) 50%, rgba(255,208,183,.05) 56%, transparent 61%, transparent 100%),
    linear-gradient(135deg, rgba(255,255,255,.065), transparent 27%, transparent 73%, rgba(255,255,255,.025));
  background-size: 185% 100%, 100% 100%;
  background-position: var(--work-beam-x, -58%) 0, 0 0;
  transition: background-position .15s linear;
  mix-blend-mode: screen;
}
.work-card.featured .network-map {
  z-index: 2;
  transform: translate3d(var(--work-map-x, 0px), var(--work-map-y, 0px), 0) scale(var(--work-map-scale, 1));
  transition: transform .15s linear;
  will-change: transform;
}
.work-card.featured .network-map::after {
  inset: 8%;
  border-color: rgba(255,184,145,.11);
  transform: rotate(var(--work-orbit, 0deg)) scale(.92);
  transition: transform .15s linear;
}
.work-card.featured .network-map::before { z-index: 2; }
.work-card.featured .node { box-shadow: 0 0 0 9px rgba(255,107,44,.065), 0 0 36px rgba(255,107,44,.55); }
.work-card.featured .line { background: linear-gradient(90deg, rgba(255,107,44,.1), rgba(255,255,255,.3), rgba(255,107,44,.08)); }
.work-card.featured .work-copy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}
.work-card.featured .work-copy::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -11rem;
  width: 19rem;
  height: 19rem;
  border: 1px solid rgba(255,107,44,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255,107,44,.018), 0 0 0 92px rgba(255,107,44,.009);
  pointer-events: none;
}
.work-card.featured .work-copy > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .work-card.featured.is-scroll-cinematic .visual-one::before,
  .work-card.featured.is-scroll-cinematic .visual-one::after,
  .work-card.featured.is-scroll-cinematic .network-map,
  .work-card.featured.is-scroll-cinematic .network-map::after {
    will-change: transform, background-position;
  }
}
@media (max-width: 900px) {
  .work-card.featured .visual-one::before { top: 52%; }
}

/* Page-wide cinematic scroll choreography */
.section-atmosphere {
  position: absolute;
  z-index: -1;
  inset: -12% 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out-expo);
}
.section-atmosphere::before {
  content: "";
  position: absolute;
  top: 22%;
  width: min(54vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,44,.045), transparent 66%);
  box-shadow: 0 0 0 72px rgba(255,255,255,.007), 0 0 0 144px rgba(255,255,255,.004);
  transform: translate3d(0, var(--scene-y, 0px), 0) rotate(var(--scene-rotate, 0deg));
  transition: transform .16s linear;
}
main > .section:nth-of-type(odd) > .section-atmosphere::before { right: -17%; }
main > .section:nth-of-type(even) > .section-atmosphere::before { left: -18%; }
.section.is-scene-active > .section-atmosphere { opacity: .78; }
.hero > .section-atmosphere { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { translate: 0 var(--hero-copy-scroll, 0px); transition: translate .16s linear; }
  .hero-panel { translate: 0 var(--hero-panel-scroll, 0px); transition: translate .16s linear, border-color .3s ease, box-shadow .3s ease; }

  .scroll-reveal-ready .section-heading.reveal {
    opacity: 0;
    filter: blur(10px);
    clip-path: inset(0 0 18% 0);
    transform: translate3d(0, 36px, 0) scale(.985);
    transition:
      opacity .9s var(--ease-out-expo),
      filter 1s var(--ease-out-expo),
      clip-path 1s var(--ease-out-expo),
      transform 1s var(--ease-out-expo);
  }
  .scroll-reveal-ready .section-heading.reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scale(1);
  }

  .photo-open img {
    position: relative;
    top: -18px;
    width: 100%;
    height: calc(100% + 36px);
    transform: translate3d(0, var(--photo-drift, 0px), 0) scale(1.045);
    transition: transform .18s linear, filter .5s ease;
    will-change: transform;
  }
  .photo-card:hover .photo-open img {
    transform: translate3d(0, var(--photo-drift, 0px), 0) scale(1.085);
    filter: saturate(1.05) contrast(1.04);
  }
}

@media (max-width: 720px) {
  .section-atmosphere::before { width: 430px; opacity: .65; }
  main > .section:nth-of-type(odd) > .section-atmosphere::before { right: -56%; }
  main > .section:nth-of-type(even) > .section-atmosphere::before { left: -58%; }
}

/* Interface refinement — clearer hierarchy, quieter surfaces, stronger conversion */
:root {
  --bg: #080a0d;
  --bg-soft: #0d1116;
  --panel: rgba(255,255,255,.038);
  --panel-strong: rgba(255,255,255,.065);
  --text: #f6f7f9;
  --muted: #9ca7b2;
  --line: rgba(255,255,255,.105);
  --line-strong: rgba(255,255,255,.19);
  --accent: #ff7545;
  --accent-bright: #ffae86;
  --max: 1240px;
  --radius: 20px;
}

body {
  color: var(--text);
  background:
    radial-gradient(ellipse 72rem 46rem at 48% -18rem, rgba(255,255,255,.045), transparent 67%),
    radial-gradient(circle at 8% 7%, rgba(255,117,69,.105), transparent 28rem),
    radial-gradient(circle at 94% 23%, rgba(100,143,210,.06), transparent 30rem),
    var(--bg);
}

.shell { width: min(calc(100% - 48px), var(--max)); }
.section { padding-block: clamp(96px, 10vw, 144px); }
.section.compact { padding: 8px 0 92px; }

.site-header {
  border-bottom-color: transparent;
  background: linear-gradient(180deg, rgba(8,10,13,.88), rgba(8,10,13,.63));
}
.site-header.is-scrolled {
  border-bottom-color: rgba(255,255,255,.08);
  background: rgba(8,10,13,.86);
  box-shadow: 0 16px 44px rgba(0,0,0,.2);
}
.nav-wrap { min-height: 78px; }
.brand { gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,190,155,.52);
  border-radius: 12px;
  color: #21100a;
  background: linear-gradient(145deg, #ffc3a4, #ff7545 58%, #e85330);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 24px rgba(255,107,44,.16);
}
.brand-copy { display: grid; gap: 1px; line-height: 1.1; }
.brand-name { font-size: .92rem; letter-spacing: -.015em; }
.brand-role {
  color: #89949f;
  font: 650 .54rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
}

.site-nav {
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 999px;
  background: rgba(255,255,255,.027);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.site-nav a {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 620;
  white-space: nowrap;
}
.site-nav a:not(.nav-cta)::after { display: none; }
.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible,
.site-nav a[aria-current="true"] {
  color: #fff;
  background: rgba(255,255,255,.065);
}
.site-nav .nav-cta {
  padding: 8px 13px;
  border: 0;
  color: #1f0e08;
  background: linear-gradient(135deg, #ffb58f, #ff7545);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 7px 18px rgba(255,107,44,.14);
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible { color: #130a06; background: linear-gradient(135deg, #ffc5a7, #ff8357); }
.lang-toggle { min-width: 50px; min-height: 38px; padding-inline: 12px; }
.menu-toggle {
  min-height: 40px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}
.menu-toggle i,
.menu-toggle i::before {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform .3s var(--ease-out-expo);
}
.menu-toggle i { position: relative; transform: translateY(-2px); }
.menu-toggle i::before { content: ""; position: absolute; transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] i { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::before { transform: rotate(-90deg); }
body.menu-open { overflow: hidden; }

.hero {
  min-height: max(760px, calc(100svh - 78px));
  padding-top: clamp(68px, 8vw, 112px);
  padding-bottom: clamp(84px, 9vw, 124px);
}
.hero-grid {
  grid-template-columns: minmax(0, 1.48fr) minmax(330px, .66fr);
  gap: clamp(48px, 7vw, 96px);
}
.hero-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 850px;
  margin-bottom: 24px;
}
.hero-kicker-row .eyebrow { margin: 0; }
.availability {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0;
  color: #aeb8c1;
  font: 650 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}
.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6be29a;
  box-shadow: 0 0 0 4px rgba(107,226,154,.08), 0 0 12px rgba(107,226,154,.4);
}
.hero h1 {
  max-width: 880px;
  font-size: clamp(3.45rem, 6.75vw, 7rem);
  font-weight: 680;
  line-height: .93;
  letter-spacing: -.068em;
}
.lede { max-width: 720px; margin-top: 30px; font-size: clamp(1.05rem, 1.45vw, 1.28rem); }
.hero-actions { margin-top: 32px; }
.button { gap: 14px; min-height: 50px; padding-inline: 20px 16px; }
.button b { font-size: 1rem; font-weight: 500; transition: transform .3s var(--ease-out-expo); }
.button:hover b { transform: translate(2px, 2px); }
.button.primary {
  color: #21100a;
  background: linear-gradient(135deg, #ffc09f, #ff7545 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 12px 30px rgba(255,92,43,.18);
}
.button.primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 17px 38px rgba(255,92,43,.24); }

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 790px;
  margin: 42px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-highlights div { min-width: 0; padding-right: 18px; }
.hero-highlights div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.09); }
.hero-highlights dt {
  overflow: hidden;
  margin-bottom: 5px;
  color: #737f8b;
  font: 650 .56rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-highlights dd { margin: 0; color: #d4dae0; font-size: .82rem; line-height: 1.4; }

.hero-panel {
  max-width: 410px;
  justify-self: end;
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255,255,255,.095), rgba(255,255,255,.027) 45%, rgba(255,117,69,.035));
  box-shadow: 0 36px 100px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.075);
}
.hero-panel::after { border-radius: 23px; }
.portrait-photo { aspect-ratio: 4 / 4.75; }
.panel-copy p:last-child { color: #c1c9d0; font-size: .94rem; line-height: 1.58; }
.panel-meta { flex-wrap: wrap; justify-content: flex-start; row-gap: 7px; }
.panel-meta span { display: inline-flex; align-items: center; }
.panel-meta span + span::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,.25); }

.discipline-grid {
  border: 0;
  gap: 12px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.discipline-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
}
.discipline-card + .discipline-card { border-left: 1px solid var(--line); }
.discipline-card::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 31px;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,117,69,0), var(--accent));
  opacity: .6;
}
.discipline-card h2 { margin-top: 58px; font-size: 1.3rem; }

.section-heading h2 { font-size: clamp(2.65rem, 4.65vw, 4.9rem); line-height: .98; }
.row-heading { margin-bottom: 54px; }
.section-note { color: #a1abb5; line-height: 1.65; }
.story-copy { max-width: 760px; }
.story-copy p { line-height: 1.75; }
.skills-strip { gap: 28px; }

.work-card,
.ai-feature,
.ai-card,
.insight-card,
.dashboard-card { border-radius: 20px; }
.work-card { background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.016)); }
.work-card.featured { min-height: 500px; }
.work-copy { padding: 32px; }
.featured .work-copy { padding: clamp(34px, 4vw, 52px); }
.work-copy h3 { line-height: 1.05; }
.work-copy p:not(.mono-label) { line-height: 1.65; }
.tags span { padding: 6px 11px; }

.timeline-item { padding-left: 48px; }
.timeline-item h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.insight-card { min-height: 350px; padding: 30px; }
.photo-grid { gap: 12px; grid-auto-rows: 170px; }
.photo-card { border-radius: 16px; }

.contact-section { padding-top: 96px; padding-bottom: 110px; }
.contact-section .shell {
  padding: clamp(36px, 6vw, 76px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 20%, rgba(255,117,69,.14), transparent 25rem),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 90px rgba(0,0,0,.22);
}
.contact-section h2 { font-size: clamp(2.8rem, 6vw, 6.15rem); }
.contact-links { margin-top: clamp(40px, 5vw, 64px); }
.contact-links a { min-height: 68px; padding-inline: 4px; }

@media (max-width: 1120px) and (min-width: 1041px) {
  .site-nav a { padding-inline: 7px; font-size: .72rem; }
  .brand-role { display: none; }
}

@media (max-width: 1040px) {
  .brand-name { display: block; }
  .site-nav {
    top: calc(100% + 10px);
    left: auto;
    right: 24px;
    width: min(360px, calc(100vw - 48px));
    padding: 8px;
    border-radius: 18px;
    background: rgba(12,15,19,.97);
    box-shadow: 0 24px 70px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(24px) saturate(125%);
  }
  .site-nav.open { display: flex; animation: menu-enter .3s var(--ease-out-expo) both; }
  .site-nav a,
  .site-nav .nav-cta { padding: 12px 14px; border-radius: 11px; }
  .site-nav .nav-cta { margin-top: 4px; text-align: center; }
  .menu-toggle { display: inline-flex; }
}

@keyframes menu-enter {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { justify-self: start; width: min(100%, 540px); max-width: none; }
  .hero h1 { max-width: 820px; }
  .discipline-grid { gap: 10px; }
  .discipline-card + .discipline-card { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .section { padding-block: 84px; }
  .section.compact { padding: 0 0 72px; }
  .nav-wrap { min-height: 68px; }
  .site-nav { right: 15px; width: calc(100vw - 30px); }
  .brand-role { display: none; }
  .hero { padding-top: 52px; padding-bottom: 76px; }
  .hero-grid { gap: 44px; }
  .hero-kicker-row { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(3rem, 14.7vw, 5.2rem); letter-spacing: -.064em; }
  .lede { margin-top: 26px; line-height: 1.62; }
  .hero-highlights { grid-template-columns: 1fr; gap: 0; padding-top: 10px; }
  .hero-highlights div { padding: 13px 0; }
  .hero-highlights div + div { padding-left: 0; border-top: 1px solid rgba(255,255,255,.075); border-left: 0; }
  .hero-highlights dt { margin-bottom: 3px; }
  .panel-meta span + span::before { display: none; }
  .panel-meta { flex-direction: column; }
  .row-heading { margin-bottom: 42px; }
  .work-card.featured { min-height: 0; }
  .work-copy { padding: 27px; }
  .featured .work-copy { padding: 30px; }
  .photo-grid { grid-auto-rows: 158px; }
  .contact-section { padding-block: 74px; }
  .contact-section .shell { padding: 28px 22px; border-radius: 22px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: .86rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .photo-grid { grid-auto-rows: 270px; }
}
