/* Final visual refinement pass based on the supplied reference captures. */
:root{--edge:18px;--section-space:76px;--glass-border:#ffffff1c;--orange:#ff7a45;--lime:#c7ff54;--violet:#f4c95d;--aqua:#4dd7b0}
.shell{width:min(1280px,calc(100% - (var(--edge) * 2)))}
.section{padding-block:var(--section-space)}
.site-header{top:18px}
.logo-mark{top:20px;left:var(--edge);width:58px;height:58px;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:#0a0a0a;box-shadow:0 0 0 1px #ffffff12,0 15px 40px #0008}
.logo-mark img,.footer-logo{width:100%;height:100%;object-fit:contain;filter:invert(1);mix-blend-mode:screen;transform:scale(1.28)}
.pill-nav{min-width:530px;overflow:visible;border-color:#ffffff22;box-shadow:inset 0 0 0 3px #0003,0 18px 50px #0005}
.pill-nav::before{display:none}
.pill-nav::after{inset:0}
.about-menu{z-index:3}
#about-links{z-index:4}
.pill-nav>a,#about-toggle{min-height:38px;align-items:center;line-height:1;gap:8px}
#about-toggle .nav-icon{align-self:center}
.dropdown-chevron{display:grid;place-items:center;width:14px;height:14px;margin-top:-2px;line-height:1;transition:transform .2s ease}
.dropdown-chevron svg,.resume-button svg,.contact-cta svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#about-toggle[aria-expanded=true] .dropdown-chevron{transform:rotate(180deg)}
.status{display:none!important}
.button,.resume-button,.contact-cta{align-items:center;line-height:1}
.resume-button span,.contact-cta span{display:grid;place-items:center;width:24px;height:24px;line-height:1;margin-top:-1px}

/* Hero: visible continuous motion after the initial reveal. */
.hero h1{position:relative;isolation:isolate}
.hero h1::after{content:"";position:absolute;inset:-10% -15%;z-index:-1;background:radial-gradient(circle,#ff98551a,transparent 58%);filter:blur(26px);animation:hero-aura 5.5s ease-in-out infinite}
.hero-stars{animation:stars-drift 18s linear infinite alternate}
.signal-horizon{animation:horizon-breathe 4.8s ease-in-out infinite}
.hero-lines i{animation:line-flicker 6s ease-in-out infinite}
.hero-lines i:nth-child(2n){animation-delay:-2.2s}.hero-lines i:nth-child(3n){animation-delay:-4.1s}
@keyframes hero-aura{50%{opacity:.45;transform:scale(1.08)}}
@keyframes stars-drift{to{transform:translate3d(14px,-10px,0)}}
@keyframes horizon-breathe{50%{box-shadow:0 -3px 18px #ffad7caa,0 -28px 105px #d864343e;transform:translateX(-50%) scaleX(1.025)}}
@keyframes line-flicker{0%,70%,100%{opacity:.18}76%{opacity:.65}}

/* About bento: colour denotes domain, icons improve scanability. */
#about{padding-inline:var(--edge);border-radius:44px 44px 0 0}
.reference-bento{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.reference-bento .bento-card{position:relative;border-color:var(--glass-border);overflow:hidden;transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .28s,box-shadow .28s}
.reference-bento .bento-card::after{content:"";position:absolute;inset:auto -20% -55% 25%;height:75%;background:radial-gradient(circle,var(--card-glow,#ffffff10),transparent 68%);pointer-events:none}
.reference-bento .bento-card:hover,.reference-bento .bento-card:focus-visible{transform:translateY(-7px);border-color:color-mix(in srgb,var(--card-accent,#fff) 55%,transparent);box-shadow:0 24px 60px #0007,inset 0 1px 1px #ffffff18}
.profile-tile{--card-accent:#35b9ff;--card-glow:#168bd245;background:linear-gradient(135deg,#172c42e8,#11161dd9)!important}
.ticker-tile{--card-accent:#be7aff;--card-glow:#8f48d443;background:linear-gradient(135deg,#271b36d9,#14121ae6)!important}
.maintainer-tile{--card-accent:#ff8954;--card-glow:#d9592740;background:linear-gradient(135deg,#382116d9,#17120fe8)!important}
.showcase-tile{--card-accent:#c7ff54;--card-glow:#8daf2436;background:linear-gradient(135deg,#202a14d9,#12160fe8)!important}
.tools-tile{--card-accent:#35d6ba;--card-glow:#1b9e8836;background:linear-gradient(135deg,#14302bd9,#101816e8)!important}
.disciplines-tile{--card-accent:#5c8cff;--card-glow:#365fc63d;background:linear-gradient(135deg,#17233bd9,#111722e8)!important}
.profiles-tile{--card-accent:#f96aa7;--card-glow:#bf346f36;background:linear-gradient(135deg,#321a26d9,#171117e8)!important}
.evidence-tile{--card-accent:#f8c85c;--card-glow:#aa7b1738;background:linear-gradient(135deg,#302817d9,#18150fe8)!important}
.together-tile{--card-accent:#ff704d;--card-glow:#d94c273d;background:linear-gradient(135deg,#321b17d9,#17110fe8)!important}
.reference-bento .meta{color:color-mix(in srgb,var(--card-accent,#bbb) 78%,white)}
.maintainer-tile::before,.showcase-tile::before,.tools-tile::before,.disciplines-tile::before,.profiles-tile::before{position:absolute;right:18px;top:14px;color:var(--card-accent);font:22px "Geist Mono",monospace;opacity:.85}
.maintainer-tile::before{content:"{ }"}.showcase-tile::before{content:"↗"}.tools-tile::before{content:"⌘"}.disciplines-tile::before{content:"◫"}.profiles-tile::before{content:"◎"}

/* Milestones: clearly titled, tactile and keyboard interactive. */
.recognition{gap:16px;padding-block:var(--section-space)}
.recognition .credential-card{cursor:pointer;min-height:290px;border:1px solid #ffffff18;transform:rotate(var(--tilt,0deg));transition:transform .32s cubic-bezier(.2,.85,.2,1),border-color .25s,box-shadow .25s,background .25s}
.recognition .credential-card:nth-of-type(1){--tilt:-3deg;--milestone:#ff8754}.recognition .credential-card:nth-of-type(2){--tilt:3deg;--milestone:#63d7ff}.recognition .credential-card:nth-of-type(3){--tilt:-2deg;--milestone:#c26cff}.recognition .credential-card:nth-of-type(4){--tilt:2deg;--milestone:#d1ff5c}
.recognition .credential-card:hover,.recognition .credential-card:focus-visible,.recognition .credential-card.is-active{transform:rotate(0) translateY(-10px) scale(1.025);border-color:var(--milestone);box-shadow:0 28px 70px #0009,0 0 36px color-mix(in srgb,var(--milestone) 24%,transparent);background:linear-gradient(145deg,color-mix(in srgb,var(--milestone) 11%,#181818),#111)!important}
.recognition .credential-card h3{color:#fff}.recognition .credential-symbol{color:var(--milestone)}
.recognition .credential-preview-card{display:flex;flex-direction:column;min-height:360px;padding:18px;overflow:hidden}
.credential-preview{position:relative;width:100%;height:150px;padding:0;border:1px solid #ffffff18;border-radius:17px;overflow:hidden;background:#0b0b0b;cursor:pointer}.credential-preview>img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .35s ease,filter .35s ease}.credential-preview:hover>img,.credential-preview:focus-visible>img{transform:scale(1.035);filter:brightness(1.08)}.credential-preview:focus-visible,.credential-explore:focus-visible,.credential-dialog button:focus-visible,.credential-dialog a:focus-visible{outline:2px solid var(--milestone,var(--orange));outline-offset:3px}
.credential-preview-badge{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff2b;border-radius:50%;background:#f8f5ef;color:#111;box-shadow:0 8px 24px #0008}.credential-preview-badge img{width:18px;height:18px;filter:brightness(0)}
.recognition .credential-preview-card .meta{margin:16px 0 4px}.recognition .credential-preview-card h3{margin:5px 0 4px}.recognition .credential-preview-card>p:not(.meta){margin:0 0 14px;line-height:1.4}
.credential-explore{margin-top:auto;padding:12px 0 2px;border:0;border-top:1px dashed #ffffff15;background:none;color:#b8b8b8;font:700 10px/1.2 Geist Mono,monospace;letter-spacing:1px;text-align:left;text-transform:uppercase;cursor:pointer}.credential-explore:hover{color:var(--milestone)}
.credential-dialog{width:min(960px,calc(100vw - 32px));max-width:none;height:min(88dvh,900px);max-height:none;padding:0;border:1px solid #ffffff20;border-radius:24px;overflow:hidden;background:#101010;color:#f5f5f5;box-shadow:0 38px 120px #000e}.credential-dialog::backdrop{background:#050505d9;backdrop-filter:blur(10px)}.credential-dialog[open]{animation:credential-in .24s cubic-bezier(.2,.8,.2,1)}
.credential-dialog-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%}.credential-dialog-bar,.credential-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border-bottom:1px solid #ffffff12;background:#151515}.credential-dialog-bar>div{display:grid;gap:4px}.credential-dialog-bar span{color:var(--orange);font:700 9px/1 Geist Mono,monospace;letter-spacing:1.4px;text-transform:uppercase}.credential-dialog-bar strong{font-size:17px}.credential-dialog-bar button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff1c;border-radius:50%;background:#ffffff08;color:#fff;font-size:24px;cursor:pointer}.credential-dialog-stage{display:grid;place-items:center;min-height:0;padding:22px;overflow:auto;background:radial-gradient(circle at 50% 15%,#ffffff09,transparent 48%),#090909}.credential-dialog-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;border-radius:8px;background:#fff;box-shadow:0 20px 70px #000a}.credential-dialog-footer{border-top:1px solid #ffffff12;border-bottom:0;color:#888;font-size:12px}.credential-dialog-footer p{margin:0}.credential-dialog-footer a{color:#f0b18f;text-decoration:none;font:700 11px/1 Geist Mono,monospace}.credential-dialog-footer a[hidden]{display:none}
@keyframes credential-in{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
.recognition .section-heading>p:first-child{border:1px solid #ff7a4550;border-radius:999px;padding:7px 16px;color:#ffad89}

/* Journey: one horizontal line with four interactive cards. */
.journey .journey-grid{display:block}
.journey .section-heading{margin-bottom:38px}
.journey .timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%;max-width:none}
.journey .timeline::before{left:5%;right:5%;top:23px;bottom:auto;width:auto;height:2px;transform:none;background:linear-gradient(90deg,#ff7a45,#f4c95d,#4dd7b0,#c7ff54);box-shadow:0 0 20px #ff7a4545}
.journey .timeline li,.journey .timeline li:nth-child(even){display:block;min-height:0;padding-top:42px}
.journey .timeline li::before{left:50%;top:18px}
.journey .timeline time,.journey .timeline li:nth-child(even) time{position:absolute;top:-12px;left:50%;margin:0;transform:translateX(-50%);white-space:nowrap;color:#d8a7ff}
.journey .timeline li>div,.journey .timeline li:nth-child(even)>div{position:relative;margin:0;padding:22px;text-align:left;min-height:245px;border:1px solid #ffffff15;border-radius:22px;background:linear-gradient(145deg,#1b1721d9,#111)!important;transition:transform .28s,border-color .28s,box-shadow .28s}
.journey .timeline li>div:hover{transform:translateY(-8px);border-color:#ff7a4570;box-shadow:0 24px 55px #0007,0 0 30px #ff7a451c}
.journey .timeline p,.journey .timeline li:nth-child(even) p{margin:0;max-width:none}
.timeline-icon,.journey .timeline li:nth-child(even) .timeline-icon{position:static;margin-bottom:30px;width:42px;height:42px;background:#ff7a4513}

/* Reference-like two-row technology wall. */
#skills{padding-block:var(--section-space)}
#skills .section-heading h2{font-size:clamp(48px,7vw,96px)}
.skill-rails{margin-top:52px;padding:28px 0 36px;background:linear-gradient(180deg,transparent,#ffffff0250,transparent)}
.skill-rails .skill-track,.skill-rails .skill-group{gap:38px}
.skill-rails .skill-track{align-items:flex-start}
.skill-rails .skill-group{display:flex!important;height:190px;align-items:flex-start}
.skill-rails .skill-group span{min-width:96px!important;min-height:108px!important;color:#aaa!important;transition:transform .25s,color .25s,filter .25s}
.skill-rails .skill-group span:nth-child(6n+1){margin-top:0}
.skill-rails .skill-group span:nth-child(6n+2){margin-top:18px}
.skill-rails .skill-group span:nth-child(6n+3){margin-top:36px}
.skill-rails .skill-group span:nth-child(6n+4){margin-top:54px}
.skill-rails .skill-group span:nth-child(6n+5){margin-top:36px}
.skill-rails .skill-group span:nth-child(6n){margin-top:18px}
.skill-rails .skill-group span:hover{transform:translateY(-8px) scale(1.08);color:white!important;filter:brightness(1.25)}
.skill-rails .skill-symbol{width:56px!important;height:56px!important;flex-basis:56px!important;font-size:20px!important}

/* Workflow readability. */
.values .section-heading .lede{max-width:610px;margin-inline:auto;color:#a8a8a8}
.values .value-grid{gap:14px}
.values .value-grid article{border-color:#ffffff1c;background:linear-gradient(145deg,#1b1c20,#101114)!important;box-shadow:inset 0 1px 0 #ffffff0b;transition:transform .25s,border-color .25s,box-shadow .25s}
.values .value-grid article:hover{transform:translateY(-7px);border-color:#5c8cff72;box-shadow:0 24px 55px #0007}
.values .value-grid h3{color:#fff;font-size:22px}.values .value-grid p{color:#b5bac3;font-size:14px;line-height:1.75}
.mini-viz{border:1px solid #ffffff0f;background:#0d1420!important}

/* GitHub activity as icon-led table cards without underlines. */
.github-panel{border-color:#ffffff18}
#github-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
#github-events li{position:relative;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;gap:2px 12px;padding:16px;border:1px solid #ffffff12;border-radius:15px;background:linear-gradient(145deg,#17201a,#101410);transition:transform .22s,border-color .22s}
#github-events li::before{content:"⌘";grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#49d96c14;border:1px solid #49d96c35;color:#74ea8e;font:18px "Geist Mono",monospace}
#github-events li:hover{transform:translateY(-4px);border-color:#63df7c55}
#github-events span{grid-column:2;color:#9ea5a0}
#github-events a{grid-column:2;color:#d7f9dd!important;text-decoration:none!important;font-weight:650;overflow-wrap:anywhere}
#github-events time{position:absolute;right:14px;top:14px;font-size:10px;color:#717b73}
.activity-divider{font-size:10px}
.github-profile-link{text-decoration:none!important;display:inline-flex;align-items:center;gap:8px}.github-profile-link::before{content:"GH";display:grid;place-items:center;width:28px;height:28px;border:1px solid #ffffff15;border-radius:50%;font:9px "Geist Mono",monospace}

/* Terminal chrome closely follows the supplied reference. */
#terminal-dialog{width:min(760px,calc(100vw - 34px));height:min(540px,calc(100dvh - 54px));max-height:none;border-radius:14px;background:#0b0d0cee;border-color:#ffffff18;box-shadow:0 28px 90px #000c,0 0 0 1px #ffffff08}
#terminal-dialog.is-expanded{width:calc(100vw - 18px);height:calc(100dvh - 18px)}
#terminal-dialog.is-minimised{height:64px;overflow:hidden}
#terminal-dialog .terminal-titlebar{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px;padding:9px 12px;min-height:48px;background:#1a1c1b;border-bottom-color:#000}
.window-controls{display:flex;gap:12px}.window-control{width:15px!important;height:15px!important;padding:0!important;border:0!important;border-radius:50%!important;cursor:pointer;box-shadow:inset 0 -1px 2px #0004}.window-control.close{background:#ff5f57!important}.window-control.minimise{background:#febc2e!important}.window-control.expand{background:#28c840!important}
#terminal-dialog .terminal-titlebar strong{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;color:#d7d7d7;letter-spacing:0}
#terminal-dialog .terminal-titlebar strong>span:first-child{color:var(--terminal-accent);font-size:14px}
.terminal-theme{margin:0}.terminal-close{display:grid!important;place-items:center;width:30px!important;height:30px!important;border-radius:7px!important;font-size:21px!important;cursor:pointer}
.terminal-shortcuts{padding:8px 14px;gap:7px;border-bottom:1px solid #ffffff0e;background:#101211}.terminal-shortcuts button{padding:5px 9px;border-radius:5px}.terminal-shortcuts span{text-transform:none;letter-spacing:0}
#terminal-dialog .terminal-output{padding:18px 20px;font-size:12px;line-height:1.65;background:linear-gradient(180deg,#090b0a,#0c0e0d)}
#terminal-dialog .terminal-output p{margin:0 0 8px}
#terminal-dialog .terminal-banner{display:grid;gap:2px;margin:0 0 16px;padding:10px 12px;border-left:2px solid var(--terminal-accent);background:#ffffff03!important;color:#d8d8d8!important;-webkit-text-fill-color:currentColor;font:600 12px/1.55 "Geist Mono",monospace;letter-spacing:0;text-shadow:none}
.terminal-boot{color:#c8cec9}.terminal-ok{color:#64d778;font-weight:700}.terminal-muted{color:#6f7771}.terminal-command-line{margin-top:14px!important}.terminal-prompt,.prompt-user{color:#65d77a;font-weight:700}.terminal-command{color:#f0f0f0}.terminal-response{padding-left:12px;color:#aeb5b0;border-left:1px solid #29302b}.terminal-error{padding-left:12px;color:#f28c82;border-left:1px solid #6e302b}
#terminal-dialog .terminal-form{align-items:center;padding:12px 18px;font-size:12px;background:#111311;border-top-color:#252825}.terminal-form label{display:flex;align-items:center;gap:0}.prompt-path{color:#7aaee8}.prompt-symbol{margin-left:5px;color:#ddd}.terminal-hint{margin-left:auto;color:#59605b;font-size:10px;white-space:nowrap;text-transform:uppercase;letter-spacing:.08em}

/* Shared card hover language and footer consistency. */
.project-card,.expertise-panel,.expertise-tabs,.github-panel,.resume-aside,.archive-card,.contact-profile-card,.contact-route-form{transition:transform .25s,border-color .25s,box-shadow .25s}
.project-card:hover,.expertise-panel:hover,.github-panel:hover,.resume-aside:hover,.archive-card:hover,.contact-profile-card:hover,.contact-route-form:hover{transform:translateY(-5px);border-color:#ffffff28;box-shadow:0 24px 60px #0006}
.footer-logo{width:38px;height:38px;background:#0a0a0a;border-radius:9px;clip-path:inset(3px 0 round 8px)}
.page-footer{display:none}

@media(max-width:900px){.journey .timeline{grid-template-columns:repeat(2,1fr)}.journey .timeline::before{display:none}.recognition .credential-card{transform:none}.skill-rails .skill-group{grid-template-rows:108px}}
@media(max-width:620px){:root{--edge:12px;--section-space:58px}.logo-mark{left:14px;width:48px;height:48px}.section{padding-block:var(--section-space)}.reference-bento{gap:12px}.journey .timeline{grid-template-columns:1fr}.journey .timeline li,.journey .timeline li:nth-child(even){padding-top:20px}.journey .timeline time,.journey .timeline li:nth-child(even) time{position:static;display:block;transform:none;margin:0 0 10px}.journey .timeline li::before{display:none}.journey .timeline li>div,.journey .timeline li:nth-child(even)>div{min-height:0}.timeline-icon{margin-bottom:18px}#github-events{grid-template-columns:1fr}#terminal-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:14px}#terminal-dialog .terminal-titlebar{grid-template-columns:auto 1fr auto;gap:10px}.terminal-theme{display:none}.terminal-hint{display:none}.window-controls{gap:7px}.window-control{width:12px;height:12px}#terminal-dialog .terminal-titlebar strong{font-size:13px}.skill-rails .skill-group{grid-template-rows:repeat(2,100px);grid-auto-columns:82px}.skill-rails .skill-group span{min-width:82px!important}.reference-footer{width:calc(100% - 24px)}}
@media(prefers-reduced-motion:reduce){.hero-stars,.signal-horizon,.hero h1::after,.hero-lines i{animation:none}.reference-bento .bento-card,.credential-card,.journey .timeline li>div,.skill-rails span,.value-grid article{transition:none}}

/* Restrained final palette: neutral surfaces, colour carried by icons and states. */
:root{--section-space:62px;--teal:#4dd7b0;--gold:#f4c95d}
.shell{width:min(1160px,calc(100% - (var(--edge) * 2)))}
.reference-bento .bento-card{background:linear-gradient(145deg,#1a1a1adf,#101010f2)!important}
.profile-tile{--card-accent:var(--teal);--card-glow:#4dd7b02e}
.ticker-tile{--card-accent:var(--orange);--card-glow:#ff7a452b}
.maintainer-tile{--card-accent:#ff985f;--card-glow:#ff985f2c}
.showcase-tile{--card-accent:var(--lime);--card-glow:#c7ff5425}
.tools-tile{--card-accent:var(--teal);--card-glow:#4dd7b028}
.disciplines-tile{--card-accent:var(--gold);--card-glow:#f4c95d28}
.profiles-tile{--card-accent:#f06f8c;--card-glow:#f06f8c25}
.evidence-tile{--card-accent:var(--lime);--card-glow:#c7ff5425}
.together-tile{--card-accent:var(--orange);--card-glow:#ff7a4528}
.maintainer-tile::before,.showcase-tile::before,.tools-tile::before,.disciplines-tile::before,.profiles-tile::before{content:none!important}
.card-icon{position:absolute;right:18px;top:16px;width:25px;height:25px;object-fit:contain;filter:drop-shadow(0 0 10px var(--card-accent));opacity:.9}
.recognition .credential-card{min-height:250px}
.recognition .credential-card:nth-of-type(2){--milestone:var(--teal)}
.recognition .credential-card:nth-of-type(3){--milestone:var(--gold)}
.journey{--journey-accent:var(--orange)}
.journey .section-heading>p:first-child{color:#ffad89;border-color:#ff7a4545;background:#ff7a450c}
.journey .timeline::before{background:linear-gradient(90deg,var(--orange),var(--gold),var(--teal),var(--lime));box-shadow:0 0 20px #ff7a4540}
.journey .timeline li::before{background:var(--orange);box-shadow:0 0 0 5px #ff7a4520,0 0 18px #ff7a4580}
.journey .timeline time,.journey .timeline li:nth-child(even) time{color:#ffc29f}
.journey .timeline li>div,.journey .timeline li:nth-child(even)>div{min-height:210px;background:linear-gradient(145deg,#191919e8,#101010f2)!important}
.journey .timeline li>div:hover{border-color:#ff7a4570;box-shadow:0 24px 55px #0007,0 0 30px #ff7a451c}
.timeline-icon,.journey .timeline li:nth-child(even) .timeline-icon{display:grid;place-items:center;background:#ff7a4513;border:1px solid #ff7a4530}
.timeline-icon img{width:21px;height:21px;filter:brightness(0) saturate(100%) invert(65%) sepia(83%) saturate(1966%) hue-rotate(328deg) brightness(104%)}
.timeline-continuation{color:#bfa89c}
#technology-phrase{display:inline-block;color:var(--orange);transition:opacity .2s,transform .2s}
#technology-phrase.is-changing{opacity:0;transform:translateY(8px)}
.skill-rails .skill-symbol{object-fit:contain;filter:drop-shadow(0 0 10px #ffffff12)}
.skill-rails .skill-symbol[src$="flask.svg"],.skill-rails .skill-symbol[src$="github-actions.svg"]{filter:invert(1) drop-shadow(0 0 10px #ffffff18)}
.utility-dock{padding-inline:24px}
.values .value-grid article:hover{border-color:#ff7a4566}
.mini-viz{background:#101311!important}
#github-events li::before{content:none}
.activity-icon{grid-row:1/3;width:42px;height:42px;padding:10px;border-radius:12px;background:#49d96c14;border:1px solid #49d96c35;object-fit:contain;filter:brightness(0) saturate(100%) invert(85%) sepia(35%) saturate(979%) hue-rotate(69deg) brightness(96%)}
.github-profile-link::before{content:none}

@media(max-width:620px){:root{--section-space:54px}}

/* Remove inherited cool gradients and use actual local icons throughout. */
:root{--cyan:#fb923c;--blue:#f4c95d;--violet:#4dd7b0}
.profile-tile .avatar,.expertise-panel,.expertise-tabs,.project-art,.project-card:nth-child(2n) .project-art{background:#151515!important}
.filter-row button.active{background:#fff!important;color:#111!important;border-color:#fff!important}
.discipline-symbol img{width:25px;height:25px;filter:brightness(0) saturate(100%) invert(75%) sepia(75%) saturate(1535%) hue-rotate(329deg) brightness(105%)}
.stack-marker{overflow:hidden}
.stack-marker img{width:18px;height:18px;object-fit:contain}
.stack-marker img[src$="flask.svg"],.stack-marker img[src$="github-actions.svg"]{filter:invert(1)}
.credential-symbol{display:grid;place-items:center}
.credential-symbol img{width:28px;height:28px;object-fit:contain;filter:drop-shadow(0 0 10px currentColor)}
.credential-card,.project-card,.discipline-stack>div,.expertise-tabs button,.footer-links a,.filter-row button,.project-actions a{transition:transform .25s cubic-bezier(.2,.8,.2,1),border-color .25s,box-shadow .25s,background .25s}
.discipline-stack>div:hover,.expertise-tabs button:hover,.footer-links a:hover,.filter-row button:hover,.project-actions a:hover{transform:translateY(-3px);border-color:#ff8a5255;box-shadow:0 12px 28px #0005}

/* Compact About composition: preserve hierarchy while removing excess height. */
#about{padding-block:52px}
#about .section-heading{margin-bottom:30px}
#about .section-heading h2{font-size:clamp(34px,4vw,52px)}
#about .section-heading .lede{margin-top:11px}
.reference-bento{width:min(980px,calc(100% - 64px));margin-inline:auto;grid-template-rows:44px 126px 126px 184px;gap:12px}
.reference-bento .bento-card{padding:18px;border-radius:24px}
.profile-tile{gap:18px}
.profile-tile .avatar{flex-basis:116px;min-height:164px;border-radius:22px 0 22px 0}
.profile-tile h3{font-size:28px}
.profile-tile p{font-size:13px;line-height:1.45;margin-block:8px 0}
.ticker-tile{min-height:44px!important}
.maintainer-tile strong{font-size:24px}
.maintainer-tile>span{font-size:11px;line-height:1.35}
.showcase-tile img{right:16px;top:12px;width:92px;height:54px}
.showcase-tile .meta{margin-top:48px}
.tools-tile .chips{margin-top:7px}
.disciplines-tile{gap:18px}
.disciplines-tile h3{font-size:27px}
.disciplines-tile .chips{gap:6px}
.disciplines-tile .chips span{padding:4px 9px;font-size:10px}
.profile-socials{margin-bottom:10px}
.evidence-tile>div{border-radius:15px}
.evidence-tile strong{font-size:23px}
.together-tile h3{font-size:31px}
.together-tile p{margin-top:8px}

@media(max-width:620px){
  #about{padding-block:42px}
  #about .section-heading{margin-bottom:24px}
  .reference-bento{width:calc(100% - 24px);gap:10px}
  .reference-bento .bento-card{padding:17px;min-height:132px}
  .reference-bento .profile-tile{min-height:190px}
  .reference-bento .ticker-tile{min-height:42px!important;padding:13px 16px}
  .reference-bento .tools-tile,.reference-bento .profiles-tile{min-height:148px}
  .reference-bento .evidence-tile{min-height:155px}
  .profile-tile .avatar{flex-basis:104px;min-height:156px}
}

/* Responsive safety layer: tablet, phone, small phone and short landscape. */
img,svg,video{max-width:100%}
.skill-rails strong.sr-only{width:1px;min-width:1px}
.section-heading,.inner-hero,.contact-wrap{padding-inline:12px}

@media(max-width:1000px){
  :root{--edge:20px}
  .pill-nav{min-width:500px}
  .hero-core{max-width:90vw}
  .expertise-layout{grid-template-columns:260px minmax(0,1fr)}
  .discipline-stack{grid-template-columns:repeat(2,minmax(0,1fr))}
  .github-section .github-panel{max-width:calc(100% - 24px)}
}

@media(max-width:820px){
  :root{--section-space:54px}
  .shell{width:calc(100% - 32px)}
  .reference-bento{width:calc(100% - 24px);grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:12px}
  .reference-bento .bento-card{grid-row:auto;min-height:126px}
  .reference-bento .profile-tile,.reference-bento .ticker-tile,.reference-bento .disciplines-tile,.reference-bento .evidence-tile,.reference-bento .together-tile{grid-column:1/-1}
  .reference-bento .maintainer-tile,.reference-bento .showcase-tile,.reference-bento .tools-tile,.reference-bento .profiles-tile{grid-column:auto}
  .reference-bento .profile-tile{min-height:190px}
  .reference-bento .ticker-tile{min-height:44px!important}
  .reference-bento .tools-tile,.reference-bento .profiles-tile{min-height:150px}
  .reference-bento .disciplines-tile{min-height:140px}
  .reference-bento .evidence-tile{min-height:165px}
  .reference-bento .together-tile{min-height:175px}
  .expertise-layout{grid-template-columns:1fr}
  .expertise-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:static}
  .recognition{grid-template-columns:repeat(2,minmax(0,1fr))}
  .recognition .section-heading{grid-column:1/-1}
  .journey .timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
  .values .value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .values .value-grid article,.values .value-grid article:nth-last-child(-n+2){grid-column:auto;min-height:260px}
  .values .value-grid article:last-child{display:block}
  #github-events{grid-template-columns:1fr}
  .github-panel{padding:22px}
  .contact-route-grid{width:min(100% - 32px,680px)}
  .resume-layout{grid-template-columns:1fr}
  .resume-aside{position:static}
}

@media(max-width:650px){
  :root{--edge:14px;--section-space:48px}
  html{scroll-padding-top:82px}
  .site-header{top:14px;justify-content:flex-end;padding-inline:14px}
  .logo-mark{top:14px;left:14px;width:48px;height:48px;border-radius:12px}
  .menu-toggle{display:block;min-height:44px;padding:9px 16px;background:#151515ed;border-color:#ffffff1f}
  .pill-nav{position:fixed;left:14px;right:14px;top:70px;display:none;min-width:0;max-height:calc(100dvh - 88px);overflow-y:auto;overscroll-behavior:contain;padding:9px;flex-direction:column;align-items:stretch;border-radius:22px;background:#151515f5}
  .pill-nav::before{display:none}.pill-nav::after{background:#151515f5}
  .pill-nav.open{display:flex}
  .pill-nav>a,#about-toggle{width:100%;min-height:44px;justify-content:flex-start;padding:10px 14px}
  #about-links a{display:flex;align-items:center;min-height:42px;padding:8px 14px}
  .hero{min-height:680px;height:100svh;padding:118px 12px 130px}
  .hero-core{width:100%;max-width:100%}
  .hero h1{font-size:clamp(44px,12.8vw,68px);line-height:.98}
  .hero h1 .hero-row{gap:10px;padding-inline:0}
  .hero-side{display:none}
  .hero-actions{margin-top:30px}
  .resume-button{min-width:180px;min-height:46px}
  .reference-bento{width:100%;gap:10px}
  .profile-tile{align-items:stretch}
  .profile-tile .avatar{flex-basis:105px;min-width:105px}
  .reference-bento .disciplines-tile{display:block}
  .disciplines-tile .chips{margin-top:14px}
  .recognition{grid-template-columns:1fr;gap:12px}
  .recognition .section-heading{grid-column:1}
  .recognition .credential-card{min-height:0;padding:20px;transform:none}
  .journey .timeline{grid-template-columns:1fr}
  .journey .timeline li,.journey .timeline li:nth-child(even){padding-top:12px}
  .journey .timeline li>div,.journey .timeline li:nth-child(even)>div{min-height:0}
  #skills .section-heading h2,#journey .section-heading h2,#github-activity .section-heading h2{font-size:clamp(36px,11vw,48px)}
  .skill-rails{margin-top:36px}
  .skill-rails .skill-group{height:142px;gap:16px}
  .skill-rails .skill-group span{min-width:76px!important;min-height:88px!important}
  .skill-rails .skill-group span:nth-child(6n+1){margin-top:0}
  .skill-rails .skill-group span:nth-child(6n+2){margin-top:12px}
  .skill-rails .skill-group span:nth-child(6n+3){margin-top:24px}
  .skill-rails .skill-group span:nth-child(6n+4){margin-top:36px}
  .skill-rails .skill-group span:nth-child(6n+5){margin-top:24px}
  .skill-rails .skill-group span:nth-child(6n){margin-top:12px}
  .skill-rails .skill-symbol{width:42px!important;height:42px!important;flex-basis:42px!important}
  #work{width:calc(100% - 28px)}
  #work .section-heading h2{font-size:clamp(38px,11vw,52px);margin-block:24px 18px}
  .work-stats{margin-top:32px}
  .work-stats>div{padding-inline:8px}
  .work-stats strong{font-size:34px}.work-stats span{font-size:8px;letter-spacing:.5px}
  .filter-row{width:100%;margin-bottom:32px;border-radius:18px}
  .filter-row button{flex:1 1 30%;min-height:40px;padding:7px 9px}
  .project-grid{grid-template-columns:1fr;gap:18px}
  .project-card{min-height:0;border-radius:26px}
  .project-actions{flex-wrap:wrap}.project-actions a{min-height:42px;display:grid;place-items:center}
  .values .value-grid{grid-template-columns:1fr;gap:12px}
  .values .value-grid article,.values .value-grid article:nth-last-child(-n+2){grid-column:1;min-height:0}
  .values .section-heading{margin-bottom:38px}
  .github-panel{max-width:100%;padding:16px;border-radius:20px}
  .github-panel-header,.contribution-summary{align-items:flex-start;flex-direction:column;gap:7px}
  #github-events li{grid-template-columns:38px minmax(0,1fr);padding:14px}
  .activity-icon{width:38px;height:38px;padding:9px}
  #github-events time{position:static;grid-column:2;margin-top:3px}
  .contact-section{padding-block:68px 78px}
  .contact-wrap h2{font-size:clamp(38px,11vw,50px);line-height:1.08}
  .contact-invitation{font-size:21px;line-height:1.4;margin-block:22px 32px}
  .reference-footer{width:calc(100% - 24px);padding:24px 14px;border-radius:24px}
  .footer-links{gap:6px}.footer-links a{min-height:40px;display:flex;align-items:center}
  .utility-dock{left:12px;right:12px;bottom:12px;padding:0;justify-content:space-between}
  .utility-dock button{width:52px;height:52px}
  #chat-dialog{inset:auto 8px 8px;margin:0;width:calc(100vw - 16px);max-width:none;height:min(620px,calc(100dvh - 16px));border-radius:20px}
  #terminal-dialog{width:calc(100vw - 20px);height:min(500px,calc(100dvh - 24px));max-width:760px;max-height:calc(100dvh - 24px);border-radius:14px}
  .terminal-shortcuts{padding-inline:10px}
  #terminal-dialog .terminal-output{padding:22px 14px}
  #terminal-dialog .terminal-form{padding:14px;font-size:11px}
  .inner-page{width:calc(100% - 24px);padding-top:18px}
  .inner-nav{margin-bottom:38px}
  .inner-hero{margin-bottom:42px;padding-inline:0}
  .inner-hero h1{font-size:clamp(36px,11vw,48px)}
  .resume-sheet{padding:20px 18px;border-radius:16px;overflow-wrap:anywhere}
  .resume-sheet h1{font-size:32px}.resume-sheet h2{font-size:18px}
  .resume-aside{padding:20px}
  .projects-page .projects-hero{padding-block:38px;margin-bottom:42px}
  .projects-page .projects-hero h1{font-size:clamp(38px,12vw,52px);line-height:.94}
  .projects-route-stats{flex-wrap:wrap}
  .archive-card{padding:18px;gap:18px;border-radius:22px}
  .archive-visual{height:auto;aspect-ratio:1.55}
  .archive-card .project-actions{grid-column:1}
  .contact-backdrop{height:90px;font-size:44px}
  .contact-route-grid{width:calc(100% - 24px);margin-top:20px;gap:32px}
  .contact-profile-card{min-height:0;padding:20px;border-radius:24px;transform:none}
  .contact-route-form h2{font-size:clamp(40px,13vw,58px)}
  .contact-route-form>p:not(.meta){font-size:15px}
  .contact-route-form .button{width:100%}
  .project-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:44px 18px 20px;border-radius:20px}
}

@media(max-width:420px){
  .hero h1{font-size:12.2vw}.hero h1 .hero-row{gap:7px}
  .hero .inline-social{width:25px;height:25px;flex-basis:25px}
  #about .section-heading h2{font-size:36px}
  .profile-tile{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px}
  .profile-tile .avatar{width:92px;min-width:92px;min-height:150px}
  .profile-tile h3{font-size:25px}.profile-tile p{font-size:12px}
  .reference-bento .maintainer-tile,.reference-bento .showcase-tile,.reference-bento .tools-tile,.reference-bento .profiles-tile{grid-column:1/-1}
  .evidence-tile{gap:6px}.evidence-tile strong{font-size:19px}.evidence-tile span{font-size:8px}
  .expertise-tabs{grid-template-columns:1fr}
  .discipline-top{display:block}.discipline-stats{margin-top:16px}
  .discipline-stack{grid-template-columns:1fr}
  .discipline-contact{display:block}.discipline-contact a{display:inline-block;margin-top:10px}
  .work-stats{display:grid;grid-template-columns:repeat(3,1fr)}
  .contact-profile-card nav{grid-template-columns:1fr}
  .contact-profile-card img{width:96px;height:96px;margin-top:28px}
  .footer-identity{flex-direction:column}
  .terminal-shortcuts button{padding:7px 9px}
  #terminal-dialog .terminal-titlebar{grid-template-columns:auto 1fr auto}
  #terminal-dialog .terminal-titlebar strong{font-size:12px}
  .window-controls{gap:6px}
}

@media(max-height:700px) and (min-width:651px){
  .hero{height:auto;min-height:680px}
  #terminal-dialog{height:min(540px,calc(100dvh - 18px))}
  #chat-dialog{height:calc(100dvh - 32px)}
}

@media(prefers-reduced-motion:reduce){
  .skill-rails .skill-group{height:auto;align-items:center}
  .skill-rails .skill-group span{margin-top:0!important}
}

/* Slightly quieter heading scale with a guaranteed two-line technology title. */
.hero h1{font-size:clamp(58px,7.4vw,104px)}
#about>.section-heading h2{font-size:clamp(46px,6.2vw,88px)}
#expertise .section-heading h2{font-size:clamp(34px,4.2vw,54px)}
#journey .section-heading h2{font-size:clamp(46px,5.8vw,76px)}
#work .section-heading h2{font-size:clamp(42px,6.2vw,80px)}
.values .section-heading h2{font-size:clamp(40px,5vw,68px)}
#github-activity .section-heading h2{font-size:clamp(36px,4.8vw,64px)}
.contact-wrap h2{font-size:clamp(40px,6.2vw,80px)}
#skills .section-heading{max-width:980px}
#skills .section-heading h2{font-size:clamp(28px,5.7vw,72px);line-height:1.04}
#technology-phrase{display:block;white-space:nowrap}
#technology-phrase::after{content:"."}

@media(max-width:650px){
  .hero h1{font-size:clamp(42px,11.5vw,58px)}
  #about>.section-heading h2{font-size:38px}
  #expertise .section-heading h2{font-size:34px}
  #journey .section-heading h2{font-size:42px}
  #work .section-heading h2{font-size:40px}
  .values .section-heading h2{font-size:38px}
  #github-activity .section-heading h2{font-size:36px}
  .contact-wrap h2{font-size:42px}
  #skills .section-heading h2{font-size:clamp(27px,8.5vw,38px)}
}

/* Hero motion choreography: the horizon becomes the foreground as the hero recedes. */
.hero{
  --hero-scroll:0;
  --hero-scroll-soft:0;
  perspective:1200px;
  transform-style:preserve-3d;
}
.hero-core{
  position:relative;
  z-index:2;
  will-change:transform,opacity,filter;
  transform:
    translate3d(0,calc(var(--hero-scroll) * -9vh),0)
    scale(calc(1 - (var(--hero-scroll) * .075)));
  opacity:calc(1 - (var(--hero-scroll) * .68));
  filter:blur(calc(var(--hero-scroll) * 3px));
}
.hero-side{
  will-change:transform,opacity;
  opacity:calc(1 - (var(--hero-scroll) * .9));
}
.hero-side-left{transform:translate3d(calc(var(--hero-scroll) * -42px),calc(var(--hero-scroll) * -18px),0)}
.hero-side-right{transform:translate3d(calc(var(--hero-scroll) * 42px),calc(var(--hero-scroll) * -18px),0)}
.hero-stars{
  will-change:transform,opacity;
  opacity:calc(1 - (var(--hero-scroll) * .58));
  transform:translate3d(0,calc(var(--hero-scroll) * -38px),0) scale(calc(1 + (var(--hero-scroll) * .035)));
}
.signal-horizon{
  z-index:5;
  animation:none;
  will-change:transform,filter;
  transform:
    translate3d(-50%,calc(var(--hero-scroll) * -190px),70px)
    scaleX(calc(1 + (var(--hero-scroll) * .12)))
    scaleY(calc(1 + (var(--hero-scroll) * .08)));
  filter:brightness(calc(1 + (var(--hero-scroll) * .28)));
  transition:box-shadow .18s linear;
}
.signal-horizon::after{
  content:"";
  position:absolute;
  inset:-3px 0 auto;
  height:4px;
  border-radius:50%;
  background:linear-gradient(90deg,transparent 13%,#ffb184 42%,#fff0e4 50%,#ff9a62 58%,transparent 87%);
  filter:blur(2px);
  opacity:calc(.38 + (var(--hero-scroll) * .62));
  animation:horizon-signal 4.8s ease-in-out infinite;
}
.hero-scroll-ready .signal-horizon{box-shadow:0 -3px 15px #ffad7c99,0 -26px 96px #d8643438}
#about{position:relative;z-index:7;box-shadow:0 -34px 90px #0008}

@keyframes horizon-signal{
  50%{opacity:.86;filter:blur(3px);transform:scaleX(.84)}
}

/* Secondary route heroes use the same restrained reveal language. */
.inner-hero,.projects-hero,.contact-route-grid{
  animation:route-hero-enter .9s cubic-bezier(.16,1,.3,1) both;
}
@keyframes route-hero-enter{
  from{opacity:0;transform:translateY(28px);filter:blur(7px)}
  to{opacity:1;transform:none;filter:blur(0)}
}

@media(max-width:650px){
  .hero-core{
    transform:translate3d(0,calc(var(--hero-scroll) * -5vh),0) scale(calc(1 - (var(--hero-scroll) * .045)));
    filter:blur(calc(var(--hero-scroll) * 1.5px));
  }
  .signal-horizon{
    transform:translate3d(-50%,calc(var(--hero-scroll) * -125px),55px) scaleX(calc(1 + (var(--hero-scroll) * .08)));
  }
}

@media(prefers-reduced-motion:reduce){
  .hero-core,.hero-side,.hero-stars,.signal-horizon{transform:none;opacity:1;filter:none;will-change:auto}
  .signal-horizon{transform:translateX(-50%)}
  .signal-horizon::after,.inner-hero,.projects-hero,.contact-route-grid{animation:none}
}

/* A sparse meteor field adds energy without competing with the headline. */
.hero-meteors{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.hero-meteors i{
  --meteor-x:80vw;
  --meteor-y:12vh;
  --meteor-distance:420px;
  position:absolute;
  left:var(--meteor-x);
  top:var(--meteor-y);
  width:clamp(90px,11vw,170px);
  height:2px;
  border-radius:999px;
  opacity:0;
  background:linear-gradient(90deg,transparent,#ff875566 58%,#ffe5d5 94%,#fff);
  box-shadow:0 0 8px #ff8a57aa;
  transform:rotate(-38deg);
  transform-origin:right center;
  animation:meteor-fall 9s linear infinite;
}
.hero-meteors i::after{content:"";position:absolute;right:-2px;top:50%;width:5px;height:5px;border-radius:50%;background:#fff;box-shadow:0 0 8px #fff,0 0 18px #ff8654;transform:translateY(-50%)}
.hero-meteors i:nth-child(2){--meteor-x:56vw;--meteor-y:4vh;--meteor-distance:330px;width:105px;animation-delay:-6.2s;animation-duration:11s}
.hero-meteors i:nth-child(3){--meteor-x:92vw;--meteor-y:38vh;--meteor-distance:360px;width:125px;animation-delay:-2.7s;animation-duration:13s}
.hero-meteors i:nth-child(4){--meteor-x:35vw;--meteor-y:18vh;--meteor-distance:280px;width:82px;animation-delay:-9.4s;animation-duration:14s}
.hero-meteors i:nth-child(5){--meteor-x:72vw;--meteor-y:57vh;--meteor-distance:300px;width:96px;animation-delay:-4.8s;animation-duration:15s}
@keyframes meteor-fall{
  0%,72%{opacity:0;translate:0 0}
  75%{opacity:.12}
  78%{opacity:.9}
  88%{opacity:0;translate:calc(var(--meteor-distance) * -1) var(--meteor-distance)}
  100%{opacity:0;translate:calc(var(--meteor-distance) * -1) var(--meteor-distance)}
}
.project-art-image-openshield{object-fit:contain!important;background:#1f1e2a}
@media(max-width:650px){.hero-meteors i:nth-child(n+4){display:none}}
@media(prefers-reduced-motion:reduce){.hero-meteors{display:none}}

/* Denser meteor cadence: more varied tracks with shorter quiet intervals. */
.hero-meteors i{animation-duration:7s}
.hero-meteors i:nth-child(1){animation-delay:-1.1s}
.hero-meteors i:nth-child(2){animation-delay:-4.4s;animation-duration:7.8s}
.hero-meteors i:nth-child(3){animation-delay:-2.2s;animation-duration:8.4s}
.hero-meteors i:nth-child(4){animation-delay:-6.1s;animation-duration:8.9s}
.hero-meteors i:nth-child(5){animation-delay:-3.5s;animation-duration:7.4s}
.hero-meteors i:nth-child(6){--meteor-x:46vw;--meteor-y:42vh;--meteor-distance:350px;width:115px;animation-delay:-7.2s;animation-duration:9.2s}
.hero-meteors i:nth-child(7){--meteor-x:98vw;--meteor-y:8vh;--meteor-distance:470px;width:155px;animation-delay:-5.4s;animation-duration:8.1s}
.hero-meteors i:nth-child(8){--meteor-x:24vw;--meteor-y:5vh;--meteor-distance:250px;width:76px;animation-delay:-3.1s;animation-duration:9.6s}
.hero-meteors i:nth-child(9){--meteor-x:84vw;--meteor-y:66vh;--meteor-distance:290px;width:88px;animation-delay:-8.3s;animation-duration:10.2s}
@keyframes meteor-fall{
  0%,50%{opacity:0;translate:0 0}
  53%{opacity:.18}
  56%{opacity:.92}
  70%{opacity:0;translate:calc(var(--meteor-distance) * -1) var(--meteor-distance)}
  100%{opacity:0;translate:calc(var(--meteor-distance) * -1) var(--meteor-distance)}
}
@media(max-width:650px){.hero-meteors i:nth-child(-n+5){display:block}.hero-meteors i:nth-child(n+6){display:none}}

/* Professional journey map: one connected system rather than separate cards. */
.journey{overflow:hidden}
.journey .journey-grid{display:block}
.journey .section-heading{max-width:820px;margin-bottom:34px}
.journey .section-heading .lede{max-width:650px}
.journey-map{overflow:hidden;border:1px solid #ffffff1b;border-radius:30px;background:linear-gradient(145deg,#171412,#0d0d0d 58%);box-shadow:0 30px 90px #0007,inset 0 1px 0 #ffffff0d}
.journey-map-context{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:22px 24px;border-bottom:1px solid #ffffff19;background:#ffffff0350}
.journey-map-symbol{display:grid;place-items:center;width:52px;height:52px;overflow:hidden;border:1px solid #ff8a4f66;border-radius:50%;background:#090909;box-shadow:0 0 24px #ff7a4520}
.journey-map-symbol img{width:100%;height:100%;object-fit:contain;filter:invert(1);mix-blend-mode:screen;transform:scale(1.22)}
.journey-map-context div{display:grid;gap:3px}.journey-map-context small,.journey-map-status,.phase-label,.phase-outcome,.journey-opportunity span{font:700 9px "Geist Mono",monospace;letter-spacing:1.2px;text-transform:uppercase}
.journey-map-context small{color:#ff9b68}.journey-map-context strong{font-size:17px;line-height:1.35}.journey-map-status{color:#888;text-align:right}
.journey-map-body{position:relative;isolation:isolate}
.journey .timeline{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;margin:0}
.journey .timeline::before{display:none}
.journey .timeline li,.journey .timeline li:nth-child(even){position:relative;display:flex;flex-direction:column;min-height:585px;padding:0;border:0;border-right:1px solid #ffffff14}
.journey .timeline li:last-child{border-right:0}
.journey .timeline li::before{display:none}
.phase-label{display:block;padding:14px 20px;border-bottom:1px solid #ffffff14;color:#d7d7d7;background:#ffffff0250}
.journey .timeline time,.journey .timeline li:nth-child(even) time{position:static;display:block;order:0;margin:0;padding:22px 20px 0;transform:none;color:#ffad7c;text-align:left;white-space:normal}
.journey .timeline li>div,.journey .timeline li:nth-child(even)>div{position:static;display:flex;flex:1;flex-direction:column;order:1;min-height:0;margin:0;padding:12px 20px 315px;border:0;border-radius:0;background:none!important;box-shadow:none;text-align:left;transform:none;backdrop-filter:none}
.journey .timeline li>div:hover{transform:none;border-color:transparent;box-shadow:none}
.journey .timeline h3{margin:10px 0 10px;font-size:22px;line-height:1.08;letter-spacing:-.035em}
.journey .timeline p,.journey .timeline li:nth-child(even) p{max-width:none;margin:0;color:#8f8f8f;font-size:13px;line-height:1.55;text-align:left}
.timeline-icon,.journey .timeline li:nth-child(even) .timeline-icon{position:static;display:grid;place-items:center;order:-1;width:34px;height:34px;margin:0;border-color:#ff7a4540;border-radius:10px;background:#ff7a4510}
.phase-outcome{display:block;margin-top:16px;padding-top:0;color:#c8a28f;line-height:1.5}
.journey-curve{position:absolute;z-index:3;left:0;right:0;bottom:70px;width:100%;height:170px;overflow:visible;pointer-events:none}
.journey-curve path{fill:none;stroke:#ff7543;stroke-width:3;filter:drop-shadow(0 0 8px #ff6f357a)}
.journey-notes{position:absolute;z-index:4;inset:0;pointer-events:none}
.journey-note{position:absolute;width:min(190px,18vw);margin:0;padding:11px 13px;border:1px solid #ff9a6855;border-radius:13px;background:#171310eF;box-shadow:0 12px 30px #0008,0 0 18px #ff754318;color:#c8c8c8;font-size:10px;line-height:1.45}
.journey-note::after{content:"";position:absolute;left:22px;bottom:-7px;width:12px;height:12px;border-right:1px solid #ff9a6855;border-bottom:1px solid #ff9a6855;background:#171310;transform:rotate(45deg)}
.journey-note::before{content:none}
.journey-note strong,.journey-note span{display:block}.journey-note strong{margin-bottom:3px;color:#ffad7c;font:700 9px "Geist Mono",monospace;text-transform:uppercase;letter-spacing:.8px}
.journey-note.note-one{left:5%;bottom:205px}.journey-note.note-two{left:40%;bottom:14px}.journey-note.note-three{right:5%;bottom:202px}
.journey-note.note-three::after{left:auto;right:22px}.journey-note.note-three::before{left:auto;right:27px}
.journey-note.is-inverted::after{left:50%;top:-7px;bottom:auto;border:0;border-left:1px solid #ff9a6855;border-top:1px solid #ff9a6855;transform:translateX(-50%) rotate(45deg)}
.journey-note.is-inverted::before{left:50%;top:-31px;bottom:auto;height:24px;transform:translateX(-50%);background:linear-gradient(#ff7543,#ff9a6866)}
.journey-opportunity{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:20px 24px;border-top:1px solid #ffffff19;background:linear-gradient(90deg,#ff7a450c,transparent)}
.journey-opportunity span{color:#ff9b68}.journey-opportunity strong{font-size:15px}.journey-opportunity a{color:#ddd;text-decoration:none;font-size:12px}.journey-opportunity a:hover{color:#ffad7c}

@media(max-width:900px){
  .journey-map-context{grid-template-columns:auto 1fr}.journey-map-status{grid-column:2;text-align:left}
  .journey .timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
  .journey .timeline li:nth-child(2){border-right:0}.journey .timeline li:nth-child(-n+2){border-bottom:1px solid #ffffff14}
  .journey-curve{display:none}
  .journey-notes{position:static;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px;border-top:1px solid #ffffff14;pointer-events:auto}
  .journey-note,.journey-note.note-one,.journey-note.note-two,.journey-note.note-three{position:relative;left:auto;right:auto;bottom:auto;width:auto}
  .journey-note::after,.journey-note::before{display:none}
  .journey .timeline li,.journey .timeline li:nth-child(even){min-height:330px}
  .journey .timeline li>div,.journey .timeline li:nth-child(even)>div{padding-bottom:24px}
}
@media(max-width:620px){
  .journey .section-heading{margin-bottom:24px}.journey-map{border-radius:22px}
  .journey-map-context{grid-template-columns:auto 1fr;padding:18px 16px}.journey-map-context strong{font-size:14px}.journey-map-status{grid-column:1/-1}
  .journey .timeline{grid-template-columns:1fr}
  .journey .timeline li,.journey .timeline li:nth-child(even){min-height:0;border-right:0;border-bottom:1px solid #ffffff14;padding:0}
  .journey .timeline li:last-child{border-bottom:0}
  .phase-label{padding:12px 16px}.journey .timeline time,.journey .timeline li:nth-child(even) time{padding:18px 16px 0}
  .journey .timeline li>div,.journey .timeline li:nth-child(even)>div{margin:0;padding:10px 16px 22px;text-align:left}
  .journey .timeline p,.journey .timeline li:nth-child(even) p{margin:0}
  .journey-notes{grid-template-columns:1fr;padding:14px}
  .journey-opportunity{grid-template-columns:1fr;gap:7px;padding:18px 16px}.journey-opportunity a{margin-top:5px}
}
@media(prefers-reduced-motion:reduce){.journey-curve path{filter:none}}

/* Keep the final message clear of the rising curve. */
.journey-note.note-three{bottom:216px}

/* Lifecycle map: visually related to the journey, but focused on engineering decisions. */
.values{position:relative;overflow:hidden;background:#0a0a0a!important;color:#f5f5f3!important;border-top:1px solid #ffffff0d}
.values::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 48%,#ff75430d,transparent 30%),linear-gradient(180deg,#0b0b0b,#090909);pointer-events:none}
.values>.shell{position:relative}
.values .section-heading{max-width:900px;margin-bottom:34px}
.values .section-heading>p:first-child{color:#ffad7c;border-color:#ff754344;background:#ff75430b}
.values .section-heading .lede{max-width:720px;color:#999}
.lifecycle-story{overflow:hidden;border:1px solid #ffffff1b;border-radius:30px;background:linear-gradient(145deg,#171412,#0d0d0d 58%);box-shadow:0 30px 90px #0007,inset 0 1px 0 #ffffff0d}
.lifecycle-intro{display:grid;grid-template-columns:minmax(260px,1.3fr) minmax(240px,1fr) minmax(300px,1.25fr);align-items:center;gap:26px;padding:23px 25px;border-bottom:1px solid #ffffff19;background:#ffffff0350}
.lifecycle-intro .meta{grid-column:1;margin:0 0 4px;color:#ff9e6b;font:700 9px "Geist Mono",monospace;text-transform:uppercase;letter-spacing:1.3px}
.lifecycle-intro h3{grid-column:1;margin:0;font-size:20px;line-height:1.15;letter-spacing:-.035em}
.lifecycle-intro>p:not(.meta):not(.lifecycle-return){grid-column:2;grid-row:1/3;max-width:350px;margin:0;color:#9d9d9d;font-size:12px;line-height:1.55}
.lifecycle-compass{grid-column:3;grid-row:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin:0}
.lifecycle-compass span{padding:6px 9px;border:1px solid #ffffff12;border-radius:999px;background:#ffffff03;color:#c7c7c7;font:700 8px "Geist Mono",monospace;text-transform:uppercase;letter-spacing:.8px}
.lifecycle-return{grid-column:3;grid-row:2;display:flex;justify-content:flex-end;gap:8px;margin:0;color:#b9a295;font-size:10px;line-height:1.45;text-align:right}
.lifecycle-return span{color:#ff7543;font-size:17px;line-height:1}
.lifecycle-map-body{position:relative;isolation:isolate}
.lifecycle-stages{position:relative;z-index:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;padding:0;list-style:none}
.lifecycle-stages::before{display:none}
.lifecycle-stage{position:relative;display:block;min-height:520px;padding:0;border-right:1px solid #ffffff14;transition:background .25s ease}
.lifecycle-stage:last-child{border-right:0}
.lifecycle-stage:hover{background:linear-gradient(180deg,#ff754309,transparent 65%)}
.stage-number{display:block;width:auto;height:auto;margin:0;padding:12px 16px;border:0;border-bottom:1px solid #ffffff14;border-radius:0;background:#ffffff0250;color:#d7d7d7;font:700 9px "Geist Mono",monospace;letter-spacing:1px;box-shadow:none}
.stage-number::before{content:"Phase ";color:#777}
.stage-copy{padding:21px 16px 220px}
.stage-question{min-height:30px;margin:0 0 9px;color:#ff9e6b!important;font:700 8px "Geist Mono",monospace!important;text-transform:uppercase;letter-spacing:.8px;line-height:1.45!important}
.stage-copy h3{margin:0 0 10px;color:#fff;font-size:20px;line-height:1.08;letter-spacing:-.035em}
.stage-copy>p:not(.stage-question){margin:0;color:#929292;font-size:11px;line-height:1.55}
.stage-outputs{position:absolute;z-index:5;left:12px;right:12px;bottom:150px;display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:11px;border:1px solid #ff9a6855;border-radius:13px;background:#171310f2;box-shadow:0 12px 30px #0008,0 0 18px #ff754318}
.lifecycle-stage:nth-child(even) .stage-outputs{bottom:31px}
.stage-outputs::after{content:"";position:absolute;left:22px;bottom:-7px;width:12px;height:12px;border-right:1px solid #ff9a6855;border-bottom:1px solid #ff9a6855;background:#171310;transform:rotate(45deg)}
.lifecycle-stage:nth-child(even) .stage-outputs::after{top:-7px;bottom:auto;border:0;border-left:1px solid #ff9a6855;border-top:1px solid #ff9a6855}
.stage-outputs span{padding:4px 6px;border:1px solid #ffffff12;border-radius:999px;background:#ffffff04;color:#c8c8c8;font:500 8px "Geist Mono",monospace}
.lifecycle-curve{position:absolute;z-index:3;left:0;right:0;bottom:67px;width:100%;height:180px;overflow:visible;pointer-events:none}
.lifecycle-curve path{fill:none;stroke:#ff7543;stroke-width:3;filter:drop-shadow(0 0 8px #ff6f357a)}
.lifecycle-map-footer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:19px 24px;border-top:1px solid #ffffff19;background:linear-gradient(90deg,#ff7a450c,transparent)}
.lifecycle-map-footer span,.lifecycle-map-footer small{color:#ff9b68;font:700 9px "Geist Mono",monospace;text-transform:uppercase;letter-spacing:1px}
.lifecycle-map-footer strong{font-size:13px}.lifecycle-map-footer small{color:#777;text-align:right}

@media(max-width:1000px){
  .lifecycle-intro{grid-template-columns:1fr 1fr}.lifecycle-intro>p:not(.meta):not(.lifecycle-return){grid-column:2;grid-row:1/3}.lifecycle-compass{grid-column:1;grid-row:3;justify-content:flex-start}.lifecycle-return{grid-column:2;grid-row:3;text-align:right}
  .lifecycle-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.lifecycle-stage{min-height:340px;border-bottom:1px solid #ffffff14}.lifecycle-stage:nth-child(even){border-right:0}.lifecycle-stage:last-child{grid-column:1/-1}
  .stage-copy{padding-bottom:24px}.stage-question{min-height:auto}.stage-outputs{position:relative;left:auto;right:auto;bottom:auto!important;margin-top:16px;padding:0;border:0;background:none;box-shadow:none}.stage-outputs::after{display:none}.lifecycle-curve{display:none}
}
@media(max-width:620px){
  .values .section-heading{margin-bottom:24px}.lifecycle-story{border-radius:22px}.lifecycle-intro{display:block;padding:19px 16px}.lifecycle-intro h3{font-size:18px}.lifecycle-intro>p:not(.meta):not(.lifecycle-return){margin-top:12px}.lifecycle-compass{justify-content:flex-start;margin:16px 0}.lifecycle-return{justify-content:flex-start;text-align:left}
  .lifecycle-stages{grid-template-columns:1fr}.lifecycle-stage,.lifecycle-stage:last-child{grid-column:auto;min-height:0;border-right:0}.stage-number{padding:11px 16px}.stage-copy{padding:18px 16px 22px}.stage-copy h3{font-size:23px}.stage-copy>p:not(.stage-question){font-size:12px}.stage-outputs span{font-size:8px}
  .lifecycle-map-footer{grid-template-columns:1fr;gap:6px;padding:17px 16px}.lifecycle-map-footer strong{line-height:1.5}.lifecycle-map-footer small{text-align:left}
}
@media(prefers-reduced-motion:reduce){.lifecycle-curve path{filter:none}}

/* Lifecycle blueprint: site palette, with structure rather than colour differentiating it from Journey. */
.values{background:#0a0a0a!important;border-top-color:#ffffff0d}
.values::before{background:linear-gradient(#0a0a0ae9,#0a0a0ae9),linear-gradient(90deg,#ff75430b 1px,transparent 1px),linear-gradient(#ff75430b 1px,transparent 1px);background-size:auto,32px 32px,32px 32px}
.values .section-heading>p:first-child{color:#ffad7c;border-color:#ff754344;background:#ff75430b}
.values .section-heading .lede{color:#999}
.lifecycle-story{border-color:#ffffff1b;border-radius:20px;background:#0e0d0c;box-shadow:0 30px 90px #0009,inset 0 1px 0 #ffffff0d}
.lifecycle-intro{border-bottom-color:#ffffff19;background:#141210}
.lifecycle-intro .meta{color:#ff9e6b}
.lifecycle-intro>p:not(.meta):not(.lifecycle-return){color:#9d9d9d}
.lifecycle-compass span{border-color:#ffffff14;background:#ffffff04;color:#c7c7c7}
.lifecycle-return{color:#b9a295}.lifecycle-return span{color:#ff7543}
.lifecycle-map-body{background:linear-gradient(180deg,#11100f,#0c0b0a)}
.lifecycle-stages{padding-top:22px}
.lifecycle-stages::after{content:"";position:absolute;z-index:0;left:5%;right:5%;top:54px;height:2px;background:linear-gradient(90deg,#ff7543,#d9865f 55%,#8d6a59);box-shadow:0 0 12px #ff75434d}
.lifecycle-stage{z-index:1;min-height:430px;border-right-color:#ffffff14;background:transparent}
.lifecycle-stage:hover{background:#ff754306}
.stage-number{position:absolute;z-index:2;top:15px;left:16px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #ff7543;border-radius:9px;background:#171310;color:#ffb087;box-shadow:0 0 0 8px #11100f,0 0 18px #ff754329}
.lifecycle-stage:nth-child(3) .stage-number,.lifecycle-stage:nth-child(4) .stage-number{border-color:#d9865f;color:#eeb397}
.lifecycle-stage:nth-child(5) .stage-number{border-color:#8d6a59;color:#c7a796}
.stage-number::before{content:none}
.lifecycle-stage:not(:last-child)::after{content:"";position:absolute;z-index:3;top:49px;right:-4px;width:8px;height:8px;border-top:2px solid #d9865f;border-right:2px solid #d9865f;transform:rotate(45deg)}
.stage-copy{display:flex;min-height:430px;flex-direction:column;padding:76px 16px 18px}
.stage-question{min-height:31px;color:#ff9e6b!important}
.lifecycle-stage:nth-child(n+3) .stage-question{color:#dca184!important}
.lifecycle-stage:nth-child(5) .stage-question{color:#b79583!important}
.stage-copy h3{font-size:20px}
.stage-copy>p:not(.stage-question){color:#999}
.stage-outputs,.lifecycle-stage:nth-child(even) .stage-outputs{position:relative;left:auto;right:auto;bottom:auto;display:grid;gap:0;margin:auto 0 0;padding:11px 12px;border:1px solid #ffffff18;border-left:3px solid #ff7543;border-radius:8px;background:#171310;box-shadow:none}
.lifecycle-stage:nth-child(3) .stage-outputs,.lifecycle-stage:nth-child(4) .stage-outputs{border-left-color:#d9865f}.lifecycle-stage:nth-child(5) .stage-outputs{border-left-color:#8d6a59}
.stage-outputs::before{content:"Evidence";margin-bottom:7px;color:#9c7561;font:700 8px "Geist Mono",monospace;letter-spacing:1px;text-transform:uppercase}
.stage-outputs::after,.lifecycle-stage:nth-child(even) .stage-outputs::after{display:none}
.stage-outputs span{padding:5px 0;border:0;border-top:1px solid #ffffff0c;border-radius:0;background:none;color:#c8c0bc;font-size:8px}.stage-outputs span:first-of-type{border-top:0}
.lifecycle-curve{display:none}
.lifecycle-map-footer{border-top-color:#ffffff19;background:#141210}
.lifecycle-map-footer span{color:#ff9e6b}.lifecycle-map-footer strong{color:#eee9e6}.lifecycle-map-footer small{color:#85766f}

@media(max-width:1000px){
  .lifecycle-stages{padding-top:0}.lifecycle-stages::after{display:none}.lifecycle-stage{min-height:0}.lifecycle-stage:not(:last-child)::after{display:none}.stage-number{position:relative;top:auto;left:auto;margin:18px 16px 0;box-shadow:none}.stage-copy{min-height:0;padding:16px}.stage-outputs,.lifecycle-stage:nth-child(even) .stage-outputs{margin-top:18px}
}
@media(max-width:620px){
  .lifecycle-story{border-radius:16px}.stage-copy{padding:14px 16px 20px}.stage-question{min-height:0}.stage-number{margin-top:16px}.lifecycle-stage:last-child{border-bottom:0}
}

/* Evidence-rich project details and architecture previews. */
.project-art-image-breachlens,.project-art-image-threatvault{object-fit:contain!important;padding:12px;background:#f7f5f2}
.project-dialog{width:min(1040px,calc(100% - 32px));padding:46px 42px 34px}
.project-dialog-heading{max-width:760px}
.project-dialog-heading .meta{margin:0 0 10px;text-transform:uppercase;letter-spacing:1px}
.project-dialog-heading h2{margin:0 0 10px}
.project-dialog .project-dialog-summary{max-width:760px;margin:0;color:#d0c9c5;font-size:16px;line-height:1.65}
.project-dialog-visual{margin:28px 0 30px;padding:12px;border:1px solid #ffffff16;border-radius:18px;background:#f7f5f2;overflow:hidden}
.project-dialog-visual img{display:block;width:100%;max-height:480px;object-fit:contain}
.project-dialog-visual figcaption{padding:9px 4px 0;color:#6f665f;font:700 9px "Geist Mono",monospace;text-transform:uppercase;letter-spacing:1px}
.project-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #ffffff13;border-left:1px solid #ffffff13}
.project-story-grid section{position:relative;min-height:210px;padding:24px 26px;border-right:1px solid #ffffff13;border-bottom:1px solid #ffffff13}
.project-story-grid .detail-index{display:block;margin-bottom:24px;color:#ff9e6b;font:700 9px "Geist Mono",monospace}
.project-story-grid h3,.project-detail-lower h3{margin:0 0 10px}
.project-story-grid p{margin:0}
.project-detail-lower{display:grid;grid-template-columns:1fr 1fr .8fr;gap:0;margin-top:28px;border:1px solid #ffffff13;border-radius:16px;overflow:hidden}
.project-detail-lower>section{padding:22px;border-right:1px solid #ffffff13}.project-detail-lower>section:last-child{border-right:0}
.project-detail-lower ul{margin:0;padding-left:18px}.project-detail-lower li+li{margin-top:6px}
.project-detail-lower .stack-pills{display:flex;flex-wrap:wrap;gap:6px}.project-detail-lower .stack-pills span{padding:6px 8px;border:1px solid #ffffff15;border-radius:999px;color:#bbb;font:500 9px "Geist Mono",monospace}
.project-dialog .project-actions{justify-content:flex-end;flex-wrap:wrap}
.project-dialog .project-actions .project-primary{border-color:#ff754355;background:#ff754312;color:#ffb087}
.answer-sources a{color:#ffb087!important;border-color:#ff754340!important;background:#ff75430a}
@media(max-width:720px){
  .project-dialog{padding:46px 18px 24px}.project-dialog-visual{margin-inline:-6px}.project-story-grid{grid-template-columns:1fr}.project-story-grid section{min-height:0;padding:20px}.project-detail-lower{grid-template-columns:1fr}.project-detail-lower>section{border-right:0;border-bottom:1px solid #ffffff13}.project-detail-lower>section:last-child{border-bottom:0}
}
