/* Professional Editorial v1 — 2026-11.
   Inspired by information hierarchy and restrained UI pattern principles; original implementation.
   Last-layer tokens override previous cinematic phases without removing their progressive features.
   Palette: midnight navy, slate, steel blue and warm off-white. */

:root{
 color-scheme:dark;
 --ink:#e9f0f5;
 --muted:#a6b8c5;
 --accent:#96c5d8;
 --copper:#c6ab8a;
 --paper:#0b1723;
 --soft:#142635;
 --line:#344656;
 --dark:#101f2d;
 --width:1200px;
 --pro-ink:#152536;
 --pro-muted:#526577;
 --pro-line:#d9e3eb;
 --pro-paper:#f5f7fa;
 --pro-panel:#ffffff;
 --pro-blue:#35617b;
}
html{scroll-padding-top:110px}
body{
 background:#0b1723;color:#e9f0f5;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;
 font-feature-settings:"kern" 1;
 letter-spacing:-.006em;
 overflow-x:hidden;
}
::selection{background:#7499ae;color:#fff}
.shell{width:min(var(--width),calc(100% - 96px))}
.eyebrow{color:#759fb5;font-size:11px;letter-spacing:.125em;font-weight:650}
.site-header{
 background:rgba(12,26,39,.94);
 border-bottom:1px solid rgba(255,255,255,.11);
 backdrop-filter:blur(17px);
 -webkit-backdrop-filter:blur(17px);
}
.header-inner{min-height:80px}
.brand{color:#ecf3f7;font-size:38px;letter-spacing:-.085em}
.brand span,.card-monogram{color:#9cc2d2}
.wordmark{color:#e5eef3;border-left:1px solid #496071;font-size:10px}
.wordmark span{color:#a4b5bf}
.site-header nav{gap:26px;font:600 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-transform:none;letter-spacing:-.01em}
.site-header nav>a{color:#c8d7e0;transition:color .2s}
.site-header nav>a:hover,.site-header nav>a[aria-current]{color:#fff}
.site-header nav .nav-contact{background:#d8e6ee;color:#163047;border:1px solid #d8e6ee;border-radius:6px;padding:11px 17px;font-weight:700}
.site-header nav .nav-contact:hover{background:#fff;color:#102738}
.language-switch{border:1px solid #405a6b;background:#13283a;border-radius:7px;padding:3px}
.language-switch button{color:#c4d2da;font-size:11px;font-weight:700;padding:8px 10px;border-radius:5px}
.language-switch button[aria-pressed=true]{background:#d8e6ee;color:#173246}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #93c4dc;outline-offset:3px}
.hero{
 background:radial-gradient(ellipse at 83% 30%,#27485d 0%,#122637 39%,#0b1723 77%);
 padding-top:112px;
}
.hero:before{background:linear-gradient(90deg,#0b1723ed 0,#0b1723b8 42%,transparent 95%)}
.hero-network{opacity:.44;filter:hue-rotate(100deg) saturate(.55) brightness(1.05)}
.hero-layout{
 grid-template-columns:minmax(0,1.25fr) minmax(295px,.72fr);
 gap:75px;min-height:515px;
}
.hero .eyebrow{color:#a5bdca;font-size:11px;letter-spacing:.09em;margin-bottom:24px}
.hero .eyebrow:before,.section-intro .eyebrow:before{background:#7fa7bc}
.hero-main h1{
 font-size:clamp(62px,7.35vw,111px);
 font-weight:620;
 letter-spacing:-.076em;
 line-height:1.01;
 margin-bottom:34px;
}
.hero-main h1 span{
 color:#b0c8d7;
 font-size:clamp(21px,2.25vw,31px);
 font-weight:440;
 margin-top:19px;
 letter-spacing:-.032em;
}
.hero-lead{
 font-size:clamp(20px,2.18vw,28px);
 line-height:1.42;
 font-weight:520;
 letter-spacing:-.045em;
 color:#f0f5f7;
 max-width:575px
}
.hero-description{max-width:575px;color:#b0c2ce;font-size:15px;line-height:1.85}
.hero-actions{gap:25px;margin-top:32px}
.button{
 border-radius:7px;
 font:700 13px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 letter-spacing:0;
 min-height:53px;
}
.button-primary{background:#d7e8ee;color:#183247;box-shadow:0 8px 24px #030d1522}
.button-primary:hover{background:#f1f8fc;filter:none;transform:translateY(-2px)}
.text-link{font:600 13px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border-color:#8ca9bd}
.text-link:hover{color:#fff;border-color:#fff}
.hero-links{color:#a3b5c1;margin-top:23px}
.profile-card{
 background:rgba(23,44,61,.79);
 border:1px solid #8099ab55;
 border-radius:12px;
 backdrop-filter:blur(12px);
 box-shadow:0 20px 70px #04101b44;
}
.card-top{color:#a8becb}
.card-title{font-size:clamp(23px,2.2vw,30px);letter-spacing:-.052em}
.profile-card dl>div{border-color:#a2bdca25}
.profile-card dt{color:#a8bbc8}
.profile-card dd{color:#e9f2f6}
.card-foot{background:#e1eff508;color:#b5c8d3}
.card-foot span{color:#c6ab8a}
.credentials{margin-top:64px;border-color:#354e5e}
.credentials>div{border-color:#354e5e}
.credentials strong{font-size:clamp(19px,2.2vw,25px);color:#f3f7f9;letter-spacing:-.035em}
.credentials span{color:#a5bac9}

/* Transition into a sober technical systems diagram */
.systems-story{
 background:linear-gradient(130deg,#102437,#0c1b2a);
 border-color:#ffffff17;color:#ebf2f7;
}
.systems-story:before{background:radial-gradient(ellipse at 78% 47%,#45748f30,transparent 58%)}
.systems-copy .eyebrow{color:#9cbdcc}
.systems-copy h2{font-weight:575;font-size:clamp(48px,5.1vw,74px);letter-spacing:-.066em}
.systems-lead{color:#bbcedc;font-size:clamp(16px,1.5vw,20px)}
.systems-steps{border-color:#69869b42}
.systems-step{border-color:#69869b42}
.systems-step span{color:#a1bacc}
.systems-step strong{color:#e2edf3}
.systems-step p{color:#a9c0cc}
.systems-disclaimer,.systems-caption{color:#93aab8}
.systems-explore{color:#d1e4ee;border-color:#789fb4}
.systems-explore:hover{color:#fff}
.system-node{background:linear-gradient(150deg,#203b50,#122536);border-color:#97b9ce66;box-shadow:0 16px 38px #020c1670}
.system-node--core{background:linear-gradient(145deg,#386c87,#1b3a53);border-color:#9ecbd6bd;box-shadow:0 0 65px #5b8fa43c,0 24px 65px #0413239c}
.system-node .node-type{color:#b8d4e2}
.system-node .node-title{color:#f4f8fa}
.system-node .node-subtitle{color:#b5cad7}
.system-node--core .node-type,.system-node--core .node-subtitle{color:#e0edf4}
.systems-graph:before{border-color:#8dbaca20;box-shadow:0 0 100px #4e8aa117}
.systems-graph:after{border-color:#a6c4dc24}
.systems-lines,.systems-cloud{filter:hue-rotate(110deg) saturate(.48)}
.systems-story.story-motion[data-story-step="2"] .system-node--kafka{border-color:#a9caddb3;box-shadow:0 0 40px #75b0ca30,0 12px 38px #0007}

/* Content first: selected contributions precede the complete CV chronology.
   Editorial cards take one message each, no high-chroma gradient competition. */
.contributions-section{
 background:#f3f6f9;
 color:#152536;
 padding:112px 0 125px;
 border:0;
}
.contributions-section:before{
 height:1px;background:linear-gradient(90deg,transparent,#849eae 45%,transparent)
}
.contributions-section .eyebrow{color:#446a82}
.contributions-section .eyebrow:before{background:#638aa3}
.contributions-section .section-intro>p{color:#4d6172}
.contributions-section .section-intro h2{color:#162c3f}
.section-intro>p{line-height:1.75}
.case-grid{gap:18px;grid-template-columns:1.16fr 1fr 1fr}
.case-grid:before{opacity:0}
.case{
 min-height:535px;
 padding:27px 27px 25px;
 background:#fff!important;
 border:1px solid #d8e2ea;
 color:#162e40;
 border-radius:11px;
 box-shadow:0 4px 20px #16344f0a;
 transition:border-color .25s,box-shadow .28s,translate .28s;
}
.case:hover,.case:focus-within{
 border-color:#a5bdce;
 box-shadow:0 13px 34px #16344f18;
 translate:0 -3px;
}
.case:before{background:radial-gradient(300px circle at var(--spot-x,50%) var(--spot-y,10%),#d1e3ee5c,transparent 68%);opacity:.4}
.case-meta{color:#466177;font-size:10px;font-weight:680;letter-spacing:.11em}
.case-meta span:last-child{color:#6c8ba0}
.case h3{
 color:#1a3346;
 font-size:clamp(25px,2.25vw,33px);
 letter-spacing:-.055em;
 line-height:1.18;
 margin:20px 0 12px;
}
.case>p{color:#4f6373;font-size:14px;line-height:1.75;min-height:0;margin-bottom:21px}
.case-art{
 order:3;
 height:140px;
 flex-basis:140px;
 border-radius:8px;
 margin:0 0 19px;
 border:1px solid #d7e4ec;
 background:linear-gradient(150deg,#eef4f8,#e8f1f7);
}
.case-art:before{background-image:linear-gradient(#648aa314 1px,transparent 1px),linear-gradient(90deg,#648aa314 1px,transparent 1px)}
.case-art--application{background:linear-gradient(145deg,#eef5f7,#e5f0f2)}
.case-art--billing{background:linear-gradient(145deg,#f4f4f0,#e8eced)}
.case-art .art-panel{fill:#deeaf1;stroke:#668fa7}
.case-art--application .art-panel{fill:#d9edf0;stroke:#5d8ca3}
.case-art--billing .art-panel{fill:#e9e9df;stroke:#878e79}
.case-art .art-path,.case-art--application .art-path,.case-art--billing .art-path{stroke:#426f8c}
.case-art .art-quiet{stroke:#87a5b8;opacity:.62}
.case-art .art-accent{stroke:#4d7d96}
.case-art .art-dot{fill:#4c829f;filter:none}
.case-art .art-label,.case-art .art-corner{fill:#5b7c91;color:#5b7c91}
.case-result{
 order:4;border-top:1px solid #e0e8ee;padding:17px 0 0;margin-top:0;
}
.case-result>span{color:#4e7187;font-size:10px;font-weight:720}
.case-result p{color:#243c50;font-size:14px;line-height:1.7;margin:7px 0 17px}
.case details{order:5;margin-top:auto;border-color:#dfe7ed}
.case summary{min-height:49px;padding-top:13px;color:#2c5872;font-size:13px;font-weight:720}
.case summary span{color:#37647e;border-color:#9db9cb}
.case summary:hover span,.case summary:focus-visible span{background:#edf5f8}
.case-detail{color:#4b6070;font-size:13px;line-height:1.75}
.case-detail p{color:#4b6070}
.case details[open] .case-detail{padding-top:8px}
.case-art:after{opacity:.08}
.case:first-child,.case:nth-child(2),.case:nth-child(3){background:#fff}

/* Timeline as a scannable CV section */
#experiencia{
 color:#172b3d;
 background:#fff;
 padding-top:120px;
 padding-bottom:128px;
}
#experiencia .eyebrow{color:#527d96}
#experiencia h2{color:#162c3f;font-size:clamp(42px,5.4vw,70px)}
#experiencia .section-intro>p{color:#536b7e}
#experiencia .experience-list{border-top:1px solid #dae4ea}
#experiencia .experience{
 gap:52px;
 padding:41px 0 45px;
 border-color:#e0e8ed;
 grid-template-columns:235px minmax(0,1fr);
}
#experiencia .experience.featured{border-top:2px solid #426983}
#experiencia .experience:hover{background:#f6f9fb}
#experiencia .experience-company h3{font-size:clamp(25px,2.4vw,33px);color:#233a4c;font-weight:640;letter-spacing:-.04em}
#experiencia .experience-company p{color:#607487}
#experiencia .role-heading h4{color:#223b4d;font-size:clamp(21px,2.3vw,28px)}
#experiencia .role-heading p,#experiencia .sector{color:#667e8d}
#experiencia .role-summary{color:#2d4658;margin-top:19px}
#experiencia .experience-body ul{color:#526879}
#experiencia .experience-body li::marker{color:#638ba4}
#experiencia .current{background:#e4edf3;color:#315f7a;border-color:#c5d8e5;border-radius:5px;font-weight:700}
#experiencia .outcome{background:#f3f7fa;border-left:3px solid #6693ad}
#experiencia .outcome>span{color:#446c83}
#experiencia .outcome p{color:#3b5467}
#experiencia .tags span{background:#eef4f7;border:1px solid #d9e4ec;color:#466275;font-size:11px;padding:6px 10px;border-radius:6px}

/* Skills and collaboration: readable rows, deliberate typographic contrast */
.skills-section{background:#eff3f7!important;color:#1b3347;padding-block:118px 110px}
.skills-section .section-intro h2{color:#172f42;font-size:clamp(43px,5vw,68px)}
.skills-section .section-intro>p{color:#556d7c}
.skills-section .eyebrow{color:#53778f}
.skills-section .skill-layout{gap:86px;grid-template-columns:1fr 1.25fr}
.skills-section .skill-focus{border-top:2px solid #648aa5;padding-top:27px}
.skills-section .skill-focus .eyebrow{color:#5f7a8b}
.skills-section .skill-focus h3{color:#173246;font-weight:570;letter-spacing:-.055em;font-size:clamp(30px,3.5vw,47px)}
.skills-section .skill-focus p{color:#526b7e}
.skills-section .skill-focus .text-link{border-color:#8fa9b8;color:#285a75}
.skills-section .skill-list{border-color:#d3e0e8}
.skills-section .skill-list>div{border-color:#d3e0e8;grid-template-columns:160px 1fr;gap:20px;padding:19px 0}
.skills-section .skill-list dt{color:#263d50;font-weight:680}
.skills-section .skill-list dd{color:#5a7182}
.professional-skills{border-color:#d2dfe8}
.professional-skills-heading h3{color:#20384c;font-size:30px;font-weight:590}
.professional-skill{border-color:#d2dfe8}
.professional-skill dt{color:#283f52;font-weight:660}
.professional-skill dd{color:#5b7180}
.skill-number{color:#587f97}
.education{color:#223748;border-color:#d6e1e9;background:#f5f7f9;padding-top:44px;padding-bottom:70px}
.education .eyebrow{color:#587c91}
.education h2{color:#263d50}
.education p:not(.eyebrow){color:#586c7c}
.education.shell{width:min(var(--width),calc(100% - 96px))}

/* Contact ends on a crisp navy panel, no saturated marketing gradient. */
.contact-section{
 background:linear-gradient(130deg,#162e42,#0e2233);
 color:#ecf3f7;padding:112px 0;
}
.contact-section .eyebrow{color:#a5c1d2}
.contact-section h2{font-size:clamp(48px,5.9vw,78px);color:#f0f5f8;letter-spacing:-.067em}
.contact-section p:not(.eyebrow){color:#b6c8d4}
.contact-section .email{border-color:#7797a8;color:#edf5f9;font-size:clamp(18px,2.5vw,27px)}
.contact-section .email span{color:#adc8da}
.contact-resources h3{color:#d5e5ee}
.contact-resources>a{border-color:#b1c8d336;color:#edf4f7}
.contact-resources a span{color:#9dc1d1}
.footer{background:#0b1723;color:#a2b6c4;padding-block:32px}
.footer .brand{color:#e7f0f5}
.privacy-note{color:#7d94a4;border-color:#345063}
.motion-progress{background:#8fb5c7;box-shadow:0 0 9px #92bace66}

/* Less decorative travel; keep original cinematic story available where relevant. */
@media(min-width:1101px) and (prefers-reduced-motion:no-preference){
 .phase3-ready .case-grid{perspective:1200px}
 .phase3-ready .case:hover{translate:0 -2px}
}
@media(max-width:1200px){
 .shell,.education.shell{width:calc(100% - 64px)}
 .hero-layout{gap:38px}
 .case-grid{grid-template-columns:1fr 1fr}
 .case:last-child{grid-column:1/-1}
 .case{min-height:470px}
 .case-art{height:142px;flex-basis:142px}
}
@media(max-width:959px){
 .shell,.education.shell{width:calc(100% - 48px)}
 .hero-layout{grid-template-columns:1.25fr .9fr}
 .contributions-section{padding-block:85px 95px}
 .case-grid{grid-template-columns:1fr 1fr}
 .case:last-child{grid-column:1/-1}
 #experiencia{padding-block:85px 95px}
 .skills-section{padding-block:85px}
 .skills-section .skill-layout{gap:45px}
 .education{padding-bottom:58px}
}
@media(max-width:760px){
 html{scroll-padding-top:130px}
 .shell,.education.shell{width:calc(100% - 40px)}
 .site-header .header-inner{gap:12px}
 .site-header nav{font-size:11px;gap:8px}
 .site-header nav .nav-contact{background:transparent;border:0;color:#b9d7e8;padding:5px 0}
 .site-header nav .nav-contact:hover{background:transparent;color:#fff}
 .hero{padding-top:66px}
 .hero-main h1{font-size:clamp(51px,12.2vw,78px);letter-spacing:-.075em}
 .hero-main h1 span{font-size:clamp(22px,5.4vw,30px)}
 .hero-lead{font-size:21px}
 .hero-description{font-size:15px}
 .hero-network{opacity:.24}
 .hero .profile-card{margin-top:48px}
 .credentials{margin-top:43px}
 .systems-copy h2{font-size:clamp(44px,10vw,63px)}
 .contributions-section{padding-block:70px 80px}
 .case-grid{grid-template-columns:1fr;gap:14px}
 .case,.case:last-child{grid-column:auto;min-height:0;padding:23px 22px}
 .case h3{font-size:29px}
 .case-art{height:142px;flex-basis:142px}
 .case>p,.case-result p{font-size:15px}
 #experiencia{padding-block:74px}
 #experiencia .experience{grid-template-columns:1fr;gap:19px;padding:30px 0}
 #experiencia .experience-company h3{font-size:27px}
 .skills-section{padding:75px 0 70px}
 .skills-section .skill-layout{grid-template-columns:1fr;gap:30px}
 .skills-section .skill-list>div{grid-template-columns:1fr;gap:5px}
 .professional-skills-heading h3{font-size:26px}
 .education{padding-block:32px 50px}
 .contact-section{padding:79px 0}
 .contact-section h2{font-size:clamp(43px,10vw,67px)}
}
@media(max-width:360px){
 .site-header nav{font-size:9px;gap:3px;letter-spacing:0}
 .site-header nav>a{white-space:nowrap}
 .site-header nav .nav-contact span{display:none}
 .hero-main h1{font-size:50px}
 .site-header .header-inner{gap:8px}
}
@media(hover:none){
 .case:hover{translate:none;box-shadow:0 4px 20px #16344f0a}
 .case:focus-within{border-color:#8daac0}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .case:hover,.case:focus-within{translate:none}
}
@media print{
 :root{color-scheme:light}
 body,.hero,.systems-story,.contributions-section,#experiencia,.skills-section,.education{
   background:#fff!important;color:#000!important
 }
 .hero:before,.hero-network{display:none!important}
 .hero-main h1,.hero-main h1 span,.hero-lead,.hero-description{color:#000!important}
 .case,.phase3-ready .case{background:#fff!important;color:#000!important;border:1px solid #999}
 .case h3,.case>p,.case-result p,.case-detail{color:#000!important}
 .case-art{display:none}
 #experiencia .experience-company h3,#experiencia .role-heading h4,#experiencia .role-summary,
 #experiencia .experience-body ul,.skills-section .section-intro h2,.skills-section .skill-list dt,
 .skills-section .skill-list dd,.skills-section .skill-focus h3,.skills-section .skill-focus p,
 .education h2,.education p{color:#000!important}
 .contributions-section,#experiencia,.skills-section{padding-block:22px}
}

/* Full-bleed light surfaces while keeping readable content widths.
   Experience and skills are .shell sections in the original HTML. */
#experiencia,.skills-section,.education{position:relative;isolation:isolate;background:transparent!important}
#experiencia:before,.skills-section:before,.education:before{
 content:"";position:absolute;inset:0;left:50%;width:100vw;transform:translateX(-50%);z-index:-1;pointer-events:none
}
#experiencia:before{background:#fff}
.skills-section:before{background:#eff3f7}
.education:before{background:#f5f7f9}
@media print{
 #experiencia:before,.skills-section:before,.education:before{background:#fff!important}
}

/* Active architecture story indicators, replacing residual neon highlights. */
.systems-story.story-motion[data-story-step="0"] .systems-step:nth-child(1),
.systems-story.story-motion[data-story-step="1"] .systems-step:nth-child(2),
.systems-story.story-motion[data-story-step="2"] .systems-step:nth-child(3),
.systems-story.story-motion[data-story-step="0"] .systems-step:nth-child(1) strong,
.systems-story.story-motion[data-story-step="1"] .systems-step:nth-child(2) strong,
.systems-story.story-motion[data-story-step="2"] .systems-step:nth-child(3) strong,
.systems-story.story-motion[data-story-step="0"] .systems-step:nth-child(1) span,
.systems-story.story-motion[data-story-step="1"] .systems-step:nth-child(2) span,
.systems-story.story-motion[data-story-step="2"] .systems-step:nth-child(3) span {color:#add3e4}
