:root {
    color-scheme: dark;
    --deep: #17131f;
    --deep-raised: #201a2a;
    --deep-card: #282134;
    --accent: #a78bfa;
    --accent-bright: #c4b5fd;
    --accent-secondary: #6d4a91;
    --accent-gradient: linear-gradient(120deg, #c4b5fd 0%, #a78bfa 48%, #7c3aed 100%);
    --light: #f2eff5;
    --paper: #f4f1f7;
    --paper-muted: #e8e2ed;
    --ink: #2d2436;
    --muted: #655a6e;
    --mono: "IBM Plex Mono", monospace;
    --sans: "Lexend Deca", sans-serif;
    --heading: "Lexend", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--deep); color: #f2eff5; font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--heading); }
.container { width: min(100% - 48px, 1280px); margin-inline: auto; }
.section-shell { position: relative; overflow: hidden; }
.skip-link { position: absolute; z-index: 20; top: -60px; left: 16px; padding: 10px 14px; background: var(--accent); color: var(--light); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; z-index: 20; top: 0; height: 64px; border-bottom: 1px solid rgba(242,239,245,.12); background: rgba(23,19,31,.96); backdrop-filter: blur(8px); }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; min-width: 258px; align-items: center; gap: 10px; }
.brand-mark { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border: 1px solid rgba(167,139,250,.45); border-radius: 9px; color: var(--accent); font-family: var(--mono); font-size: 12px; font-weight: 600; }
.brand-copy { display: grid; line-height: 1.3; }
.brand-copy strong { color: #ffffff; font-size: 12px; font-weight: 600; }
.brand-copy small { color: rgba(242,239,245,.72); font-size: 10px; }
.primary-navigation { display: flex; height: 100%; align-items: center; gap: 2px; }
.primary-navigation a { padding: 7px 12px; border-radius: 999px; color: rgba(242,239,245,.82); font-size: 12px; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.primary-navigation a:hover, .primary-navigation a:focus-visible { background: rgba(242,239,245,.14); color: var(--accent-bright); }
.primary-navigation .nav-current { background: var(--accent-gradient); color: var(--deep); font-weight: 600; }
.nav-toggle { display: none; }
.button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 9px; padding: 8px 16px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-1px); }
.button-primary { background: var(--accent-gradient); color: var(--deep); }
.button-primary:hover, .button-primary:focus-visible { background: linear-gradient(120deg, #ddd6fe 0%, #c4b5fd 50%, #a78bfa 100%); color: var(--deep); box-shadow: 0 9px 28px rgba(167,139,250,.38); }
.button-outline { border-color: rgba(242,239,245,.24); background: rgba(242,239,245,.05); color: #f2eff5; }
.button-outline:hover, .button-outline:focus-visible { border-color: var(--accent); background: rgba(167,139,250,.12); color: var(--accent); }
.header-book { min-width: 145px; padding-inline: 14px; }
.button-large { min-height: 49px; padding: 12px 24px; font-size: 13px; }

.hero-section { padding: 96px 48px; background: radial-gradient(ellipse at 74% 60%, rgba(40,33,52,.22), transparent 49%), radial-gradient(ellipse at 20% 40%, rgba(167,139,250,.12), transparent 50%), var(--deep); }
.hero-layout { display: grid; min-height: 385px; grid-template-columns: 7fr 5fr; align-items: center; gap: 42px; }
.hero-copy { display: flex; max-width: 720px; flex-direction: column; align-items: flex-start; gap: 20px; }
.availability-label { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--accent-bright); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.availability-code { margin-left: 5px; padding: 2px 6px; border: 1px solid rgba(167,139,250,.3); border-radius: 4px; color: rgba(242,239,245,.8); font-size: 9px; }
.status-dot, .live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(167,139,250,.7); animation: status-glow 2.8s ease-in-out infinite; }
.hero-copy h1 { max-width: 720px; margin: 0; background: linear-gradient(100deg, #ffffff 15%, #ddd6fe 58%, #a78bfa 100%); background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(42px, 4vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.18; }
.hero-description { max-width: 690px; margin: 0; color: rgba(242,239,245,.85); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .button-primary { box-shadow: 0 12px 26px rgba(167,139,250,.22); }
.hero-portrait { position: relative; display: flex; min-height: 385px; align-items: flex-end; justify-content: center; overflow: hidden; border: 1px solid rgba(167,139,250,.25); border-radius: 17px; background: radial-gradient(ellipse at 50% 30%, rgba(242,239,245,.22), transparent 52%), linear-gradient(155deg,#282134,#201a2a 66%,#17131f); isolation: isolate; }
.portrait-grid { position: absolute; z-index: -1; inset: 0; opacity: .16; background-image: linear-gradient(rgba(167,139,250,.18) 1px, transparent 1px), linear-gradient(90deg,rgba(167,139,250,.18) 1px,transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(180deg,#000,transparent 82%); }
.portrait-glow { position: absolute; z-index: -1; top: 10%; left: 50%; width: 240px; height: 240px; border: 1px solid rgba(167,139,250,.25); border-radius: 50%; box-shadow: 0 0 0 26px rgba(167,139,250,.04),0 0 0 56px rgba(167,139,250,.025); transform: translateX(-50%); animation: ring-pulse 5s ease-in-out infinite; }
.portrait-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(23,19,31,.03) 35%,rgba(23,19,31,.25) 60%,rgba(23,19,31,.96)); }
.portrait-name { position: absolute; z-index: 1; bottom: 21px; left: 22px; display: grid; gap: 1px; }
.portrait-name strong { color: #ffffff; font-size: 16px; }
.portrait-name span { color: var(--accent-bright); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.portrait-corner { position: absolute; top: 17px; right: 18px; color: rgba(242,239,245,.65); font-family: var(--mono); font-size: 14px; }
.portrait-corner span { color: var(--accent); }

.metrics-strip { min-height: 168px; padding: 32px 48px; background: #f2eff5; color: var(--ink); border-top: 1px solid #e8e2ed; border-bottom: 1px solid #e8e2ed; }
.metrics-grid { display: grid; min-height: 103px; grid-template-columns: repeat(4,1fr); align-items: center; }
.metric-item { display: grid; min-height: 72px; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 8px 20px; border-right: 1px solid #e1d9e8; }
.metric-item:first-child { padding-left: 0; }
.metric-item:last-child { padding-right: 0; border-right: 0; }
.metric-item > strong { color: var(--accent-secondary); font-size: 29px; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; }
.metric-item > strong span { color: var(--accent); font-size: 20px; }
.metric-item div { display: grid; gap: 4px; }
.metric-item div b { color: var(--ink); font-family: var(--mono); font-size: 8px; letter-spacing: .05em; }
.metric-item div small { color: #655a6e; font-size: 10px; white-space: nowrap; }
.metric-item > i { color: var(--accent-secondary); font-family: var(--mono); font-size: 9px; font-style: normal; }

.content-section { padding: 96px 48px; }
.architecture-section { background: radial-gradient(ellipse at 52% 43%,rgba(167,139,250,.15),transparent 58%), radial-gradient(ellipse at 85% 85%,rgba(40,33,52,.1),transparent 50%), var(--deep); }
.architecture-container { display: flex; flex-direction: column; gap: 49px; }
.architecture-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(167,139,250,.22); }
.eyebrow { margin-bottom: 11px; color: var(--accent); font-family: var(--mono); font-size: 9px; letter-spacing: .09em; }
.architecture-heading h2, .about-heading h2, .toolkit-heading h2, .projects-heading h2, .contact-inner h2 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.throughput { margin: 0 0 4px; color: rgba(242,239,245,.75); font-family: var(--mono); font-size: 10px; }
.throughput strong { color: var(--accent-bright); font-weight: 600; }
.workflow-panel { position: relative; padding: 32px; overflow: hidden; border: 1px solid rgba(167,139,250,.28); border-radius: 16px; background: rgba(32,26,42,.78); box-shadow: 0 30px 90px rgba(15,12,22,.45); }
.architecture-canvas { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; opacity: .28; pointer-events: none; }
.workflow-cards, .architecture-detail, .telemetry { position: relative; z-index: 1; }
.workflow-cards { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.workflow-card { display: grid; min-height: 278px; grid-template-rows: auto auto 1fr auto auto; gap: 7px; padding: 14px 15px 11px; border: 1px solid rgba(242,239,245,.14); border-radius: 9px; background: rgba(242,239,245,.03); text-align: left; cursor: pointer; transition: border-color .22s ease,background .22s ease,transform .22s ease,box-shadow .22s ease; }
.workflow-card:hover, .workflow-card:focus-visible { border-color: rgba(167,139,250,.45); background: rgba(167,139,250,.08); transform: translateY(-2px); }
.workflow-card.is-active { border-color: rgba(167,139,250,.7); background: linear-gradient(135deg,rgba(167,139,250,.18),rgba(23,19,31,.5)); box-shadow: inset 3px 0 var(--accent),0 0 26px rgba(167,139,250,.12); }
.workflow-card-top { display: flex; align-items: center; justify-content: space-between; color: rgba(242,239,245,.72); font-family: var(--mono); font-size: 8px; }
.workflow-card.is-active .workflow-card-top > span:first-child { color: var(--accent-bright); font-weight: 600; }
.tier-symbol { color: var(--accent); font-size: 17px; }
.workflow-card > strong { color: #ffffff; font-size: 14px; font-weight: 600; }
.workflow-description { max-width: 440px; color: rgba(242,239,245,.76); font-size: 10px; line-height: 1.5; }
.workflow-card-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid rgba(242,239,245,.12); color: rgba(242,239,245,.72); font-family: var(--mono); font-size: 8px; }
.workflow-card-bottom b { color: var(--accent-bright); font-weight: 500; }
.inspect-tier { display: flex; align-items: center; gap: 6px; color: rgba(242,239,245,.65); font-family: var(--mono); font-size: 9px; }
.inspect-tier b { margin-left: auto; color: var(--accent); font-size: 14px; font-weight: 400; }
.architecture-detail { min-height: 425px; margin-top: 32px; padding: 28px; border: 1px solid rgba(167,139,250,.35); border-radius: 16px; background: rgba(32,26,42,.85); box-shadow: 0 24px 55px rgba(15,12,22,.5); }
.detail-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(167,139,250,.22); }
.detail-title { display: flex; align-items: center; gap: 12px; }
.detail-icon { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border: 1px solid rgba(167,139,250,.35); border-radius: 9px; background: rgba(167,139,250,.12); color: var(--accent); font-size: 17px; }
.detail-title > div { min-width: 0; flex: 1; }
.detail-kicker { margin: 0 0 3px; color: rgba(242,239,245,.72); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.detail-kicker span { color: var(--accent); }
.detail-title h3 { margin: 0; color: #ffffff; font-size: 17px; font-weight: 600; }
.detail-latency { color: var(--accent-bright); font-family: var(--mono); font-size: 9px; font-weight: 500; white-space: nowrap; }
.tier-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.tier-tab { padding: 6px 10px; border: 1px solid rgba(242,239,245,.15); border-radius: 7px; background: transparent; color: rgba(242,239,245,.75); font-family: var(--mono); font-size: 9px; cursor: pointer; transition: all .2s ease; }
.tier-tab:hover, .tier-tab:focus-visible { border-color: var(--accent); color: #ffffff; }
.tier-tab.is-active { border-color: var(--accent); background: rgba(167,139,250,.16); color: var(--accent-bright); font-weight: 600; }
.architecture-lists { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 24px 0; }
.architecture-list { display: flex; min-height: 200px; flex-direction: column; justify-content: space-between; padding: 16px; border: 1px solid rgba(167,139,250,.2); border-radius: 12px; background: rgba(23,19,31,.75); box-shadow: 0 10px 24px rgba(15,12,22,.35); }
.architecture-list h4 { margin: 0 0 10px; color: var(--accent-bright); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; }
.architecture-list p { display: flex; gap: 7px; margin: 0 0 7px; color: rgba(242,239,245,.88); font-size: 9px; line-height: 1.5; }
.architecture-list p:last-child { margin-bottom: 0; }
.architecture-list p span { color: var(--accent); }
.diagnostic-terminal { display: flex; min-width: 0; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(167,139,250,.2); }
.terminal-icon { color: var(--accent); font-family: var(--mono); font-size: 17px; }
.diagnostic-terminal > div { display: grid; min-width: 0; flex: 1; gap: 3px; }
.diagnostic-terminal b, .telemetry > b { color: #ffffff; font-size: 9px; font-weight: 500; }
.diagnostic-terminal small { color: rgba(242,239,245,.72); font-size: 8px; line-height: 1.45; }
.diagnostic-terminal > strong { color: var(--accent-bright); font-family: var(--mono); font-size: 8px; white-space: nowrap; }
.telemetry { display: flex; min-width: 0; min-height: 47px; align-items: center; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(167,139,250,.2); color: rgba(242,239,245,.75); }
.telemetry > span { min-width: 0; flex: 1; overflow: hidden; color: rgba(242,239,245,.75); font-family: var(--mono); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.telemetry > span i { color: var(--accent); font-style: normal; }
.telemetry > div { display: flex; align-items: center; gap: 8px; color: rgba(242,239,245,.72); font-size: 8px; white-space: nowrap; }
.telemetry > div strong { margin-right: 9px; color: var(--accent-bright); font-family: var(--mono); font-size: 8px; font-weight: 500; }

.light-section { color: var(--ink); }
.about-section { padding-block: 90px; background: var(--paper); }
.about-section .container { display: flex; flex-direction: column; gap: 48px; }
.about-heading, .toolkit-heading, .projects-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 34px; }
.about-heading { margin-bottom: 0; }
.about-heading .eyebrow, .toolkit-heading .eyebrow, .contact-inner .eyebrow { margin-bottom: 11px; color: var(--accent-secondary); }
.about-heading h2 { max-width: 700px; color: var(--ink); }
.availability-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(40,33,52,.25); border-radius: 999px; background: rgba(242,239,245,.22); color: var(--accent-secondary); font-size: 10px; font-weight: 600; white-space: nowrap; }
.availability-pill i, .footer-availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(167,139,250,.2); }
.about-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 40px; align-items: start; }
.profile-card { grid-column: span 5; min-height: 555px; align-self: stretch; padding: 24px; border: 1px solid #e1d9e8; border-radius: 13px; background: #f6f3f8; box-shadow: 0 12px 35px rgba(23,19,31,.07); }
.profile-photo { position: relative; height: 320px; margin-bottom: 20px; overflow: hidden; border: 1px solid #e1d9e8; border-radius: 12px; background: #e8e2ed; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-photo > span { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border: 1px solid rgba(242,239,245,.4); border-radius: 999px; background: rgba(23,19,31,.88); color: #f2eff5; font-family: var(--mono); font-size: 9px; }
.profile-card > h3 { margin: 0; color: var(--ink); font-size: 20px; font-weight: 700; }
.profile-role { margin: 4px 0 0; color: #655a6e; font-size: 12px; }
.profile-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); margin: 20px 0 0; padding: 13px 0; border-top: 1px solid #e1d9e8; border-bottom: 1px solid #e1d9e8; }
.profile-stat-grid > div { display: grid; gap: 1px; padding-left: 13px; border-right: 1px solid #e1d9e8; }
.profile-stat-grid > div:first-child { padding-left: 0; }
.profile-stat-grid > div:last-child { border-right: 0; }
.profile-stat-grid strong { color: var(--accent-secondary); font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.profile-stat-grid span { color: #655a6e; font-family: var(--mono); font-size: 8px; }
.about-content { grid-column: span 7; display: flex; min-width: 0; flex-direction: column; gap: 24px; }
.profile-tabs { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 12px; border-bottom: 1px solid #e1d9e8; }
.profile-tab { padding: 8px 13px; border: 1px solid #e1d9e8; border-radius: 999px; background: #e8e2ed; color: var(--ink); font-size: 11px; font-weight: 500; cursor: pointer; transition: all .2s ease; }
.profile-tab:hover, .profile-tab:focus-visible { border-color: var(--accent); }
.profile-tab.is-active { border-color: var(--accent-secondary); background: var(--accent-secondary); color: #ffffff; font-weight: 600; }
.profile-tab-panel { display: flex; flex-direction: column; gap: 24px; }
.profile-tab-panel[hidden] { display: none; }
.profile-tab-panel > p { margin: 0; color: #51465a; font-size: 13px; line-height: 1.7; }
.strength-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.strength-card { display: grid; min-width: 0; min-height: 86px; grid-template-columns: 31px minmax(0,1fr); align-items: start; gap: 12px; padding: 14px; border: 1px solid #e1d9e8; border-radius: 11px; background: #f6f3f8; transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.strength-card:hover { border-color: var(--accent); box-shadow: 0 12px 26px rgba(40,33,52,.1); transform: translateY(-2px); }
.strength-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; background: rgba(167,139,250,.15); color: var(--accent-secondary); font-size: 15px; }
.strength-card h3 { margin: 0 0 4px; color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .025em; }
.strength-card p { margin: 0; color: #655a6e; font-size: 9px; line-height: 1.45; }

.toolkit-section { padding-block: 108px; background: #e8e2ed; border-top: 1px solid #e1d9e8; border-bottom: 1px solid #e1d9e8; }
.toolkit-heading h2 { max-width: 650px; color: var(--ink); }
.verified-stack { display: inline-flex; align-items: center; margin-bottom: 5px; color: var(--accent-secondary); font-size: 10px; font-weight: 600; white-space: nowrap; }
.toolkit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.toolkit-card { min-width: 0; padding: 19px 16px; border: 1px solid #e1d9e8; border-radius: 11px; background: #faf8fc; box-shadow: 0 8px 22px rgba(23,19,31,.05); transition: transform .22s ease,box-shadow .22s ease; }
.toolkit-card:hover { box-shadow: 0 13px 27px rgba(23,19,31,.1); transform: translateY(-3px); }
.toolkit-card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.toolkit-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 9px; background: rgba(242,239,245,.25); color: var(--accent-secondary); font-family: var(--mono); font-size: 14px; }
.toolkit-card-heading h3 { margin: 0 0 2px; color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: .045em; }
.toolkit-card-heading small { color: #655a6e; font-family: var(--mono); font-size: 7px; }
.skill { margin-top: 12px; }
.skill > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; color: var(--ink); font-size: 9px; }
.skill > div b { color: var(--accent-secondary); font-family: var(--mono); font-size: 8px; font-weight: 500; }
.skill > i { display: block; height: 5px; overflow: hidden; border-radius: 9px; background: #e1d9e8; }
.skill > i span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#282134,#a78bfa,#f2eff5); transform-origin: left; animation: skill-grow .9s cubic-bezier(.2,.7,.2,1) both; }

.projects-section { background: radial-gradient(ellipse at 53% 0,rgba(40,33,52,.16),transparent 60%), radial-gradient(ellipse at 20% 80%,rgba(167,139,250,.12),transparent 50%), var(--deep); }
.projects-heading h2 { color: #ffffff; }
.projects-heading .eyebrow { color: var(--accent); }
.text-link { color: #f2eff5; font-size: 10px; }
.text-link span { margin-left: 6px; color: var(--accent); }
.projects-section .container { display: flex; flex-direction: column; gap: 40px; }
.projects-heading { margin-bottom: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(167,139,250,.22); }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.project-card { display: flex; min-height: 295px; flex-direction: column; justify-content: center; padding: 32px; border: 1px solid rgba(167,139,250,.25); border-radius: 16px; background: rgba(32,26,42,.85); transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.project-card:hover { border-color: var(--accent); box-shadow: 0 22px 50px rgba(15,12,22,.55); transform: translateY(-3px); }
.project-copy { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 0; }
.project-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; color: var(--accent); font-family: var(--mono); font-size: 10px; }
.project-topline b { color: var(--accent-bright); font-weight: 500; }
.project-copy h3 { margin: 0; color: #ffffff; font-size: 20px; font-weight: 700; line-height: 1.35; }
.project-copy > p { margin: 0; color: rgba(242,239,245,.88); font-size: 12px; line-height: 1.6; }
.project-copy ul { display: grid; gap: 5px; margin: 0; padding: 0; color: rgba(242,239,245,.92); font-size: 11px; list-style: none; }
.project-copy li::before { margin-right: 8px; color: var(--accent); content: "✓"; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list span { padding: 4px 8px; border: 1px solid rgba(242,239,245,.25); border-radius: 4px; background: rgba(23,19,31,.6); color: #f2eff5; font-family: var(--mono); font-size: 8px; }

.contact-section { padding: 64px 48px; background: var(--light); color: var(--ink); border-top: 1px solid #e8e2ed; }
.contact-inner { display: flex; min-height: 386px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.contact-inner .eyebrow { margin-bottom: 13px; color: var(--accent-secondary); }
.contact-inner h2 { max-width: 700px; margin-bottom: 15px; color: var(--ink); font-size: 36px; }
.contact-inner > p:not(.eyebrow) { max-width: 640px; margin-bottom: 23px; color: #655a6e; font-size: 12px; }
.contact-inner .button { min-width: 162px; }
.contact-socials { display: flex; gap: 22px; margin-top: 21px; }
.contact-socials a { color: var(--accent-secondary); font-size: 10px; font-weight: 600; }
.contact-socials a:hover { color: var(--accent); }
.site-footer { background: #201a2a; border-top: 1px solid rgba(242,239,245,.1); }
.footer-inner { display: grid; min-height: 91px; grid-template-columns: 1fr auto; align-items: center; gap: 10px 20px; padding-block: 15px; }
.footer-brand { min-width: 0; }
.footer-availability { display: inline-flex; align-items: center; gap: 9px; color: rgba(242,239,245,.72); font-size: 9px; }
.footer-copy { color: rgba(242,239,245,.55); font-size: 9px; }
.footer-socials { display: flex; justify-content: flex-end; gap: 16px; }
.footer-socials a { color: rgba(242,239,245,.75); font-size: 9px; }
.footer-socials a:hover { color: var(--accent); }

.consultation-modal { width: min(100% - 32px, 460px); max-width: none; max-height: min(90vh,780px); padding: 0; overflow: auto; border: 1px solid rgba(167,139,250,.35); border-radius: 15px; background: #282134; color: #f2eff5; box-shadow: 0 28px 100px rgba(15,12,22,.75); }
.consultation-modal::backdrop { background: rgba(23,19,31,.82); backdrop-filter: blur(5px); }
.consultation-form { position: relative; display: grid; padding: 30px; }
.modal-close { position: absolute; top: 15px; right: 17px; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(242,239,245,.2); border-radius: 50%; background: transparent; color: #f2eff5; font-size: 20px; cursor: pointer; }
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.consultation-form .eyebrow { margin-bottom: 7px; color: var(--accent); }
.consultation-form h2 { max-width: 360px; margin: 0 30px 8px 0; color: #ffffff; font-size: 21px; line-height: 1.35; }
.modal-description { margin: 0 0 18px; color: rgba(242,239,245,.8); font-size: 11px; line-height: 1.6; }
.date-picker { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 0 0 17px; }
.date-option { padding: 9px 5px; border: 1px solid rgba(242,239,245,.2); border-radius: 7px; background: var(--deep); color: #f2eff5; font-size: 10px; cursor: pointer; }
.date-option:hover, .date-option:focus-visible { border-color: var(--accent); }
.date-option.is-active { border-color: var(--accent); background: var(--accent); color: var(--light); font-weight: 700; }
.consultation-form label { margin: 0 0 5px; color: rgba(242,239,245,.9); font-size: 10px; font-weight: 600; }
.consultation-form input:not([type=hidden]) { width: 100%; min-height: 42px; margin-bottom: 13px; padding: 9px 11px; border: 1px solid rgba(242,239,245,.2); border-radius: 6px; outline: none; background: #17131f; color: #ffffff; font-size: 12px; }
.consultation-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(167,139,250,.2); }
.confirm-booking { width: 100%; margin-top: 4px; border-radius: 8px; background: var(--accent); color: var(--light); }
.confirm-booking:hover, .confirm-booking:focus-visible { background: var(--accent-bright); color: var(--deep); }
.form-note { margin: 10px 0 0; color: rgba(242,239,245,.65); font-size: 9px; text-align: center; }
.form-alert { margin-bottom: 12px; padding: 9px 11px; border: 1px solid rgba(40,33,52,.5); border-radius: 6px; background: rgba(40,33,52,.15); color: #ffb3b3; font-size: 10px; }
.invalid-feedback { margin: -8px 0 10px; color: #ff8888; font-size: 9px; }
.form-success { margin-bottom: 12px; padding: 9px 11px; border: 1px solid rgba(242,239,245,.4); border-radius: 6px; background: rgba(167,139,250,.15); color: var(--accent-bright); font-size: 10px; }

html.js [data-reveal] { opacity: 1; }
html.js [data-reveal].is-visible { animation: reveal-enter .55s ease-out both; }
.workflow-card { animation: tier-arrive .45s both; }
.workflow-card:nth-child(2) { animation-delay: .06s; }
.workflow-card:nth-child(3) { animation-delay: .12s; }
.workflow-card:nth-child(4) { animation-delay: .18s; }
.workflow-card:nth-child(5) { animation-delay: .24s; }
@keyframes status-glow { 50% { box-shadow: 0 0 18px rgba(167,139,250,.92); } }
@keyframes ring-pulse { 50% { transform: translateX(-50%) scale(1.05); opacity: .65; } }
@keyframes tier-arrive { from { opacity: .55; } to { opacity: 1; } }
@keyframes reveal-enter { from { opacity: .6; } to { opacity: 1; } }
@keyframes skill-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1050px) {
    .brand { min-width: 220px; }
    .primary-navigation a { padding-inline: 8px; font-size: 10px; }
    .header-book { min-width: auto; padding-inline: 11px; font-size: 10px; }
    .container { width: min(100% - 40px,1280px); }
    .hero-section, .metrics-strip, .content-section, .contact-section { padding-right: 30px; padding-left: 30px; }
    .metric-item { gap: 9px; padding-inline: 12px; }
    .metric-item > strong { font-size: 24px; }
    .workflow-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .workflow-card { min-height: 220px; }
    .about-layout { gap: 24px; }
    .profile-card { padding: 18px; }
    .workflow-panel { padding: 20px; }
    .architecture-detail { min-height: 0; margin-top: 24px; padding: 20px; }
    .detail-header { align-items: flex-start; flex-direction: column; }
    .tier-tabs { justify-content: flex-start; }
    .toolkit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
    html { scroll-padding-top: 66px; }
    .container { width: min(100% - 32px,600px); }
    .site-header { height: 62px; }
    .brand { min-width: 0; margin-right: auto; }
    .header-inner { gap: 8px; }
    .brand-copy { min-width: 0; }
    .brand-copy strong { max-width: min(150px, calc(100vw - 245px)); overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
    .brand-copy small { font-size: 9px; }
    .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
    .nav-toggle { display: grid; width: 36px; height: 36px; flex: 0 0 36px; align-content: center; gap: 5px; padding: 9px; border: 1px solid rgba(242,239,245,.2); border-radius: 50%; background: transparent; cursor: pointer; }
    .nav-toggle span { height: 1px; background: #f2eff5; transition: transform .2s ease; }
    .nav-toggle[aria-expanded=true] span:first-child { transform: translateY(3px) rotate(45deg); }
    .nav-toggle[aria-expanded=true] span:last-child { transform: translateY(-3px) rotate(-45deg); }
    .primary-navigation { position: absolute; top: 61px; right: 0; left: 0; display: none; height: auto; align-items: stretch; gap: 2px; padding: 10px 16px 15px; border-bottom: 1px solid rgba(242,239,245,.15); background: rgba(23,19,31,.99); }
    .primary-navigation.is-open { display: flex; flex-direction: column; }
    .primary-navigation a { padding: 9px 11px; font-size: 12px; }
    .primary-navigation .nav-current { align-self: flex-start; }
    .header-book { min-height: 34px; padding-inline: 10px; font-size: 9px; }
    .header-book span { display: none; }
    .hero-section { padding: 48px 18px 34px; }
    .hero-layout { min-height: 0; grid-template-columns: 1fr; gap: 27px; }
    .hero-copy { gap: 16px; }
    .availability-label { flex-wrap: wrap; font-size: 8px; }
    .availability-code { font-size: 8px; }
    .hero-copy h1 { max-width: 600px; font-size: clamp(36px,10vw,48px); }
    .hero-description { font-size: 14px; }
    .hero-actions { width: 100%; }
    .hero-actions .button { flex: 1 1 180px; padding-inline: 14px; font-size: 10px; }
    .hero-portrait { min-height: 350px; }
    .portrait-image { object-position: center 20%; }
    .metrics-strip { min-height: 0; padding: 18px; }
    .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .metric-item { min-height: 74px; padding: 9px 10px; border-right: 0; border-bottom: 1px solid #e1d9e8; }
    .metric-item:nth-child(odd) { border-right: 1px solid #e1d9e8; }
    .metric-item:nth-last-child(-n+2) { border-bottom: 0; }
    .metric-item:first-child { padding-left: 10px; }
    .metric-item:last-child { padding-right: 10px; }
    .metric-item > strong { font-size: 23px; }
    .metric-item > strong span { font-size: 15px; }
    .metric-item div b { font-size: 7px; }
    .metric-item div small { font-size: 8px; white-space: normal; }
    .metric-item > i { display: none; }
    .content-section { padding: 66px 18px; }
    .architecture-container { gap: 24px; }
    .architecture-heading { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 0; }
    .architecture-heading h2, .about-heading h2, .toolkit-heading h2, .projects-heading h2 { font-size: 26px; }
    .throughput { font-size: 9px; }
    .workflow-panel { padding: 12px; border-radius: 10px; }
    .workflow-cards { grid-template-columns: 1fr; gap: 8px; }
    .workflow-card { min-height: 136px; padding: 12px; }
    .workflow-card > strong { font-size: 13px; }
    .workflow-description { font-size: 9px; }
    .architecture-detail { min-height: 0; margin-top: 14px; padding: 12px; }
    .detail-header { gap: 12px; padding-bottom: 14px; }
    .detail-title { align-items: flex-start; flex-wrap: wrap; }
    .detail-title > div { flex-basis: calc(100% - 55px); }
    .detail-title h3 { font-size: 14px; }
    .detail-latency { margin-left: 51px; }
    .tier-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
    .tier-tab { padding-inline: 5px; font-size: 8px; }
    .architecture-lists { grid-template-columns: 1fr; gap: 8px; padding: 16px 0; }
    .architecture-list { min-height: 0; gap: 12px; }
    .architecture-list p { font-size: 9px; }
    .diagnostic-terminal { align-items: flex-start; flex-wrap: wrap; }
    .diagnostic-terminal > div { flex-basis: calc(100% - 35px); }
    .diagnostic-terminal > strong { margin-left: auto; }
    .telemetry { align-items: flex-start; flex-direction: column; gap: 8px; }
    .telemetry > span { width: 100%; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
    .telemetry > div { flex-wrap: wrap; gap: 6px; white-space: normal; }
    .about-section .container { gap: 24px; }
    .about-heading, .toolkit-heading, .projects-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 23px; }
    .about-heading { margin-bottom: 0; }
    .availability-pill { font-size: 9px; }
    .about-layout { grid-template-columns: 1fr; gap: 12px; }
    .profile-card, .about-content { grid-column: 1; }
    .profile-card { min-height: 0; padding: 16px; }
    .profile-photo { height: 300px; }
    .profile-card > h3 { font-size: 17px; }
    .profile-role { font-size: 10px; }
    .profile-stat-grid strong { font-size: 21px; }
    .profile-tab { padding: 6px 9px; font-size: 8px; }
    .profile-tab-panel { gap: 14px; }
    .profile-tab-panel > p { font-size: 11px; }
    .strength-grid { gap: 8px; }
    .strength-card { min-height: 0; grid-template-columns: 29px minmax(0,1fr); gap: 9px; padding: 11px; }
    .strength-card h3 { font-size: 8px; }
    .strength-card p { font-size: 8px; }
    .toolkit-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .toolkit-card { padding: 13px 11px; }
    .toolkit-card-heading { align-items: flex-start; gap: 7px; }
    .toolkit-icon { width: 29px; height: 29px; flex-basis: 29px; }
    .toolkit-card-heading h3 { font-size: 8px; }
    .toolkit-card-heading small { font-size: 7px; }
    .skill { margin-top: 11px; }
    .skill > div { font-size: 8px; }
    .skill > div b { font-size: 7px; }
    .verified-stack { font-size: 9px; }
    .project-grid { grid-template-columns: 1fr; gap: 12px; }
    .projects-section .container { gap: 24px; }
    .project-card { min-height: 0; padding: 20px; }
    .projects-heading .text-link { font-size: 9px; }
    .project-copy { gap: 10px; }
    .project-copy h3 { font-size: 16px; }
    .project-copy > p { min-height: 0; }
    .contact-section { padding: 48px 18px; }
    .contact-inner { min-height: 340px; }
    .contact-inner h2 { font-size: 29px; }
    .contact-inner > p:not(.eyebrow) { font-size: 11px; }
    .footer-inner { grid-template-columns: 1fr; justify-items: start; gap: 12px; padding-block: 19px; }
    .footer-copy { order: 4; }
    .footer-socials { justify-content: flex-start; }
    .consultation-form { padding: 25px 20px 20px; }
    .consultation-form h2 { font-size: 19px; }
}

@media (max-width: 380px) {
    .container { width: min(100% - 24px,600px); }
    .brand-copy strong { font-size: 10px; }
    .brand-copy small { font-size: 8px; }
    .header-inner { gap: 7px; }
    .header-book { padding-inline: 8px; font-size: 8px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button { flex-basis: auto; width: 100%; justify-content: space-between; }
    .metric-item { grid-template-columns: auto 1fr; }
    .strength-grid, .toolkit-grid { grid-template-columns: 1fr; }
    .strength-card { min-height: 0; }
    .toolkit-card { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html.js [data-reveal] { opacity: 1; }
}
