:root {
  --ink: #171717; --muted: #555650; --paper: #f8f9f4;
  --blue: #2348f5; --lime: #d9ff63; --pink: #ffc0dd;
  --line: #d3d5ce; --sans: 'Arial', 'Helvetica Neue', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1,h2,h3,p { margin-top: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: var(--lime); color: var(--ink); }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid #ef4293; outline-offset: 6px; }
.wrap { width: min(1280px,calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -70px; left: 20px; padding: 10px 20px; background: var(--lime); z-index: 100; }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--progress,0)); z-index: 60; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { font-size: 33px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.wordmark-dot { color: var(--blue); }
nav { display: flex; gap: 32px; align-items: center; }
nav>a { font-size: 14px; font-weight: 600; padding: 7px 0; }
nav>a:not(.nav-contact):hover,nav>a[aria-current] { color: var(--blue); }
.nav-contact { display: flex; align-items: center; gap: 20px; padding: 10px 20px; border: 1.5px solid var(--ink); border-radius: 30px; box-shadow: 3px 3px 0 var(--ink); background: var(--lime); transition: transform .2s,box-shadow .2s; }
.nav-contact:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.menu-toggle { display: none; }
.hero { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 65px; padding-top: 65px; padding-bottom: 100px; min-height: min(830px,calc(100svh - 86px)); }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.intro-label { font-size: 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 23px; }
.intro-label>span { font-size: 26px; color: var(--blue); }
h1 { font-family: 'Arial Black',Arial,sans-serif; font-weight: 900; font-size: clamp(76px,8.3vw,124px); line-height: .91; letter-spacing: -.077em; margin: 0 0 28px -7px; }
h1>span { display: block; }
.heading-dot { color: var(--blue); }
.hero-description { font-size: clamp(20px,1.9vw,27px); letter-spacing: -.9px; line-height: 1.6; margin-bottom: 15px; font-weight: 700; }
.highlight { background: var(--lime); padding: 0 .14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-detail { max-width: 440px; color: var(--muted); font-size: 17px; margin-bottom: 27px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 15px; font-weight: 700; padding: 15px 23px; border: 1.5px solid var(--ink); border-radius: 5px; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s,box-shadow .2s; }
.button:hover { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.button-primary { background: var(--blue); color: white; }
.button span { font-size: 20px; }
.cv-link { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 600; }
.cv-link:hover { color: var(--blue); }
.location { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin: 25px 0 0; }
.location svg { width: 15px; }
.portrait-area { position: relative; width: 100%; max-width: 410px; justify-self: end; padding: 15px 0 20px; perspective: 1000px; transform: translateY(var(--portrait-y,0px)); }
.portrait-area::before { content: ''; position: absolute; inset: 34px -12px 2px 15px; border-radius: 10px; background: var(--blue); transform: rotate(5deg); }
.portrait-card { position: relative; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; margin: 0; background: white; transform: rotate(-4deg) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform .3s ease-out; }
.portrait-card img { display: block; width: 100%; height: 415px; object-fit: cover; object-position: 50% 32%; filter: grayscale(1); }
.portrait-card figcaption { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--lime); border-top: 2px solid var(--ink); font-weight: 700; font-size: 15px; }
.portrait-card figcaption>span:last-child { font-size: 24px; line-height: 1; }
.portrait-label { position: absolute; top: -10px; right: -16px; z-index: 3; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--pink); font-size: 13px; font-weight: 700; padding: 8px 13px; transform: rotate(7deg); }
.portrait-note { position: absolute; left: -43px; bottom: 58px; z-index: 3; width: 115px; height: 115px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); font-weight: 800; font-size: 19px; line-height: 1.05; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(calc(-13deg + var(--sticker-turn,0deg))); }
.portrait-note>span { font-size: 29px; line-height: 1; margin-bottom: 4px; }
.scroll-cue { position: absolute; left: 0; bottom: 25px; display: flex; align-items: center; gap: 11px; font-size: 12px; color: var(--muted); }
.mouse-symbol { width: 17px; height: 25px; border: 1.5px solid var(--ink); border-radius: 12px; position: relative; }
.mouse-symbol::after { content: ''; width: 3px; height: 5px; position: absolute; top: 5px; left: 5.5px; background: var(--ink); border-radius: 3px; animation: mouse-scroll 1.8s ease-in-out 3; }
@keyframes mouse-scroll { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.ticker { overflow: hidden; background: var(--lime); border-block: 2px solid var(--ink); padding-block: 15px; }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; transform: translateX(var(--ticker-x,-60px)); will-change: transform; }
.ticker-track span { font-size: clamp(25px,3vw,42px); font-weight: 900; letter-spacing: -1.6px; white-space: nowrap; }
.ticker-track b { font-size: 40px; line-height: 1; color: var(--blue); }
.quick-facts { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr; gap: 30px; padding-block: 33px; border-bottom: 1px solid var(--line); }
.quick-facts>div { display: flex; flex-direction: column; gap: 5px; font-size: 15px; font-weight: 600; }
.fact-label { font-size: 12px; color: var(--muted); font-weight: 400; }
.section { padding-block: 115px; }
.section-kicker { font-size: 14px; margin-bottom: 21px; display: flex; align-items: center; gap: 10px; }
.section-kicker::before { content: ''; width: 19px; height: 2px; background: currentColor; }
h2 { font-size: clamp(42px,4.8vw,70px); line-height: 1.02; letter-spacing: -.06em; font-weight: 800; margin-bottom: 28px; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.about-copy { padding-top: 37px; font-size: 18px; color: #42433f; }
.about-copy p { margin-bottom: 22px; }
.text-link { display: inline-flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 700; color: var(--ink); padding-bottom: 5px; border-bottom: 1.5px solid var(--ink); }
.text-link:hover { color: var(--blue); border-color: var(--blue); }
.journey-section { background: var(--blue); color: white; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading>p { font-size: 15px; line-height: 1.7; margin-bottom: 5px; }
.journey-entry { display: grid; grid-template-columns: 240px 1fr; gap: 35px; background: var(--paper); color: var(--ink); padding: 32px; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 6px 6px 0 #102074; margin-bottom: 22px; }
.journey-entry:last-child { margin-bottom: 0; }
.journey-entry:first-child { background: var(--lime); }
.journey-date { font-size: 14px; display: flex; flex-direction: column; align-items: start; gap: 10px; padding-top: 4px; }
.entry-type { font-size: 12px; border: 1px solid #17171750; padding: 3px 9px; border-radius: 20px; }
.entry-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.journey-content h3 { font-size: 25px; line-height: 1.2; letter-spacing: -.9px; margin-bottom: 9px; }
.entry-badge { font-size: 11px; border-radius: 3px; background: var(--ink); color: white; padding: 4px 8px; white-space: nowrap; }
.organization { font-size: 14px; margin-bottom: 15px; }
.journey-content>p:not(.organization) { font-size: 16px; color: #41433a; max-width: 720px; }
.journey-content>p:last-child { margin-bottom: 0; }
.journey-content details { margin-top: 18px; }
summary { display: flex; width: fit-content; align-items: center; gap: 25px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; padding-block: 5px; }
summary::-webkit-details-marker { display: none; }
summary>span { transition: transform .2s; font-size: 20px; }
details[open] summary>span { transform: rotate(45deg); }
.detail-content { padding-top: 12px; font-size: 15px; color: #41433a; }
.detail-content p { margin-bottom: 0; }
.detail-content ul { margin: 0; padding-left: 20px; }
.detail-content li+li { margin-top: 8px; }
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.skill-group { border: 2px solid var(--ink); padding: 28px; border-radius: 8px; background: var(--lime); box-shadow: 5px 5px 0 var(--ink); transition: translate .2s; }
.skill-group:nth-child(2) { background: var(--pink); }
.skill-group:nth-child(3) { background: #e2e8ff; }
.skill-group:hover { translate: 0 -6px; }
.skill-icon { width: 34px; height: 34px; margin-bottom: 28px; }
.skill-group h3 { font-size: 22px; letter-spacing: -.7px; margin-bottom: 19px; }
.skill-tags { list-style: none; display: flex; gap: 7px; flex-wrap: wrap; padding: 0; margin: 0; }
.skill-tags li { font-size: 13px; padding: 5px 9px; border: 1px solid #17171740; border-radius: 4px; background: #ffffff55; }
.language-line { border-block: 1px solid var(--line); margin-top: 43px; padding-block: 24px; display: flex; gap: 32px; font-size: 14px; align-items: center; }
.language-line>span { margin-right: auto; color: var(--muted); }
.language-line p { display: flex; gap: 12px; margin: 0; font-weight: 700; }
.language-line p>span { font-weight: 400; color: var(--muted); }
.learning-block { margin-top: 90px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; align-items: center; }
.learning-block h3 { font-size: 35px; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 18px; }
.learning-block p:not(.section-kicker) { color: var(--muted); font-size: 17px; }
.learning-note { border: 2px solid var(--ink); padding: 27px 32px; transform: rotate(-3deg); background: white; box-shadow: 5px 5px 0 var(--pink); }
.learning-note>span { font-size: 13px; }
.learning-note ul { padding: 0; margin: 15px 0 0; list-style: none; font-size: 24px; line-height: 1.65; font-weight: 700; letter-spacing: -.8px; }
.contact-section { padding-block: 90px; background: var(--lime); border-block: 2px solid var(--ink); }
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 65px; }
.contact-section h2 { font-family: 'Arial Black', Arial, sans-serif; font-size: clamp(85px,10vw,146px); font-weight: 900; font-kerning: normal; letter-spacing: -.055em; line-height: .86; margin: 30px 0; }
.contact-t { display: inline-block; margin-left: .025em; }
.contact-apostrophe { display: inline-block; margin-left: .045em; margin-right: .01em; }
.contact-section h2>span { color: var(--blue); display: inline-block; }
.contact-section p { font-size: 16px; }
.button-yellow { color: white; background: var(--blue); margin-top: 12px; }
.contact-details { padding-top: 60px; min-width: 0; }
.email-address { display: block; font-size: clamp(16px,1.5vw,22px); font-weight: 700; letter-spacing: -.5px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; overflow-wrap: anywhere; }
.contact-links { display: flex; gap: 30px; margin-top: 33px; font-size: 16px; font-weight: 700; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-location { margin: 26px 0 0; font-size: 14px!important; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 30px; }
.site-footer .wordmark { font-size: 29px; }
.site-footer p { font-size: 13px; margin: 0; color: var(--muted); }
.site-footer>span { font-size: 12px; }
.motion-toggle { border: 1px solid var(--line); color: var(--ink); background: none; padding: 5px 10px; border-radius: 20px; font-size: 12px; }
.motion-toggle:hover { background: var(--lime); }
/* Each reveal is armed by JS only when off-screen. Content remains visible without JS. */
.reveal-pending { opacity: 0; transform: translateY(42px) rotate(.7deg); }
.reveal-pending.is-revealed { opacity: 1; transform: none; transition: opacity .65s ease,transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay,0ms); }
@media(min-width:1500px) { .hero { gap: 100px; } }
@media(max-width:1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 45px; }
  h1 { font-size: clamp(70px,8.9vw,104px); }
  .portrait-card img { height: 345px; }
  .portrait-label { font-size: 11px; right: -6px; }
  .portrait-note { width: 95px; height: 95px; left: -25px; font-size: 17px; }
  .about-section { gap: 60px; }
  .journey-entry { grid-template-columns: 190px 1fr; gap: 25px; padding: 27px; }
  .entry-heading { flex-wrap: wrap; gap: 6px; }
  .entry-badge { margin-bottom: 8px; }
  .skill-group { padding: 23px; }
  .skill-group h3 { font-size: 19px; }
  .language-line { flex-wrap: wrap; gap: 14px 30px; }
  .language-line>span { width: 100%; }
  .learning-block { gap: 45px; }
  .contact-inner { gap: 40px; }
  .site-footer { flex-wrap: wrap; }
}
@media(max-width:760px) {
  html { scroll-padding-top: 90px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { height: 74px; gap: 16px; }
  .wordmark { font-size: 29px; }
  nav { gap: 16px; }
  nav>a { font-size: 12px; }
  .nav-contact { gap: 8px; padding: 7px 13px; }
  .nav-contact svg { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 40px; padding-bottom: 92px; min-height: auto; }
  h1 { font-size: clamp(69px,15vw,110px); margin-left: -4px; }
  .intro-label { font-size: 13px; margin-bottom: 19px; }
  .hero-description { font-size: clamp(19px,4.5vw,26px); }
  .hero-detail { font-size: 16px; max-width: 480px; }
  .hero-actions { gap: 20px; }
  .hero-actions .button { padding: 13px 18px; gap: 20px; font-size: 14px; }
  .hero-actions .cv-link { font-size: 14px; }
  .portrait-area { max-width: 350px; justify-self: center; width: calc(100% - 40px); }
  .portrait-card img { height: 340px; }
  .portrait-label { font-size: 12px; }
  .portrait-note { left: -29px; bottom: 72px; }
  .scroll-cue { left: 0; right: 0; justify-content: center; }
  .ticker { padding-block: 10px; }
  .ticker-track { gap: 24px; }
  .ticker-track span { font-size: 29px; }
  .quick-facts { grid-template-columns: 1fr; gap: 16px; padding-block: 27px; }
  .quick-facts>div { display: grid; grid-template-columns: 95px 1fr; gap: 12px; font-size: 14px; }
  .section { padding-block: 70px; }
  h2 { font-size: clamp(44px,8vw,61px); }
  .about-section { grid-template-columns: 1fr; gap: 10px; }
  .about-copy { padding: 0; font-size: 17px; }
  .section-heading { align-items: start; flex-direction: column; gap: 19px; margin-bottom: 33px; }
  .section-heading>p { font-size: 14px; }
  .journey-entry { grid-template-columns: 1fr; gap: 19px; padding: 23px; margin-bottom: 20px; }
  .journey-date { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 15px; font-size: 13px; }
  .journey-content h3 { font-size: 23px; }
  .organization { font-size: 13px; }
  .journey-content>p:not(.organization) { font-size: 15px; }
  .skills-grid { grid-template-columns: 1fr; gap: 24px; }
  .skill-group { padding: 25px; }
  .skill-group h3 { font-size: 23px; }
  .skill-icon { margin-bottom: 18px; }
  .language-line { margin-top: 33px; }
  .language-line p { width: 100%; justify-content: space-between; font-size: 13px; }
  .learning-block { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
  .learning-block h3 { font-size: 32px; }
  .learning-note { margin: 8px; }
  .learning-note ul { font-size: 23px; }
  .contact-inner { grid-template-columns: 1fr; gap: 15px; }
  .contact-section { padding-block: 65px; }
  .contact-section h2 { font-size: clamp(85px,20vw,140px); }
  .contact-details { padding-top: 28px; }
  .email-address { font-size: 17px; }
  .site-footer { gap: 20px; }
  .site-footer p { width: calc(100% - 130px); font-size: 12px; text-align: right; }
  .site-footer>span { margin-left: auto; font-size: 11px; }
}
@media(max-width:600px) {
  .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--ink); border-radius: 30px; background: var(--paper); font-size: 13px; padding: 6px 15px; }
  .menu-toggle span { font-size: 22px; line-height: 1; }
  .menu-toggle[aria-expanded=true] span { transform: rotate(45deg); }
  .header-inner:has(.menu-toggle:not([hidden])) nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--paper); padding: 14px 20px 24px; border-bottom: 2px solid var(--ink); }
  .header-inner:has(.menu-toggle:not([hidden])) nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  nav>a { padding: 12px; font-size: 16px; }
  nav>a[aria-current] { background: var(--lime); color: var(--ink); }
  nav .nav-contact { display: flex; margin-top: 12px; padding: 11px 16px; }
  nav .nav-contact svg { display: block; }
}
@media(max-width:370px) {
  h1 { font-size: 62px; }
  .intro-label { font-size: 11px; }
  .hero-description { font-size: 18px; }
  .button { padding: 13px 15px; gap: 18px; font-size: 13px; }
  .cv-link { font-size: 13px; }
  .portrait-card img { height: 280px; }
  .portrait-label { font-size: 10px; }
  .portrait-note { width: 85px; height: 85px; font-size: 15px; left: -22px; }
  .quick-facts>div { grid-template-columns: 75px 1fr; font-size: 12px; }
  .contact-section h2 { font-size: 82px; }
}
html.motion-off { scroll-behavior: auto; }
.motion-off .reveal-pending { opacity: 1; transform: none; }
.motion-off .portrait-area,.motion-off .portrait-card,.motion-off .portrait-note,.motion-off .ticker-track { transform: none; }
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none!important; transition: none!important; }
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none!important; transition: none!important; }
  .reveal-pending { opacity: 1; transform: none; }
  .portrait-area,.portrait-card,.portrait-note,.ticker-track { transform: none; }
}
