:root {
  --paper: #f3f0e8;
  --paper-bright: #fbfaf6;
  --ink: #111820;
  --ink-soft: #3d4650;
  --muted: #69717a;
  --line: rgba(17, 24, 32, .17);
  --line-dark: rgba(255, 255, 255, .18);
  --navy: #101d2b;
  --navy-deep: #09131e;
  --blue: #2457ff;
  --blue-light: #9db1ff;
  --aqua: #8ddbd4;
  --warm: #d56d45;
  --max: 1220px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, Aptos, 'Segoe UI', Helvetica, Arial, sans-serif;
  --display: 'Space Grotesk', Inter, Aptos, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { position: relative; isolation: isolate; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body > *:not(.portfolio-flow-field):not(.portfolio-fluid-field):not(.portfolio-reference-video):not(.vanta-canvas) { position: relative; z-index: 3; }
body > .portfolio-reference-video { position: fixed; z-index: 2; }
body > .vanta-canvas { position: fixed !important; inset: 0 !important; z-index: 0 !important; width: 100vw !important; height: 100vh !important; }
.smoke-controls { display: none; position: fixed; top: 20px; right: 20px; z-index: 20; width: 230px; padding: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(9,19,30,.9); color: white; box-shadow: 0 16px 40px rgba(0,0,0,.18); font-family: var(--mono); font-size: 10px; }
.smoke-controls-toggle { display: flex; justify-content: space-between; width: 100%; padding: 4px 2px 9px; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); background: none; color: white; font: inherit; text-align: left; }
.smoke-controls-body { display: grid; gap: 9px; padding-top: 10px; }
.smoke-controls-body p { margin: 0 0 2px; color: rgba(255,255,255,.55); line-height: 1.45; }
.smoke-controls label { display: grid; gap: 4px; color: rgba(255,255,255,.8); }
.smoke-controls label span { display: flex; justify-content: space-between; }
.smoke-controls output { color: var(--aqua); }
.smoke-controls input[type='range'] { width: 100%; accent-color: var(--aqua); }
.smoke-color-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.smoke-color-row label { display: flex; align-items: center; justify-content: space-between; }
.smoke-color-row input { width: 28px; height: 20px; padding: 0; border: 0; background: none; }
.smoke-reset { padding: 7px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: white; font: inherit; }
.smoke-reset:hover { border-color: var(--aqua); color: var(--aqua); }
.smoke-controls.is-collapsed .smoke-controls-body { display: none; }
#main-content { position: relative; isolation: isolate; }
#main-content > *:not(.vanta-canvas) { position: relative; z-index: 1; }
#main-content > .vanta-canvas { position: absolute !important; inset: 0 !important; z-index: 0 !important; width: 100% !important; height: 100% !important; }
.portfolio-flow-field { position: fixed; inset: -4%; z-index: 2; width: 108%; height: 108%; pointer-events: none; opacity: .82; mix-blend-mode: screen; transform: scale(1.04); animation: portfolio-flow-pan 14s ease-in-out infinite alternate; will-change: transform; }
.portfolio-fluid-field { position: fixed; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: .94; }
.portfolio-reference-video { display: none; position: fixed; top: 50%; left: 50%; z-index: 2; width: 177.78vh; min-width: 100vw; height: 56.25vw; min-height: 100vh; border: 0; pointer-events: none; transform: translate(-50%, -50%) scale(1.12); }
body.youtube-reference .portfolio-reference-video { display: block; }
body.youtube-reference .portfolio-fluid-field, body.youtube-reference .portfolio-flow-field, body.youtube-reference::after { display: none; }
body.youtube-reference .hero-stage { background: rgba(3, 12, 23, .42); background-image: none; animation: none; }
body.youtube-reference .flagship, body.youtube-reference .contact { background: rgba(3, 12, 23, .72); }
body:not(.vanta-ready) .portfolio-flow-field { display: none; }
body.fluid-fallback .portfolio-flow-field { display: block; inset: 0; width: 100%; height: 100%; opacity: 1; mix-blend-mode: normal; animation: none; }
body.fluid-fallback .portfolio-fluid-field { display: none; }
@keyframes portfolio-flow-pan { from { transform: translate3d(-2%, 1%, 0) scale(1.04); } to { transform: translate3d(2%, -2%, 0) scale(1.12); } }
body::after { position: fixed; inset: -18%; z-index: 0; background: radial-gradient(ellipse at 22% 42%, rgba(62, 137, 183, .16), transparent 34%), radial-gradient(ellipse at 76% 34%, rgba(116, 204, 211, .13), transparent 30%), radial-gradient(ellipse at 56% 78%, rgba(35, 91, 148, .12), transparent 34%); content: ''; filter: blur(42px); opacity: .7; pointer-events: none; animation: portfolio-smoke-clouds 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes portfolio-smoke-clouds { from { transform: translate3d(-3%, 2%, 0) scale(1); } to { transform: translate3d(4%, -3%, 0) scale(1.12); } }
body.vanta-ready .portfolio-flow-field, body.vanta-ready::after { display: none; }
body.vanta-ready .hero-stage { background-color: rgba(39, 52, 85, .08); background-image: none; animation: none; }
body.vanta-ready .flagship, body.vanta-ready .contact { background: rgba(39, 52, 85, .14); }
body.vanta-ready .work-card, body.vanta-ready .layer-card-accent { background: rgba(251, 250, 246, .72); }
body.vanta-ready .hero-stage::before { display: none; }
body:not(.vanta-ready) .hero-stage { background-color: rgba(9, 19, 30, .36); background-image: linear-gradient(90deg, rgba(3, 12, 23, .7), rgba(3, 12, 23, .24)); animation: none; }
body:not(.vanta-ready) .hero-stage::before { display: none; }
body:not(.vanta-ready) .flagship, body:not(.vanta-ready) .contact { background: rgba(9, 19, 30, .72); }
a { color: inherit; text-decoration: none; }
button, a { cursor: pointer; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--blue); color: white; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; width: 100%; min-height: 88px; margin-inline: 0; padding-inline: max(32px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.16); border-top: 0; border-inline: 0; background: rgba(7, 18, 32, .72); color: white; box-shadow: 0 12px 34px rgba(0,0,0,.14); backdrop-filter: blur(16px); }
.identity { display: inline-flex; align-items: center; gap: 13px; min-height: 48px; }
.identity-mark { display: grid; place-items: center; width: 39px; height: 39px; overflow: hidden; border: 1px solid var(--ink); border-radius: 50%; background: var(--navy); }
.identity-mark img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.identity-copy { display: grid; gap: 3px; }
.identity-copy strong { font-size: 14px; letter-spacing: -.01em; }
.identity-copy small { color: rgba(255,255,255,.58); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 46px; color: rgba(255,255,255,.86); font-size: 14px; font-weight: 600; transition: color .2s ease, transform .2s ease; }
.desktop-nav a:hover { color: var(--aqua); transform: translateY(-1px); }
.desktop-nav .nav-contact { gap: 10px; min-height: 43px; padding: 0 18px; border: 1px solid rgba(255,255,255,.48); border-radius: 999px; color: white; transition: background .2s ease, color .2s ease; }
.desktop-nav .nav-contact:hover { background: var(--ink); color: white; }
.menu-toggle, .mobile-nav { display: none; }

.section-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 34px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.section-label span { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); }
.section-label span::before { width: 28px; height: 1px; background: currentColor; content: ''; }
.section-label b { color: var(--muted); font-weight: 500; }
.section-label-inverse span { color: var(--aqua); }
.section-label-inverse b { color: rgba(255, 255, 255, .48); }

