/* Blue ICT identity. All artwork is local SVG/CSS; no external services. */
:root { --ink:#071526; --muted:#4c6075; --brand:#075ecb; --brand-hover:#004498; --paper:#f1f7ff; --line:#cfdeee; --focus:#075ecb; }
.main-nav a { font-weight:500; }
.hero { position:relative; isolation:isolate; overflow:hidden; padding-top:72px; color:#fff; background:radial-gradient(ellipse at 82% 22%,#104f9580,transparent 47%),linear-gradient(118deg,#040c19 2%,#082141 54%,#073462); }
.hero::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.2; background-image:linear-gradient(#5998e526 1px,transparent 1px),linear-gradient(90deg,#5998e526 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(90deg,transparent,#000); }
.hero::after { content:"01001001 01000011 01010100"; position:absolute; right:3%; top:25px; z-index:-1; font:11px/1.5 ui-monospace,Consolas,monospace; letter-spacing:.3em; color:#9ac9ff40; }
.hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:center; }
.hero-copy { position:relative; z-index:1; padding-bottom:15px; }
.hero-copy .eyebrow { display:flex; align-items:center; gap:12px; color:#a9d3ff; font-size:.77rem; letter-spacing:.14em; }
.hero-copy .eyebrow::before { content:""; width:25px; height:2px; background:#51a7ff; flex-shrink:0; }
.hero h1 { font-size:clamp(2.9rem,4.7vw,4.75rem); line-height:1.08; letter-spacing:-.055em; }
.hero h1 span { color:#71bbff; background:linear-gradient(105deg,#b0e0ff,#54a9ff 65%,#75c2ff); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero-intro { color:#d2e2f3; font-size:1.1rem; line-height:1.8; max-width:475px; margin-top:27px; }
.hero-guidance { color:#9dbbd9; margin-top:24px; font-size:.84rem; }
.hero-art { position:relative; min-width:0; width:100%; aspect-ratio:1.2; }
.art-glow { position:absolute; inset:10% 6%; border-radius:50%; background:#278efb; opacity:.11; filter:blur(45px); }
.circuit-board { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.circuit-line { fill:none; stroke:#368be6; stroke-width:1.3; opacity:.5; }
.data-packet { fill:none; stroke:#8cd5ff; stroke-width:2.5; stroke-linecap:round; stroke-dasharray:4 75; animation:packet-flow 9s linear infinite; }
.packet-alt { animation-delay:-4s; animation-duration:12s; }
.code-window { position:absolute; top:12%; left:13%; right:8%; bottom:24%; border:1px solid #6faff568; border-radius:14px; background:linear-gradient(130deg,#0d2b4aee,#06172bea); box-shadow:0 30px 65px #02091470,inset 0 1px 0 #bde2ff17; transform:perspective(1000px) rotateY(-7deg) rotateX(3deg); animation:window-float 9s ease-in-out infinite; }
.window-bar { display:flex; align-items:center; gap:6px; height:40px; padding:0 16px; border-bottom:1px solid #679ddb30; }
.window-bar i { width:5px; height:5px; border-radius:50%; background:#76b8ff; opacity:.8; }
.window-bar i:nth-child(2) { opacity:.5; }.window-bar i:nth-child(3) { opacity:.25; }
.window-bar span { margin-left:auto; font:9px ui-monospace,Consolas,monospace; letter-spacing:.16em; color:#8caccc; }
.code-content { padding:22px 24px; font:clamp(10px,1vw,13px)/2.25 ui-monospace,Consolas,monospace; color:#a8c9e9; }
.code-content p { white-space:nowrap; }.code-content b { color:#66b7ff; font-weight:400; }.code-content em { color:#e8f4ff; font-style:normal; }.code-content .code-indent { padding-left:20px; }
.code-number { display:inline-block; width:26px; color:#436582; user-select:none; }
.code-footer { margin-top:12px; display:flex; align-items:center; gap:6px; color:#62a9e9; font-size:9px; letter-spacing:.12em; }
.code-footer::before { content:""; width:5px; height:5px; border-radius:50%; background:#79caff; box-shadow:0 0 10px #51b3ff; }
.floating-chip { position:absolute; display:grid; place-items:center; background:linear-gradient(135deg,#f6fbff,#b2d9ff); color:#0754ad; box-shadow:0 12px 35px #0004; border:1px solid #d9eeff; border-radius:14px; animation:chip-float 7s ease-in-out infinite; }
.chip-code { width:80px; height:80px; left:1%; top:25%; transform:rotate(-8deg); font:700 28px ui-monospace,Consolas,monospace; }
.chip-data { right:1%; bottom:12%; width:83px; height:83px; animation-delay:-3s; }
.chip-data svg { width:40px; height:40px; fill:none; stroke:currentColor; stroke-width:1.5; }
.binary-ribbon { position:absolute; left:21%; right:20%; bottom:9%; overflow:hidden; height:42px; border-left:2px solid #5cadff; padding-left:12px; color:#77baff6e; font:10px/1.8 ui-monospace,Consolas,monospace; letter-spacing:.17em; }
.binary-ribbon span { display:block; animation:binary-scroll 14s linear infinite; }
.art-label { position:absolute; left:25%; bottom:23%; padding:7px 12px; border:1px solid #4b89c478; border-radius:20px; background:#061a30; color:#9dcfff; font:9px ui-monospace,Consolas,monospace; letter-spacing:.13em; }
.needs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:38px; }
.need-link,.need-link:first-child { min-height:148px; padding:24px; border:1px solid #66a3e43b; border-radius:10px; background:linear-gradient(135deg,#16457466,#0a234555); gap:15px; transition:border-color .2s,background .2s,transform .2s; }
.need-link:last-child { border-bottom:1px solid #66a3e43b; }
.need-link:hover { transform:translateY(-3px); border-color:#67afff; background:#154576; }
.need-copy { border:0; padding:0; }.need-copy .eyebrow { color:#90c7ff; font-size:.66rem; letter-spacing:.09em; margin-bottom:10px; }
.need-title { color:#f3f8ff; font-size:1.12rem; line-height:1.45; font-weight:500; min-height:0; }
.need-link .arrow-icon { color:#82c5ff; width:23px; flex-basis:23px; margin:0; }
.need-icon { display:block; width:29px; height:29px; margin-bottom:15px; color:#88caff; fill:none; stroke:currentColor; stroke-width:1.5; }
.trust-strip { border-color:#7eb5e333; margin-top:34px; padding:26px 0 30px; }
.trust-strip > div + div { border-color:#7eb5e333; }
.trust-title { color:#b6daff; font-size:1.15rem; }.trust-strip p:not(.trust-title),.sector-list { color:#a0bad3; font-size:.8rem; }
.hero :focus-visible { outline-color:#a6d8ff; }
.section-heading .eyebrow,.about-section .eyebrow { color:#075ecb; }
.service { border-color:#d1e2f3; }.service[open] { background:linear-gradient(100deg,#eff7ff,transparent 70%); }
.service summary { padding-inline:18px; }.service-body { padding-left:98px; padding-right:18px; }
.service-number { display:grid; gap:7px; font-family:ui-monospace,Consolas,monospace; }
.service-number svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.5; }
.experience-section { background:linear-gradient(150deg,#eaf4ff,#f6faff 65%,#e5f2ff); }
.project { padding:25px; border:1px solid #b8d3f0; border-top:3px solid #1671db; border-radius:10px; background:#ffffffb8; }
.project-art { display:flex; align-items:center; justify-content:space-between; height:86px; margin-bottom:22px; padding:20px; border-radius:6px; background:linear-gradient(120deg,#082340,#0959aa); color:#acdfff; }
.project-art svg { width:38px; height:38px; fill:none; stroke:currentColor; stroke-width:1.3; }.project-art span { font:10px/1.8 ui-monospace,Consolas,monospace; letter-spacing:.13em; color:#87b9ee; }
.project h3 { font-size:1.3rem; }.project-context { color:#536c84; }
.process > div { border-top:2px solid #b1d4ff; }.process-number { color:#075ecb; }
.contact-section { position:relative; isolation:isolate; overflow:hidden; background:radial-gradient(ellipse at 90% 10%,#137add77,transparent 55%),linear-gradient(115deg,#06152b,#073a72); }
.contact-section::before { content:"01010101\A 10100110\A 01001101"; white-space:pre; position:absolute; right:4%; bottom:-15px; z-index:-1; font:700 clamp(3rem,9vw,9rem)/1.1 ui-monospace,Consolas,monospace; color:#7bbcff0d; letter-spacing:.12em; }
.contact-section .eyebrow { color:#97c9ff; }.contact-intro { color:#d2e5fb; }.contact-hint { color:#acc5e0; }.contact-email { border-color:#69a6e770; }
.footer-bottom { border-color:#d1e2f3; }.text-link { color:#075ecb; }
@keyframes window-float { 0%,100% { transform:perspective(1000px) rotateY(-7deg) rotateX(3deg) translateY(0); } 50% { transform:perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-8px); } }
@keyframes chip-float { 0%,100% { translate:0 0; } 50% { translate:0 -9px; } }
@keyframes packet-flow { to { stroke-dashoffset:-158; } }
@keyframes binary-scroll { to { transform:translateY(-50%); } }
@media (max-width:1100px) { .hero-grid { gap:22px; }.hero h1 { font-size:clamp(2.8rem,5vw,4.2rem); }.code-content { padding:14px 15px; font-size:11px; line-height:2; }.code-number { width:19px; }.code-footer { margin-top:7px; }.need-link,.need-link:first-child { padding:20px; }.need-title { font-size:1rem; }.project { padding:20px; } }
@media (max-width:800px) { .hero { padding-top:44px; }.hero-grid { grid-template-columns:1fr; gap:14px; }.hero h1 { max-width:660px; font-size:clamp(3rem,7.6vw,4.4rem); }.hero-intro { max-width:570px; }.hero-art { width:min(100%,540px); justify-self:center; aspect-ratio:1.4; }.code-content { font-size:12px; line-height:2; }.chip-code,.chip-data { width:66px; height:66px; }.needs { gap:12px; margin-top:25px; }.need-link,.need-link:first-child { display:flex; padding:18px; align-items:flex-start; }.need-link .arrow-icon { display:none; }.project { display:flex; }.project h3 { min-height:0; }.project-context { margin:13px 0 20px; }.project-art { width:100%; }.service-body { padding-left:74px; } }
@media (max-width:600px) {.hero { padding-top:35px; }.hero::after { top:13px; font-size:8px; }.hero-copy .eyebrow { font-size:.65rem; line-height:1.6; margin-bottom:22px; }.hero h1 { font-size:clamp(2.5rem,9.8vw,3.55rem); line-height:1.12; }.hero-intro { font-size:1rem; line-height:1.75; margin-top:22px; }.hero-guidance { margin-top:19px; font-size:.8rem; }.hero-art { aspect-ratio:1.13; margin-top:12px; }.code-window { left:10%; right:4%; bottom:24%; }.window-bar { padding:0 12px; height:29px; }.window-bar span { font-size:7px; }.code-content { padding:15px 12px; font-size:clamp(8px,2.65vw,11px); line-height:2.1; }.code-content .code-indent { padding-left:11px; }.code-number { width:18px; }.code-footer { font-size:7px; }.chip-code { width:51px; height:51px; left:-2%; font-size:22px; border-radius:10px; }.chip-data { width:56px; height:56px; right:-1%; bottom:12%; border-radius:10px; }.chip-data svg { width:30px; height:30px; }.art-label { font-size:7px; padding:5px 9px; bottom:23%; }.binary-ribbon { font-size:8px; left:15%; right:23%; bottom:7%; }.needs { grid-template-columns:1fr; gap:10px; margin-top:25px; }.need-link,.need-link:first-child { align-items:center; min-height:0; padding:20px; }.need-link .arrow-icon { display:block; }.need-icon { width:26px; height:26px; margin-bottom:9px; }.need-copy .eyebrow { font-size:.64rem; margin-bottom:6px; }.need-title { font-size:1.08rem; max-width:none; }.trust-strip { margin-top:26px; padding-bottom:28px; }.trust-title { font-size:1rem; }.service summary { padding-inline:10px; grid-template-columns:30px 1fr 18px; gap:12px; }.service-number svg { width:23px; height:23px; }.service-body { padding-left:52px; padding-right:12px; }.project { padding:23px; }.project h3 { font-size:1.4rem; }.contact-section h2 { font-size:2.4rem; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none !important; } }
@media print {
.hero-art,.need-icon,.project-art{ display:none !important; }.hero,.contact-section,.experience-section { color:#111; background:white; }.hero::before,.hero::after,.contact-section::before { display:none; }.hero h1 span { color:#075ecb; -webkit-text-fill-color:currentColor; background:none; }.hero .eyebrow,.hero-intro,.hero-guidance,.need-title,.need-copy .eyebrow,.trust-title,.trust-strip p:not(.trust-title),.sector-list { color:#111; }.need-link,.need-link:first-child { border-color:#bbb; background:white; }.hero-grid { grid-template-columns:1fr; } }
html[lang="zh"] body { font-family:Inter,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; }
html[lang="zh"] h1,html[lang="zh"] h2,html[lang="zh"] h3 { letter-spacing:0; line-height:1.3; }
html[lang="zh"] .hero-copy .eyebrow { letter-spacing:.08em; }

/* Header: supplied horizontal SVG logo and compact language disclosure. */
.site-header { position:relative; z-index:20; background:#fff; border-bottom:1px solid #e0eaf6; }
.header-inner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; min-height:104px; gap:32px; padding-block:16px; }
.header-inner .brand { display:flex; align-items:center; width:220px; margin:0; }
.brand img { display:block; width:100%; height:auto; clip-path:none; }
.main-nav { justify-content:flex-end; width:auto; gap:clamp(20px,2.4vw,38px); padding:0; }
.main-nav a { padding:12px 0; font-size:.9rem; }
.language-picker { position:relative; min-width:0; margin-left:6px; padding-left:24px; border-left:1px solid #e0eaf6; }
.language-trigger { display:flex; align-items:center; justify-content:flex-start; gap:9px; min-height:44px; padding:8px 0 8px 8px; color:#075ecb; font-size:.86rem; font-weight:550; cursor:pointer; list-style:none; border-radius:6px; }
.language-trigger::-webkit-details-marker { display:none; }
.language-trigger::marker { content:""; }
.language-trigger:hover { color:#004498; }
.language-trigger img,.language-options img { display:block; width:24px; height:16px; flex-shrink:0; border-radius:2px; object-fit:cover; box-shadow:0 0 0 1px #075ecb1a; }
.language-current-name { white-space:nowrap; }
.language-chevron { fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; width:14px; height:14px; margin-left:3px; flex-shrink:0; transition:transform .18s; }
.language-picker[open] .language-chevron { transform:rotate(180deg); }
.language-options { position:absolute; top:calc(100% + 14px); right:0; z-index:30; width:216px; max-width:calc(100vw - 32px); max-height:min(460px,calc(100dvh - 120px)); overflow-y:auto; overscroll-behavior:contain; padding:8px; border:1px solid #dce6f1; border-radius:10px; background:#fff; box-shadow:0 14px 40px #02132726; }
.language-options a { display:flex; align-items:center; gap:12px; min-height:44px; padding:10px 12px; border-radius:5px; text-decoration:none; color:#071526; font-size:.9rem; font-weight:450; }
.language-options a:hover,.language-options a:focus-visible { background:#e6f1ff; color:#075ecb; }
.language-options a:focus-visible { outline:2px solid #075ecb; outline-offset:-2px; }
.language-options a[aria-current="page"] { background:#e6f1ff; color:#075ecb; font-weight:650; }
.language-options a[aria-current="page"]::after { content:"✓"; margin-left:auto; font-size:.9rem; }
@media (min-width:1101px) {
  .header-inner .menu-toggle { display:none; }
}
@media (max-width:1100px) {
  .header-inner { grid-template-columns:auto minmax(0,1fr) 44px; gap:16px; min-height:96px; padding-block:16px; }
  .header-inner .brand { width:180px; }
  .language-picker { grid-row:1; grid-column:2; justify-self:end; margin:0; padding:0; border:0; }
  .header-inner .menu-toggle { grid-row:1; grid-column:3; display:none; align-items:center; justify-content:center; width:44px; height:44px; min-height:44px; padding:0; gap:0; border:1px solid #dce6f1; border-radius:8px; color:#075ecb; background:#f1f7ff; }
  .js .header-inner .menu-toggle { display:flex; }
  .menu-toggle .menu-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .menu-lines { position:relative; width:17px; height:13px; border-top:1.5px solid currentColor; border-bottom:1.5px solid currentColor; }
  .menu-lines::after { content:""; position:absolute; top:4.5px; left:0; width:17px; border-top:1.5px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-lines { border:0; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before,.menu-toggle[aria-expanded="true"] .menu-lines::after { content:""; position:absolute; top:6px; left:0; width:17px; border-top:1.5px solid currentColor; transform:rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { transform:rotate(-45deg); }
  .header-inner .main-nav { grid-row:2; grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 16px; width:100%; padding:12px 0 0; border-top:1px solid #e0eaf6; }
  .header-inner .main-nav a { padding:12px 0; }
  .js .header-inner .main-nav:not(.is-open) { display:none; }
  .language-options { right:-60px; top:calc(100% + 22px); }
}
@media (max-width:600px) {
  .header-inner { grid-template-columns:minmax(0,1fr) auto 44px; min-height:80px; gap:12px; padding-block:14px; }
  .header-inner .brand { width:clamp(100px,calc(100vw - 254px),136px); max-width:100%; }
  .language-trigger { gap:7px; font-size:.81rem; padding-left:0; }
  .language-trigger img { width:22px; height:15px; }
  .language-options { right:-56px; top:calc(100% + 17px); }
}
@media (max-width:360px) {
  .header-inner { gap:8px; }
  .header-inner .brand { width:100px; }
  .language-trigger { gap:5px; font-size:.75rem; }
  .language-chevron { width:11px; margin-left:0; }
  .language-options { right:-52px; }
}
@media print {
  .language-picker,.header-inner .menu-toggle { display:none !important; }
  .header-inner { display:flex; min-height:0; padding-block:0 20px; }
}

/* Chronological portfolio: a continuous year rail and native project details. */
.portfolio-overview { display:flex; align-items:center; gap:24px; margin-bottom:24px; color:var(--muted); font-size:.9rem; }
.portfolio-count { flex-shrink:0; border:1px solid #b8d3f0; border-radius:24px; padding:8px 16px; color:#075ecb; background:#fff; font-weight:650; }
.timeline-nav { position:sticky; top:12px; z-index:5; display:flex; flex-wrap:wrap; align-items:center; gap:8px; width:fit-content; max-width:100%; margin-bottom:44px; padding:8px; border:1px solid #c7ddf3; border-radius:14px; background:#f5fafff5; box-shadow:0 8px 28px #0821410c; backdrop-filter:blur(12px); }
.timeline-nav a { display:flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:8px 18px; border-radius:8px; color:#075ecb; font-size:.85rem; font-weight:600; text-decoration:none; }
.timeline-nav a:hover,.timeline-nav a:focus-visible { color:#004498; background:#deedff; }
.timeline-nav .timeline-nav-today { color:#fff; background:#075ecb; }
.timeline-nav .timeline-nav-today:hover,.timeline-nav .timeline-nav-today:focus-visible { color:#fff; background:#004498; }
.timeline-list { position:relative; isolation:isolate; padding:0; margin:0; list-style:none; }
.timeline-list::before { content:""; position:absolute; left:104px; top:18px; bottom:55px; z-index:-1; width:2px; background:linear-gradient(#8dc5ff,#168af3 35%,#075ecb 80%,#8dc5ff); }
.timeline-entry { position:relative; display:grid; grid-template-columns:132px minmax(0,1fr); align-items:start; gap:24px; padding-bottom:42px; scroll-margin-top:110px; }
.timeline-entry:last-child { padding-bottom:0; }
.timeline-year { position:relative; margin:0; padding-top:2px; color:#082139; font:650 1.8rem/1.2 Inter,sans-serif; letter-spacing:-.06em; overflow-wrap:anywhere; }
.timeline-year::after { content:""; position:absolute; left:97px; top:11px; width:16px; height:16px; border:3px solid #168af3; border-radius:50%; background:#f1f7ff; box-shadow:0 0 0 6px #edf6ff; }
.timeline-year small { display:block; margin-top:10px; max-width:92px; color:#075ecb; font:550 .65rem/1.5 Inter,sans-serif; letter-spacing:.06em; text-transform:uppercase; }
.timeline-entry--milestone .timeline-year::after { background:#075ecb; border-color:#075ecb; box-shadow:0 0 0 6px #d7eaff; }
#timeline-today .timeline-year { padding-top:10px; padding-right:32px; font-size:1rem; letter-spacing:0; }
.timeline-projects { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:16px; min-width:0; }
.timeline-projects--single { grid-template-columns:minmax(0,1fr); }
.timeline-projects > :last-child:nth-child(odd) { grid-column:1/-1; }
.portfolio-project { min-width:0; border:1px solid #c1d8ef; border-radius:12px; background:#ffffffed; overflow-wrap:anywhere; box-shadow:0 4px 15px #08214103; }
.portfolio-project[open] { border-color:#80b6ed; }
.portfolio-project summary { display:grid; grid-template-columns:minmax(0,1fr) 24px; align-items:start; gap:18px; padding:24px; cursor:pointer; list-style:none; border-radius:11px; }
.portfolio-project summary::-webkit-details-marker { display:none; }
.portfolio-project summary::marker { content:""; }
.portfolio-project summary:hover { background:#e6f1ff; }
.portfolio-project summary:focus-visible { outline:3px solid #075ecb; outline-offset:-4px; }
.portfolio-heading { display:grid; gap:9px; }
.portfolio-period { font:500 .75rem/1.5 ui-monospace,Consolas,monospace; color:#4c6075; }
.portfolio-title { font-size:1.08rem; line-height:1.4; font-weight:650; letter-spacing:-.02em; color:#071526; }
.portfolio-client { color:#075ecb; font-size:.83rem; line-height:1.65; }
.portfolio-toggle { width:24px; height:24px; margin-top:2px; fill:none; stroke:#075ecb; stroke-width:1.5; stroke-linecap:round; }
.portfolio-project[open] .portfolio-toggle { transform:rotate(45deg); }
.portfolio-body { margin:0 24px; padding:0 0 24px; color:var(--muted); font-size:.92rem; line-height:1.8; }
.portfolio-tech { padding-top:16px; margin-top:18px; border-top:1px solid #dce8f5; color:#075ecb; font-size:.78rem; line-height:1.7; }
.timeline-milestone,.timeline-story { min-width:0; padding:32px; border-radius:14px; }
.timeline-milestone { position:relative; isolation:isolate; overflow:hidden; color:#d2e5fb; background:radial-gradient(ellipse at 100% 0%,#168af344,transparent 60%),linear-gradient(115deg,#082139,#073462); }
.timeline-milestone::after { content:""; position:absolute; right:-26px; top:-35px; z-index:-1; width:180px; height:180px; border:1px solid #6ebaff30; border-radius:50%; box-shadow:0 0 0 28px #5cabff08,0 0 0 56px #5cabff05; }
.timeline-binary { display:block; margin-bottom:18px; font:.65rem/1.7 ui-monospace,Consolas,monospace; color:#83c1ff; letter-spacing:.14em; overflow-wrap:anywhere; }
.timeline-milestone h4,.timeline-story h4 { font-size:clamp(1.2rem,2.2vw,1.8rem); line-height:1.3; margin-bottom:12px; letter-spacing:-.035em; }
.timeline-milestone h4 { color:white; }
.timeline-milestone p,.timeline-story p { max-width:740px; font-size:.95rem; line-height:1.8; }
.timeline-story { border:1px solid #bdd9f5; background:linear-gradient(120deg,#ffffffee,#e4f1ff); color:#4c6075; }
.timeline-story h4 { color:#082139; }
.timeline-story-tech { display:block; margin-top:18px; color:#075ecb; font:.75rem/1.6 ui-monospace,Consolas,monospace; }
.timeline-milestone--today { background:radial-gradient(ellipse at 100% 0%,#168af355,transparent 55%),linear-gradient(115deg,#073462,#082139); }
@media (max-width:1000px) { .timeline-projects { grid-template-columns:minmax(0,1fr); } }
@media (max-width:700px) {
  .portfolio-overview { align-items:flex-start; gap:14px; flex-direction:column; }
  .timeline-nav { top:8px; gap:4px; padding:6px; margin-bottom:32px; }
  .timeline-nav a { padding:6px 11px; font-size:.78rem; }
  .timeline-list::before { left:9px; top:18px; bottom:50px; }
  .timeline-entry { display:block; padding-left:32px; padding-bottom:32px; scroll-margin-top:132px; }
  .timeline-year { margin-bottom:18px; font-size:1.7rem; }
  .timeline-year::after { left:-30px; top:9px; }
  .timeline-year small { display:inline-block; vertical-align:middle; max-width:none; margin:0 0 0 14px; }
  .portfolio-project summary { padding:18px; gap:10px; }
  .portfolio-title { font-size:1rem; }
  .portfolio-body { margin-inline:18px; padding-bottom:18px; }
  .timeline-milestone,.timeline-story { padding:24px; }
  .timeline-milestone p,.timeline-story p { font-size:.88rem; }
}
@media print {
  .timeline-nav { display:none; }
  .timeline-projects { display:block; }
  .portfolio-project { break-inside:avoid; margin-bottom:12px; }
  .timeline-milestone,.timeline-story { color:#111; background:none; border:1px solid #bbb; }
  .timeline-milestone h4,.timeline-story h4,.timeline-binary { color:#111; }
  .timeline-milestone::after { display:none; }
}
