:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #111111;
  --card: #171717;
  --card-raised: #202020;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .2);
  --text: #f5f5f5;
  --muted: #ababab;
  --dim: #777777;
  --blue: #86a8ff;
  --teal: #35d0ba;
  --sans: "Manrope", "Avenir Next", Avenir, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(1320px, calc(100% - 112px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; inset: 0; z-index: -1; pointer-events: none; content: ""; opacity: .14; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
::selection { color: var(--bg); background: var(--teal); }
.section-shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 16px; transform: translateY(-150%); background: var(--text); color: var(--bg); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

.site-header { width: 100%; min-height: 76px; margin-inline: auto; padding-inline: max(56px, calc((100% - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(11, 11, 11, .9); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 700; letter-spacing: -.025em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: #f4f4f4; font-size: 10px; letter-spacing: -.06em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); margin-left: auto; margin-right: 45px; }
.desktop-nav a, .header-social, .menu-toggle { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .045em; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .menu-toggle:hover, .header-social:hover { color: var(--text); }
.desktop-nav a[aria-current]::after { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 0 2px 7px; border-radius: 50%; background: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 27px; }
.header-social { display: grid; place-items: center; width: 19px; height: 19px; }
.header-social svg { width: 16px; height: 16px; fill: currentColor; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 0 0 7px; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.menu-bars { display: grid; gap: 4px; width: 15px; }
.menu-bars i { height: 1px; display: block; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.mobile-nav { position: absolute; top: calc(100% - 1px); left: max(56px, calc((100% - 1320px) / 2)); right: max(56px, calc((100% - 1320px) / 2)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; max-height: calc(100svh - 90px); overflow-y: auto; overscroll-behavior: contain; padding: 17px 26px 24px; border: 1px solid var(--line-strong); border-top: 0; border-radius: 0 0 8px 8px; background: #121212; box-shadow: 0 22px 45px #0009; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: flex; align-items: center; gap: 13px; min-height: 73px; padding: 14px 0; border-bottom: 1px solid var(--line); color: #b5b5b5; font-size: 14px; transition: color .2s; }
.nav-index { color: #7c7c7c; font: 9px/1.6 var(--mono); }
.nav-arrow { margin-left: auto; color: #737373; font-size: 18px; transition: transform .2s, color .2s; }
.mobile-nav a:hover, .mobile-nav a[aria-current] { color: var(--text); }
.mobile-nav a:hover .nav-arrow { color: var(--teal); transform: translate(2px, -2px); }
.mobile-nav a[aria-current] .nav-index { color: var(--teal); }

.hero { min-height: min(800px, calc(100svh - 76px)); min-height: clamp(670px, calc(100svh - 76px), 860px); display: flex; flex-direction: column; padding-top: clamp(30px, 4vh, 48px); padding-bottom: 21px; position: relative; }
.hero-topline, .hero-bottom, .art-top, .art-legend, .art-caption { display: flex; align-items: center; justify-content: space-between; }
.eyebrow, .hero-index, .section-note, .mono-label, .project-meta, .project-visual-top, .art-top, .art-legend, .art-caption, .entry-overline, .timeline-date, .card-index, .detail-label, .editorial-date, .empty-status, .recognition-empty > span:nth-child(2), .panel-coordinate, .dash-title > span:last-child, .dash-stat-row small, .dash-axis, .dash-sidebar b, .dash-sidebar > span { font-family: var(--mono); font-size: 9px; line-height: 1.6; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { color: #cccccc; display: inline-flex; align-items: center; gap: 10px; }
.status-dot, .micro-dot, .empty-status i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--teal); box-shadow: 0 0 12px #35d0ba66; }
.hero-index { color: var(--dim); }
.hero-layout { flex: 1; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(32px, 6vw, 95px); padding: 26px 0 20px; }
.hero-copy { position: relative; z-index: 2; padding: 25px 0; }
.hero-kicker { margin: 0 0 19px; color: #b0b0b0; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.hero-kicker span { color: var(--teal); margin: 0 6px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 25px; font-size: clamp(51px, 6.1vw, 88px); line-height: .99; letter-spacing: -.075em; font-weight: 600; }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-intro { max-width: 410px; margin-bottom: 26px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero-intro span { color: var(--text); }
.hero-typing { width: 100%; max-width: 600px; }
.hero-typing img { display: block; width: 100%; height: auto; }
.hero-typing .hero-typing-static { display: none; margin: 0; color: #00ff41; font-family: var(--mono); }
.hero-typing.typing-unavailable img { display: none; }
.hero-typing.typing-unavailable .hero-typing-static { display: block; }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 17px; border: 1px solid transparent; border-radius: 3px; font-size: 11px; font-weight: 700; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.button span { font-size: 15px; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #101010; background: var(--blue); }
.button-primary:hover { background: #f6f6f6; }
.button-quiet { color: var(--text); border-color: var(--line-strong); }
.button-quiet:hover, .button-outline:hover { background: #ffffff08; border-color: #ffffff88; }
.resume-link { margin-top: 17px; display: inline-flex; align-items: center; gap: 10px; color: var(--dim); font-size: 10px; transition: color .2s; }
.resume-link:hover { color: var(--text); }
.resume-link span { font-size: 14px; }
.hero-art { min-height: 440px; display: flex; flex-direction: column; padding: 17px 19px 13px; position: relative; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at 58% 46%, #202020 0, #202020 38%, #181818 75%); box-shadow: inset 0 0 75px #11111160; }
.hero-art::before { position: absolute; top: 50%; left: 50%; width: 72%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid #ffffff13; content: ""; }
.art-top { position: relative; z-index: 1; color: #888888; }
.art-top span:first-child { color: var(--teal); }
.network-visual { width: 100%; max-height: 370px; flex: 1; min-height: 290px; position: relative; z-index: 1; overflow: visible; }
.orbit { fill: none; stroke: #ffffff1c; stroke-width: 1; }
.orbit-dash { stroke-dasharray: 2 7; }
.mesh { fill: none; stroke: #ffffff26; stroke-width: 1; }
.route { fill: none; stroke: url(#route); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .75; }
.node > circle:first-child { fill: var(--blue); filter: drop-shadow(0 0 7px #f1f1f1aa); }
.node.n3 > circle:first-child, .node.n5 > circle:first-child { fill: var(--teal); filter: drop-shadow(0 0 8px #35d0baaa); }
.pulse { fill: none !important; stroke: #f1f1f155; stroke-width: 1; filter: none !important; }
.n1 .pulse { animation: pulse 3s ease-out infinite; transform-origin: 76px 350px; }
.n3 .pulse { animation: pulse 3s ease-out 1s infinite; transform-origin: 282px 147px; }
.n5 .pulse { animation: pulse 3s ease-out 2s infinite; transform-origin: 506px 335px; }
.core-box { fill: #242424; stroke: #f1f1f166; stroke-width: 1; }
.core-label { fill: #f4f4f4; font: 500 8px var(--mono); letter-spacing: 1.4px; }
.core-sub { fill: #999999; font: 400 6px var(--mono); letter-spacing: 1px; }
.diagram-label { fill: #888888; font: 400 7px var(--mono); letter-spacing: 1.2px; }
.crosshair { fill: none; stroke: #ffffff38; stroke-width: 1; }
.art-legend { padding: 0 9px 8px; color: #888888; }
.art-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.art-legend b { color: #dddddd; font-weight: 400; }
.legend-line { width: 15px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.art-caption { padding-top: 12px; border-top: 1px solid var(--line); color: #999999; }
.art-caption span:last-child { color: var(--dim); }
.hero-bottom { min-height: 45px; border-top: 1px solid var(--line); color: var(--dim); font-size: 10px; }
.hero-bottom > span { display: flex; align-items: center; gap: 8px; }
.micro-dot { width: 4px; height: 4px; box-shadow: none; }
.hero-bottom > a { transition: color .2s; }
.hero-bottom > a:hover { color: var(--text); }
.hero-socials { display: flex; gap: 18px; color: #c9c9c9; }
.hero-socials a { font-size: 10px; transition: color .2s; }
.hero-socials a:hover { color: var(--teal); }

.content-section { padding-top: clamp(82px, 10vw, 132px); }
.section-heading { min-height: 104px; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; border-top: 1px solid var(--line-strong); padding-top: 17px; }
.section-number { color: var(--teal); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 5.1vw, 66px); line-height: 1.06; letter-spacing: -.065em; font-weight: 500; }
.section-heading h2 span { color: #b5b5b5; }
.section-note { padding-top: 5px; color: var(--dim); text-align: right; }
.section-inset { margin-left: 10%; }
.inline-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 36px; color: #ddd; font-size: 11px; line-height: 1.5; transition: color .2s; }
.inline-link > span:last-child { font-size: 17px; transition: transform .2s; }
.inline-link:hover { color: var(--teal); }
.inline-link:hover > span:last-child { transform: translate(2px, -2px); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5.5vw, 80px); align-items: center; padding-top: 26px; }
.about-profile { position: relative; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, #171717, #101010); }
.about-profile::before { position: absolute; top: -1px; left: 22px; width: 48px; height: 1px; background: var(--teal); content: ""; }
.about-profile-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #a6a6a6; }
.profile-cross { color: #5f5f5f; font: 18px/1 var(--mono); }
.thm-badge { width: 100%; max-width: 400px; min-width: 0; aspect-ratio: 400 / 172; margin: 32px auto; border-radius: 6px; overflow: hidden; }
.thm-badge iframe { display: block; width: 400px; max-width: none; height: 172px; border: 0; border-radius: 6px; color-scheme: light; transform: scale(var(--thm-badge-scale, 1)); transform-origin: top left; }
.about-profile-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; transition: color .2s; }
.about-profile-link > span:first-child > span { margin-left: 5px; color: #929292; font: 9px var(--mono); }
.about-profile-link > span:last-child { color: var(--teal); font-size: 18px; }
.about-profile-link:hover { color: var(--teal); }
.about-body { min-width: 0; max-width: 620px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.about-body h3 { margin: 0 0 24px; color: var(--text); font-size: clamp(25px, 2.9vw, 38px); font-weight: 500; line-height: 1.25; letter-spacing: -.045em; }
.about-body p { margin-bottom: 17px; }
.about-signoff { display: flex; align-items: center; gap: 13px; margin-top: 26px; color: #b7b7b7; font-size: 10px; }
.small-rule { width: 26px; height: 1px; flex: 0 0 auto; background: var(--teal); }
.approach-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; margin-bottom: 0; padding: 25px 0 0; border-top: 1px solid var(--line); list-style: none; }
.approach-list li { display: flex; align-items: flex-start; gap: 15px; }
.approach-index { padding-top: 4px; color: var(--teal); font: 9px/1.5 var(--mono); }
.approach-list h3 { margin: 0 0 6px; color: #e4e4e4; font-size: 14px; font-weight: 500; letter-spacing: -.015em; }
.approach-list p { max-width: 220px; margin: 0; color: #969696; font-size: 11px; line-height: 1.8; }

.timeline { border-top: 1px solid var(--line); }
.timeline-entry { position: relative; display: grid; grid-template-columns: 150px 46px minmax(0, 1fr) 48px; gap: 26px; padding: 35px 0 39px; border-bottom: 1px solid var(--line); }
.timeline-period { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 3px; }
.timeline-year { color: #dbdbdb; font-size: 35px; font-weight: 500; line-height: 1.2; letter-spacing: -.05em; }
.timeline-date { color: #a4a4a4; font-size: 8px; letter-spacing: .025em; }
.timeline-kind { padding: 4px 9px; border: 1px solid var(--line); border-radius: 3px; color: #a1a1a1; font: 8px/1.6 var(--mono); }
.timeline-node { position: relative; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #35d0ba3b; border-radius: 50%; background: #35d0ba08; color: var(--teal); }
.timeline-node::after { position: absolute; top: 59px; bottom: -160px; left: 50%; width: 1px; background: linear-gradient(var(--line-strong), transparent); content: ""; }
.timeline-node svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.timeline-content { max-width: 620px; min-width: 0; padding-top: 2px; }
.entry-overline { margin-bottom: 13px; color: var(--blue); font-size: 9px; letter-spacing: .08em; }
.timeline-content h3 { margin-bottom: 14px; color: var(--text); font-size: clamp(23px, 2.6vw, 32px); letter-spacing: -.04em; line-height: 1.25; font-weight: 500; }
.timeline-content > p:not(.entry-overline) { max-width: 550px; margin-bottom: 22px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.entry-index { color: #ffffff14; font: 400 50px/1 var(--mono); letter-spacing: -.08em; text-align: right; }
.entry-tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.entry-tags li, .project-tags span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 3px; color: #aaa; font: 9px/1.5 var(--mono); }
.journey-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; }
.journey-footer > span { color: #8c8c8c; font-size: 10px; }
.text-link { color: #c0c0c0; font-size: 10px; border-bottom: 1px solid #c0c0c044; transition: color .2s; }
.text-link:hover { color: var(--teal); }

/* Local brand marks and editorial skill cards. */
.skills-content { margin-left: 10%; }
.toolkit-featured { margin-bottom: 34px; }
.toolkit-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.toolkit-heading h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -.025em; }
.toolkit-dot { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px #35d0ba30; }
.toolkit-caption { margin: 0; color: #929292; font: 8px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.toolmark-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.toolmark-grid > li { min-width: 0; }
.toolmark-card { --tool-rgb: 134 168 255; position: relative; display: flex; height: 100%; min-height: 218px; flex-direction: column; align-items: center; justify-content: center; padding: 36px 12px 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #111; text-align: center; transition: border-color .25s, background .25s, transform .25s; }
.toolmark-card[data-tool="burp-suite"] { --tool-rgb: 253 125 0; }
.toolmark-card[data-tool="nmap"] { --tool-rgb: 74 174 230; }
.toolmark-card[data-tool="metasploit"] { --tool-rgb: 91 140 225; }
.toolmark-card[data-tool="wireshark"] { --tool-rgb: 81 173 231; }
.toolmark-card[data-tool="kali-linux"] { --tool-rgb: 54 123 240; }
.toolmark-card::before { position: absolute; inset: 0; content: ""; background: radial-gradient(ellipse at 50% 20%, rgb(var(--tool-rgb) / .12), transparent 72%); opacity: .5; transition: opacity .3s; pointer-events: none; }
.toolmark-card::after { position: absolute; right: 22%; bottom: 0; left: 22%; height: 1px; content: ""; background: rgb(var(--tool-rgb) / .7); transform: scaleX(0); transition: transform .3s; }
.toolmark-index, .toolmark-arrow { position: absolute; top: 13px; color: #858585; line-height: 1; }
.toolmark-index { left: 14px; font: 8px/1 var(--mono); letter-spacing: .06em; }
.toolmark-arrow { right: 13px; font-size: 14px; transition: color .2s, transform .2s; }
.toolmark-icon { position: relative; display: grid; width: 100%; height: 76px; place-items: center; margin-bottom: 22px; }
.toolmark-icon img { display: block; width: 68px; height: 68px; object-fit: contain; transition: transform .3s; }
.toolmark-card[data-tool="kali-linux"] .toolmark-icon img { width: 108px; }
.toolmark-name { position: relative; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.toolmark-label { position: relative; margin-top: 5px; color: #a4a4a4; font-size: 10px; line-height: 1.5; }
.toolmark-card:focus-visible { outline-offset: 4px; }
.toolmark-card:focus-visible::before { opacity: 1; }
.skills-divider { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; color: #a4a4a4; font: 9px/1.6 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.skills-divider-line { height: 1px; flex: 1; background: var(--line); }
.skills-divider a { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; color: #c9c9c9; font-family: var(--sans); font-size: 11px; letter-spacing: 0; text-transform: none; transition: color .2s; }
.skills-divider a:hover { color: var(--teal); }
.skills-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.skill-card { --skill-rgb: 53 208 186; position: relative; grid-column: span 5; min-width: 0; padding: 27px 28px 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(125deg, #151515, #101010); transition: border-color .25s, transform .25s; }
.skill-card:nth-child(4n + 1), .skill-card:nth-child(4n) { grid-column: span 7; }
.skill-card[data-skill="tools"] { --skill-rgb: 134 168 255; }
.skill-card[data-skill="code"] { --skill-rgb: 186 162 240; }
.skill-card[data-skill="methods"] { --skill-rgb: 223 189 129; }
.skill-card::before { position: absolute; top: -1px; left: 28px; width: 75px; height: 1px; background: rgb(var(--skill-rgb) / .65); content: ""; }
.skill-card::after { position: absolute; top: 0; right: 0; width: 160px; height: 145px; content: ""; background-image: linear-gradient(rgb(var(--skill-rgb) / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--skill-rgb) / .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at top right, #000, transparent 70%); pointer-events: none; }
.skill-card-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 1; }
.skill-card .card-index { color: rgb(var(--skill-rgb) / .9); font-size: 9px; letter-spacing: .09em; }
.skill-count { color: #8c8c8c; font: 8px/1.5 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.skill-symbol { position: absolute; top: 62px; right: 25px; width: 54px; height: 54px; color: rgb(var(--skill-rgb) / .5); pointer-events: none; }
.skill-symbol svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.skill-card h3 { position: relative; max-width: calc(100% - 54px); margin: 40px 0 10px; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.25; letter-spacing: -.04em; font-weight: 500; }
.skill-description { position: relative; max-width: 370px; min-height: 42px; margin-bottom: 24px; padding-right: 26px; color: #9f9f9f; font-size: 11px; line-height: 1.8; }
.skill-chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.skill-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #ffffff0e; border-radius: 4px; background: #ffffff03; color: #c4c4c4; font-size: 10px; line-height: 1.45; }
.skill-chips li::before { width: 3px; height: 3px; flex: 0 0 auto; border-radius: 50%; background: rgb(var(--skill-rgb) / .8); content: ""; }
@media (hover: hover) {
  .toolmark-card:hover { border-color: rgb(var(--tool-rgb) / .48); background: #151515; transform: translateY(-4px); }
  .toolmark-card:hover::before { opacity: 1; }
  .toolmark-card:hover::after { transform: scaleX(1); }
  .toolmark-card:hover .toolmark-icon img { transform: translateY(-2px) scale(1.04); }
  .toolmark-card:hover .toolmark-arrow { color: rgb(var(--tool-rgb)); transform: translate(2px, -2px); }
  .skill-card:hover { border-color: rgb(var(--skill-rgb) / .3); transform: translateY(-2px); }
}

/* Credentials, academic timeline, and continued learning. */
.subsection-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 12px 0 20px; }
.subsection-heading h3 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -.025em; }
.subsection-heading .detail-label { color: #929292; font-size: 8px; letter-spacing: .08em; }
.credential-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.credential-card { --credential-accent: 134 168 255; position: relative; display: flex; flex-direction: column; min-width: 0; padding: 23px 23px 0; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(150deg, #171717, #101010); transition: border-color .25s, transform .25s; }
.credential-card[data-credential="cnsp"] { --credential-accent: 53 208 186; }
.credential-card[data-credential="nptel"] { --credential-accent: 223 189 129; }
.credential-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.credential-seal { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(var(--credential-accent) / .23); border-radius: 50%; background: rgb(var(--credential-accent) / .045); color: rgb(var(--credential-accent)); }
.credential-seal svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; }
.credential-top time { color: #a5a5a5; font: 9px/1.5 var(--mono); white-space: nowrap; }
.credential-code { margin: 29px 0 10px; color: rgb(var(--credential-accent)); font: 500 11px/1.5 var(--mono); letter-spacing: .13em; }
.credential-card h3 { margin: 0 0 15px; font-size: clamp(19px, 1.85vw, 24px); font-weight: 500; line-height: 1.35; letter-spacing: -.035em; }
.credential-issuer { margin-bottom: 25px; color: #a9a9a9; font-size: 11px; line-height: 1.6; }
.credential-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 55px; margin-top: auto; border-top: 1px solid var(--line); }
.credential-bottom > span:first-child { color: rgb(var(--credential-accent) / .95); font-size: 9px; line-height: 1.65; }
.credential-index { color: #727272; font: 8px/1.5 var(--mono); }
.education-heading { margin-top: 44px; }
.education-list { border-top: 1px solid var(--line); }
.education-entry { display: grid; grid-template-columns: 174px minmax(0, 1fr) 100px; gap: 28px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.education-date { position: relative; padding-top: 7px; padding-left: 17px; color: #a5a5a5; font: 9px/1.6 var(--mono); }
.education-date::before { position: absolute; top: 12px; left: 0; width: 5px; height: 5px; border: 1px solid #858585; border-radius: 50%; content: ""; }
.education-detail h3 { margin: 0 0 5px; font-size: 21px; font-weight: 500; line-height: 1.4; letter-spacing: -.035em; }
.education-detail p { margin: 0 0 5px; color: #bdbdbd; font-size: 12px; }
.education-detail > span { color: #919191; font-size: 10px; }
.education-score { display: flex; flex-direction: column; align-items: flex-end; padding-top: 2px; }
.education-score strong { color: #dedede; font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: -.04em; }
.education-score > span { margin-top: 3px; color: #949494; font: 8px/1.6 var(--mono); }
.learning-path-panel { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px 30px; align-items: center; margin-top: 30px; padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: #111; }
.learning-path-intro { display: flex; align-items: center; gap: 16px; }
.learning-path-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; color: var(--teal); }
.learning-path-icon svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.learning-path-intro h3 { margin: 0 0 4px; font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -.03em; }
.learning-path-intro p { margin: 0; color: #959595; font-size: 10px; }
.learning-paths { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.learning-paths li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; color: #b7b7b7; font-size: 10px; }
.learning-path-panel > .inline-link { grid-column: 2; justify-self: start; margin-top: -12px; }

.mono-label { display: block; margin-bottom: 8px; color: var(--teal); }
.interest-grid { margin-left: 10%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.interest-card { min-height: 227px; padding: 20px 21px; position: relative; border: 1px solid var(--line); background: linear-gradient(145deg, #202020, #181818); transition: transform .25s, border-color .25s, background .25s; }
.interest-card:hover { transform: translateY(-4px); border-color: #f1f1f166; background: linear-gradient(145deg, #2a2a2a, #181818); }
.card-index { color: #888888; }
.interest-card h3 { margin: 31px 0 9px; color: #eeeeee; font-size: 19px; line-height: 1.3; letter-spacing: -.04em; font-weight: 600; }
.interest-card p { max-width: 250px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.interest-arrow { position: absolute; right: 19px; bottom: 15px; color: #909090; font-size: 14px; transition: color .2s, transform .2s; }
.interest-card:hover .interest-arrow { color: var(--teal); transform: translate(2px, -2px); }

.project-section { padding-top: clamp(95px, 12vw, 155px); }
.project-card { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 10px; background: #111; }
.project-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--line); color: #929292; font: 9px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.project-eyebrow > span:first-child { display: flex; align-items: center; gap: 10px; color: var(--teal); }
.project-eyebrow i { width: 5px; height: 5px; border: 1px solid currentColor; transform: rotate(45deg); }
.project-feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 58px); align-items: start; padding: 30px; }
.project-gallery { min-width: 0; }
.project-preview { margin: 0; overflow: hidden; border: 1px solid #ffffff17; border-radius: 7px; background: #0b0e18; box-shadow: 0 15px 32px #0003; }
.project-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #ffffff0b; background: #191919; color: #9e9e9e; font: 8px/1.5 var(--mono); }
.project-window-bar > span:last-child { font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #555; }
.window-dots i:nth-child(2) { background: #444; }
.window-dots i:nth-child(3) { background: #333; }
.project-shot-open { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 0; background: #0b0e18; cursor: zoom-in; }
.project-shot-open > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.project-shot-open:focus-visible { z-index: 1; outline-offset: -3px; }
.project-expand { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #ffffff29; border-radius: 4px; background: #090b11e8; color: #e9e9e9; font: 9px/1.5 var(--sans); transition: background .2s, border-color .2s; }
.project-expand svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.5; }
.project-shot-open:hover .project-expand, .project-shot-open:focus-visible .project-expand { border-color: #35d0ba70; background: #0d1c19; }
.project-image-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid #ffffff0e; background: #151515; color: #bcbcbc; font-size: 10px; }
.project-image-caption > span:last-child { color: #8d8d8d; font: 8px/1.5 var(--mono); white-space: nowrap; }
.project-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.project-thumbnail { min-width: 0; padding: 4px 4px 7px; border: 1px solid #ffffff0e; border-radius: 5px; background: #141414; color: #9c9c9c; font: 9px/1.5 var(--sans); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.project-thumbnail-image { display: block; aspect-ratio: 16 / 10; margin-bottom: 7px; overflow: hidden; border-radius: 2px; background: #0b0e18; }
.project-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .62; transition: opacity .2s; }
.project-thumbnail[aria-pressed="true"] { border-color: #35d0ba88; background: #35d0ba08; color: var(--text); }
.project-thumbnail[aria-pressed="true"] img, .project-thumbnail:hover img { opacity: 1; }
.project-thumbnail:hover { color: var(--text); border-color: #ffffff40; }
.project-info { display: flex; min-width: 0; flex-direction: column; align-self: center; padding: 3px 0; }
.project-category { margin: 0 0 17px; color: var(--teal); font: 8px/1.8 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.project-info h3 { max-width: 420px; margin: 0 0 18px; color: var(--text); font-size: clamp(28px, 3.1vw, 43px); line-height: 1.12; letter-spacing: -.055em; font-weight: 500; }
.project-summary { max-width: 420px; margin-bottom: 20px; color: #b3b3b3; font-size: 12px; line-height: 1.85; }
.project-context { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #989898; font-size: 10px; }
.project-context > span { color: var(--teal); font-size: 16px; }
.project-technologies { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; }
.project-technologies li { padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; color: #b6b6b6; font: 8px/1.5 var(--mono); }
.project-links { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; }
.project-github-link { display: inline-flex; min-height: 43px; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid #e6e6e6; border-radius: 4px; background: #e6e6e6; color: #111; font-size: 11px; font-weight: 700; transition: background .2s, border-color .2s; }
.project-github-link svg { width: 15px; height: 15px; fill: currentColor; }
.project-github-link > span { margin-left: 7px; font-size: 15px; }
.project-github-link:hover { border-color: var(--teal); background: var(--teal); }
.project-readme-link { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; color: #c0c0c0; font-size: 10px; transition: color .2s; }
.project-readme-link:hover { color: var(--teal); }
.project-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); background: #ffffff02; }
.project-details > div { padding: 25px 28px 28px; }
.project-details > div + div { border-left: 1px solid var(--line); }
.project-detail-label { display: block; margin-bottom: 16px; color: #929292; font: 8px/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.project-details h4 { margin: 0 0 9px; color: #dedede; font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: -.025em; }
.project-details p { margin: 0; color: #a2a2a2; font-size: 11px; line-height: 1.85; }
.detail-label { padding-top: 2px; color: #858585; font-size: 8px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.project-tags span { padding: 4px 6px; font-size: 7px; }
.button-outline { min-height: 37px; flex-shrink: 0; gap: 13px; padding: 0 11px; color: var(--text); border-color: var(--line-strong); font-size: 9px; }
.project-source-note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 15px; padding-inline: 1px; color: #8d8d8d; font-size: 9px; }
.project-source-note a { display: inline-flex; min-height: 32px; align-items: center; gap: 7px; color: #c0c0c0; transition: color .2s; }
.project-source-note a:hover { color: var(--teal); }
.project-noscript { color: var(--muted); }
.project-noscript a { color: var(--teal); }
body.image-viewer-open { overflow: hidden; }
.project-lightbox { width: min(1160px, calc(100% - 64px)); max-width: none; max-height: calc(100dvh - 64px); margin: auto; padding: 0; overflow: auto; border: 1px solid #ffffff32; border-radius: 9px; background: #111; color: var(--text); box-shadow: 0 28px 120px #0009; }
.project-lightbox::backdrop { background: #000d; backdrop-filter: blur(8px); }
.lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 25px; border-bottom: 1px solid var(--line); }
.lightbox-header .project-category { margin-bottom: 5px; }
.lightbox-header h3 { margin: 0; font-size: 17px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.lightbox-close { display: inline-flex; min-height: 40px; flex-shrink: 0; align-items: center; gap: 12px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 4px; background: #1a1a1a; color: #ddd; font: 11px var(--sans); cursor: pointer; }
.lightbox-close > span { font-size: 23px; font-weight: 400; line-height: 1; }
.lightbox-image-wrap { display: grid; min-height: 160px; place-items: center; background: #0b0e18; }
.lightbox-image { display: block; width: 100%; height: min(62dvh, 700px); object-fit: contain; }
.lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 25px; border-top: 1px solid var(--line); }
.lightbox-footer p { max-width: 650px; margin: 0; color: #b3b3b3; font-size: 12px; line-height: 1.7; }
.lightbox-controls { display: flex; flex-shrink: 0; align-items: center; gap: 15px; }
.lightbox-controls button { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 4px; background: #191919; color: #ddd; font: 18px var(--sans); cursor: pointer; }
.lightbox-close:hover, .lightbox-controls button:hover { border-color: #35d0ba70; color: var(--teal); }
.lightbox-count { color: #aaa; font: 9px var(--mono); }

/* An editorial home for future writeups; only the existing project is linked. */
.writing-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 36px; border: 1px solid var(--line); border-radius: 8px; background: #111; }
.writing-copy { max-width: 520px; min-width: 0; }
.writing-copy > .detail-label { color: #a4a4a4; font-size: 8px; letter-spacing: .1em; }
.writing-copy h3 { max-width: 350px; margin: 25px 0 18px; color: var(--text); font-size: clamp(32px, 4.2vw, 51px); line-height: 1.13; font-weight: 500; letter-spacing: -.05em; }
.writing-copy > p { max-width: 400px; margin-bottom: 21px; color: #a3a3a3; font-size: 13px; line-height: 1.9; }
.writing-status { display: block; margin-bottom: 20px; color: #949494; font: 9px/1.7 var(--mono); }
.writing-status::before { display: inline-block; width: 5px; height: 5px; margin-right: 9px; border: 1px solid #8d8d8d; border-radius: 50%; content: ""; }
.writing-copy .inline-link { padding-bottom: 4px; border-bottom: 1px solid #ffffff35; }
.field-notebook { position: relative; min-width: 0; padding: 22px 22px 12px; transform: rotate(2deg); border: 1px solid #ffffff24; border-radius: 4px; background: linear-gradient(135deg, #1b1b1b, #141414); box-shadow: -8px 8px 0 -1px #111, -8px 8px 0 0 #ffffff12; transition: transform .3s; }
.notebook-top { display: flex; align-items: center; justify-content: space-between; color: #999; }
.notebook-top .detail-label { font-size: 8px; }
.notebook-top > span:last-child { color: #676767; font: 14px/1 var(--mono); }
.notebook-mark { display: grid; height: 112px; place-items: center; margin: 12px 0 17px; background-image: radial-gradient(#ffffff14 .7px, transparent .7px); background-size: 12px 12px; }
.notebook-mark svg { width: 80px; height: 80px; stroke: #a1b4c1; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.notebook-label { margin: 0 0 12px; color: #979797; font: 8px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.writing-topics { margin: 0; padding: 0; list-style: none; }
.writing-topics li { display: flex; align-items: center; gap: 15px; min-height: 39px; border-top: 1px solid var(--line); color: #b7b7b7; font-size: 11px; }
.writing-topics li span { color: #707070; font: 8px var(--mono); }

.achievement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.achievement-card { --milestone-accent: 53 208 186; position: relative; min-width: 0; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(155deg, #171717, #101010); transition: border-color .25s, transform .25s; }
.achievement-card:nth-child(2) { --milestone-accent: 223 189 129; }
.achievement-card:nth-child(3) { --milestone-accent: 134 168 255; }
.achievement-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.achievement-top .detail-label { color: #929292; font-size: 8px; letter-spacing: .08em; }
.achievement-top svg { width: 38px; height: 38px; color: rgb(var(--milestone-accent) / .55); stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.achievement-metric { margin: 30px 0 14px; color: rgb(var(--milestone-accent)); font-size: clamp(37px, 4.2vw, 55px); font-weight: 500; line-height: 1.15; letter-spacing: -.065em; }
.achievement-card h3 { margin-bottom: 9px; color: #e2e2e2; font-size: 15px; line-height: 1.5; font-weight: 500; letter-spacing: -.025em; }
.achievement-detail { max-width: 250px; margin: 0; color: #a2a2a2; font-size: 10px; line-height: 1.9; }
.achievement-card .inline-link { margin-top: 17px; color: #cbcbcb; font-size: 10px; }

.contact-section { margin-top: clamp(100px, 12vw, 155px); padding-bottom: 64px; }
.contact-panel { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px 54px; padding: clamp(25px, 4vw, 48px); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 10px; background: linear-gradient(125deg, #191919, #101010 65%); }
.contact-panel::before { position: absolute; top: 0; right: 0; width: 45%; height: 150px; background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(225deg, #000, transparent 70%); pointer-events: none; content: ""; }
.contact-copy { position: relative; min-width: 0; }
.contact-copy > .detail-label { color: #aaa; font-size: 8px; }
.contact-copy h3 { margin: 26px 0 22px; font-size: clamp(35px, 4.5vw, 60px); line-height: 1.1; font-weight: 500; letter-spacing: -.065em; }
.contact-copy > p { max-width: 350px; margin-bottom: 26px; color: #a7a7a7; font-size: 12px; line-height: 1.9; }
.contact-email-button { min-width: 155px; min-height: 46px; justify-content: space-between; background: #e8e8e8; color: #111; }
.contact-email-button:hover { background: var(--teal); }
.contact-email { display: block; width: fit-content; max-width: 100%; margin-top: 17px; color: #a7a7a7; font-size: 11px; overflow-wrap: anywhere; transition: color .2s; }
.contact-email:hover { color: var(--teal); }
.contact-profiles { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; }
.contact-profile { display: flex; align-items: center; gap: 16px; min-height: 91px; padding: 18px; border: 1px solid #ffffff14; border-radius: 6px; background: #ffffff02; transition: border-color .2s, background .2s, transform .2s; }
.contact-profile-symbol { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: #c5c5c5; }
.contact-profile-symbol svg { width: 25px; height: 25px; fill: currentColor; }
.contact-thm-mark { font: 500 13px/1 var(--mono); letter-spacing: -.09em; }
.contact-profile-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-profile-copy strong { color: #e1e1e1; font-size: 13px; font-weight: 500; }
.contact-profile-copy > span { color: #989898; font-size: 10px; line-height: 1.6; }
.contact-profile-arrow { margin-left: auto; color: #858585; font-size: 20px; transition: color .2s, transform .2s; }
.contact-panel-bottom { position: relative; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-location { display: flex; align-items: center; gap: 8px; color: #9a9a9a; font-size: 10px; }
.contact-location svg { width: 17px; height: 17px; flex: 0 0 auto; stroke: #929292; stroke-width: 1.1; }
.site-footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); }
.footer-brand .brand-security-mark { width: 22px; height: 25px; flex-basis: 22px; filter: none; }
.footer-brand .terminal-wordmark { font-size: 11px; }
.footer-note, .footer-right { color: #929292; font-size: 9px; }
.footer-right { display: flex; align-items: center; gap: 22px; }
.footer-socials { display: inline-flex; align-items: center; gap: 7px; }
.footer-socials a { display: grid; place-items: center; width: 30px; height: 36px; color: #aaa; transition: color .2s; }
.footer-socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-socials a:hover { color: var(--teal); }
.footer-top { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: #bbb; transition: color .2s; }
.footer-top > span { font-size: 17px; }
.footer-top:hover { color: var(--teal); }
@media (hover: hover) {
  .credential-card:hover { transform: translateY(-3px); border-color: rgb(var(--credential-accent) / .35); }
  .writing-panel:hover .field-notebook { transform: rotate(0); }
  .achievement-card:hover { transform: translateY(-3px); border-color: rgb(var(--milestone-accent) / .35); }
  .contact-profile:hover { transform: translateX(3px); border-color: #ffffff40; background: #ffffff05; }
  .contact-profile:hover .contact-profile-arrow { color: var(--teal); transform: translate(2px, -2px); }
}

.reveal-ready { opacity: 0; transform: translateY(15px); transition: opacity .7s ease, transform .7s ease; }
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 0% { opacity: .8; transform: scale(.7); } 80%, 100% { opacity: 0; transform: scale(1.7); } }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 64px, 920px); }
  .site-header { padding-inline: 32px; }
  .mobile-nav { right: 32px; left: 32px; }
  .section-inset { margin-left: 0; }
  .about-grid { gap: 36px; }
  .about-profile { padding: 20px; }
  .about-body { font-size: 12px; }
  .timeline-entry { grid-template-columns: 130px 40px minmax(0, 1fr) 35px; gap: 20px; }
  .timeline-node { width: 40px; height: 40px; }
  .entry-index { font-size: 40px; }
  .credential-card { padding: 20px 18px 0; }
  .credential-card h3 { font-size: 20px; }
  .education-entry { grid-template-columns: 155px minmax(0, 1fr) 85px; gap: 20px; }
  .writing-panel { padding: 30px; gap: 30px; }
  .achievement-card { padding: 22px; }
  .achievement-card h3 { font-size: 14px; }
  .contact-panel { gap: 30px; }
  .contact-profile { padding: 16px 13px; gap: 12px; }
  .footer-note { display: none; }
  .desktop-nav { gap: 20px; margin-right: 25px; }
  .skills-content { margin-left: 0; }
  .toolmark-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .toolmark-grid > li { grid-column: span 2; }
  .toolmark-grid > li:nth-last-child(-n + 2) { grid-column: span 3; }
  .toolmark-card { min-height: 200px; }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-card, .skill-card:nth-child(4n + 1), .skill-card:nth-child(4n) { grid-column: auto; }
  .hero-layout { gap: 30px; grid-template-columns: 1fr .9fr; }
  h1 { font-size: clamp(48px, 6.5vw, 68px); }
  .hero-art { min-height: 390px; }
  .project-feature { gap: 27px; padding: 25px; }
  .project-info h3 { font-size: 30px; }
  .project-summary { font-size: 11px; }
  .project-details > div { padding: 23px; }
}
@media (max-width: 700px) {
  :root { --shell: calc(100% - 40px); }
  html { scroll-padding-top: 70px; }
  body { font-size: 14px; }
  .site-header { min-height: 65px; padding-inline: 20px; }
  .desktop-nav { display: none; }
  .header-actions { gap: 19px; }
  .hero { min-height: unset; padding-top: 22px; padding-bottom: 15px; }
  .hero-index { font-size: 8px; }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; gap: 31px; padding-top: 62px; padding-bottom: 24px; }
  .hero-copy { padding: 0; }
  .hero-kicker { margin-bottom: 15px; font-size: 10px; }
  h1 { font-size: clamp(48px, 12vw, 68px); line-height: 1; margin-bottom: 18px; }
  .hero-intro { max-width: 440px; font-size: 12px; line-height: 1.85; }
  .button { min-height: 42px; }
  .hero-art { min-height: 325px; padding: 14px 12px 11px; }
  .network-visual { min-height: 240px; max-height: 278px; }
  .art-top, .art-legend, .art-caption { font-size: 7px; }
  .hero-bottom { min-height: 74px; display: grid; grid-template-columns: 1fr auto; row-gap: 3px; padding: 12px 0 5px; }
  .hero-bottom > a { display: none; }
  .hero-socials { justify-content: flex-end; gap: 14px; }
  .content-section { padding-top: 92px; }
  .section-heading { min-height: 0; grid-template-columns: 34px minmax(0, 1fr); padding-top: 13px; padding-bottom: 26px; }
  .section-heading h2 { font-size: clamp(37px, 9vw, 53px); }
  .mobile-nav { right: 20px; left: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 23px; max-height: calc(100svh - 78px); padding: 10px 20px 18px; }
  .mobile-nav a { gap: 9px; min-height: 67px; font-size: 12px; }
  .nav-index { font-size: 8px; }
  .nav-arrow { font-size: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 8px; }
  .about-profile { width: 100%; max-width: 470px; padding: 20px; }
  .thm-badge { margin-block: 26px; }
  .about-body { max-width: 100%; }
  .about-body h3 { margin-bottom: 20px; font-size: clamp(27px, 7.8vw, 35px); }
  .about-body { font-size: 12px; }
  .approach-list { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; padding-top: 24px; }
  .approach-list li { gap: 18px; }
  .approach-list p { max-width: 100%; font-size: 11px; }
  .timeline-entry { grid-template-columns: 35px minmax(0, 1fr); gap: 22px 17px; padding: 25px 0 27px; }
  .timeline-period { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 13px; padding: 0; }
  .timeline-year { font-size: 25px; }
  .timeline-date { display: inline; font-size: 8px; }
  .timeline-kind { display: none; }
  .timeline-node { grid-column: 1; grid-row: 1; width: 35px; height: 35px; }
  .timeline-node svg { width: 23px; height: 23px; }
  .timeline-node::after { top: 45px; bottom: -235px; }
  .timeline-content { grid-column: 2; }
  .timeline-content h3 { font-size: 26px; }
  .timeline-content > p:not(.entry-overline) { font-size: 12px; }
  .entry-overline { font-size: 8px; line-height: 1.9; }
  .entry-index { display: none; }
  .entry-tags li { font-size: 8px; padding-inline: 7px; }
  .journey-footer { align-items: flex-start; flex-direction: column; gap: 6px; padding-left: 52px; }
  .skills-content { margin-left: 0; }
  .skills-grid { grid-template-columns: 1fr; gap: 12px; }
  .skill-card, .skill-card:nth-child(4n + 1), .skill-card:nth-child(4n) { grid-column: auto; padding: 24px; }
  .skill-card h3 { margin-top: 32px; font-size: 23px; }
  .skill-description { min-height: 0; max-width: 400px; margin-bottom: 22px; padding-right: 28px; font-size: 12px; }
  .skill-symbol { top: 54px; right: 20px; width: 48px; height: 48px; }
  .skill-chips li { font-size: 11px; }
  .toolkit-heading { align-items: flex-start; flex-direction: column; gap: 7px; margin-bottom: 18px; }
  .toolkit-heading h3 { font-size: 15px; }
  .toolkit-caption { padding-left: 15px; font-size: 7px; letter-spacing: .06em; }
  .toolkit-featured { margin-bottom: 24px; }
  .toolmark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .toolmark-grid > li, .toolmark-grid > li:nth-last-child(-n + 2) { grid-column: auto; }
  .toolmark-card { min-height: 185px; padding: 32px 10px 19px; }
  .toolmark-icon { height: 65px; margin-bottom: 15px; }
  .toolmark-icon img { width: 57px; height: 57px; }
  .toolmark-grid > li:last-child { grid-column: 1 / -1; }
  .toolmark-grid > li:last-child .toolmark-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; justify-items: start; min-height: 126px; column-gap: 20px; padding: 24px; text-align: left; }
  .toolmark-grid > li:last-child .toolmark-icon { grid-row: 1 / 3; width: 100%; margin: 0; }
  .toolmark-grid > li:last-child .toolmark-name { align-self: end; }
  .toolmark-grid > li:last-child .toolmark-label { align-self: start; }
  .skills-divider { gap: 12px; font-size: 8px; }
  .interest-grid { margin-left: 9%; grid-template-columns: 1fr; gap: 8px; }
  .interest-card { min-height: 172px; padding: 16px; }
  .interest-card h3 { margin: 22px 0 8px; font-size: 18px; }
  .interest-card p { max-width: 285px; }
  .project-section { padding-top: 88px; }
  .project-eyebrow { gap: 10px; padding: 16px 18px; font-size: 7px; }
  .project-feature { grid-template-columns: 1fr; gap: 30px; padding: 18px; }
  .project-window-bar { padding: 10px; font-size: 7px; }
  .project-window-bar > span:last-child { font-size: 6px; }
  .project-image-caption { padding: 10px; font-size: 9px; }
  .project-thumbnails { gap: 6px; margin-top: 12px; }
  .project-thumbnail { padding: 3px 3px 6px; font-size: 8px; }
  .project-thumbnail-image { margin-bottom: 6px; }
  .project-expand { right: 8px; bottom: 8px; padding: 7px; }
  .project-expand > span { display: none; }
  .project-info { padding: 0 2px 8px; }
  .project-category { margin-bottom: 13px; font-size: 7px; }
  .project-info h3 { max-width: 340px; margin-bottom: 16px; font-size: clamp(30px, 8vw, 38px); }
  .project-summary { font-size: 12px; }
  .project-context { font-size: 10px; }
  .project-technologies { margin-bottom: 23px; }
  .project-technologies li { font-size: 9px; }
  .project-details { grid-template-columns: 1fr; }
  .project-details > div { padding: 23px 20px; }
  .project-details > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .project-detail-label { margin-bottom: 12px; }
  .project-details h4 { font-size: 16px; }
  .project-details p { font-size: 12px; }
  .project-source-note { font-size: 8px; }
  .project-lightbox { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .lightbox-header { gap: 15px; padding: 15px; }
  .lightbox-header h3 { font-size: 15px; }
  .lightbox-header .project-category { font-size: 6px; }
  .lightbox-close { gap: 7px; padding-inline: 9px; font-size: 10px; }
  .lightbox-image { height: auto; max-height: 60dvh; }
  .lightbox-footer { align-items: flex-start; flex-direction: column; gap: 16px; padding: 15px; }
  .lightbox-footer p { font-size: 11px; }
  .lightbox-controls { align-self: flex-end; }
  .subsection-heading { margin-top: 2px; }
  .subsection-heading .detail-label { font-size: 7px; }
  .credential-list { grid-template-columns: 1fr; gap: 13px; }
  .credential-card { padding: 23px 24px 0; }
  .credential-code { margin-top: 21px; }
  .credential-card h3 { max-width: 340px; font-size: 25px; }
  .credential-issuer { margin-bottom: 22px; font-size: 12px; }
  .credential-bottom { min-height: 53px; }
  .credential-bottom > span:first-child { font-size: 10px; }
  .education-heading { margin-top: 36px; }
  .education-entry { grid-template-columns: minmax(0, 1fr) 75px; gap: 11px 15px; padding-block: 23px; }
  .education-date { grid-column: 1 / -1; padding-top: 0; font-size: 8px; }
  .education-date::before { top: 4px; }
  .education-detail h3 { font-size: 21px; }
  .education-detail p { font-size: 11px; }
  .education-detail > span { font-size: 10px; }
  .education-score strong { font-size: 25px; }
  .education-score > span { font-size: 7px; }
  .learning-path-panel { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .learning-path-panel > .inline-link { grid-column: 1; margin-top: -7px; }
  .learning-path-intro { gap: 12px; }
  .writing-panel { grid-template-columns: 1fr; gap: 32px; padding: 26px 24px 32px; }
  .writing-copy h3 { margin-top: 21px; font-size: 40px; }
  .writing-copy > p { font-size: 12px; }
  .field-notebook { width: 100%; max-width: 360px; justify-self: center; padding: 20px 20px 10px; transform: rotate(1deg); }
  .notebook-mark { height: 92px; }
  .achievement-grid { grid-template-columns: 1fr; gap: 13px; }
  .achievement-card { padding: 23px; }
  .achievement-metric { margin-top: 23px; font-size: 51px; }
  .achievement-card h3 { font-size: 17px; }
  .achievement-detail { max-width: 100%; font-size: 11px; }
  .contact-section { margin-top: 92px; padding-bottom: 40px; }
  .contact-panel { grid-template-columns: 1fr; gap: 30px; padding: 26px 23px 18px; }
  .contact-copy h3 { font-size: clamp(35px, 9.5vw, 55px); }
  .contact-copy > p { font-size: 12px; }
  .contact-profiles { gap: 10px; }
  .contact-profile { min-height: 83px; padding: 16px; }
  .contact-panel-bottom { flex-wrap: wrap; gap: 12px 20px; padding-top: 18px; }
  .contact-location { font-size: 9px; }
  .contact-panel-bottom .inline-link { font-size: 10px; }
  .site-footer { min-height: 100px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 20px 0; }
  .footer-brand { grid-column: 1; grid-row: 1; }
  .footer-note { display: block; grid-column: 1; grid-row: 2; font-size: 8px; }
  .footer-right { grid-column: 2; grid-row: 1 / span 2; gap: 4px; flex-direction: column; align-items: flex-end; font-size: 8px; }
  .footer-right > span { font-size: 7px; }
  .footer-socials { gap: 3px; }
  .footer-socials a { min-height: 32px; }
  .footer-top { min-height: 28px; }
}
@media (max-width: 360px) {
  :root { --shell: calc(100% - 32px); }
  .site-header { padding-inline: 16px; }
  .mobile-nav { right: 16px; left: 16px; gap: 0 16px; padding-inline: 16px; }
  h1 { font-size: 44px; }
  .hero-buttons { gap: 7px; }
  .button { padding-inline: 12px; gap: 12px; font-size: 10px; }
  .section-heading h2 { font-size: 34px; }
  .credential-card { padding-inline: 20px; }
  .credential-card h3 { font-size: 23px; }
  .writing-panel { padding-inline: 21px; }
  .writing-copy h3 { font-size: 36px; }
  .contact-panel { padding-inline: 20px; }
  .contact-profile { gap: 12px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready { opacity: 1; transform: none; }
  .hero-typing img { display: none; }
  .hero-typing .hero-typing-static { display: block; }
}

/* SyntaxCV-inspired monochrome, full-bleed portrait hero. */
.hero-template {
  position: relative;
  width: 100vw;
  margin: 0;
  min-height: 0;
  padding: 0 clamp(20px, calc((100vw - 1320px) / 2), 64px) 18px;
  isolation: isolate;
}
.hero-template .hero-topline {
  position: absolute;
  z-index: 5;
  inset: 18px clamp(20px, calc((100vw - 1320px) / 2), 64px) auto;
  color: #f4f4f4;
  text-shadow: 0 1px 14px #000;
}
.hero-template .eyebrow { color: #e7e7e7; }
.hero-template .hero-index { color: #bcbcbc; }
.hero-sequence-track {
  position: relative;
  height: calc(100svh - 76px + 220svh);
}
.hero-frame {
  position: sticky;
  z-index: 0;
  top: 76px;
  height: calc(100svh - 76px);
  min-height: 560px;
  overflow: hidden;
  background: #111;
}
.hero-sequence-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(1) contrast(1.05);
}
.hero-vignette {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 7, 7, .78) 0%, rgba(7, 7, 7, .44) 38%, rgba(7, 7, 7, .06) 73%), linear-gradient(0deg, rgba(7, 7, 7, .76) 0%, transparent 42%, rgba(0, 0, 0, .18) 100%);
}
.hero-quote {
  position: absolute;
  z-index: 2;
  top: 15%;
  right: 6%;
  width: min(310px, 26%);
  color: #f1f1f1;
  text-align: left;
  text-shadow: 0 1px 15px #000;
}
.quote-mark { color: var(--teal); font-family: Georgia, serif; font-size: 38px; line-height: .75; }
.hero-quote blockquote { margin: 0; }
.hero-quote p { margin: 8px 0 0; font-size: 12px; line-height: 1.45; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.quote-close { display: block; margin: 8px 0 0 auto; width: fit-content; }
.hero-quote-attribution { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; margin-top: 9px; color: #bdbdbd; font: 9px/1.5 var(--mono); letter-spacing: .03em; transition: color .2s; }
.hero-quote-attribution cite { font-style: normal; }
.hero-quote-attribution:hover { color: var(--teal); }
.hero-editorial {
  position: absolute;
  z-index: 3;
  left: 5.3%;
  right: 31%;
  bottom: 9%;
  color: #f7f7f7;
}
.hero-editorial .hero-kicker { margin: 0 0 18px; color: #e5e5e5; font-size: 12px; }
.hero-editorial .hero-kicker span { color: var(--teal); }
.hero-editorial h1 {
  margin: 0 0 16px;
  font-size: clamp(88px, 13vw, 190px);
  line-height: .78;
  font-weight: 800;
  letter-spacing: -.09em;
  text-transform: uppercase;
  text-shadow: 0 4px 32px #0009;
}
.hero-editorial h1 span { white-space: nowrap; }
.hero-editorial .hero-intro { max-width: 400px; margin: 21px 0 20px; color: #dedede; font-size: 12px; line-height: 1.75; text-shadow: 0 1px 12px #000; }
.hero-template .button-primary { color: #07120d; background: var(--teal); }
.hero-template .button-primary:hover { background: #63efbb; }
.hero-template .button-quiet { color: #f6f6f6; border-color: #ffffff61; background: #00000021; }
.hero-template .button-quiet:hover { border-color: var(--teal); background: #00000052; }
.hero-image-meta {
  position: absolute;
  z-index: 3;
  right: 2.4%;
  bottom: 2.2%;
  left: 2.4%;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #bdbdbd;
  font: 8px/1.5 var(--mono);
  letter-spacing: .12em;
  text-shadow: 0 1px 10px #000;
}
.hero-template .hero-bottom { min-height: 43px; color: #aaa; }
.hero-template .hero-bottom > a { color: #c9c9c9; }
.hero-template .hero-socials { color: #dfdfdf; }
.hero-template .hero-socials a:hover { color: var(--teal); }
.site-header { background: rgba(12, 12, 12, .91); }

@media (max-width: 700px) {
  .hero-template { padding-inline: 16px; padding-bottom: 12px; }
  .hero-template .hero-topline { inset: 13px 16px auto; }
  .hero-sequence-track { height: calc(100svh - 65px + 180svh); }
  .hero-frame { top: 65px; height: calc(100svh - 65px); min-height: 580px; }
  .hero-sequence-canvas, .hero-placeholder { object-position: 54% center; }
  .hero-vignette { background: linear-gradient(90deg, rgba(6, 6, 6, .58), rgba(6, 6, 6, .1) 76%), linear-gradient(0deg, rgba(5, 5, 5, .85), transparent 56%, rgba(0, 0, 0, .18)); }
  .hero-quote { top: 15%; right: 6%; width: 42%; }
  .hero-quote p { font-size: 8px; letter-spacing: .09em; }
  .hero-quote-attribution { margin-top: 5px; font-size: 8px; }
  .quote-mark { font-size: 28px; }
  .hero-editorial { left: 6%; right: 5%; bottom: 10%; }
  .hero-editorial .hero-kicker { margin-bottom: 14px; font-size: 9px; }
  .hero-editorial h1 { margin-bottom: 12px; font-size: clamp(67px, 18vw, 108px); line-height: .8; }
  .hero-editorial .hero-intro { max-width: 340px; margin: 15px 0; font-size: 10px; }
  .hero-image-meta { right: 3%; bottom: 2%; left: 3%; font-size: 6px; letter-spacing: .07em; }
  .hero-image-meta span:last-child { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sequence-track { height: auto; }
  .hero-sequence-stage { position: relative; top: auto; }
}

/* Security wordmark and toolkit details. */
.header-brand { gap: 10px; }
.brand-security-mark { display: block; width: 28px; height: 31px; flex: 0 0 28px; object-fit: contain; filter: drop-shadow(0 0 8px #4da3ff24); }
.terminal-wordmark { display: inline-flex; align-items: baseline; color: var(--text); font-family: var(--mono); font-size: 12px; letter-spacing: -.045em; }
.terminal-cursor { display: inline-block; width: .7em; margin-left: 1px; color: var(--teal); animation: cursor-blink 1.08s steps(2, start) infinite; }
@keyframes cursor-blink { to { visibility: hidden; } }
.site-header { background: rgba(11, 11, 11, .93); }

@media (max-width: 700px) {
  .header-brand { gap: 8px; }
  .brand-security-mark { width: 24px; height: 27px; flex-basis: 24px; }
  .terminal-wordmark { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .terminal-cursor { animation: none; }
}

.site-header {
  position: sticky;
  top: 0;
  min-height: 76px;
  margin-bottom: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, .78), rgba(7, 7, 7, .18));
}
.header-brand-copy { display: grid; gap: 1px; }
.header-brand-copy strong { color: #f5f5f5; font-size: 12px; line-height: 1.25; }
.header-brand-copy small { color: #bdbdbd; font: 8px/1.3 var(--mono); letter-spacing: .03em; white-space: nowrap; }
.desktop-nav, .header-social { display: none; }
.header-actions { gap: clamp(12px, 2vw, 24px); }
.header-resume, .header-contact { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #ededed; font-size: 10px; font-weight: 600; white-space: nowrap; transition: color .2s; }
.header-resume:hover, .header-contact:hover { color: var(--teal); }
.hero-template { width: 100%; margin-top: -76px; padding-inline: 0; }
.hero-sequence-track { height: calc(100svh + 220svh); }
.hero-frame { top: 0; height: 100svh; min-height: 520px; }
.hero-template .hero-topline { top: 106px; right: 5%; left: 5%; }
.hero-sequence-canvas, .hero-frame-poster { object-fit: cover; object-position: center 42%; }
.hero-editorial h1 span { display: block; width: 100%; text-align: left; }

@media (max-width: 700px) {
  .site-header { min-height: 65px; margin-bottom: 0; }
  .header-brand .brand-mark { display: none; }
  .header-brand-copy small { font-size: 7px; }
  .header-actions { gap: 13px; }
  .header-resume { display: none; }
  .header-contact { font-size: 9px; }
  .hero-template { width: 100%; margin-top: -65px; padding-inline: 0; }
  .hero-sequence-track { height: calc(100svh + 180svh); }
  .hero-frame { top: 0; height: 100svh; min-height: 600px; }
  .hero-template .hero-topline { top: 80px; right: 16px; left: 16px; }
  .hero-editorial h1 span { width: 100%; text-align: left; }
  .hero-quote { top: 20%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sequence-track { height: auto; min-height: 100svh; }
  .hero-sequence-stage { position: relative; top: auto; }
}

@media (max-width: 430px) {
  .header-brand-copy small { display: none; }
  .header-brand-copy strong { font-size: 12px; }
  .header-contact { font-size: 10px; }
  .header-actions { gap: 16px; }
}

.site-header { background: rgba(11, 11, 11, .93); }