.hero-stage {
  position: relative;
  overflow: hidden;
  background-color: rgba(9, 19, 30, .68);
  background-image:
    linear-gradient(90deg, rgba(3, 12, 23, .84) 0%, rgba(3, 12, 23, .62) 46%, rgba(3, 12, 23, .44) 100%),
    linear-gradient(180deg, rgba(2, 9, 18, .06), rgba(2, 9, 18, .3)),
    url('/assets/portfolio-smoke-background.png');
  background-position: center, center, 0% 50%;
  background-size: cover, cover, 140% 140%;
  animation: hero-background-pan 12s ease-in-out infinite alternate;
  color: white;
  isolation: isolate;
}
@keyframes hero-background-pan { from { background-position: center, center, 0% 48%; } to { background-position: center, center, 100% 52%; } }
.hero-stage::before {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image:
    radial-gradient(ellipse at 22% 68%, rgba(53, 142, 194, .34), transparent 42%),
    radial-gradient(ellipse at 76% 32%, rgba(122, 220, 220, .28), transparent 38%),
    radial-gradient(ellipse at 58% 76%, rgba(42, 86, 154, .32), transparent 46%),
    linear-gradient(115deg, rgba(5, 24, 38, .12), rgba(102, 198, 190, .1), rgba(3, 12, 23, .18)),
    url('/assets/portfolio-smoke-background.png');
  background-position: 0% 0%, 100% 0%, 50% 100%, center, center;
  background-size: 135% 135%, 125% 125%, 145% 145%, cover, cover;
  content: '';
  filter: blur(18px) saturate(1.25);
  mix-blend-mode: screen;
  opacity: .82;
  pointer-events: none;
  transform: translate3d(var(--smoke-x, 0px), var(--smoke-y, 0px), 0) scale(1.08);
  transform-origin: center;
  animation: hero-smoke-drift 7s ease-in-out infinite;
  will-change: transform;
}
.hero-stage.flow-field-ready::before, body.flow-field-ready .hero-stage::before { opacity: .66; }
.hero-stage > * { position: relative; z-index: 1; }
@keyframes hero-smoke-drift {
  0%, 100% { transform: translate3d(calc(var(--smoke-x, 0px) - 7%), calc(var(--smoke-y, 0px) + 4%), 0) scale(1.08) rotate(-1.4deg); }
  50% { transform: translate3d(calc(var(--smoke-x, 0px) + 7%), calc(var(--smoke-y, 0px) - 6%), 0) scale(1.2) rotate(1.8deg); }
}
.hero-stage::after { position: absolute; inset: auto 0 0; z-index: -1; height: 1px; background: rgba(141, 219, 212, .28); content: ''; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(430px, .75fr); gap: 84px; align-items: center; min-height: 690px; padding-block: 80px 76px; }
.hero::after { grid-column: 2; grid-row: 1; align-self: center; justify-self: center; width: min(100%, 390px); aspect-ratio: 1; border: 1px solid rgba(55,200,255,.78); border-radius: 48% 52% 46% 54%; background: radial-gradient(circle at 49% 48%, rgba(255,255,255,.9) 0 1.4%, rgba(55,200,255,.95) 2.2%, rgba(125,77,255,.65) 8%, transparent 18%), conic-gradient(from 24deg, transparent 0 12%, rgba(55,200,255,.68) 15%, transparent 22% 39%, rgba(255,112,67,.58) 43%, transparent 50% 67%, rgba(125,77,255,.78) 72%, transparent 80%), repeating-radial-gradient(ellipse at 50% 50%, transparent 0 12%, rgba(141,219,212,.25) 12.5% 13%, transparent 13.5% 22%), linear-gradient(90deg, transparent 49.7%, rgba(55,200,255,.18) 50%, transparent 50.3%), linear-gradient(0deg, transparent 49.7%, rgba(125,77,255,.18) 50%, transparent 50.3%), radial-gradient(ellipse at 50% 50%, rgba(12,35,68,.94), rgba(4,12,27,.98) 68%); background-size: auto, auto, auto, 100% 100%, 100% 100%, auto; box-shadow: 0 0 0 8px rgba(7,18,32,.84), 0 0 0 10px rgba(125,77,255,.72), 0 0 42px rgba(55,200,255,.28), inset 0 0 42px rgba(55,200,255,.2), 0 24px 58px rgba(0,0,0,.38); content: ''; transform: translate(-3%, -230px) rotate(-7deg); animation: hero-field-pulse 10s ease-in-out infinite; }
@keyframes hero-field-pulse { 0%, 100% { border-radius: 48% 52% 46% 54%; transform: translate(-3%, -230px) rotate(-7deg) scale(1); } 50% { border-radius: 54% 46% 52% 48%; transform: translate(-3%, -230px) rotate(5deg) scale(1.035); } }
.hero-stage .section-label span { color: var(--aqua); }
.hero::after { display: none; }
.hero-visual { position: relative; grid-column: 2; grid-row: 1; align-self: center; justify-self: center; width: min(100%, 430px); aspect-ratio: 1 / .9; transform: translate(-2%, -300px); perspective: 900px; }
.hero-visual-grid { position: absolute; inset: 13% 8% 9%; border: 1px solid rgba(55,200,255,.55); background-image: linear-gradient(rgba(55,200,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(55,200,255,.22) 1px, transparent 1px); background-size: 30px 30px; box-shadow: 0 0 32px rgba(55,200,255,.18), inset 0 0 35px rgba(55,200,255,.12); transform: rotateX(58deg) rotateZ(-8deg) translateZ(-20px); transform-origin: center center; animation: hero-grid-drift 9s ease-in-out infinite; }
.hero-visual-orbit { position: absolute; left: 50%; top: 50%; width: 78%; height: 30%; border: 1px solid rgba(141,219,212,.64); border-radius: 50%; box-shadow: 0 0 20px rgba(55,200,255,.16); transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-14deg); }
.hero-visual-orbit-a { animation: hero-orbit-a 8s linear infinite; }
.hero-visual-orbit-b { width: 65%; height: 43%; border-color: rgba(125,77,255,.72); transform: translate(-50%, -50%) rotateX(68deg) rotateY(40deg) rotateZ(18deg); animation: hero-orbit-b 11s linear infinite reverse; }
.hero-visual-core { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; border: 1px solid rgba(255,255,255,.76); border-radius: 50%; background: radial-gradient(circle, #fff 0 4%, #37c8ff 8%, rgba(55,200,255,.45) 24%, rgba(125,77,255,.22) 53%, transparent 70%); box-shadow: 0 0 18px #37c8ff, 0 0 60px rgba(125,77,255,.9), inset 0 0 22px rgba(255,255,255,.8); transform: translate(-50%, -50%) translateZ(50px); animation: hero-core-pulse 3.4s ease-in-out infinite; }
.hero-visual-signal { position: absolute; left: 50%; top: 50%; width: 44%; height: 2px; transform-origin: left center; box-shadow: 0 0 13px currentColor; }
.hero-visual-signal-a { color: #37c8ff; background: linear-gradient(90deg, #37c8ff, transparent); transform: rotate(-18deg) translateZ(45px); animation: hero-signal-a 4.5s ease-in-out infinite; }
.hero-visual-signal-b { color: #ff7043; background: linear-gradient(90deg, #ff7043, transparent); transform: rotate(102deg) translateZ(40px); animation: hero-signal-b 5.2s ease-in-out infinite; }
.hero-visual-label { position: absolute; color: rgba(141,219,212,.78); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.hero-visual-label-a { top: 10%; right: 6%; }.hero-visual-label-b { bottom: 7%; left: 8%; color: rgba(255,255,255,.48); }
@keyframes hero-grid-drift { 0%,100% { transform: rotateX(58deg) rotateZ(-8deg) translate3d(0,0,-20px); } 50% { transform: rotateX(61deg) rotateZ(-4deg) translate3d(8px,-8px,-20px); } }
@keyframes hero-orbit-a { to { transform: translate(-50%, -50%) rotateX(64deg) rotateZ(346deg); } }
@keyframes hero-orbit-b { to { transform: translate(-50%, -50%) rotateX(68deg) rotateY(40deg) rotateZ(-342deg); } }
@keyframes hero-core-pulse { 0%,100% { transform: translate(-50%,-50%) translateZ(50px) scale(.9); } 50% { transform: translate(-50%,-50%) translateZ(50px) scale(1.12); } }
@keyframes hero-signal-a { 0%,100% { opacity: .5; transform: rotate(-18deg) translateZ(45px) scaleX(.72); } 50% { opacity: 1; transform: rotate(-10deg) translateZ(45px) scaleX(1.08); } }
@keyframes hero-signal-b { 0%,100% { opacity: .45; transform: rotate(102deg) translateZ(40px) scaleX(.65); } 50% { opacity: .95; transform: rotate(112deg) translateZ(40px) scaleX(1); } }
.hero-visual:has(.hero-a2-root) { overflow: hidden; border: 1px solid rgba(120,189,255,.28); background: radial-gradient(circle at 70% 46%, rgba(24,105,222,.24), transparent 32%), linear-gradient(145deg, rgba(1,4,10,.5), rgba(7,19,35,.78)); box-shadow: 0 0 0 8px rgba(7,18,32,.45), 0 0 34px rgba(55,200,255,.14), 0 25px 55px rgba(0,0,0,.26); transform: translate(-2%, -298px); }
.hero-a2-root { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: radial-gradient(at 78% 54%, rgba(24,105,222,.3), transparent 30%), linear-gradient(135deg, #01040a, #071323 52%, #020711); }
.hero-a2-root canvas { display: block; width: 100% !important; height: 100% !important; opacity: .95; }
.hero-a2-controls { display: none; }
.hero-stage > .portfolio-a2-field { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: radial-gradient(at 74% 40%, rgba(24,105,222,.28), transparent 34%), linear-gradient(135deg, #01040a, #071323 52%, #020711); }
.portfolio-a2-field canvas { display: block; width: 100% !important; height: 100% !important; opacity: .92; mix-blend-mode: screen; }
.portfolio-a2-field .hero-a2-controls { display: none; }
.portfolio-fluid-field { opacity: .94; filter: none; mix-blend-mode: normal; }
.hero-stage::before { display: block; z-index: 0; background: linear-gradient(90deg, rgba(3,12,23,.84) 0%, rgba(3,12,23,.6) 34%, rgba(3,12,23,.2) 66%, rgba(3,12,23,.08) 100%), linear-gradient(180deg, rgba(3,12,23,.2), rgba(3,12,23,.2)); content: ''; pointer-events: none; }
body:not(.vanta-ready) .hero-stage::before { display: block; z-index: 0; background: linear-gradient(90deg, rgba(3,12,23,.84) 0%, rgba(3,12,23,.6) 34%, rgba(3,12,23,.2) 66%, rgba(3,12,23,.08) 100%), linear-gradient(180deg, rgba(3,12,23,.2), rgba(3,12,23,.2)); }
body:not(.vanta-ready) .hero-stage { background: transparent; background-image: none; }
body:not(.vanta-ready) .hero-stage > .portfolio-a2-field { background: transparent; }
body:not(.vanta-ready) .hero-stage::before { background: linear-gradient(90deg, rgba(3,12,23,.24) 0%, rgba(3,12,23,.125) 34%, rgba(3,12,23,.03) 68%, transparent 100%); }
.hero-stage .section-label b { color: rgba(255, 255, 255, .5); }
.hero-copy h1 { max-width: 820px; margin: 0 0 38px; color: var(--aqua); font-family: var(--display); font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; letter-spacing: -.045em; line-height: 1.15; }
.hero-copy h1 em { display: block; font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
.hero-greeting { margin: -2px 0 10px; color: white; font-family: var(--serif); font-size: clamp(50px, 6vw, 78px); letter-spacing: -.045em; line-height: .96; }
.hero-intro { max-width: 660px; margin: 0; color: rgba(255, 255, 255, .75); font-size: 18px; line-height: 1.68; }
.hero-support { max-width: 760px; margin: 0 0 24px; color: white; font-family: var(--serif); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.12); }
.hero-proof span { display: grid; gap: 7px; min-height: 78px; padding: 15px 14px; background: rgba(7,18,32,.52); }
.hero-proof strong { color: white; font-size: 15px; letter-spacing: -.02em; }
.hero-proof small { color: rgba(255,255,255,.5); font-family: var(--mono); font-size: 8px; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; }
.stack-showcase-hero { display: grid !important; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.hero-actions, .hero-proof { display: none !important; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; padding: 0 20px; border: 1px solid transparent; font-size: 13px; font-weight: 700; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--blue); }
.button-line { border-color: var(--line); background: rgba(255, 255, 255, .25); }
.button-line:hover { border-color: var(--ink); }
.hero-stage .button-dark { background: var(--blue); }
.hero-stage .button-dark:hover { background: #1745df; }
.hero-stage .button-live { border-color: rgba(141, 219, 212, .58); background: rgba(141, 219, 212, .1); color: white; }
.hero-stage .button-live:hover { border-color: var(--aqua); background: rgba(141, 219, 212, .2); }
.hero-stage .button-line { border-color: rgba(255, 255, 255, .45); background: rgba(3, 12, 23, .28); color: white; backdrop-filter: blur(8px); }
.hero-stage .button-line:hover { border-color: white; background: rgba(255, 255, 255, .1); }
.availability { display: flex; align-items: center; gap: 10px; margin: 30px 0 0; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.55; }
.availability > span { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #2b9b6d; box-shadow: 0 0 0 4px rgba(43, 155, 109, .12); }

.system-card { display: none; margin: 0; overflow: hidden; border: 1px solid rgba(141, 219, 212, .26); background: rgba(16, 29, 43, .94); color: white; box-shadow: 18px 24px 0 rgba(0, 0, 0, .2); backdrop-filter: blur(12px); }
.validation-card { display: none; margin: 0; overflow: hidden; border: 1px solid rgba(141, 219, 212, .26); background: rgba(16, 29, 43, .94); color: white; box-shadow: 18px 24px 0 rgba(0, 0, 0, .2); backdrop-filter: blur(12px); }
.validation-card figcaption { display: flex; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line-dark); color: rgba(255,255,255,.52); font-family: var(--mono); font-size: 8px; letter-spacing: .11em; }
.validation-chart { position: relative; padding: 32px 20px 0; }
.validation-chart svg { width: 100%; height: auto; overflow: visible; }
.chart-grid { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; }
.chart-axis { fill: none; stroke: rgba(255,255,255,.34); stroke-width: 1; }
.chart-measured, .chart-predicted { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 4; }
.chart-measured { stroke: var(--aqua); }
.chart-predicted { stroke: #ff7043; stroke-dasharray: 8 8; animation: chart-dash 5s linear infinite; }
@keyframes chart-dash { to { stroke-dashoffset: -80; } }
.chart-marker { fill: rgba(255,112,67,.18); stroke: #ff7043; stroke-width: 1.5; animation: chart-pulse 2s ease-in-out infinite; }
.chart-marker-dot { fill: #ff7043; }
@keyframes chart-pulse { 50% { transform: scale(1.35); transform-origin: 304px 128px; } }
.chart-label { position: absolute; right: 20px; color: rgba(255,255,255,.58); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.chart-label-measured { top: 40px; color: var(--aqua); }
.chart-label-predicted { top: 57px; color: #ff9b7b; }
.validation-readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 20px 0; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.1); }
.validation-readout span { display: grid; gap: 6px; }
.validation-readout small { color: rgba(255,255,255,.42); font-family: var(--mono); font-size: 7px; letter-spacing: .08em; }
.validation-readout strong { color: white; font-size: 13px; }
.system-card figcaption { display: flex; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, .52); font-family: var(--mono); font-size: 8px; letter-spacing: .11em; }
.system-flow { position: relative; margin: 0; padding: 19px 24px 16px; list-style: none; }
.system-flow::before { position: absolute; top: 43px; bottom: 43px; left: 47px; width: 1px; background: linear-gradient(var(--aqua), var(--blue-light), var(--warm)); content: ''; }
.system-flow li { position: relative; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; min-height: 70px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.system-flow li { opacity: .55; transition: opacity .35s ease, transform .35s ease, background .35s ease; }
.system-flow li.is-active { opacity: 1; background: linear-gradient(90deg, rgba(141,219,212,.08), transparent); transform: translateX(5px); }
.system-flow li:last-child { border-bottom: 0; }
.flow-index { position: relative; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--aqua); border-radius: 50%; background: var(--navy); color: var(--aqua); font-family: var(--mono); font-size: 7px; }
.system-flow div { display: grid; gap: 5px; }
.system-flow strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.system-flow small { color: rgba(255, 255, 255, .55); font-size: 10px; }
.system-flow i { color: rgba(255, 255, 255, .34); font-family: var(--mono); font-size: 8px; font-style: normal; letter-spacing: .05em; text-transform: uppercase; }
.system-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-top: 1px solid var(--line-dark); background: var(--navy-deep); color: rgba(255, 255, 255, .62); font-size: 10px; }
.system-card-footer svg { width: 48px; flex: 0 0 auto; }
.system-card-footer path { fill: none; stroke: var(--aqua); stroke-width: 1.2; }

.model-glimpse { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr); gap: 72px; padding-block: 112px 118px; }
.model-glimpse-heading { align-self: start; position: sticky; top: 32px; }
.model-glimpse-heading h2 { max-width: 390px; margin: 0 0 20px; font-family: var(--serif); font-size: clamp(40px, 4.2vw, 58px); font-weight: 400; letter-spacing: -.06em; line-height: .98; }
.model-glimpse-heading > p:last-child { max-width: 330px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.model-figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; perspective: 1400px; }
.model-figure-card { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(55, 200, 255, .32); background: linear-gradient(145deg, rgba(18, 38, 66, .96), rgba(5, 12, 25, .98)); color: white; box-shadow: 14px 18px 0 rgba(5, 12, 25, .22), 0 22px 42px rgba(3, 10, 24, .24), inset 0 0 42px rgba(55, 200, 255, .06); transform: none; transform-style: preserve-3d; transition: transform .35s ease, box-shadow .35s ease; }
.model-figure-card:nth-child(2) { border-color: rgba(125, 77, 255, .42); }
.model-figure-card::before { position: absolute; inset: 12px; border: 1px solid rgba(141, 219, 212, .16); content: ''; pointer-events: none; transform: translateZ(18px); }
.model-figure-card::after { position: absolute; right: 18px; bottom: 17px; width: 42px; height: 42px; border-right: 1px solid rgba(55, 200, 255, .42); border-bottom: 1px solid rgba(55, 200, 255, .42); content: ''; pointer-events: none; transform: translateZ(18px); }
.model-figure-card:hover { box-shadow: 18px 23px 0 rgba(5, 12, 25, .18), 0 28px 54px rgba(3, 10, 24, .3), inset 0 0 50px rgba(55, 200, 255, .1); transform: translateY(-4px); }
.model-figure-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-dark); color: var(--aqua); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.model-figure-meta b { color: rgba(255, 255, 255, .42); font-weight: 500; }
.model-figure-media { position: relative; display: grid; min-height: 290px; place-items: center; overflow: hidden; padding: 24px 22px 20px; background: radial-gradient(circle at 50% 38%, rgba(55, 200, 255, .2), transparent 52%), linear-gradient(155deg, rgba(36, 87, 255, .18), rgba(9, 19, 30, .3)); perspective: 850px; }
.model-figure-media::before { position: absolute; inset: 12% 7% 8%; background-image: linear-gradient(rgba(55, 200, 255, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(55, 200, 255, .3) 1px, transparent 1px); background-size: 24px 24px; content: ''; opacity: .72; transform: perspective(420px) rotateX(64deg) rotateZ(-7deg) scale(1.22); transform-origin: center bottom; }
.model-figure-media::after { position: absolute; inset: 9% 8% 8%; border: 1px solid rgba(141, 219, 212, .34); box-shadow: 0 0 28px rgba(55, 200, 255, .18), inset 0 0 22px rgba(55, 200, 255, .08); content: ''; pointer-events: none; transform: translateZ(8px); }
.model-figure-media img { position: relative; z-index: 1; width: 100%; height: auto; object-fit: contain; filter: saturate(1.12) contrast(1.06) drop-shadow(0 16px 12px rgba(0, 0, 0, .36)); transform: translateZ(10px); }
.model-figure-card:nth-child(2) .model-figure-media img { filter: saturate(1.18) contrast(1.08) drop-shadow(0 18px 14px rgba(0, 0, 0, .42)); }
.model-figure-card figcaption { display: grid; gap: 6px; padding: 16px 18px 19px; border-top: 1px solid var(--line-dark); }
.model-figure-card figcaption strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.model-figure-card figcaption span { color: rgba(255, 255, 255, .48); font-size: 10px; }

.stack-showcase { display: grid; gap: 28px; padding-block: 104px 118px; overflow: hidden; }
.stack-showcase-hero { width: calc(100vw - 64px); max-width: none; gap: 8px; padding: 18px 0 0; overflow: visible; }
.stack-showcase-hero .stack-heading { grid-template-columns: 1fr; gap: 10px; }
.stack-showcase-hero .stack-heading .section-label { grid-column: auto; margin: 0; }
.stack-showcase-hero .stack-heading .section-label { display: none; }
.stack-showcase-hero .stack-heading h2 { max-width: none; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.25; text-transform: uppercase; }
.stack-showcase-hero .stack-heading > p:last-child { display: none; }
.stack-showcase-hero .stack-marquee { width: 100%; margin-left: 0; }
.stack-showcase-hero .stack-track span { min-height: 34px; padding: 0 11px; font-size: 8px; }
.stack-showcase-hero .stack-marquee { border-block: 1px solid rgba(104,181,218,.42); background: linear-gradient(180deg, rgba(9,41,82,.98), rgba(5,27,59,.98)); box-shadow: inset 0 0 24px rgba(73,163,215,.16); }
.stack-showcase-hero .stack-marquee::before { position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(180deg, transparent 0 8px, rgba(255,255,255,.035) 9px, transparent 10px); content: ''; pointer-events: none; }
.stack-showcase-hero .stack-marquee::after { position: absolute; top: 5px; left: 11px; z-index: 2; color: rgba(141,219,212,.68); font-family: var(--mono); font-size: 7px; letter-spacing: .12em; content: 'SOFTWARE / SIMULATION / MACHINE LEARNING'; pointer-events: none; }
.stack-showcase-hero .stack-marquee:nth-of-type(3)::after { color: rgba(255,155,123,.72); content: 'SIMULATION / ANALYSIS'; }
.stack-showcase-hero .stack-marquee:nth-of-type(4)::after { color: rgba(141,219,212,.72); content: 'MACHINE LEARNING / TOOLS'; }
.stack-showcase-hero .stack-marquee { padding-top: 16px; }
.stack-showcase-hero .stack-track { gap: 8px; animation-duration: 23s; }
.stack-showcase-hero .stack-marquee-secondary .stack-track { animation-duration: 31s; }
.stack-showcase-hero .stack-track { align-items: stretch; flex-wrap: nowrap; gap: 16px; }
.stack-showcase-hero .stack-track span { position: relative; flex: 0 0 auto; flex-direction: column; justify-content: center; min-width: 88px; min-height: 64px; padding: 7px 8px; border: 1px solid rgba(8,52,93,.42); border-radius: 8px; background: linear-gradient(145deg, rgba(196,234,246,.98), rgba(133,198,227,.96)); box-shadow: 0 4px 14px rgba(2,18,45,.24); color: #082f5d; font-size: 8px; text-align: center; white-space: nowrap; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.stack-showcase-hero .stack-marquee-secondary .stack-track span, .stack-showcase-hero .stack-marquee-ml .stack-track span { border-color: rgba(8,52,93,.42); background: linear-gradient(145deg, rgba(196,234,246,.98), rgba(133,198,227,.96)); box-shadow: 0 4px 14px rgba(2,18,45,.24); color: #082f5d; }
.stack-showcase-hero .stack-track span:hover { border-color: rgba(5,39,79,.82); background: linear-gradient(145deg, rgba(218,244,251,.99), rgba(157,213,234,.98)); transform: translateY(-4px); }
.stack-showcase-hero .stack-track span::before { width: 22px; height: 22px; margin: 0 0 5px; }
.stack-showcase-hero .stack-marquee-ml::after { color: rgba(190,145,255,.78); }
.stack-showcase-hero .stack-track span[data-logo]::before { background-image: var(--logo-image); }
.stack-showcase-hero .stack-track span[data-logo="python"]::before { --logo-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/python/python-original.svg'); }
.stack-showcase-hero .stack-track span[data-logo="matlab"]::before { --logo-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/matlab/matlab-original.svg'); }
.stack-showcase-hero .stack-track span[data-logo="streamlit"]::before { --logo-image: url('https://cdn.simpleicons.org/streamlit/ff4b4b'); }
.stack-showcase-hero .stack-track span[data-logo="csharp"]::before { --logo-image: url('https://upload.wikimedia.org/wikipedia/commons/4/4f/Csharp_Logo.png?utm_source=commons.wikimedia.org&utm_campaign=index&utm_content=original'); }
.stack-showcase-hero .stack-track span[data-logo="dotnet"]::before { --logo-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/dotnetcore/dotnetcore-original.svg'); }
.stack-showcase-hero .stack-track span[data-logo="blazor"]::before { --logo-image: url('https://cdn.simpleicons.org/blazor/512bd4'); }
.stack-showcase-hero .stack-track span[data-logo="mongodb"]::before { --logo-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/mongodb/mongodb-original.svg'); }
.stack-showcase-hero .stack-track span[data-logo="json"]::before { --logo-image: url('https://cdn.simpleicons.org/json/ffb13b'); }
.stack-showcase-hero .stack-track span[data-logo="hdfgroup"]::before { --logo-image: url('https://cdn.simpleicons.org/hdfgroup/37c8ff'); }
.stack-showcase-hero .stack-track span[data-logo="git"]::before { --logo-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/git/git-original.svg'); }
.stack-showcase-hero .stack-track span[data-logo="azuredevops"]::before { --logo-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/azuredevops/azuredevops-original.svg'); }
.stack-showcase-hero .stack-track span[data-logo="ansys"]::before { --logo-image: url('/assets/ansys-logo.png'); }
.stack-showcase-hero .stack-track span[data-logo="fluent"]::before { --logo-image: url('/assets/ansys-logo.png'); }
.stack-showcase-hero .stack-track span[data-logo="abaqus"]::before { --logo-image: url('/assets/abaqus-logo.png'); }
.stack-showcase-hero .stack-track span[data-logo="comsol"]::before { --logo-image: url('/assets/comsol-logo.png'); background-size: 132px auto; }
.stack-showcase-hero .stack-track span[data-logo="dymola"]::before { --logo-image: url('/assets/dymola-logo.png'); background-position: left center; background-size: auto 26px; }
.stack-showcase-hero .stack-track span[data-logo="simulink"]::before { --logo-image: url('https://commons.wikimedia.org/wiki/Special:Redirect/file/Simulink%20Logo%20(non-wordmark).png'); }
.stack-showcase-hero .stack-track span[data-logo="openfoam"]::before { --logo-image: url('/assets/openfoam-logo.png'); }
.stack-showcase-hero .stack-track span[data-logo="technical"]::before { --logo-image: url('https://cdn.simpleicons.org/ansys/8ddbd4'); }
.stack-showcase-hero .stack-track span::before { width: 22px; height: 22px; margin: 0 0 5px; }
.stack-showcase-hero .stack-track span[data-logo="pytorch"]::before { --logo-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/pytorch/pytorch-original.svg'); }
.stack-showcase-hero .stack-track span[data-logo="physicsnemo"]::before { --logo-image: url('https://cdn.simpleicons.org/nvidia/76b900'); }
.stack-showcase-hero .stack-track span[data-logo="xgboost"]::before { --logo-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/xgboost/xgboost-original.svg'); }
.stack-showcase-hero .stack-track span[data-logo="optuna"]::before { --logo-image: url('https://cdn.simpleicons.org/optuna/37c8ff'); }
.stack-showcase-hero .stack-track span[data-logo="neuralnetwork"]::before { --logo-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%2337c8ff' stroke-width='2' opacity='.72'%3E%3Cpath d='M12 16 32 10 52 18M12 32 32 30 52 34M12 48 32 50 52 46M12 16 12 32 12 48M32 10 32 30 32 50M52 18 52 34 52 46M12 16 32 30 12 48M12 16 32 10 52 34M12 48 32 50 52 18'/%3E%3C/g%3E%3Cg fill='%237d4dff' stroke='%23bfeeff' stroke-width='1.5'%3E%3Ccircle cx='12' cy='16' r='4'/%3E%3Ccircle cx='12' cy='32' r='4'/%3E%3Ccircle cx='12' cy='48' r='4'/%3E%3Ccircle cx='32' cy='10' r='4'/%3E%3Ccircle cx='32' cy='30' r='5'/%3E%3Ccircle cx='32' cy='50' r='4'/%3E%3Ccircle cx='52' cy='18' r='4'/%3E%3Ccircle cx='52' cy='34' r='4'/%3E%3Ccircle cx='52' cy='46' r='4'/%3E%3C/g%3E%3C/svg%3E"); }
.stack-showcase-hero .stack-track span:nth-child(4)::before { background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/xgboost/xgboost-original.svg'); }
.stack-showcase-hero .stack-track span:nth-child(5)::before { background-image: url('https://cdn.simpleicons.org/optuna/37c8ff'); }
.stack-showcase-hero .stack-track span::after { display: none; }
.stack-showcase-hero .stack-track span::before { width: 14px; height: 14px; margin-right: 7px; background: center / contain no-repeat; content: ''; opacity: .9; }
.stack-showcase-hero .stack-track span:nth-child(1)::before, .stack-showcase-hero .stack-track span:nth-child(8)::before { background-image: url('https://cdn.simpleicons.org/python/37c8ff'); }
.stack-showcase-hero .stack-track span:nth-child(2)::before, .stack-showcase-hero .stack-track span:nth-child(9)::before { background-image: url('https://cdn.simpleicons.org/pytorch/ff7043'); }
.stack-showcase-hero .stack-track span:nth-child(3)::before, .stack-showcase-hero .stack-track span:nth-child(10)::before { background-image: url('https://cdn.simpleicons.org/scikitlearn/37c8ff'); }
.stack-showcase-hero .stack-track span:nth-child(5)::before, .stack-showcase-hero .stack-track span:nth-child(12)::before { background-image: url('https://cdn.simpleicons.org/xgboost/ff7043'); }
.stack-showcase-hero .stack-track span:nth-child(6)::before, .stack-showcase-hero .stack-track span:nth-child(13)::before { background-image: url('https://cdn.simpleicons.org/optuna/37c8ff'); }
.stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(1)::before, .stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(8)::before { background-image: url('https://cdn.simpleicons.org/mathworks/37c8ff'); }
.stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(2)::before, .stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(9)::before { background-image: url('https://cdn.simpleicons.org/dotnet/37c8ff'); }
.stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(3)::before, .stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(10)::before { background-image: url('https://cdn.simpleicons.org/ansys/ff7043'); }
.stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(2)::before, .stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(9)::before { background-image: url('https://cdn.simpleicons.org/csharp/37c8ff'); }
.stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(4)::before, .stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(11)::before { background-image: url('https://cdn.simpleicons.org/modelica/ff7043'); }
.stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(7)::before, .stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(14)::before { background-image: url('https://cdn.simpleicons.org/git/ff7043'); }
.stack-showcase-hero .stack-track span:nth-child(1)::before, .stack-showcase-hero .stack-track span:nth-child(8)::before { background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/python/python-original.svg'); }
.stack-showcase-hero .stack-track span:nth-child(2)::before, .stack-showcase-hero .stack-track span:nth-child(9)::before { background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/pytorch/pytorch-original.svg'); }
.stack-showcase-hero .stack-track span:nth-child(3)::before, .stack-showcase-hero .stack-track span:nth-child(10)::before { background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/scikitlearn/scikitlearn-original.svg'); }
.stack-showcase-hero .stack-track span:nth-child(5)::before, .stack-showcase-hero .stack-track span:nth-child(12)::before { background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/xgboost/xgboost-original.svg'); }
.stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(1)::before, .stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(8)::before { background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/matlab/matlab-original.svg'); }
.stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(2)::before, .stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(9)::before { background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/csharp/csharp-original.svg'); }
.stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(7)::before, .stack-showcase-hero .stack-marquee-secondary .stack-track span:nth-child(14)::before { background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/git/git-original.svg'); }
.stack-showcase-hero .stack-track span::before { width: 40px; height: 40px; margin: 0 0 9px; }
.stack-showcase-hero .stack-track span::before { width: 34px !important; height: 34px !important; margin: 0 0 5px !important; }
.stack-showcase-hero .stack-track span[data-logo]::before { background-image: var(--logo-image) !important; }
.stack-showcase-hero .stack-track span { height: 74px; min-height: 74px; box-sizing: border-box; display: grid; grid-template-rows: 46px auto; align-content: center; }
.stack-showcase-hero .stack-track span::before { align-self: center; justify-self: center; margin: 0 auto !important; }
.stack-showcase-hero .stack-track span[data-logo="comsol"]::before { width: 38px !important; height: 38px !important; margin-bottom: -2px !important; }
.stack-showcase-hero .stack-track span[data-logo="csharp"]::before { width: 40px !important; height: 40px !important; }
.stack-showcase-hero .stack-track span[data-logo="dymola"]::before { width: 30px !important; }
.stack-showcase-hero .stack-track span[data-logo="openfoam"]::before { filter: none; }
.stack-heading { display: grid; grid-template-columns: minmax(210px, .55fr) minmax(0, 1fr); gap: 46px; align-items: end; }
.stack-heading .section-label { grid-column: 1 / -1; margin-bottom: -6px; }
.stack-heading h2 { max-width: 700px; margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.8vw, 64px); font-weight: 400; letter-spacing: -.06em; line-height: .98; }
.stack-heading > p:last-child { max-width: 330px; margin: 0 0 5px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.stack-marquee { position: relative; overflow: hidden; width: calc(100% + 48px); margin-left: -24px; mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent); }
.stack-track { display: flex; width: max-content; align-items: center; gap: 12px; padding: 4px 0; animation: stack-revolve 32s linear infinite; }
.stack-marquee-secondary .stack-track { animation-direction: reverse; animation-duration: 38s; }
.stack-marquee:hover .stack-track { animation-play-state: paused; }
.stack-track span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border: 1px solid rgba(28, 47, 57, .16); border-radius: 999px; background: rgba(255, 255, 255, .52); color: var(--ink-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
.stack-marquee-secondary .stack-track span { border-color: rgba(141, 219, 212, .18); background: rgba(141, 219, 212, .08); color: #236966; }
@keyframes stack-revolve { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.methodology { width: 100%; max-width: none; box-sizing: border-box; padding: 118px max(32px, calc((100vw - var(--max)) / 2)) 146px; border-block: 1px solid rgba(141, 219, 212, .18); background: linear-gradient(180deg, rgba(6, 16, 29, .92), rgba(11, 30, 51, .82)); }
.methodology-heading { width: min(100%, 780px); margin: 0 auto 52px; text-align: center; }
.methodology-heading h2 { margin: 0 0 24px; color: white; font-family: var(--serif); font-size: clamp(46px, 5.5vw, 72px); font-weight: 400; letter-spacing: -.065em; line-height: .96; }
.methodology-heading > p:last-child { max-width: 740px; margin: 0 auto; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.75; }
.methodology-grid { display: grid; width: min(100%, var(--max)); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-inline: auto; }
.methodology-card { min-height: 292px; box-sizing: border-box; padding: 27px 29px 30px; border: 1px solid rgba(55, 200, 255, .3); border-radius: 3px; background: linear-gradient(135deg, rgba(246, 250, 252, .95), rgba(218, 235, 241, .88)); color: var(--ink); box-shadow: 0 14px 32px rgba(8, 24, 38, .14), inset 0 1px 0 rgba(255, 255, 255, .72); }
.methodology-card h3 { max-width: 360px; margin: 0 0 17px; color: #1554d1; font-family: var(--serif); font-size: clamp(27px, 2.4vw, 35px); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.methodology-card p { max-width: 560px; margin: 0; color: #324252; font-size: 14px; line-height: 1.62; }
.methodology-card p + p { margin-top: 13px; }

.flagship { margin-top: 126px; background: rgba(16, 29, 43, .88); color: white; }
.flagship-inner { padding-block: 92px 105px; }
.flagship-heading { margin-bottom: 57px; }
.flagship-title-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr); gap: 90px; align-items: end; }
.flagship-title-row h2 { max-width: 820px; margin: 0; font-size: clamp(48px, 6.1vw, 82px); font-weight: 570; letter-spacing: -.065em; line-height: .98; }
.flagship-title-row p { margin: 0 0 6px; color: rgba(255, 255, 255, .64); font-size: 15px; line-height: 1.75; }
.pipeline { display: grid; grid-template-columns: 1fr 52px 1fr 52px 1fr 52px 1fr; align-items: center; padding: 24px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.pipeline-node { display: grid; gap: 7px; }
.pipeline-node span { color: var(--aqua); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.pipeline-node strong { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.pipeline-node small { color: rgba(255, 255, 255, .42); font-size: 9px; }
.pipeline > svg { width: 40px; }
.pipeline > svg path { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1; }
.projects-carousel { margin-top: 42px; }
.system-layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 2px 2px 20px; }
.system-layers::-webkit-scrollbar { display: none; }
.layer-card { position: relative; display: flex; min-height: 560px; flex-direction: column; padding: 28px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .025); }
.layer-card-accent { background: rgba(251, 250, 246, .86); color: var(--ink); }
.layer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.layer-number { color: var(--aqua); font-family: var(--mono); font-size: 10px; }
.layer-card-accent .layer-number { color: var(--blue); }
.layer-tag { color: rgba(255, 255, 255, .44); font-family: var(--mono); font-size: 8px; letter-spacing: .07em; }
.layer-card-accent .layer-tag { color: var(--muted); }
.layer-card h3 { margin: 62px 0 18px; font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.04em; line-height: 1.04; }
.layer-card > p { margin: 0; color: rgba(255, 255, 255, .61); font-size: 14px; line-height: 1.72; }
.layer-card-accent > p { color: var(--ink-soft); }
.layer-card dl { display: grid; gap: 0; margin: 38px 0 26px; }
.layer-card dl > div { padding: 15px 0; border-top: 1px solid var(--line-dark); }
.layer-card-accent dl > div { border-color: var(--line); }
.layer-card dt { margin-bottom: 6px; color: var(--aqua); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.layer-card-accent dt { color: var(--blue); }
.layer-card dd { margin: 0; color: rgba(255, 255, 255, .58); font-size: 11px; line-height: 1.55; }
.layer-card-accent dd { color: var(--muted); }
.layer-output { display: grid; gap: 7px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line-dark); }
.layer-output span { color: var(--aqua); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.layer-output strong { font-size: 12px; font-weight: 600; }
.project-card h3 { margin-top: 0; margin-bottom: 12px; }
.project-card > p { max-width: 360px; }
.project-visual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; padding: 8px; border: 1px solid rgba(141,219,212,.22); background: rgba(2,7,17,.52); box-shadow: inset 0 0 24px rgba(55,200,255,.08); }
.project-visual-grid img, .project-visual-single img { display: block; width: 100%; height: 132px; object-fit: cover; }
.project-visual-grid img { border: 1px solid rgba(55,200,255,.18); }
.project-visual-single { display: grid; place-items: center; margin-top: 24px; padding: 8px; border: 1px solid rgba(36,87,255,.22); background: #020711; box-shadow: inset 0 0 24px rgba(36,87,255,.08); }
.project-visual-single img { height: 160px; object-fit: contain; }
.project-visual-shim { padding: 10px; }
.project-visual-shim img { height: 190px; object-fit: contain; }
.project-visual-dcml img { object-fit: cover; object-position: 70% 35%; }
.project-card-damper .project-visual-single img { height: 208px; }
.layer-card-accent .project-visual-single { border-color: rgba(17,24,32,.18); background: #071323; }
.project-visual-shim,
.project-card-damper .project-visual-single { padding: 0; border: 0; background: transparent; box-shadow: none; }
.project-visual-shim img,
.project-card-damper .project-visual-single img { width: 100%; height: auto; object-fit: contain; }
.project-card-structural .project-visual-single { padding: 0; border: 8px solid #071323; background: #fff; }
.project-card-hypersonics .project-visual-single img { display: block; width: 100%; height: 160px; object-fit: cover; object-position: center; }
.layer-output a { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; color: var(--aqua); font-size: 11px; font-weight: 700; }
.layer-card-accent .layer-output a { color: var(--blue); }
.layer-output a b { font-size: 15px; font-weight: 400; }
.project-card-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--aqua); font-size: 12px; font-weight: 700; }
.project-card-link b { font-size: 16px; font-weight: 400; }
.layer-card-accent .project-card-link { border-color: var(--line); color: var(--blue); }
.mini-plot { position: relative; margin-top: auto; padding: 12px; border: 1px solid var(--line); background: #edf0ea; }
.mini-plot > span, .mini-plot > b { font-family: var(--mono); font-size: 7px; letter-spacing: .06em; }
.mini-plot > span { color: var(--blue); }.mini-plot > b { display: block; color: var(--muted); font-weight: 500; text-align: right; }
.mini-plot svg { width: 100%; height: 112px; }
.plot-axis { fill: none; stroke: rgba(17, 24, 32, .16); stroke-width: 1; }.plot-target { fill: none; stroke: var(--blue); stroke-width: 2; }.plot-model { fill: none; stroke: var(--warm); stroke-dasharray: 5 5; stroke-width: 1.5; }.mini-plot circle { fill: var(--warm); }

.selected-heading h2, .about-copy h2 { margin: 0 0 24px; font-size: clamp(43px, 5vw, 68px); font-weight: 580; letter-spacing: -.065em; line-height: 1; }

.selected { padding-bottom: 145px; }
.selected-heading { display: grid; grid-template-columns: .6fr 1.4fr; gap: 100px; align-items: start; margin-bottom: 50px; }
.selected-heading .section-label { grid-column: 1 / -1; margin-bottom: 0; }
.selected-heading h2 { grid-column: 2; max-width: 730px; }
.selected-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.work-card { display: grid; grid-template-rows: 250px 1fr; min-height: 560px; border: 1px solid var(--line); background: rgba(251, 250, 246, .84); transition: border-color .2s ease, box-shadow .2s ease; }
.work-card:hover { border-color: var(--ink); box-shadow: 0 14px 35px rgba(17, 24, 32, .08); }
.work-card-visual { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #dfe2dc; }
.work-card-structural .work-card-visual { background: radial-gradient(circle at 48% 53%, #f6b28f 0 5%, #e17150 10%, #5a80ae 23%, #1a324c 42%, #111b28 65%); }
.stress-ring { position: absolute; border: 1px solid rgba(255, 255, 255, .44); border-radius: 50%; }.ring-a { inset: 14% 24%; }.ring-b { inset: 25% 34%; }.ring-c { inset: 38% 43%; }.work-card-visual > i { position: absolute; top: 50%; left: 50%; width: 74%; border-top: 1px dashed rgba(255, 255, 255, .44); transform: translate(-50%, -50%) rotate(-15deg); }
.work-card-roemis .work-card-visual { background: linear-gradient(135deg, #111f35, #215170); }
.route-line { position: absolute; width: 65%; height: 45%; border: 1px solid transparent; border-top-color: rgba(141, 219, 212, .8); border-radius: 50%; }.route-one { top: 45%; left: 10%; transform: rotate(-10deg); }.route-two { top: 26%; left: 28%; border-top-color: rgba(255, 255, 255, .28); transform: rotate(13deg); }.route-dot { position: absolute; width: 10px; height: 10px; border: 2px solid var(--aqua); border-radius: 50%; box-shadow: 0 0 0 7px rgba(141, 219, 212, .11); }.dot-one { top: 62%; left: 16%; }.dot-two { top: 31%; right: 19%; }.work-card-visual small { position: absolute; right: 22px; bottom: 20px; color: rgba(255, 255, 255, .68); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; line-height: 1.6; text-align: right; }
.work-card-copy { display: flex; flex-direction: column; padding: 25px 28px 28px; }
.work-card-copy > div { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; }
.work-card-copy h3 { margin: 45px 0 16px; font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.04em; }
.work-card-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card-link { display: flex; justify-content: space-between; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); color: var(--blue); font-size: 12px; font-weight: 700; }.card-link b { font-size: 16px; font-weight: 400; }

.about { display: grid; grid-template-columns: .58fr 1.42fr; gap: 108px; padding-block: 125px 145px; border-top: 1px solid var(--line); }
.about-portrait { align-self: start; position: relative; max-width: 340px; }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; filter: saturate(.7) contrast(1.04); }
.about-portrait::after { position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid var(--line); content: ''; }
.about-portrait > span { display: block; margin-top: 28px; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.about-copy h2 { max-width: 820px; }
.about-lead { max-width: 760px; margin: 0 0 20px; color: var(--ink-soft); font-family: var(--serif); font-size: 24px; line-height: 1.5; }
.about-copy > p:not(.section-label):not(.about-lead) { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.career-line { display: flex; align-items: center; gap: 10px; margin: 43px 0 34px; color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.career-line i { height: 1px; flex: 1; background: var(--line); }
.text-link { display: inline-flex; gap: 18px; min-height: 44px; align-items: center; color: var(--blue); font-size: 13px; font-weight: 700; }

.contact { background: rgba(9, 19, 30, .9); color: white; }
.contact-inner { padding-block: 90px 28px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 90px; align-items: end; padding-bottom: 82px; }
.contact-grid h2 { max-width: 850px; margin: 0; font-size: clamp(47px, 6vw, 80px); font-weight: 560; letter-spacing: -.065em; line-height: .98; }
.contact-grid > div > p { margin: 0 0 27px; color: rgba(255, 255, 255, .62); font-size: 15px; line-height: 1.7; }
.button-light { background: var(--aqua); color: var(--navy-deep); }
.button-light:hover { background: white; }
.contact-resume { display: inline-flex; align-items: center; min-height: 52px; margin-left: 20px; color: rgba(255, 255, 255, .64); font-size: 12px; }
.contact-resume:hover { color: white; }
.contact footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, .42); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.contact footer a:hover { color: white; }

.reveal { opacity: 1; transform: none; }
.js-enhanced .reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s cubic-bezier(.16, 1, .3, 1); }
.js-enhanced .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 20px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 860px; }
  .system-card { width: min(100%, 700px); }
  .model-glimpse { grid-template-columns: 1fr; gap: 42px; }
  .model-glimpse-heading { position: static; }
  .model-glimpse-heading h2, .model-glimpse-heading > p:last-child { max-width: 680px; }
  .flagship-title-row { grid-template-columns: 1fr; gap: 25px; }
  .flagship-title-row p { max-width: 620px; }
  .system-layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layer-card { min-height: 0; }
  .layer-card h3 { margin-top: 42px; }
  .project-card h3 { margin-top: 0; }
  .layer-output, .mini-plot { margin-top: 30px; }
}

@media (max-width: 760px) {
  body { background: #286186; }
  body::after { display: none; animation: none; }
  body > .portfolio-fluid-field { display: none; }
  .hero-stage { background: #286186; background-image: linear-gradient(180deg, #245a7d 0%, #286186 54%, #2f6f94 100%); background-position: center; background-size: cover; }
  .hero-stage::before { display: none; }
  .hero-visual { grid-column: 1; width: min(100%, 330px); transform: none; }
  .hero::after { grid-column: 1; width: min(100%, 280px); transform: none; animation: hero-field-pulse-mobile 10s ease-in-out infinite; }
  @keyframes hero-field-pulse-mobile { 0%, 100% { border-radius: 48% 52% 46% 54%; transform: scale(1); } 50% { border-radius: 54% 46% 52% 48%; transform: scale(1.035); } }
  .stack-showcase-hero { width: calc(100vw - 32px); }
  .wrap { width: min(100% - 36px, var(--max)); }
  .site-header { width: 100%; padding-inline: 18px; }
  .site-header { min-height: 72px; }
  .identity-copy small { display: none; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 68px; min-height: 44px; border: 1px solid rgba(255, 255, 255, .48); border-radius: 999px; background: rgba(3, 12, 23, .32); color: #fff; font-size: 12px; font-weight: 700; }
  .menu-toggle:hover, .menu-toggle:focus-visible { border-color: var(--aqua); background: rgba(141, 219, 212, .16); color: #fff; }
  .mobile-nav { display: grid; grid-template-columns: repeat(2, 1fr); max-height: 0; overflow: hidden; width: min(100% - 36px, var(--max)); margin: 0 auto; border-bottom: 0 solid var(--line); transition: max-height .25s ease, border-width .25s ease; }
  .mobile-nav.is-open { max-height: 240px; border-bottom-width: 1px; }
  .mobile-nav a { display: flex; align-items: center; min-height: 48px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
  .mobile-nav a:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .section-label { margin-bottom: 25px; font-size: 8px; }
  .hero-stage { background-position: center; background-size: cover; }
  .hero { gap: 55px; padding-block: 58px 54px; }
  .hero-greeting { margin-top: -4px; font-size: clamp(50px, 14vw, 64px); }
  .hero-copy h1 { margin-bottom: 30px; font-size: clamp(22px, 7vw, 29px); }
  .hero-intro { font-size: 16px; }
  .hero-support { width: calc(100% + 16px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .system-card { box-shadow: 8px 10px 0 rgba(17, 24, 32, .07); }
  .model-glimpse { padding-block: 82px 88px; }
  .model-figure-grid { grid-template-columns: 1fr; }
  .model-figure-media { min-height: 0; }
  .model-figure-card, .model-figure-card:nth-child(2), .model-figure-card:hover, .model-figure-card:nth-child(2):hover { transform: none; }
  .model-figure-media img, .model-figure-card:nth-child(2) .model-figure-media img { transform: none; }
  .system-flow { padding-inline: 17px; }
  .system-flow::before { left: 40px; }
  .system-flow li { grid-template-columns: 39px 1fr; }
  .system-flow li > i { display: none; }
  .stack-showcase { padding-block: 82px 92px; }
  .stack-heading { grid-template-columns: 1fr; gap: 20px; }
  .stack-heading .section-label { grid-column: auto; }
  .stack-heading > p:last-child { max-width: 500px; }
  .stack-marquee { width: calc(100% + 36px); margin-left: -18px; }
  .methodology { padding: 82px 18px 96px; }
  .methodology-heading { margin-bottom: 38px; text-align: left; }
  .methodology-heading h2 { font-size: clamp(45px, 14vw, 64px); }
  .methodology-heading > p:last-child { font-size: 15px; }
  .methodology-grid { grid-template-columns: 1fr; gap: 14px; }
  .methodology-card { min-height: 0; padding: 24px 22px 26px; }
  .methodology-card h3 { font-size: 31px; }
  .flagship { margin-top: 90px; }
  .flagship-inner { padding-block: 70px 76px; }
  .projects-banner-copy { inset: 40% 6% 7%; padding: 18px; }
  .projects-banner-copy p { font-size: clamp(15px, 4.2vw, 20px); line-height: 1.35; }
  .flagship-title-row h2 { font-size: 48px; }
  .pipeline { grid-template-columns: 1fr; gap: 0; }
  .pipeline-node { padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .pipeline > svg { width: 24px; margin: -5px 0 -5px 5px; transform: rotate(90deg); }
  .system-layers { grid-template-columns: 1fr; }
  .layer-card { padding: 22px; }
  .layer-card h3 { font-size: 32px; }
  .selected { padding-bottom: 100px; }
  .selected-heading { grid-template-columns: 1fr; gap: 20px; }
  .selected-heading .section-label, .selected-heading h2 { grid-column: auto; }
  .selected-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 530px; grid-template-rows: 220px 1fr; }
  .work-card-copy { padding: 22px; }
  .work-card-copy h3 { margin-top: 38px; font-size: 31px; }
  .about { grid-template-columns: 1fr; gap: 62px; padding-block: 95px 105px; }
  .about-portrait { width: min(82%, 320px); }
  .about-lead { font-size: 21px; }
  .career-line { align-items: flex-start; flex-direction: column; gap: 13px; }
  .career-line i { width: 1px; height: 16px; flex: none; margin-left: 4px; }
  .contact-inner { padding-top: 70px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 65px; }
  .contact-grid h2 { font-size: 46px; }
  .contact-resume { margin-left: 0; }
  .contact footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-stage::before { animation: none; transform: none; }
  .hero-stage { animation: none; }
  .portfolio-flow-field { animation: none; transform: none; }
  body::after { animation: none; transform: none; }
}

/* Centered hero composition for the EmilyLaptop3 review pass. */
.hero { display: flex; justify-content: center; text-align: center; }
.hero-copy { width: min(100%, 820px); }
.hero-copy .section-label { justify-content: center; }
.hero-copy h1, .hero-support, .hero-intro { margin-right: auto; margin-left: auto; }
.hero-copy h1 { max-width: 760px; }
.hero-support { max-width: 720px; }
.hero-intro { max-width: 620px; }
.hero-actions { justify-content: center; }
.availability { justify-content: center; max-width: 760px; margin-right: auto; margin-left: auto; text-align: left; }
.stack-showcase-hero { position: relative; left: 50%; width: calc(100vw - 64px); margin-top: 76px; text-align: left; transform: translateX(-50%); }
.stack-showcase-hero .stack-heading { justify-items: center; text-align: center; }
.stack-showcase-hero .stack-heading h2 { margin-inline: auto; }
.stack-showcase-hero .stack-track { animation-duration: 36s; }
.stack-showcase-hero .stack-marquee-secondary .stack-track { animation-duration: 46s; }

.journey { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 72px; align-items: start; padding-block: 92px 104px; }
.experience-logos { display: flex; justify-content: center; gap: 16px; margin: 38px auto 0; flex-wrap: wrap; }
.experience-logos > span { display: grid; justify-items: center; gap: 10px; min-width: 116px; }
.experience-logo-mark { display: grid; place-items: center; width: 100px; height: 100px; padding: 17px; overflow: hidden; border: 1px solid rgba(16, 45, 72, .14); border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(8, 24, 38, .09); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.experience-logo-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.experience-logos > span:hover .experience-logo-mark { transform: translateY(-3px); border-color: rgba(36, 87, 255, .3); box-shadow: 0 12px 28px rgba(8, 24, 38, .14); }
.experience-logos > span:nth-child(4) .experience-logo-mark { background: #002b49; border-color: rgba(255, 255, 255, .18); }
.experience-logos small { max-width: 126px; color: var(--ink-soft); font-size: 10px; line-height: 1.25; text-align: center; }
.model-glimpse { display: none !important; }
.projects-banner { position: relative; width: 100vw; margin: 0 0 0 calc(50% - 50vw); overflow: hidden; border-block: 1px solid rgba(141, 219, 212, .24); background: #020711; }
.projects-banner img { display: block; width: 100%; height: auto; aspect-ratio: 2048 / 410; object-fit: cover; }
.projects-banner-copy { position: absolute; inset: 42% 15% 8%; display: grid; place-items: center; padding: clamp(18px, 2.4vw, 34px); border: 0; background: transparent; box-shadow: none; color: rgba(255, 255, 255, .94); pointer-events: none; }
.projects-banner-copy p { max-width: 820px; margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.55vw, 27px); line-height: 1.28; letter-spacing: -.02em; text-align: center; text-shadow: 0 2px 12px rgba(0, 0, 0, .82); }
.journey-timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.journey-timeline::before { position: absolute; top: 14px; bottom: 14px; left: 17px; width: 1px; background: var(--line); content: ''; }
.journey-timeline li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 20px; align-items: start; padding: 0 0 30px; }
.journey-timeline li:last-child { padding-bottom: 0; }
.journey-timeline li > span { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--blue); border-radius: 50%; background: var(--paper); color: var(--blue); font-family: var(--mono); font-size: 10px; }
.journey-timeline strong { display: block; margin: 5px 0 5px; font-size: 18px; }
.journey-timeline small { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }

@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; gap: 42px; padding-block: 72px 84px; }
}

/* Alternating work-history timeline. */
.journey { display: block; width: min(calc(100% - 64px), 1640px); padding-block: 112px 126px; }
.journey-heading { max-width: 840px; margin: 0 auto 58px; text-align: center; }
.journey-heading h2 { display: block; max-width: none; margin: 0; padding: 0; background: none; color: #fff; font-family: var(--serif); font-size: clamp(48px, 6vw, 82px); font-weight: 400; letter-spacing: -.07em; line-height: .92; }
.journey-timeline { max-width: 1640px; margin: 0 auto; }
.journey-timeline::before { top: 0; bottom: 0; left: 50%; width: 2px; background: linear-gradient(rgba(141, 219, 212, .72), rgba(55, 200, 255, .82) 50%, rgba(141, 219, 212, .72)); box-shadow: 0 0 0 1px rgba(55, 200, 255, .12), 0 0 18px rgba(55, 200, 255, .22); }
.journey-timeline li { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 28px; min-height: 248px; padding: 0 0 54px; }
.journey-timeline li > span { grid-column: 2; grid-row: 1; z-index: 3; justify-self: center; width: 48px; height: 48px; margin-top: 23px; border: 2px solid var(--aqua); border-radius: 50%; background: #f7fbff; color: #1554d1; font-size: 12px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 0 0 7px rgba(5, 14, 29, .22), 0 5px 18px rgba(10, 38, 75, .28), 0 0 20px rgba(55, 200, 255, .2); }
.journey-timeline li > div { position: relative; display: grid; grid-template-columns: minmax(264px, 36%) minmax(0, 1fr); gap: 28px; grid-column: 3; grid-row: 1; height: 330px; min-height: 330px; box-sizing: border-box; align-self: start; padding: 18px; overflow: hidden; border: 1px solid rgba(55, 200, 255, .3); border-radius: 20px; background: linear-gradient(135deg, rgba(246, 250, 252, .94), rgba(218, 235, 241, .86)); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); box-shadow: 0 18px 38px rgba(8, 24, 38, .18), inset 0 1px 0 rgba(255, 255, 255, .7); }
.journey-timeline li:nth-child(even) > div { grid-column: 1; grid-template-columns: minmax(0, 1fr) minmax(264px, 36%); text-align: right; }
.journey-timeline li > div > img { position: static; z-index: 2; display: block; grid-column: 1; grid-row: 1; width: 100%; height: 100%; min-height: 194px; margin: 0; border: 1px solid rgba(141, 219, 212, .5); border-radius: 16px; background: #091827; box-shadow: 0 10px 24px rgba(4, 16, 31, .24), 0 0 0 3px rgba(3, 15, 29, .18); object-fit: cover; object-position: center; }
.journey-timeline li > div > img.journey-figure-chart { object-fit: contain; background: #fff; }
.journey-timeline li:nth-child(even) > div > img { grid-column: 2; }
.journey-timeline li.journey-education > div > img { object-position: 35% center; }
.journey-timeline li:nth-child(2) > div > img { object-position: center 72%; }
.journey-timeline li:nth-child(4) > div > img { object-position: 30% center; }
.journey-card-copy { position: relative; z-index: 1; display: flex; min-height: 0; height: 100%; box-sizing: border-box; width: 100%; flex-direction: column; justify-content: center; padding: 22px 6px 20px 0; }
.journey-timeline li:nth-child(even) .journey-card-copy { grid-column: 1; padding-right: 0; padding-left: 6px; }
.journey-card-copy::before { position: absolute; top: 0; left: 0; width: 62px; height: 3px; background: linear-gradient(90deg, var(--aqua), rgba(55, 200, 255, .12)); content: ''; }
.journey-timeline li:nth-child(even) .journey-card-copy::before { right: 0; left: auto; background: linear-gradient(90deg, rgba(55, 200, 255, .12), var(--aqua)); }
.journey-timeline strong { margin: 0 0 8px; color: #1554d1; font-size: clamp(19px, 1.65vw, 24px); letter-spacing: -.03em; line-height: 1.05; }
.journey-timeline small { color: #4a5a6b; font-size: 12px; line-height: 1.35; }
.journey-timeline p { max-width: 340px; margin: 14px 0 0; color: #324252; font-size: 14px; line-height: 1.6; }
.journey-timeline li:nth-child(even) p { margin-right: 0; margin-left: auto; }
.journey-card-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 0; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid rgba(58, 91, 111, .3); list-style: none; }
.journey-card-tags li { position: static; display: block; grid-template-columns: none; gap: 0; min-height: 0; padding: 0; color: #3d5063; font-family: var(--mono); font-size: 10px; letter-spacing: .02em; line-height: 1.45; text-transform: uppercase; white-space: nowrap; }
.journey-card-tags li + li { margin-left: 8px; padding-left: 8px; border-left: 1px solid rgba(58, 91, 111, .3); }
.journey-timeline li:nth-child(even) .journey-card-tags { justify-content: flex-end; }

@media (max-width: 760px) {
  .journey { width: min(calc(100% - 36px), 1640px); padding-block: 78px 88px; }
  .journey-heading { margin-bottom: 42px; text-align: left; }
  .journey-timeline::before { left: 23px; width: 2px; }
  .journey-timeline li, .journey-timeline li:nth-child(even) { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; min-height: 0; padding-bottom: 22px; }
  .journey-timeline li > span, .journey-timeline li:nth-child(even) > span { grid-column: 1; }
  .journey-timeline li > div, .journey-timeline li:nth-child(even) > div { display: grid; grid-column: 2; grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; overflow: hidden; border: 1px solid rgba(55, 200, 255, .3); border-radius: 18px; background: rgba(8, 24, 38, .74); box-shadow: 0 12px 28px rgba(8, 24, 38, .18); text-align: left; }
  .journey-timeline li > div > img, .journey-timeline li:nth-child(even) > div > img { position: static; grid-column: 1; grid-row: 1; width: 100%; height: clamp(160px, 48vw, 230px); min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
  .journey-timeline li .journey-card-copy, .journey-timeline li:nth-child(even) .journey-card-copy { grid-column: 1; grid-row: 2; height: auto; min-height: 0; margin-top: 0; padding: 28px 22px 24px; border: 0; border-radius: 0; background: rgba(241, 247, 249, .94); box-shadow: none; }
  .journey-timeline li:nth-child(even) .journey-card-copy { padding-right: 22px; padding-left: 22px; }
  .journey-card-copy::before, .journey-timeline li:nth-child(even) .journey-card-copy::before { top: 0; right: auto; left: 22px; width: 46px; background: linear-gradient(90deg, var(--aqua), rgba(55, 200, 255, .12)); }
  .journey-timeline strong { font-size: 18px; }
  .journey-timeline p { font-size: 13px; line-height: 1.45; }
  .journey-card-tags { justify-content: flex-start; gap: 5px 0; padding-top: 11px; }
  .journey-timeline li:nth-child(even) .journey-card-tags { justify-content: flex-start; }
  .journey-card-tags li { font-size: 9px; white-space: normal; }
  .journey-card-tags li + li { margin-left: 8px; padding-left: 8px; }
}

@media (min-width: 761px) and (max-width: 1120px) {
  .journey { width: min(calc(100% - 64px), 920px); }
  .journey-timeline::before { left: 23px; width: 2px; }
  .journey-timeline li, .journey-timeline li:nth-child(even) { grid-template-columns: 48px minmax(0, 1fr); gap: 24px; min-height: 0; padding-bottom: 30px; }
  .journey-timeline li > span, .journey-timeline li:nth-child(even) > span { grid-column: 1; }
  .journey-timeline li > div, .journey-timeline li:nth-child(even) > div { display: grid; grid-column: 2; grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; overflow: hidden; border: 1px solid rgba(55, 200, 255, .3); border-radius: 20px; background: rgba(8, 24, 38, .74); box-shadow: 0 12px 28px rgba(8, 24, 38, .18); text-align: left; }
  .journey-timeline li > div > img, .journey-timeline li:nth-child(even) > div > img { position: static; grid-column: 1; grid-row: 1; width: 100%; height: clamp(220px, 38vw, 300px); min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
  .journey-timeline li .journey-card-copy, .journey-timeline li:nth-child(even) .journey-card-copy { grid-column: 1; grid-row: 2; height: auto; min-height: 0; margin-top: 0; padding: 30px 30px 28px; border: 0; border-radius: 0; background: rgba(241, 247, 249, .94); box-shadow: none; }
  .journey-card-copy::before, .journey-timeline li:nth-child(even) .journey-card-copy::before { top: 0; right: auto; left: 30px; width: 54px; background: linear-gradient(90deg, var(--aqua), rgba(55, 200, 255, .12)); }
  .journey-timeline li:nth-child(even) p { margin-right: 0; margin-left: 0; }
  .journey-timeline li:nth-child(even) .journey-card-tags { justify-content: flex-start; }
  .journey-card-tags li { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .system-layers { scroll-behavior: auto; }
}

/* Roemis showcase and compact contact card adapted from the WindBorne microsite. */
.selected-roemis { padding-block: 112px 145px; }
.roemis-section-heading { display: grid; gap: 38px; margin: 0 auto 42px; }
.roemis-section-heading .section-label { margin: 0; }
.roemis-section-heading .section-label span { color: var(--aqua); }
.roemis-section-heading .section-label b { color: rgba(255,255,255,.5); }
.roemis-section-heading > div { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; width: 70%; max-width: 1160px; margin-inline: auto; text-align: center; }
.roemis-section-heading h2 { margin: 0; color: white; font-family: var(--serif); font-size: clamp(42px, 5.2vw, 68px); font-weight: 400; letter-spacing: -.06em; line-height: .98; }
.roemis-section-heading > div > p { max-width: 860px; margin: 0 auto; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.7; }
.roemis-feature { width: 70%; max-width: 1160px; margin: 0 auto; padding: 12px; border: 1px solid rgba(141,219,212,.42); border-radius: 22px; background: linear-gradient(145deg, rgba(11,28,49,.92), rgba(5,12,25,.82)); box-shadow: 0 22px 52px rgba(3,10,24,.28), 0 0 0 8px rgba(5,14,29,.12), inset 0 0 34px rgba(55,200,255,.08); }
.roemis-feature-frame { width: 100%; aspect-ratio: 3 / 2; margin-inline: auto; overflow: hidden; border: 1px solid rgba(125,77,255,.78); border-radius: 14px; background: #02050b; }
.roemis-feature-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.roemis-feature figcaption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 4px 2px; color: rgba(255,255,255,.56); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.roemis-feature figcaption .button { flex: 0 0 auto; min-height: 46px; padding-inline: 16px; font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: none; }
.roemis-feature figcaption .button b { font-size: 15px; font-weight: 400; }

.contact.contact-card-section { background: rgba(5,14,29,.78); }
.contact-card-section .contact-inner { padding-block: 96px 28px; }
.portfolio-contact-card { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px 42px; max-width: 900px; margin: 0 auto 74px; padding: 58px; overflow: hidden; border: 1px solid rgba(141,219,212,.28); border-radius: 14px; background: linear-gradient(135deg, rgba(17,43,65,.9), rgba(8,19,39,.78)); box-shadow: 0 24px 60px rgba(2,8,22,.3), inset 0 1px 0 rgba(255,255,255,.08); }
.portfolio-contact-card::before { position: absolute; inset: -30% -10% auto 35%; height: 150%; background: radial-gradient(ellipse, rgba(55,200,255,.14), transparent 58%), radial-gradient(ellipse at 82% 45%, rgba(125,77,255,.18), transparent 48%); content: ''; pointer-events: none; }
.portfolio-contact-card > * { position: relative; z-index: 1; }
.portfolio-contact-portrait { width: 200px; margin: 0; padding: 8px; border: 1px solid rgba(141,219,212,.36); border-radius: 12px; background: rgba(5,15,29,.72); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.portfolio-contact-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; border-radius: 6px; object-fit: cover; object-position: center top; }
.portfolio-contact-copy { align-self: center; }
.portfolio-contact-copy .section-label { margin-bottom: 22px; font-size: 15px; }
.portfolio-contact-copy h2 { margin: 0 0 18px; color: white; font-size: clamp(44px, 5vw, 64px); font-weight: 560; letter-spacing: -.065em; line-height: .98; }
.portfolio-contact-details { display: grid; gap: 8px; margin: 0 0 28px; color: rgba(255,255,255,.62); font-size: 15px; font-style: normal; line-height: 1.4; }
.portfolio-contact-details a { color: rgba(255,255,255,.9); text-decoration: underline; text-decoration-color: rgba(141,219,212,.42); text-underline-offset: 4px; }
.portfolio-contact-details a:hover { color: var(--aqua); text-decoration-color: var(--aqua); }
.portfolio-contact-copy .button { min-height: 46px; padding-inline: 16px; font-size: 12px; }
.portfolio-contact-actions { display: inline-grid; gap: 10px; max-width: 100%; }
.portfolio-contact-note { grid-column: 1; display: grid; gap: 14px; max-width: 200px; margin: 0; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.5; }
.portfolio-contact-note span + span { padding-left: 10px; border-left: 1px solid rgba(141,219,212,.5); font-size: 10px; font-style: italic; }
.portfolio-contact-note em { color: rgba(255,255,255,.38); }

@media (max-width: 760px) {
  .selected-roemis { padding-block: 78px 100px; }
  .roemis-section-heading { gap: 26px; margin-bottom: 30px; }
  .roemis-section-heading > div { grid-template-columns: 1fr; gap: 18px; width: 100%; }
  .roemis-section-heading h2 { font-size: clamp(40px, 12vw, 56px); }
  .roemis-section-heading > div > p { max-width: 560px; }
  .roemis-feature { padding: 7px; border-radius: 16px; }
  .roemis-feature figcaption { align-items: flex-start; flex-direction: column; gap: 14px; padding: 14px 4px 3px; }
  .roemis-feature figcaption .button { width: auto; }
  .contact-card-section .contact-inner { padding-top: 72px; }
  .portfolio-contact-card { grid-template-columns: 1fr; gap: 28px; margin-bottom: 58px; padding: 26px; }
  .portfolio-contact-portrait { width: min(100%, 220px); }
  .portfolio-contact-copy { align-self: start; }
  .portfolio-contact-copy .section-label { margin-bottom: 20px; font-size: 12px; }
  .portfolio-contact-note { grid-column: auto; max-width: none; }
}
