/* ==========================================================================
   Edoardo Terra — shared interface system
   Used by: index.html (Home), project-lab.html (shared chrome), 404.html
   All tokens and classes are namespaced (--et-*, .et-*) so they never
   collide with the Project Lab's own stylesheet.
   ========================================================================== */

:root{
  --et-bg:#f4f5f2;
  --et-panel:#fbfcf9;
  --et-panel-2:#eceeea;
  --et-ink:#111716;
  --et-ink-2:#34403e;
  --et-muted:#65716f;
  --et-line:rgba(15,61,59,.15);
  --et-line-2:rgba(15,61,59,.30);
  --et-accent:#0f5f5c;
  --et-accent-2:#0b7771;
  --et-accent-text:#0b6964;
  --et-accent-rgb:15,95,92;
  --et-switch-bg:#191d1c;
  --et-shadow:0 22px 60px rgba(24,55,53,.14);
  --et-mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --et-sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --et-head-h:72px;
  --et-wrap:1240px;
  --et-gutter:24px;
}
html[data-theme="dark"]{
  --et-bg:#09090a;
  --et-panel:#101113;
  --et-panel-2:#18191b;
  --et-ink:#f4f2ef;
  --et-ink-2:#cfccc8;
  --et-muted:#9d9c9e;
  --et-line:rgba(255,255,255,.12);
  --et-line-2:rgba(255,255,255,.26);
  --et-accent:#7d1d36;
  --et-accent-2:#a92e4d;
  --et-accent-text:#d56b86;
  --et-accent-rgb:169,46,77;
  --et-switch-bg:#141516;
  --et-shadow:0 22px 60px rgba(0,0,0,.5);
}

/* ---------- Base (Home + 404 only; Project Lab keeps its own base) ---------- */
html.et-page{scroll-behavior:smooth;scroll-padding-top:calc(var(--et-head-h) + 76px);-webkit-text-size-adjust:100%;color-scheme:light}
html.et-page[data-theme="dark"]{color-scheme:dark}
.et-page *,.et-page *::before,.et-page *::after{box-sizing:border-box}
.et-page body{margin:0;background:var(--et-bg);color:var(--et-ink);font:400 15.5px/1.65 var(--et-sans);overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.et-page body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(rgba(var(--et-accent-rgb),.045) 1px,transparent 1px) 0 0/56px 56px,
             linear-gradient(90deg,rgba(var(--et-accent-rgb),.045) 1px,transparent 1px) 0 0/56px 56px;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,rgba(0,0,0,.55) 45%,rgba(0,0,0,.25) 100%);
          mask-image:linear-gradient(to bottom,#000 0,rgba(0,0,0,.55) 45%,rgba(0,0,0,.25) 100%)}
:where(.et-page) a{color:inherit}
:where(.et-page) ::selection{background:rgba(var(--et-accent-rgb),.22)}
:where(.et-page) :where(button,input){font:inherit;color:inherit}
:where(.et-page) :focus-visible{outline:2px solid var(--et-accent-2);outline-offset:2px}
.et-wrap{width:min(var(--et-wrap),calc(100% - var(--et-gutter)*2));margin-inline:auto}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.et-skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--et-accent);color:#fff!important;padding:10px 14px;font:500 11px/1 var(--et-mono);text-transform:uppercase;letter-spacing:.08em;text-decoration:none}
.et-skip:focus{top:12px}

/* ==========================================================================
   Shared chrome: command bar + mode switch (identical on both pages)
   ========================================================================== */
.et-command{position:sticky;top:0;z-index:90;background:color-mix(in srgb,var(--et-bg) 84%,transparent);-webkit-backdrop-filter:saturate(1.25) blur(16px);backdrop-filter:saturate(1.25) blur(16px);border-bottom:1px solid var(--et-line);font-family:var(--et-sans)}
.et-command-inner{width:min(var(--et-wrap),calc(100% - var(--et-gutter)*2));margin-inline:auto;min-height:var(--et-head-h);display:grid;grid-template-columns:auto auto minmax(160px,1fr) auto;gap:14px;align-items:center}
.et-brand{display:flex;align-items:center;gap:11px;color:var(--et-ink);text-decoration:none;min-width:0}
.et-mark{flex:none;width:38px;height:38px;display:grid;place-items:center;background:#000;color:#fff;border-radius:2px;font:700 18px/1 Georgia,'Times New Roman',serif;letter-spacing:-.02em;box-shadow:inset 0 0 0 1px #000,0 0 0 1px rgba(var(--et-accent-rgb),.35)}
.et-brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.et-brand-copy b{font:700 12px/1.1 var(--et-mono);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.et-brand-copy small{font:500 9.5px/1.1 var(--et-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--et-accent-text);white-space:nowrap}

.et-switch{display:flex;gap:2px;padding:3px;background:var(--et-switch-bg);border:1px solid rgba(255,255,255,.12);border-radius:3px;box-shadow:0 10px 26px rgba(0,0,0,.14)}
.et-switch a{display:block;font:500 10px/1 var(--et-mono);letter-spacing:.07em;text-transform:uppercase;color:#a9b1af;padding:10px 14px;border-radius:1px;text-decoration:none;white-space:nowrap;transition:color .15s ease,background-color .15s ease}
.et-switch a:hover{color:#fff}
.et-switch a[aria-current="page"]{background:var(--et-accent);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}

.et-search{position:relative;min-width:0}
.et-search-field{position:relative;display:block}
.et-search svg.et-search-icon{position:absolute;left:13px;top:50%;width:14px;height:14px;transform:translateY(-50%);color:var(--et-muted);pointer-events:none}
.et-search input{width:100%;height:42px;margin:0;border:1px solid var(--et-line);border-radius:2px;background:color-mix(in srgb,var(--et-panel) 92%,transparent);color:var(--et-ink);padding:0 74px 0 36px;font:400 12.5px/1 var(--et-mono);letter-spacing:.01em;outline:none;-webkit-appearance:none;appearance:none;transition:border-color .15s ease,box-shadow .15s ease}
.et-search input::placeholder{color:var(--et-muted);opacity:1}
.et-search input::-webkit-search-cancel-button{display:none}
.et-search input:focus{border-color:var(--et-accent-2);box-shadow:0 0 0 3px rgba(var(--et-accent-rgb),.12)}
.et-kbd{position:absolute;right:10px;top:50%;transform:translateY(-50%);font:500 9.5px/1 var(--et-mono);letter-spacing:.06em;color:var(--et-muted);border:1px solid var(--et-line);padding:5px 6px;border-radius:2px;pointer-events:none;background:var(--et-bg)}

.et-actions{display:flex;align-items:center;gap:6px}
.et-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 13px;border:1px solid var(--et-line-2);border-radius:2px;background:transparent;color:var(--et-ink);font:500 10px/1 var(--et-mono);letter-spacing:.07em;text-transform:uppercase;text-decoration:none;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,color .15s ease,background-color .15s ease}
.et-btn:hover{border-color:var(--et-accent-2);color:var(--et-accent-text)}
.et-btn-solid{background:var(--et-accent);border-color:var(--et-accent);color:#fff}
.et-btn-solid:hover{background:var(--et-accent-2);border-color:var(--et-accent-2);color:#fff}
.et-btn-lg{height:46px;padding:0 18px;font-size:10.5px}
.et-icon{width:38px;padding:0}
.et-icon svg{width:15px;height:15px}
.et-theme .i-sun{display:none}
html[data-theme="dark"] .et-theme .i-sun{display:block}
html[data-theme="dark"] .et-theme .i-moon{display:none}
.et-search-open{display:none}

/* Search results (Home command palette) */
.et-results{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:95;max-height:min(62vh,460px);overflow:auto;overscroll-behavior:contain;background:var(--et-panel);border:1px solid var(--et-line-2);border-radius:2px;box-shadow:var(--et-shadow);padding:6px}
.et-results[hidden]{display:none}
.et-res-group{font:500 9px/1 var(--et-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--et-muted);padding:10px 10px 6px}
.et-res{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:baseline;width:100%;padding:9px 10px;border:0;border-radius:1px;background:transparent;text-align:left;color:var(--et-ink);text-decoration:none;cursor:pointer}
.et-res .t{font:500 9px/1.3 var(--et-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--et-accent-text)}
.et-res .m{display:block;min-width:0}
.et-res .n{display:block;font:500 13.5px/1.35 var(--et-sans);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.et-res .s{display:block;font:400 11.5px/1.4 var(--et-sans);color:var(--et-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}
.et-res mark{background:rgba(var(--et-accent-rgb),.18);color:inherit;padding:0 1px}
.et-res.is-active,.et-res:hover{background:rgba(var(--et-accent-rgb),.09)}
.et-res.is-active{box-shadow:inset 2px 0 0 var(--et-accent-2)}
.et-res-empty{padding:18px 12px;color:var(--et-muted);font-size:13px}
.et-res-foot{display:flex;gap:14px;flex-wrap:wrap;padding:9px 10px 5px;border-top:1px solid var(--et-line);margin-top:6px;font:500 9px/1 var(--et-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--et-muted)}

/* ==========================================================================
   Home — index bus (mirrors the Project Lab filter bus)
   ========================================================================== */
.et-bus{position:sticky;top:calc(var(--et-head-h) + 10px);z-index:80;margin:34px auto 0;display:flex;align-items:center;gap:10px;padding:6px;background:color-mix(in srgb,var(--et-panel) 94%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid var(--et-line-2);border-radius:2px;box-shadow:var(--et-shadow)}
.et-bus-track{display:flex;gap:2px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}
.et-bus-track::-webkit-scrollbar{display:none}
.et-bus a{flex:none;display:flex;align-items:center;gap:7px;height:36px;padding:0 11px;border-radius:1px;font:500 10px/1 var(--et-mono);letter-spacing:.07em;text-transform:uppercase;color:var(--et-muted);text-decoration:none;white-space:nowrap;transition:color .15s ease,background-color .15s ease}
.et-bus a span{color:var(--et-accent-text)}
.et-bus a:hover{color:var(--et-ink);background:rgba(var(--et-accent-rgb),.06)}
.et-bus a.is-active{background:var(--et-accent);color:#fff}
.et-bus a.is-active span{color:rgba(255,255,255,.72)}
.et-bus-status{flex:none;padding:0 8px 0 12px;border-left:1px solid var(--et-line);font:500 10px/1 var(--et-mono);letter-spacing:.06em;color:var(--et-muted);white-space:nowrap}
.et-bus-status b{color:var(--et-accent-text);font-weight:600}
.et-bus-progress{position:absolute;left:-1px;right:-1px;bottom:-1px;height:2px;background:var(--et-accent-2);transform:scaleX(0);transform-origin:0 50%}

/* ==========================================================================
   Home — hero
   ========================================================================== */
.et-hero{padding:52px 0 0}
.et-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(28px,4.5vw,72px);align-items:end}
.et-hero-name .et-display{margin-bottom:0}
.et-hero-copy{padding-bottom:6px}
.et-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;margin:0;font:500 10px/1.4 var(--et-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--et-muted)}
.et-status .live{display:inline-flex;align-items:center;gap:8px;color:var(--et-ink-2)}
.et-status .live i{width:7px;height:7px;border-radius:50%;background:var(--et-accent-2);box-shadow:0 0 0 0 rgba(var(--et-accent-rgb),.5);animation:etPulse 2.4s ease-out infinite}
.et-status .live.is-off i{background:var(--et-muted);animation:none}
@keyframes etPulse{0%{box-shadow:0 0 0 0 rgba(var(--et-accent-rgb),.45)}70%{box-shadow:0 0 0 8px rgba(var(--et-accent-rgb),0)}100%{box-shadow:0 0 0 0 rgba(var(--et-accent-rgb),0)}}
.et-eyebrow{display:flex;align-items:center;gap:12px;margin:34px 0 0;font:500 11px/1 var(--et-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--et-accent-text)}
.et-eyebrow::before{content:"";width:34px;height:1px;background:currentColor}
.et-display{position:relative;z-index:0;margin:20px 0 30px;font:600 clamp(64px,9.4vw,136px)/.9 var(--et-mono);letter-spacing:-.075em;text-transform:uppercase;color:var(--et-ink)}
.et-display::after{content:attr(data-ghost);position:absolute;inset:0;z-index:-1;color:transparent;-webkit-text-stroke:1px rgba(var(--et-accent-rgb),.55);transform:translate(6px,6px);clip-path:inset(54% 0 0);pointer-events:none}
.et-claim{margin:0;max-width:22em;font:500 clamp(20px,2.1vw,27px)/1.35 var(--et-sans);letter-spacing:-.015em;color:var(--et-ink)}
.et-lead{margin:16px 0 0;max-width:38em;font-size:16px;line-height:1.7;color:var(--et-muted)}
.et-hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}

.et-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:44px;border:1px solid var(--et-line-2);background:color-mix(in srgb,var(--et-panel) 70%,transparent)}
.et-metric{display:block;padding:20px 20px 18px;color:inherit;text-decoration:none;border-left:1px solid var(--et-line)}
.et-metric:first-child{border-left:0}
a.et-metric{transition:background-color .15s ease}
a.et-metric:hover{background:rgba(var(--et-accent-rgb),.07)}
.et-metric b{display:block;font:700 clamp(28px,3vw,38px)/1.1 var(--et-mono);letter-spacing:-.04em;color:var(--et-ink);font-variant-numeric:tabular-nums}
.et-metric b::before{content:"[";color:var(--et-accent-2);margin-right:4px}
.et-metric b::after{content:"]";color:var(--et-accent-2);margin-left:4px}
.et-metric span{display:block;margin-top:8px;font:500 10px/1.35 var(--et-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--et-muted)}

/* Corner-bracket frame (same construction as Project Lab cards) */
.et-frame{position:relative;border:1px solid var(--et-line);background:var(--et-panel)}
.et-frame::after{content:"";position:absolute;inset:-1px;pointer-events:none;opacity:.7;
  background:linear-gradient(90deg,var(--et-accent) 0 16px,transparent 16px calc(100% - 16px),var(--et-accent) calc(100% - 16px)) top/100% 1px no-repeat,
             linear-gradient(90deg,var(--et-accent) 0 16px,transparent 16px calc(100% - 16px),var(--et-accent) calc(100% - 16px)) bottom/100% 1px no-repeat,
             linear-gradient(var(--et-accent) 0 16px,transparent 16px calc(100% - 16px),var(--et-accent) calc(100% - 16px)) left/1px 100% no-repeat,
             linear-gradient(var(--et-accent) 0 16px,transparent 16px calc(100% - 16px),var(--et-accent) calc(100% - 16px)) right/1px 100% no-repeat}

/* Career trace — the one live instrument on the page */
.et-trace{--tr-bar:var(--et-accent);--tr-ease:cubic-bezier(.22,1,.36,1);padding:18px 18px 14px}
html[data-theme="dark"] .et-trace{--tr-bar:var(--et-accent-2)}
.et-trace-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font:500 9.5px/1 var(--et-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--et-accent-text)}
.et-trace-head span:last-child{display:inline-flex;align-items:center;gap:7px;color:var(--et-muted)}
.et-trace-head span:last-child i{width:6px;height:6px;border-radius:50%;background:var(--et-accent-2);animation:etPulse 2.4s ease-out infinite}
.et-trace-body{margin-top:14px}

/* KPI strip */
.tr-kpis{display:flex;flex-wrap:wrap;gap:10px 0}
.tr-kpis div{display:flex;align-items:baseline;gap:9px;padding:2px 22px;border-left:1px solid var(--et-line)}
.tr-kpis div:first-child{padding-left:0;border-left:0}
.tr-kpis b{display:block;font:600 24px/1 var(--et-mono);letter-spacing:-.03em;color:var(--et-ink);font-variant-numeric:tabular-nums}
.tr-kpis span{display:block;font:500 9px/1.2 var(--et-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--et-muted)}

/* legend + range */
.tr-controls{display:flex;justify-content:space-between;align-items:center;gap:8px 12px;flex-wrap:wrap;margin:14px 0 4px}
.tr-legend{display:flex;flex-wrap:wrap;gap:6px 13px;font:500 9px/1 var(--et-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--et-muted)}
.tr-legend span{display:inline-flex;align-items:center;gap:6px}
.tr-sw{display:inline-block;width:11px;height:8px;border-radius:1px;background:var(--tr-bar)}
.tr-sw.study{background:rgba(var(--et-accent-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--et-accent-rgb),.75)}
.tr-sw.ms{width:7px;height:7px;margin:0 2px;transform:rotate(45deg);background:var(--et-ink)}
.tr-range{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--et-line-2);border-radius:2px;background:var(--et-bg)}
.tr-range button{height:24px;min-width:34px;padding:0 8px;margin:0;border:0;border-radius:1px;background:transparent;color:var(--et-muted);font:600 9.5px/1 var(--et-mono);letter-spacing:.06em;cursor:pointer;transition:background-color .15s ease,color .15s ease}
.tr-range button:hover{color:var(--et-ink)}
.tr-range button[aria-pressed="true"]{background:var(--et-accent);color:#fff}

/* chart frame */
.tr-chart{--lab:0px;position:relative;overflow:hidden}
.tr-years{position:relative;height:34px;margin-left:var(--lab);overflow:hidden;border-bottom:1px solid var(--et-line-2)}
.tr-years span{position:absolute;bottom:7px;text-align:center;font:500 9.5px/1 var(--et-mono);letter-spacing:.02em;color:var(--et-muted);transition:left .6s var(--tr-ease),width .6s var(--tr-ease),opacity .3s ease}
.tr-years span.is-now{color:var(--et-ink);font-weight:600}
.tr-years span.off{opacity:0}
.tr-now-tag{position:absolute;top:0;transform:translateX(-50%);padding:3px 5px 2px;background:var(--et-accent);color:#fff;font:600 8px/1 var(--et-mono);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;border-radius:1px;transition:left .6s var(--tr-ease)}
.tr-now-tag::after{content:"";position:absolute;left:50%;top:100%;height:21px;border-left:1px solid var(--et-accent-2)}
.tr-now-tag.at-end{transform:translateX(calc(-100% + 1px))}
.tr-now-tag.at-end::after{left:auto;right:0}
.tr-plot{position:relative;padding-bottom:2px}
.tr-grid{position:absolute;top:0;right:0;bottom:0;left:var(--lab);overflow:hidden;pointer-events:none}
.tr-grid i{position:absolute;top:0;bottom:0;border-left:1px solid var(--et-line);transition:left .6s var(--tr-ease),width .6s var(--tr-ease)}
.tr-grid i:nth-child(even){background:rgba(var(--et-accent-rgb),.035)}
html[data-theme="dark"] .tr-grid i{border-color:rgba(255,255,255,.07)}
html[data-theme="dark"] .tr-grid i:nth-child(even){background:rgba(255,255,255,.022)}
.tr-now-line{position:absolute;top:0;bottom:0;width:0;border-left:1px solid var(--et-accent-2);opacity:.85;transition:left .6s var(--tr-ease)}
.tr-group{position:relative;display:flex;justify-content:flex-start;gap:8px;align-items:flex-end;height:25px;margin:0;padding:0 1px 6px;font:600 8.5px/1 var(--et-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--et-ink);pointer-events:none}
.tr-group small{font-weight:500;letter-spacing:.06em;color:var(--et-muted)}

/* load strip: how many commitments ran in parallel */
.tr-load{position:relative;height:10px;overflow:hidden}
.tr-load i{position:absolute;top:0;bottom:0;box-shadow:inset -1px 0 0 var(--et-panel);transition:left .6s var(--tr-ease),width .6s var(--tr-ease),opacity .35s ease var(--d,0ms)}
.tr-load i.l1{background:rgba(var(--et-accent-rgb),.13)}
.tr-load i.l2{background:rgba(var(--et-accent-rgb),.32)}
.tr-load i.l3{background:rgba(var(--et-accent-rgb),.62)}
.tr-load i:hover,.tr-load i.is-hot{box-shadow:inset 0 0 0 1px var(--et-ink)}

/* rows */
.tr-row{position:relative;display:block;width:100%;height:26px;padding:0;margin:0;border:0;border-radius:1px;background:transparent;text-align:left;cursor:pointer;transition:background-color .15s ease}
.tr-row:focus-visible{outline:2px solid var(--et-accent-2);outline-offset:-2px}
.tr-row .bar{position:absolute;top:50%;height:10px;margin-top:-5px;border-radius:1px;background:var(--tr-bar);transform-origin:0 50%;
  transition:transform .8s var(--tr-ease) var(--d,0ms),left .6s var(--tr-ease),width .6s var(--tr-ease),opacity .2s ease}
.tr-row.study .bar{height:8px;margin-top:-4px;background:rgba(var(--et-accent-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--et-accent-rgb),.75)}
.tr-row.work.live .bar{background:linear-gradient(90deg,var(--tr-bar) 0 55%,var(--et-accent-2))}
.tr-row.live .bar::after{content:"";position:absolute;right:-4px;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:var(--et-accent-2);box-shadow:0 0 0 2px var(--et-panel);animation:etPulse 2.4s ease-out infinite}
.tr-row .bar.clip-l{border-top-left-radius:0;border-bottom-left-radius:0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12px);mask-image:linear-gradient(90deg,transparent,#000 12px)}
.tr-row .trk{position:absolute;inset:0;pointer-events:none}
.tr-row .tag{position:absolute;z-index:1;top:50%;display:inline-flex;align-items:baseline;gap:6px;transform:translateY(-50%);white-space:nowrap;transition:opacity .25s ease}
.tr-row .tag .nm{font:500 11.5px/1 var(--et-sans);color:var(--et-ink-2);transition:color .15s ease}
.tr-row .tag .mt{font:500 9.5px/1 var(--et-mono);letter-spacing:.02em;color:var(--et-muted);transition:color .15s ease}
.tr-row .ls{display:none}
.tr-row .tag.no-meta .mt{display:none}
.tr-row .tag.is-hidden{visibility:hidden}
.tr-row .tag.edge .nm::before{content:"◂ ";color:var(--et-muted)}
.tr-row.off .tag{opacity:.6}
.tr-row:hover,.tr-row:focus-visible,.tr-row.is-hot{background:rgba(var(--et-accent-rgb),.07)}
.tr-row:hover .nm,.tr-row:focus-visible .nm,.tr-row.is-hot .nm,
.tr-row:hover .mt,.tr-row:focus-visible .mt,.tr-row.is-hot .mt{color:var(--et-accent-text)}
.tr-plot.has-hot .tr-row:not(.is-hot) .bar{opacity:.3}
.tr-plot.has-hot .tr-row:not(.is-hot) .tag{opacity:.4}

/* milestones */
.tr-miles{position:relative;height:24px}
.tr-ms{position:absolute;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;padding:0;border:0;background:transparent;cursor:pointer;transition:left .6s var(--tr-ease),opacity .3s ease,transform .45s var(--tr-ease) var(--d,0ms)}
.tr-ms i{position:absolute;left:6px;top:6px;width:8px;height:8px;background:var(--et-ink);transform:rotate(45deg);transition:transform .15s ease,background-color .15s ease}
.tr-ms sup{position:absolute;left:15px;top:0;font:600 8.5px/1 var(--et-mono);color:var(--et-accent-text)}
.tr-ms:hover i,.tr-ms:focus-visible i,.tr-ms.is-hot i{background:var(--et-accent-2);transform:rotate(45deg) scale(1.3)}
.tr-ms:focus-visible{outline:2px solid var(--et-accent-2);outline-offset:0}
.tr-ms.off{opacity:0;pointer-events:none}

/* lanes (load, milestones) and captions */
.tr-lane{position:relative}
.tr-lane-lbl,.tr-ml{display:none}

/* Wide screens: a table Gantt, labels in a fixed column */
.et-trace.tr-wide .tr-chart{--lab:250px}
.tr-wide .tr-row{display:grid;grid-template-columns:var(--lab) minmax(0,1fr);align-items:center;height:28px}
.tr-wide .tr-row .trk{position:relative;inset:auto;height:100%}
.tr-wide .tr-row .tag{position:static;transform:none;display:flex;justify-content:space-between;align-items:baseline;gap:12px;min-width:0;padding:0 18px 0 10px}
.tr-wide .tr-row .tag .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.tr-wide .tr-row .tag .mt{display:inline!important;flex:none;font-size:10px}
.tr-wide .tr-row .tag.is-hidden{visibility:visible}
.tr-wide .tr-row .tag.edge .nm::before{content:none}
.tr-wide .tr-row.off .tag{opacity:.5}
.tr-wide .tr-row.off .trk::before{content:"◂";position:absolute;left:6px;top:50%;transform:translateY(-50%);font-size:10px;color:var(--et-muted)}
.tr-wide .tr-group{padding-left:10px}
.tr-wide .g-load,.tr-wide .g-ms{display:none}
.tr-wide .tr-lane{display:grid;grid-template-columns:var(--lab) minmax(0,1fr);align-items:center;min-height:32px}
.tr-wide .tr-lane-lbl{display:flex;justify-content:space-between;align-items:baseline;padding:0 18px 0 10px;font:600 8.5px/1 var(--et-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--et-ink)}
.tr-wide .tr-lane-lbl small{font-weight:500;letter-spacing:.06em;color:var(--et-muted)}
.tr-wide .tr-load{height:12px}
.tr-wide .tr-miles{height:32px}
.tr-wide .tr-ml{display:block;position:absolute;top:50%;transform:translateY(-50%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 10px/1 var(--et-mono);letter-spacing:.02em;color:var(--et-muted);pointer-events:none;transition:left .6s var(--tr-ease),opacity .3s ease}
.tr-wide .tr-ml.off,.tr-wide .tr-ml.is-hidden{opacity:0}
.tr-wide .tr-plot::after{content:"";position:absolute;top:0;bottom:0;left:calc(var(--lab) - 1px);border-left:1px solid var(--et-line-2);pointer-events:none}
.et-trace.is-drawing .tr-ml{opacity:0}

/* Tooltip next to the hovered item */
.et-trace{position:relative}
.tr-tip{position:absolute;z-index:6;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 10px;max-width:360px;padding:10px 13px 11px;border-radius:3px;background:var(--et-ink);color:var(--et-bg);box-shadow:var(--et-shadow);pointer-events:none;animation:trTip .14s ease}
.tr-tip[hidden]{display:none}
.tr-tip b{display:block;font:600 13px/1.35 var(--et-sans);color:var(--et-bg)}
.tr-tip small{display:block;margin-top:3px;font:500 10px/1.45 var(--et-mono);letter-spacing:.02em;color:color-mix(in srgb,var(--et-bg) 72%,transparent)}
.tr-tip .k{grid-row:span 2;margin-top:3px;width:11px;height:11px;border-radius:1px;background:var(--et-accent-2)}
.tr-tip .k.study{background:transparent;box-shadow:inset 0 0 0 1.5px var(--et-accent-2)}
.tr-tip .k.ms{width:8px;height:8px;margin:4px 1px 0 2px;background:var(--et-bg);transform:rotate(45deg)}
.tr-tip .k.load{height:8px;margin-top:5px}
.tr-tip .k.load.l0{background:transparent;box-shadow:inset 0 0 0 1px currentColor}
.tr-tip .k.load.l1{opacity:.4}
.tr-tip .k.load.l2{opacity:.7}
@keyframes trTip{from{opacity:0;transform:translateY(3px)}}

/* load-in + zoom choreography */
.et-trace.is-drawing .bar{transform:scaleX(0)}
.et-trace.is-drawing .tag,.et-trace.is-drawing .tr-load i{opacity:0;transition:none}
.et-trace.is-drawing .tr-ms{transform:scale(0)}
.et-trace.is-zooming .tag{opacity:0;transition:opacity .12s ease}

/* readout */
.et-trace-readout{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 12px;align-items:start;min-height:54px;margin:12px 0 0;padding-top:12px;border-top:1px solid var(--et-line)}
.et-trace-readout.is-sum{grid-template-columns:minmax(0,1fr)}
.et-trace-readout .k{grid-row:span 2;margin-top:3px;width:12px;height:12px;border-radius:1px;background:var(--tr-bar)}
.et-trace-readout .k.study{background:rgba(var(--et-accent-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--et-accent-rgb),.75)}
.et-trace-readout .k.ms{width:9px;height:9px;margin:4px 1px 0 2px;background:var(--et-ink);transform:rotate(45deg)}
.et-trace-readout .k.load{height:8px;margin-top:5px}
.et-trace-readout .k.load.l0{background:var(--et-line)}
.et-trace-readout .k.load.l1{background:rgba(var(--et-accent-rgb),.13)}
.et-trace-readout .k.load.l2{background:rgba(var(--et-accent-rgb),.32)}
.et-trace-readout .k.load.l3{background:rgba(var(--et-accent-rgb),.62)}
.et-trace-readout b{display:block;color:var(--et-ink);font:500 13px/1.4 var(--et-sans)}
.et-trace-readout small{display:block;margin-top:3px;font:500 10px/1.45 var(--et-mono);letter-spacing:.03em;color:var(--et-muted)}

/* Career trace as a full-width band */
.et-band{position:relative;width:100vw;margin:48px 0 0 calc(50% - 50vw);padding:26px max(var(--et-gutter),calc((100vw - 1440px)/2)) 18px;background:var(--et-panel);border-top:1px solid var(--et-line-2);border-bottom:1px solid var(--et-line-2)}
.et-band::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--et-accent) 0 40px,transparent 40px) top left/100% 2px no-repeat}
.tr-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 28px;align-items:center}
.tr-head .tr-controls{margin:0;flex-direction:column;align-items:flex-end;gap:10px}
@media (min-width:1101px){
  .et-band .tr-chart{margin-top:16px}
  .et-band .tr-row{height:29px}
  .et-band .tr-row .bar{height:12px;margin-top:-6px}
  .et-band .tr-row.study .bar{height:10px;margin-top:-5px}
  .et-band .tr-row .tag .nm{font-size:12.5px}
  .et-band .tr-row .tag .mt{font-size:10px}
  .et-band .tr-load{height:12px}
  .et-band .tr-years span{font-size:10px}
}

/* Justified running text */
.et-claim,.et-lead,.et-section-head p,.et-prose p,.et-card-desc,.et-points li,.et-note,.et-thesis p,.et-quote blockquote,.et-footer p{text-align:justify;text-wrap:pretty;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:7 3 3}

/* Spec strip — at-a-glance facts */
.et-spec{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:18px;background:var(--et-line);border:1px solid var(--et-line)}
.et-spec div{background:var(--et-bg);padding:14px 16px 15px}
.et-spec dt{font:500 9.5px/1.2 var(--et-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--et-accent-text)}
.et-spec dd{margin:7px 0 0;font-size:13.5px;line-height:1.5;color:var(--et-ink-2)}

/* ==========================================================================
   Home — sections (mirrors Project Lab group intro)
   ========================================================================== */
.et-section{padding:92px 0 0}
.et-section-head{display:grid;grid-template-columns:200px minmax(0,1fr) auto;gap:10px 40px;align-items:start;padding-bottom:26px;margin-bottom:30px;border-bottom:1px solid var(--et-line)}
.et-code{padding-top:9px;font:500 11px/1.3 var(--et-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--et-accent-text)}
.et-section-head h2{margin:0;font:700 clamp(30px,4vw,52px)/1 var(--et-mono);letter-spacing:-.055em;text-transform:uppercase;color:var(--et-ink)}
.et-section-head p{margin:16px 0 0;max-width:46em;color:var(--et-muted);font-size:15.5px}
.et-section-head .et-tools{padding-top:6px;display:flex;gap:6px}
.et-body{margin-left:240px}
.et-sub{display:flex;align-items:baseline;gap:12px;margin:48px 0 16px;font:600 12px/1.2 var(--et-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--et-ink)}
.et-sub small{font:500 10px/1 var(--et-mono);letter-spacing:.08em;color:var(--et-muted)}
.et-body > .et-sub:first-child{margin-top:0}
.et-prose p{margin:0 0 14px;max-width:46em;color:var(--et-ink-2)}
.et-prose b,.et-prose strong{color:var(--et-ink);font-weight:600}
.et-note{margin:18px 0 0;max-width:52em;font-size:13.5px;line-height:1.65;color:var(--et-muted)}

/* Figures (profile) */
.et-figures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:28px;border-top:1px solid var(--et-line);border-bottom:1px solid var(--et-line)}
.et-figure{padding:16px 16px 14px 0}
.et-figure+.et-figure{padding-left:16px;border-left:1px solid var(--et-line)}
.et-figure b{display:block;font:600 26px/1.1 var(--et-mono);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.et-figure span{display:block;margin-top:6px;font:500 9.5px/1.35 var(--et-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--et-muted)}

/* Method pipeline — a real sequence, so it is numbered */
.et-method{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--et-line);border:1px solid var(--et-line)}
.et-step{position:relative;background:var(--et-panel);padding:20px 20px 22px}
.et-step .n{display:flex;align-items:center;gap:10px;font:600 11px/1 var(--et-mono);letter-spacing:.1em;color:var(--et-accent-text)}
.et-step .n::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--et-line-2),transparent)}
.et-step h4{margin:14px 0 8px;font:700 17px/1.1 var(--et-mono);letter-spacing:-.02em;text-transform:uppercase}
.et-step p{margin:0;font-size:13.5px;line-height:1.65;color:var(--et-muted)}

/* Cards — experience & education */
.et-cards{display:grid;gap:14px}
.et-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:6px 26px;padding:28px 28px 26px;scroll-margin-top:calc(var(--et-head-h) + 90px);transition:border-color .2s ease,box-shadow .2s ease}
.et-card:hover{border-color:var(--et-line-2)}
.et-card.is-flash{box-shadow:0 0 0 2px var(--et-accent-2)}
.et-card-when{padding-top:3px}
.et-card-when b{display:block;font:600 22px/1 var(--et-mono);letter-spacing:-.04em;color:var(--et-accent-text)}
.et-card-when small{display:block;margin-top:7px;font:500 9.5px/1.3 var(--et-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--et-muted)}
.et-card-main{min-width:0}
.et-ctx{margin:0 0 9px;font:500 10px/1.4 var(--et-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--et-accent-text)}
.et-card h3{margin:0;font:500 clamp(19px,2vw,26px)/1.14 var(--et-mono);letter-spacing:-.035em;text-transform:uppercase;color:var(--et-ink);max-width:30ch}
.et-meta{display:flex;flex-wrap:wrap;gap:4px 0;margin:11px 0 0;padding-left:11px;border-left:2px solid var(--et-accent-2);font:400 10.5px/1.6 var(--et-mono);color:var(--et-muted)}
.et-meta span+span::before{content:"";display:inline-block;width:1px;height:10px;margin:0 10px;vertical-align:-1px;background:var(--et-line-2)}
.et-meta .dur{color:var(--et-accent-text)}
.et-card-desc{margin:16px 0 0;max-width:62em;font-size:14.5px;line-height:1.7;color:var(--et-ink-2)}
.et-more{display:grid;grid-template-rows:1fr;transition:grid-template-rows .35s cubic-bezier(.16,1,.3,1)}
.et-more > div{overflow:hidden;min-height:0}
.et-card.is-collapsed .et-more{grid-template-rows:0fr}
.et-points{margin:16px 0 0;padding:0;list-style:none;max-width:62em}
.et-points li{position:relative;padding:0 0 0 20px;margin:0 0 8px;font-size:14px;line-height:1.65;color:var(--et-ink-2)}
.et-points li::before{content:"";position:absolute;left:2px;top:.72em;width:8px;height:1px;background:var(--et-accent-2)}
.et-minor{margin:20px 0 4px;font:600 10px/1 var(--et-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--et-ink)}
.et-thesis{margin:18px 0 0;padding:16px 18px;border:1px solid var(--et-line);background:var(--et-bg)}
.et-thesis .k{font:500 9.5px/1.3 var(--et-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--et-accent-text)}
.et-thesis .t{display:block;margin:8px 0 8px;font:500 15px/1.45 var(--et-sans);color:var(--et-ink)}
.et-thesis p{margin:0;font-size:13.5px;line-height:1.65;color:var(--et-muted)}
.et-thesis p b{color:var(--et-ink-2)}
.et-toggle{align-self:start;display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 12px;border:1px solid var(--et-line-2);background:transparent;color:var(--et-ink);font:600 9px/1 var(--et-mono);letter-spacing:.1em;text-transform:uppercase;cursor:pointer;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.et-toggle:hover,.et-toggle[aria-expanded="true"]{background:var(--et-accent);border-color:var(--et-accent);color:#fff}
.et-toggle i{display:inline-block;width:9px;height:9px;position:relative}
.et-toggle i::before,.et-toggle i::after{content:"";position:absolute;left:0;top:4px;width:9px;height:1px;background:currentColor;transition:transform .2s ease}
.et-toggle i::after{transform:rotate(90deg)}
.et-toggle[aria-expanded="true"] i::after{transform:rotate(0)}
.et-card.is-static{grid-template-columns:92px minmax(0,1fr)}

/* Chips (tool stacks) */
.et-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px;padding:0;list-style:none}
.et-chips li{position:relative;padding:6px 9px 6px 17px;border:1px solid var(--et-line-2);border-radius:1px;font:500 9.5px/1.2 var(--et-mono);letter-spacing:.04em;color:var(--et-ink)}
.et-chips li::before{content:"";position:absolute;left:7px;top:50%;width:4px;height:4px;transform:translateY(-50%) rotate(45deg);background:var(--et-accent-2)}

/* Projects index (links into Project Lab) */
.et-pj{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--et-line);border:1px solid var(--et-line)}
.et-pj-col{background:var(--et-panel);padding:20px 18px 14px}
.et-pj-col h3{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 6px;padding-bottom:12px;border-bottom:1px solid var(--et-line);font:700 13px/1.2 var(--et-mono);letter-spacing:.06em;text-transform:uppercase}
.et-pj-col h3 span{font-weight:500;color:var(--et-accent-text)}
.et-pj-col > p{min-height:3.1em;margin:0 0 8px;font-size:12.5px;line-height:1.55;color:var(--et-muted)}
.et-pj-list{list-style:none;margin:0;padding:0}
.et-pj-list a{display:grid;grid-template-columns:30px minmax(0,1fr) 12px;gap:8px;padding:10px 4px;border-top:1px solid var(--et-line);text-decoration:none;color:var(--et-ink);transition:background-color .15s ease}
.et-pj-list li:first-child a{border-top:0}
.et-pj-list a:hover{background:rgba(var(--et-accent-rgb),.06)}
.et-pj-list .id{font:600 10.5px/1.6 var(--et-mono);color:var(--et-accent-text)}
.et-pj-list .tt{font-size:13.5px;line-height:1.4}
.et-pj-list .cx{display:block;margin-top:3px;font:500 9px/1.3 var(--et-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--et-muted)}
.et-pj-list .go{font:500 11px/1.6 var(--et-mono);color:var(--et-muted);transition:transform .15s ease,color .15s ease}
.et-pj-list a:hover .go{color:var(--et-accent-text);transform:translate(2px,-2px)}
.et-pj-cta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:18px}
.et-pj-cta p{margin:0 12px 0 0;font-size:13.5px;color:var(--et-muted)}

/* Definition rows (skills, beyond the desk, publications) */
.et-rows{margin:0;border-top:1px solid var(--et-line)}
.et-row{display:grid;grid-template-columns:220px minmax(0,1fr) auto;gap:8px 28px;padding:15px 0;border-bottom:1px solid var(--et-line)}
.et-row dt,.et-row .k{font:500 10px/1.6 var(--et-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--et-accent-text)}
.et-row dd,.et-row .v{margin:0;font-size:14.5px;line-height:1.65;color:var(--et-ink-2)}
.et-row dd b,.et-row .v b{color:var(--et-ink);font-weight:600}
.et-row .w{font:500 10px/1.6 var(--et-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--et-muted);white-space:nowrap}

/* Languages — CEFR scale */
.et-langs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--et-line);border:1px solid var(--et-line)}
.et-lang{background:var(--et-panel);padding:18px 18px 16px}
.et-lang b{display:block;font:700 16px/1.1 var(--et-mono);letter-spacing:.02em;text-transform:uppercase}
.et-lang small{display:block;margin-top:6px;font:500 10px/1.3 var(--et-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--et-muted)}
.et-cefr{display:grid;grid-template-columns:repeat(6,1fr);gap:3px;margin-top:14px}
.et-cefr i{height:6px;background:var(--et-line)}
.et-cefr i.on{background:var(--et-accent)}
.et-cefr-l{display:grid;grid-template-columns:repeat(6,1fr);gap:3px;margin-top:5px;font:500 8.5px/1 var(--et-mono);color:var(--et-muted);letter-spacing:.04em}

/* Certifications */
.et-certs{display:grid;gap:26px}
.et-cert-group h3{margin:0 0 4px;font:600 10.5px/1.3 var(--et-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--et-ink)}
.et-cert{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;align-items:start;padding:13px 0;border-bottom:1px solid var(--et-line)}
.et-cert:first-of-type{border-top:1px solid var(--et-line)}
.et-cert .cn{font-size:14.5px;line-height:1.45;color:var(--et-ink)}
.et-cert .cn em{font-style:normal;color:var(--et-accent-text);font-weight:500}
.et-cert .cd{display:block;margin-top:3px;font-size:12.5px;line-height:1.55;color:var(--et-muted)}
.et-cert .ids{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.et-id{display:inline-flex;align-items:center;gap:7px;padding:5px 8px;border:1px solid var(--et-line);background:transparent;border-radius:1px;font:500 10px/1.2 var(--et-mono);letter-spacing:.03em;color:var(--et-ink-2);cursor:pointer;white-space:nowrap;transition:border-color .15s ease,color .15s ease}
.et-id svg{width:11px;height:11px;color:var(--et-muted)}
.et-id:hover{border-color:var(--et-accent-2);color:var(--et-accent-text)}
.et-id:hover svg{color:currentColor}
.et-id.is-copied{border-color:var(--et-accent-2);color:var(--et-accent-text)}
.et-id-none{font:500 10px/1.2 var(--et-mono);color:var(--et-muted);padding:5px 0}

/* Research, awards */
.et-awards{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 0;padding:0;list-style:none}
.et-awards li{padding:7px 10px;border:1px solid var(--et-line-2);font:500 10px/1.3 var(--et-mono);letter-spacing:.04em;color:var(--et-ink-2)}

/* References */
.et-refs{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}
.et-big{font:700 clamp(58px,7vw,92px)/.9 var(--et-mono);letter-spacing:-.07em}
.et-big i{font-style:normal;color:var(--et-accent-2)}
.et-big + small{display:block;margin-top:10px;font:500 10px/1.45 var(--et-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--et-muted)}
.et-quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:30px;background:var(--et-line);border:1px solid var(--et-line)}
.et-quote{margin:0;background:var(--et-panel);padding:20px 20px 18px}
.et-quote figcaption{font:500 9.5px/1.3 var(--et-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--et-accent-text)}
.et-quote blockquote{margin:10px 0 12px;font-size:14.5px;line-height:1.65;color:var(--et-ink)}
.et-quote small{font-size:12px;color:var(--et-muted)}
.et-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:14px;background:var(--et-line);border:1px solid var(--et-line);list-style:none;padding:0}
.et-steps li{background:var(--et-bg);padding:16px 18px 18px;font-size:13.5px;line-height:1.6;color:var(--et-ink-2)}
.et-steps li b{display:block;margin-bottom:6px;font:600 10px/1.3 var(--et-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--et-accent-text)}

/* Outlook */
.et-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:24px 0;background:var(--et-line);border:1px solid var(--et-line)}
.et-pillar{background:var(--et-panel);padding:18px 18px 20px}
.et-pillar b{display:block;font:700 18px/1 var(--et-mono);letter-spacing:-.02em;text-transform:uppercase}
.et-pillar span{display:block;margin-top:9px;font-size:13.5px;line-height:1.6;color:var(--et-muted)}

/* Footer / contact */
.et-footer{margin-top:120px;border-top:1px solid var(--et-line-2);padding:64px 0 36px}
.et-footer-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px 48px;align-items:end}
.et-footer h2{margin:0;font:700 clamp(46px,7vw,96px)/.92 var(--et-mono);letter-spacing:-.07em;text-transform:uppercase}
.et-footer p{margin:18px 0 0;max-width:40em;color:var(--et-muted)}
.et-footer-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:440px}
.et-footer-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px;margin-top:56px;padding-top:18px;border-top:1px solid var(--et-line);font:500 10px/1.6 var(--et-mono);letter-spacing:.07em;text-transform:uppercase;color:var(--et-muted)}
.et-footer-meta kbd{font:inherit;border:1px solid var(--et-line-2);padding:1px 5px;border-radius:2px;color:var(--et-ink-2)}

/* Toast */
.et-toast{position:fixed;left:50%;bottom:24px;z-index:200;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:var(--et-ink);color:var(--et-bg);padding:11px 16px;border-radius:2px;font:500 10.5px/1.3 var(--et-mono);letter-spacing:.07em;text-transform:uppercase;box-shadow:var(--et-shadow);transition:opacity .2s ease,transform .2s ease}
.et-toast.show{opacity:1;transform:translate(-50%,0)}

/* 404 */
.et-404{min-height:calc(100svh - var(--et-head-h));display:grid;align-content:center;padding:64px 0}
.et-404 .et-display{font-size:clamp(84px,18vw,220px)}

/* ==========================================================================
   Short version — one switch, same page, condensed layout
   ========================================================================== */
.sv-only{display:none}
.is-short .sv-only{display:inline}
.et-view{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;margin:0;border:1px solid var(--et-line-2);border-radius:2px;background:var(--et-panel);color:var(--et-ink);font:500 10px/1 var(--et-mono);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.et-view svg{width:13px;height:13px;flex:none;margin-right:2px}
.et-view svg path{transition:transform .25s ease,opacity .25s ease;transform-origin:2px 50%}
.et-view:hover{border-color:var(--et-accent-2);color:var(--et-accent-text)}
.et-view.is-on{background:var(--et-accent);border-color:var(--et-accent);color:#fff}
.et-view.is-on svg .l1{transform:scaleX(.55)}
.et-view.is-on svg .l3{transform:scaleX(1.7)}
.et-status .et-view{margin-left:auto}
.et-view-bus{flex:none;height:36px}

.is-short .sv-hide{display:none!important}
.is-short .et-section{padding-top:58px}
.is-short .et-section-head{padding-bottom:16px;margin-bottom:18px}
.is-short .et-section-head p,.is-short .et-section-head .et-tools{display:none}
.is-short .et-section-head h2{font-size:clamp(24px,2.8vw,36px)}
.is-short .et-cards{gap:8px}
.is-short .et-card{padding:16px 22px 15px}
.is-short .et-card .et-more,.is-short .et-card .et-card-desc,.is-short .et-card .et-toggle{display:none}
.is-short .et-card h3{font-size:clamp(16px,1.5vw,19px);max-width:none}
.is-short .et-card-when b{font-size:18px}
.is-short .et-meta{margin-top:8px}
.is-short .et-prose p{margin-bottom:0}
.is-short .et-pj-list li:nth-child(n+4):not(.et-pj-more){display:none}
.et-pj-more{display:none}
.is-short .et-pj-more{display:block}
.et-pj-more .id,.et-pj-more .tt{color:var(--et-accent-text)}
.is-short .et-pj-cta{margin-top:12px}
.is-short .et-certs{gap:18px}
.is-short .et-cert{padding:9px 0}
.is-short .et-cert .cd{display:none}
.is-short .et-row{padding:11px 0}
.is-short .et-refs{align-items:center}
.is-short #references .et-hero-actions{margin-top:18px}
.is-short .et-pillars{margin:0}
.is-short .et-footer{margin-top:84px}
@media (max-width:760px){
  .et-status .et-view{margin-left:0}
  .et-view-bus .v{display:none}
  .is-short .et-card{padding:14px 16px 13px}
  .is-short .et-section{padding-top:48px}
}
@media print{
  .et-view{display:none!important}
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1200px){
  .et-bus a span{display:none}
  .et-actions .et-hide-md{display:none}
}
@media (max-width:1100px){
  .et-hero-grid{grid-template-columns:1fr;align-items:start}
  .et-hero-copy{padding-bottom:0}
  .et-hero-name .et-display{margin-bottom:26px}
  .et-body{margin-left:0}
  .et-section-head{grid-template-columns:minmax(0,1fr) auto}
  .et-code{grid-column:1/-1;padding-top:0}
  .et-brand-copy{display:none}
}
@media (max-width:900px){
  .et-method{grid-template-columns:repeat(2,minmax(0,1fr))}
  .et-pj{grid-template-columns:1fr}
  .et-pj-col > p{min-height:0}
  .et-spec{grid-template-columns:repeat(2,minmax(0,1fr))}
  .et-row{grid-template-columns:170px minmax(0,1fr)}
  .et-row .w{grid-column:2}
  .et-refs{grid-template-columns:1fr;gap:12px}
  .et-footer-grid{grid-template-columns:1fr}
  .et-footer-actions{justify-content:flex-start;max-width:none}
  .et-bus-status{display:none}
  .tr-head{grid-template-columns:1fr}
  .tr-head .tr-controls{flex-direction:row;justify-content:space-between;align-items:center}
}
@media (max-width:760px){
  :root{--et-head-h:60px;--et-gutter:16px}
  .et-command-inner{grid-template-columns:auto 1fr auto;gap:10px}
  .et-switch{justify-self:center}
  .et-switch a{padding:9px 11px;font-size:9.5px}
  .et-search{display:none;grid-column:1/-1;grid-row:2;padding-bottom:10px}
  .et-command.search-open .et-search{display:block}
  .et-actions .et-hide-sm{display:none}
  .et-search-open{display:inline-flex}
  .et-kbd{display:none}
  .et-search input{padding-right:14px;font-size:16px}
  .et-results{max-height:60vh}
  .et-res{grid-template-columns:1fr;gap:4px}
  .et-hero{padding-top:34px}
  .et-display{margin-bottom:22px}
  .et-display::after{transform:translate(3px,3px)}
  .et-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .et-metric{padding:16px 14px}
  .et-metric:nth-child(3){border-left:0}
  .et-metric:nth-child(n+3){border-top:1px solid var(--et-line)}
  .et-trace{padding:16px 14px 12px}
  .et-band{margin-top:34px;padding:18px var(--et-gutter) 12px}
  .tr-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 0}
  .tr-kpis div{display:block;padding:0 0 0 14px}
  .tr-kpis div:nth-child(odd){padding-left:0;border-left:0}
  .tr-kpis span{margin-top:6px}
  .tr-row{height:28px}
  .tr-row .tag .nm{font-size:11px}
  .tr-row .lf{display:none}
  .tr-row .ls{display:inline}
  .et-spec{grid-template-columns:1fr}
  .et-bus{margin-top:26px;top:calc(var(--et-head-h) + 6px)}
  .et-section{padding-top:68px}
  .et-section-head{grid-template-columns:1fr;gap:8px}
  .et-section-head .et-tools{padding-top:10px}
  .et-figures{grid-template-columns:repeat(2,minmax(0,1fr))}
  .et-figure:nth-child(3){padding-left:0;border-left:0}
  .et-figure:nth-child(n+3){border-top:1px solid var(--et-line)}
  .et-method{grid-template-columns:1fr}
  .et-card{grid-template-columns:minmax(0,1fr);padding:22px 18px 20px;gap:10px}
  .et-card.is-static{grid-template-columns:minmax(0,1fr)}
  .et-card-when{display:flex;align-items:baseline;gap:10px;padding:0}
  .et-card-when b{font-size:17px}
  .et-card-when small{margin:0}
  .et-toggle{justify-self:start;margin-top:6px}
  .et-row{grid-template-columns:1fr;gap:4px}
  .et-row .w{grid-column:auto}
  .et-langs{grid-template-columns:1fr}
  .et-cert{grid-template-columns:1fr}
  .et-cert .ids{align-items:flex-start}
  .et-quotes,.et-steps,.et-pillars{grid-template-columns:1fr}
  .et-footer{margin-top:90px;padding-top:48px}
}
@media (max-width:400px){
  .et-switch a{padding:9px 8px;letter-spacing:.04em}
  .et-mark{width:34px;height:34px;font-size:16px}
}

@media (prefers-reduced-motion:reduce){
  html.et-page{scroll-behavior:auto}
  .et-page *,.et-page *::before,.et-page *::after{animation:none!important;transition:none!important}
  .et-trace.is-drawing .bar,.et-trace.is-drawing .tr-ms{transform:none}
  .et-trace.is-drawing .tag,.et-trace.is-drawing .tr-load i{opacity:1}
}

/* ==========================================================================
   Short version — Apple-style minimal theme (Home only, html.is-short)
   ========================================================================== */
html.et-fading body{opacity:0;transition:opacity .2s ease}
.et-page body{transition:opacity .28s ease}

html.is-short{
  --et-apple:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Inter,Helvetica,Arial,sans-serif;
  --et-bg:#f5f5f7;--et-panel:#ffffff;--et-panel-2:#fbfbfd;
  --et-ink:#1d1d1f;--et-ink-2:#1d1d1f;--et-muted:#6e6e73;
  --et-line:rgba(0,0,0,.08);--et-line-2:rgba(0,0,0,.14);
  --et-accent:#0071e3;--et-accent-2:#0077ed;--et-accent-text:#0066cc;--et-accent-rgb:0,113,227;
  --et-fill:rgba(0,0,0,.05);--et-eyebrow:#bf4800;
  --et-sans:var(--et-apple);--et-mono:var(--et-apple);
  --et-shadow:0 8px 30px rgba(0,0,0,.08);--et-r:18px;--et-head-h:52px;
}
html.is-short[data-theme="dark"]{
  --et-bg:#000000;--et-panel:#1c1c1e;--et-panel-2:#161617;
  --et-ink:#f5f5f7;--et-ink-2:#f5f5f7;--et-muted:#86868b;
  --et-line:rgba(255,255,255,.1);--et-line-2:rgba(255,255,255,.18);
  --et-accent:#0071e3;--et-accent-2:#2997ff;--et-accent-text:#2997ff;--et-accent-rgb:41,151,255;
  --et-fill:rgba(255,255,255,.1);--et-eyebrow:#ff791b;--et-shadow:0 8px 30px rgba(0,0,0,.5);
}
html.is-short body{font-size:17px;line-height:1.47;letter-spacing:-.022em}
html.is-short body::before{display:none}
html.is-short .pl-link{display:none!important}

/* one voice: no uppercase, no wide tracking */
html.is-short :is(.et-status,.et-eyebrow,.et-btn,.et-view,.et-bus a,.et-code,.et-ctx,.et-meta,.et-card-when b,.et-card-when small,.et-sub,.et-sub small,
  .et-minor,.et-toggle,.et-chips li,.et-pj-col h3,.et-pj-list .id,.et-pj-list .cx,.et-row dt,.et-row .k,.et-row .w,.et-lang b,.et-lang small,.et-cefr-l,
  .et-cert-group h3,.et-id,.et-id-none,.et-metric span,.et-spec dt,.et-figure span,.et-big + small,.et-quote figcaption,.et-steps li b,.et-footer-meta,
  .et-trace-head,.tr-kpis span,.tr-range button,.tr-years span,.tr-group,.tr-row .tag .mt,.et-trace-readout small,.et-brand-copy b,.et-kbd,.et-res .t,
  .et-res-group,.et-res-foot,.et-toast,.et-display,.et-section-head h2,.et-card h3,.et-step h4,.et-pillar b,.et-footer h2,.tr-now-tag,.et-pj-list .tt){
  text-transform:none;letter-spacing:-.01em}

/* global nav */
html.is-short .et-command{background:rgba(251,251,253,.8);border-bottom:1px solid rgba(0,0,0,.08);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}
html.is-short[data-theme="dark"] .et-command{background:rgba(22,22,23,.8);border-bottom-color:rgba(255,255,255,.1)}
html.is-short .et-command-inner{width:min(1024px,calc(100% - var(--et-gutter)*2));min-height:52px;grid-template-columns:auto minmax(0,1fr) auto;gap:10px}
html.is-short .et-brand-copy{display:flex}
html.is-short .et-brand-copy small{display:none}
html.is-short .et-brand-copy b{font:600 15px/1 var(--et-apple);letter-spacing:-.015em}
html.is-short .et-mark{width:28px;height:28px;border-radius:7px;font-size:13px;box-shadow:none}
html.is-short .et-search{display:none;grid-column:1/-1;grid-row:2;padding-bottom:12px}
html.is-short .et-command.search-open .et-search{display:block}
html.is-short .et-search-open{display:inline-flex}
html.is-short .et-search input{height:40px;border:0;border-radius:10px;background:var(--et-fill);font:400 16px/1 var(--et-apple);letter-spacing:-.01em}
html.is-short .et-search input:focus{box-shadow:0 0 0 3px rgba(var(--et-accent-rgb),.3)}
html.is-short .et-kbd{border:0;background:transparent;font:400 12px var(--et-apple)}
html.is-short .et-brand{grid-column:1;grid-row:1}
html.is-short .et-actions{grid-column:3;grid-row:1;justify-self:end;gap:4px}
html.is-short .et-actions a[href*="linkedin"],html.is-short .et-actions a[href*="Portfolio"]{display:none}
html.is-short .et-actions .et-icon{width:34px;height:34px;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--et-ink)}
html.is-short .et-actions .et-icon:hover{background:var(--et-fill)}
html.is-short .et-actions a.et-btn[href*="CV"]{min-height:0;height:30px;margin-left:6px;padding:0 14px;border:0;border-radius:980px;background:var(--et-accent);color:#fff;font:400 13px/1 var(--et-apple)}
html.is-short .et-actions a.et-btn[href*="CV"]:hover{background:#0077ed;color:#fff}
html.is-short .et-results{border:0;border-radius:14px}
html.is-short .et-res{border-radius:8px}
html.is-short .et-res .t{font:500 12px/1.3 var(--et-apple);color:var(--et-muted)}
html.is-short .et-res.is-active{box-shadow:none}

/* buttons: Apple pills */
html.is-short .et-btn{height:auto;min-height:44px;padding:12px 22px;border:1px solid transparent;border-radius:980px;font:400 17px/1.18 var(--et-apple);letter-spacing:-.022em}
html.is-short .et-btn-solid{background:var(--et-accent);color:#fff}
html.is-short .et-btn-solid:hover{background:#0077ed;border-color:#0077ed;color:#fff}
html.is-short .et-btn:not(.et-btn-solid):not(.et-icon){background:transparent;border-color:var(--et-accent-text);color:var(--et-accent-text)}
html.is-short .et-btn:not(.et-btn-solid):not(.et-icon):hover{background:var(--et-accent-text);color:#fff}
html.is-short .et-view{height:32px;padding:0 14px;border:0;border-radius:980px;background:var(--et-fill);color:var(--et-ink);font:400 13px/1 var(--et-apple)}
html.is-short .et-view.is-on{background:var(--et-fill);color:var(--et-ink)}
html.is-short .et-view:hover{background:var(--et-accent);color:#fff}

/* hero: centred, quiet */
html.is-short .et-hero{padding-top:72px;text-align:center}
html.is-short .et-status{justify-content:center;gap:8px 18px;font:400 12px/1.4 var(--et-apple);color:var(--et-muted)}
html.is-short .et-status .live{color:var(--et-muted)}
html.is-short .et-status .et-view{margin-left:0}
html.is-short .et-hero-grid{grid-template-columns:1fr;justify-items:center;gap:0}
html.is-short .et-eyebrow{justify-content:center;margin:40px 0 0;font:600 19px/1.2 var(--et-apple);color:var(--et-eyebrow)}
html.is-short .et-eyebrow::before,html.is-short .sv-only{display:none}
html.is-short .et-display{margin:8px 0 0;font:700 clamp(56px,8.6vw,112px)/1.03 var(--et-apple);letter-spacing:-.04em}
html.is-short .et-display::after{display:none}
html.is-short .et-hero-copy{display:flex;flex-direction:column;align-items:center;padding:0;margin-top:14px}
html.is-short .et-claim{max-width:23em;text-align:center;font:600 clamp(22px,2.6vw,32px)/1.19 var(--et-apple);letter-spacing:-.018em;hyphens:manual}
html.is-short .et-hero-actions{justify-content:center;gap:14px;margin-top:30px}
html.is-short .et-section .et-hero-actions{justify-content:flex-start;margin-top:18px}

/* figures as tiles */
html.is-short .et-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px;border:0;background:transparent}
html.is-short .et-metric{padding:26px 24px 24px;border:0!important;border-radius:var(--et-r);background:var(--et-panel);text-align:left;pointer-events:none}
html.is-short .et-metric b{font:700 clamp(40px,4vw,56px)/1 var(--et-apple);letter-spacing:-.04em}
html.is-short .et-metric b::before,html.is-short .et-metric b::after{content:none}
html.is-short .et-metric span{margin-top:10px;font:400 14px/1.35 var(--et-apple);color:var(--et-muted)}
html.is-short .et-spec{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;border:0;background:transparent;text-align:left}
html.is-short .et-spec div{padding:20px 22px;border-radius:var(--et-r);background:var(--et-panel)}
html.is-short .et-spec dt{font:600 12px/1.3 var(--et-apple);color:var(--et-muted)}
html.is-short .et-spec dd{margin-top:6px;font-size:15px;line-height:1.4;color:var(--et-ink)}

/* career trace: a clean card */
html.is-short .et-band{width:auto;margin:72px 0 0;padding:28px 30px 22px;border:0;border-radius:24px;background:var(--et-panel);text-align:left}
html.is-short .et-band::before,html.is-short .tr-legend,html.is-short .g-load,html.is-short .tr-load,html.is-short .g-ms,html.is-short .tr-miles,html.is-short .tr-lane{display:none}
html.is-short .tr-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 0}
html.is-short .tr-kpis div{display:block}
html.is-short .tr-tip{border-radius:12px;background:rgba(29,29,31,.94);color:#f5f5f7}
html.is-short .tr-tip b{color:#f5f5f7;font-family:var(--et-apple)}
html.is-short .tr-tip small{color:#a1a1a6;font-family:var(--et-apple);font-size:12px}
html.is-short[data-theme="dark"] .tr-tip{background:rgba(245,245,247,.96)}
html.is-short[data-theme="dark"] .tr-tip b{color:#1d1d1f}
html.is-short[data-theme="dark"] .tr-tip small{color:#6e6e73}
html.is-short .et-trace-head{font:600 21px/1.2 var(--et-apple);letter-spacing:-.015em;color:var(--et-ink)}
html.is-short .et-trace-head span:last-child{font:400 13px/1 var(--et-apple);color:var(--et-muted)}
html.is-short .tr-kpis{border:0;background:transparent}
html.is-short .tr-kpis div{padding:0 12px 0 0!important;border:0!important}
html.is-short .tr-kpis b{font:700 32px/1 var(--et-apple);letter-spacing:-.03em}
html.is-short .tr-kpis span{margin-top:6px;font:400 13px/1.3 var(--et-apple);color:var(--et-muted)}
html.is-short .tr-range{padding:2px;border:0;border-radius:9px;background:var(--et-fill)}
html.is-short .tr-range button{height:28px;min-width:44px;border-radius:7px;color:var(--et-ink);font:500 13px/1 var(--et-apple)}
html.is-short .tr-range button[aria-pressed="true"]{background:var(--et-panel);color:var(--et-ink);box-shadow:0 1px 4px rgba(0,0,0,.16)}
html.is-short[data-theme="dark"] .tr-range button[aria-pressed="true"]{background:#636366}
html.is-short .tr-chart{margin-top:22px}
html.is-short .tr-years{border-bottom-color:var(--et-line)}
html.is-short .tr-years span{font:400 12px/1 var(--et-apple);color:var(--et-muted)}
html.is-short .tr-years span.is-now{font-weight:600;color:var(--et-ink)}
html.is-short .tr-now-tag{border-radius:980px;padding:3px 8px;font:600 10px/1 var(--et-apple)}
html.is-short .tr-grid i{border-left-color:var(--et-line);background:transparent!important}
html.is-short .tr-group{height:34px;font:600 13px/1 var(--et-apple);color:var(--et-ink)}
html.is-short .tr-group small{display:none}
html.is-short .tr-row{height:30px}
html.is-short .tr-row .bar{height:12px;margin-top:-6px;border-radius:6px;background:var(--et-accent)}
html.is-short .tr-row.study .bar{height:12px;margin-top:-6px;background:rgba(var(--et-accent-rgb),.22);box-shadow:none}
html.is-short .tr-row.work.live .bar{background:var(--et-accent)}
html.is-short .tr-row .tag .nm{font:500 13px/1 var(--et-apple);color:var(--et-ink)}
html.is-short .tr-row .tag .mt{font:400 12px/1 var(--et-apple);color:var(--et-muted)}
html.is-short .tr-row:hover,html.is-short .tr-row.is-hot{background:var(--et-fill);border-radius:8px}
html.is-short .et-trace-readout b{font:600 15px/1.35 var(--et-apple)}
html.is-short .et-trace-readout small{font:400 13px/1.4 var(--et-apple)}
html.is-short .et-trace-readout .k{border-radius:3px}

/* index: segmented pill */
html.is-short .et-bus{width:fit-content;max-width:100%;margin:44px auto 0;padding:4px;gap:4px;border:0;border-radius:980px;background:rgba(232,232,237,.78);box-shadow:none;top:calc(var(--et-head-h) + 12px)}
html.is-short[data-theme="dark"] .et-bus{background:rgba(44,44,46,.78)}
html.is-short .et-bus a{height:30px;padding:0 13px;border-radius:980px;font:500 13px/1 var(--et-apple);color:var(--et-ink)}
html.is-short .et-bus a span,html.is-short .et-bus-status,html.is-short .et-bus-progress{display:none}
html.is-short .et-bus a:hover{background:transparent;color:var(--et-accent-text)}
html.is-short .et-bus a.is-active{background:var(--et-panel);color:var(--et-ink);box-shadow:0 1px 4px rgba(0,0,0,.14)}
html.is-short[data-theme="dark"] .et-bus a.is-active{background:#636366;color:#fff}
html.is-short .et-view-bus{height:30px;background:transparent;color:var(--et-accent-text)}

/* sections: 980px column, big sentence-case headlines */
html.is-short .et-section{max-width:980px;margin-inline:auto;padding-top:96px}
html.is-short .et-section-head{display:block;margin:0 0 26px;padding:0;border:0}
html.is-short .et-code{display:none}
html.is-short .et-section-head h2{font:700 clamp(32px,4.2vw,48px)/1.08 var(--et-apple);letter-spacing:-.028em}
html.is-short .et-body{margin-left:0}
html.is-short .et-sub{margin:40px 0 14px;font:600 21px/1.2 var(--et-apple);letter-spacing:-.015em}
html.is-short .et-sub small{display:none}
html.is-short .et-prose p{font-size:17px;line-height:1.53;color:var(--et-ink)}
html.is-short .et-prose b{font-weight:600}

/* bento tiles */
html.is-short .et-frame::after{display:none}
html.is-short .et-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.is-short .et-card{display:block;padding:24px 26px 22px;border:0;border-radius:var(--et-r);background:var(--et-panel);box-shadow:none}
html.is-short .et-card:first-child{grid-column:1/-1}
html.is-short .et-card:hover{box-shadow:var(--et-shadow)}
html.is-short .et-card.is-flash{box-shadow:0 0 0 3px rgba(var(--et-accent-rgb),.45)}
html.is-short .et-card-when{display:flex;align-items:baseline;gap:8px;margin-bottom:12px;padding:0}
html.is-short .et-card-when b{font:600 14px/1 var(--et-apple);color:var(--et-accent-text)}
html.is-short .et-card-when small{margin:0;font:400 14px/1 var(--et-apple);color:var(--et-muted)}
html.is-short .et-ctx{margin:0 0 4px;font:400 14px/1.35 var(--et-apple);color:var(--et-muted)}
html.is-short .et-card h3{font:600 21px/1.2 var(--et-apple);letter-spacing:-.016em}
html.is-short .et-meta{margin-top:10px;padding:0;border:0;font:400 14px/1.45 var(--et-apple);color:var(--et-muted)}
html.is-short .et-meta span+span::before{content:"·";display:inline;width:auto;height:auto;margin:0 7px;background:none;vertical-align:baseline}

html.is-short .et-pj{gap:12px;border:0;background:transparent}
html.is-short .et-pj-col{padding:24px 24px 14px;border-radius:var(--et-r)}
html.is-short .et-pj-col h3{margin:0 0 4px;padding:0;border:0;font:600 21px/1.2 var(--et-apple)}
html.is-short .et-pj-col h3 span{font-weight:400;color:var(--et-muted)}
html.is-short .et-pj-col > p{min-height:0;margin-bottom:6px;font-size:14px}
html.is-short .et-pj-list a{grid-template-columns:30px minmax(0,1fr);padding:12px 0;pointer-events:none}
html.is-short .et-pj-list .go{display:none}
html.is-short .et-pj-list .id{font:600 13px/1.5 var(--et-apple);color:var(--et-accent-text)}
html.is-short .et-pj-list .tt{font-size:15px;line-height:1.35}
html.is-short .et-pj-list .cx{margin-top:3px;font:400 13px/1.3 var(--et-apple);color:var(--et-muted)}
html.is-short .et-pj-cta{justify-content:flex-start}

html.is-short .et-rows{padding:4px 26px;border:0;border-radius:var(--et-r);background:var(--et-panel)}
html.is-short .et-row{grid-template-columns:210px minmax(0,1fr) auto;padding:15px 0;border-bottom:1px solid var(--et-line)}
html.is-short .et-row:last-child{border-bottom:0}
html.is-short .et-row dt,html.is-short .et-row .k{font:600 14px/1.5 var(--et-apple);color:var(--et-ink)}
html.is-short .et-row dd,html.is-short .et-row .v{font-size:15px;line-height:1.5;color:var(--et-muted)}
html.is-short .et-row dd b,html.is-short .et-row .v b{color:var(--et-ink);font-weight:500}
html.is-short .et-row .w{font:400 13px/1.5 var(--et-apple);color:var(--et-muted)}

html.is-short .et-langs{gap:12px;border:0;background:transparent}
html.is-short .et-lang{padding:22px 24px;border-radius:var(--et-r)}
html.is-short .et-lang b{font:600 21px/1.2 var(--et-apple)}
html.is-short .et-lang small{font:400 14px/1.3 var(--et-apple);color:var(--et-muted)}
html.is-short .et-cefr{gap:4px}
html.is-short .et-cefr i{height:6px;border-radius:3px;background:var(--et-fill)}
html.is-short .et-cefr i.on{background:var(--et-accent)}
html.is-short .et-cefr-l{font:400 11px/1 var(--et-apple)}

html.is-short .et-certs{gap:12px}
html.is-short .et-cert-group{padding:20px 26px 6px;border-radius:var(--et-r);background:var(--et-panel)}
html.is-short .et-cert-group h3{margin-bottom:4px;font:600 17px/1.3 var(--et-apple);color:var(--et-ink)}
html.is-short .et-cert{padding:12px 0;border-bottom:1px solid var(--et-line)}
html.is-short .et-cert:first-of-type{border-top:0}
html.is-short .et-cert:last-child{border-bottom:0}
html.is-short .et-cert .cn{font-size:15px}
html.is-short .et-cert .cn em{color:var(--et-ink);font-weight:600}
html.is-short .et-id{padding:5px 11px;border:0;border-radius:980px;background:var(--et-fill);font:500 12px/1.2 var(--et-apple);color:var(--et-ink)}
html.is-short .et-id:hover{background:var(--et-accent);color:#fff}
html.is-short .et-id-none{font:400 12px var(--et-apple)}

html.is-short .et-refs{grid-template-columns:auto minmax(0,1fr);gap:32px;align-items:center;padding:30px 32px;border-radius:var(--et-r);background:var(--et-panel)}
html.is-short .et-big{font:700 clamp(56px,6vw,80px)/.95 var(--et-apple);letter-spacing:-.045em}
html.is-short .et-big i{color:var(--et-accent-text)}
html.is-short .et-big + small{font:400 14px/1.4 var(--et-apple);color:var(--et-muted)}
html.is-short .et-pillars{gap:12px;border:0;background:transparent}
html.is-short .et-pillar{padding:24px 26px;border-radius:var(--et-r)}
html.is-short .et-pillar b{font:600 21px/1.2 var(--et-apple)}
html.is-short .et-pillar span{font-size:15px;line-height:1.45}

/* footer */
html.is-short .et-footer{margin-top:110px;padding:80px 0 30px;border-top:0;background:var(--et-panel);text-align:center}
html.is-short .et-footer-grid{grid-template-columns:1fr;justify-items:center;gap:26px}
html.is-short .et-footer .et-eyebrow{display:none}
html.is-short .et-footer h2{font:700 clamp(40px,6vw,64px)/1.05 var(--et-apple);letter-spacing:-.035em}
html.is-short .et-footer p{max-width:34em;margin:16px auto 0;text-align:center;font-size:19px;line-height:1.42}
html.is-short .et-footer-actions{justify-content:center;max-width:none}
html.is-short .et-footer-meta{justify-content:center;gap:8px 22px;margin-top:48px;font:400 12px/1.5 var(--et-apple);color:var(--et-muted)}
html.is-short .et-footer-meta kbd{border-radius:5px;font:inherit}
html.is-short .et-toast{border-radius:980px;font:500 13px/1.3 var(--et-apple)}

@media (max-width:900px){
  html.is-short .et-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.is-short .et-spec{grid-template-columns:1fr 1fr}
  html.is-short .et-pj{grid-template-columns:1fr}
  html.is-short .et-refs{grid-template-columns:1fr}
}
@media (max-width:760px){
  html.is-short .et-hero{padding-top:44px}
  html.is-short .et-status{flex-direction:column;gap:10px}
  html.is-short .et-hero-actions{flex-direction:column;align-items:stretch;width:100%;max-width:320px}
  html.is-short .et-spec{grid-template-columns:1fr}
  html.is-short .et-band{padding:20px 18px 16px;border-radius:20px}
  html.is-short .tr-head .tr-controls{justify-content:flex-start}
  html.is-short .tr-kpis{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
  html.is-short .tr-kpis div{padding:0!important}
  html.is-short .et-bus{width:100%;border-radius:14px}
  html.is-short .et-section{padding-top:72px}
  html.is-short .et-cards{grid-template-columns:1fr}
  html.is-short .et-row{grid-template-columns:1fr;gap:2px}
  html.is-short .et-rows,html.is-short .et-cert-group{padding-inline:20px}
  html.is-short .et-card{padding:20px 20px 18px}
}

/* ==========================================================================
   Print — Home prints as a clean CV
   ========================================================================== */
@media print{
  :root,html[data-theme="dark"]{--et-bg:#fff;--et-panel:#fff;--et-ink:#000;--et-ink-2:#222;--et-muted:#555;--et-line:#ccc;--et-line-2:#999;--et-accent:#0f5f5c;--et-accent-2:#0f5f5c;--et-accent-text:#0f5f5c}
  .et-page body::before,.et-command,.et-bus,.et-toast,.et-toggle,.et-trace,.et-section-head .et-tools,.et-hero-actions,.et-footer-actions,.et-skip,.et-id svg{display:none!important}
  .et-page body{font-size:11pt}
  .et-hero-grid{grid-template-columns:1fr}
  .et-display{font-size:44pt}
  .et-display::after{display:none}
  .et-body{margin-left:0}
  .et-section{padding-top:28pt;break-inside:auto}
  .et-card,.et-cert,.et-row,.et-step,.et-quote{break-inside:avoid}
  .et-card.is-collapsed .et-more{grid-template-rows:1fr}
  .et-frame::after{display:none}
  .et-section-head h2{font-size:20pt}
  a{text-decoration:none}
}

/* ==========================================================================
   Project Lab — alignment with the shared chrome
   (only affects project-lab.html, which sets data-site-style="tech")
   ========================================================================== */
html[data-site-style="tech"] .et-command{font-family:var(--et-sans)}
html[data-site-style="tech"] .control-panel{top:calc(var(--et-head-h) + 10px)}
html[data-site-style="tech"] .project-card.et-flash{box-shadow:0 0 0 2px var(--et-accent-2)!important}

/* ========================================================================== 
   FULL / ELEGANT EDITORIAL MODE — 2026-09-28
   The full homepage deliberately moves away from dashboard / dossier styling.
   Short mode remains unchanged and can still be toggled by the visitor.
   ========================================================================== */
html.et-page:not(.is-short){
  --et-bg:#f7f6f2;
  --et-panel:#f7f6f2;
  --et-panel-2:#efede7;
  --et-ink:#181816;
  --et-ink-2:#403f3a;
  --et-muted:#747169;
  --et-line:rgba(24,24,22,.12);
  --et-line-2:rgba(24,24,22,.22);
  --et-accent:#244c46;
  --et-accent-2:#173b36;
  --et-accent-text:#244c46;
  --et-accent-rgb:36,76,70;
  --et-shadow:0 24px 70px rgba(24,24,22,.07);
  --et-wrap:1180px;
  --et-head-h:78px;
}
html.et-page[data-theme="dark"]:not(.is-short){
  --et-bg:#111210;
  --et-panel:#111210;
  --et-panel-2:#191a17;
  --et-ink:#f1efe8;
  --et-ink-2:#cbc7bd;
  --et-muted:#8f8c84;
  --et-line:rgba(255,255,255,.11);
  --et-line-2:rgba(255,255,255,.22);
  --et-accent:#a34a62;
  --et-accent-2:#c45d78;
  --et-accent-text:#d17890;
  --et-accent-rgb:163,74,98;
  --et-shadow:0 24px 70px rgba(0,0,0,.28);
}
html.et-page:not(.is-short) body{font-size:16px;line-height:1.72;background:var(--et-bg)}
html.et-page:not(.is-short) body::before{display:none}
html.et-page:not(.is-short) .et-wrap{width:min(var(--et-wrap),calc(100% - clamp(36px,7vw,96px)))}

/* quiet, premium navigation */
html.et-page:not(.is-short) .et-command{background:color-mix(in srgb,var(--et-bg) 88%,transparent);border-bottom:1px solid var(--et-line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
html.et-page:not(.is-short) .et-command-inner{width:min(var(--et-wrap),calc(100% - clamp(36px,7vw,96px)));grid-template-columns:auto auto 1fr auto;gap:28px;min-height:78px}
html.et-page:not(.is-short) .et-brand{gap:13px}
html.et-page:not(.is-short) .et-mark{width:34px;height:34px;border-radius:50%;background:var(--et-ink);color:var(--et-bg);box-shadow:none;font:600 13px/1 var(--et-sans);letter-spacing:-.02em}
html.et-page:not(.is-short) .et-brand-copy{gap:1px}
html.et-page:not(.is-short) .et-brand-copy b{font:600 13px/1.2 var(--et-sans);letter-spacing:-.01em;text-transform:none}
html.et-page:not(.is-short) .et-brand-copy small{font:400 11px/1.25 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-switch{padding:0;gap:22px;background:none;border:0;border-radius:0;box-shadow:none}
html.et-page:not(.is-short) .et-switch a{padding:0;font:500 12.5px/1 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted);background:none!important;box-shadow:none!important}
html.et-page:not(.is-short) .et-switch a:hover,
html.et-page:not(.is-short) .et-switch a[aria-current="page"]{color:var(--et-ink)}
html.et-page:not(.is-short) .et-search{display:none}
html.et-page:not(.is-short) .et-search-open{display:inline-flex}
html.et-page:not(.is-short) .et-actions{gap:7px}
html.et-page:not(.is-short) .et-actions .et-btn:not(.et-icon){border:0;background:transparent;padding:0 8px;height:38px;font:500 12.5px/1 var(--et-sans);letter-spacing:0;text-transform:none}
html.et-page:not(.is-short) .et-actions .et-btn-solid{color:var(--et-ink)}
html.et-page:not(.is-short) .et-btn{border-radius:999px;font-family:var(--et-sans);letter-spacing:0;text-transform:none}
html.et-page:not(.is-short) .et-icon{border:0;width:38px;background:transparent}

/* hero: editorial, spacious, intentionally non-analytical */
html.et-page:not(.is-short) .et-hero{padding:clamp(92px,12vw,158px) 0 clamp(82px,10vw,132px);border:0}
html.et-page:not(.is-short) .et-status{margin:0 0 32px;display:flex;gap:18px;align-items:center;color:var(--et-muted);font:400 12px/1.4 var(--et-sans);letter-spacing:0;text-transform:none}
html.et-page:not(.is-short) .et-status>span:nth-child(2){display:none}
html.et-page:not(.is-short) .et-status .live i{width:6px;height:6px}
html.et-page:not(.is-short) .et-view{margin-left:auto;border:0;background:transparent;padding:0;height:auto;font:500 12px/1.2 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-view svg{display:none}
html.et-page:not(.is-short) .et-hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:clamp(48px,8vw,116px);align-items:end}
html.et-page:not(.is-short) .et-eyebrow{margin:0 0 20px;font:500 12px/1.3 var(--et-sans);letter-spacing:.02em;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-display{max-width:8ch;margin:0;font:400 clamp(64px,9vw,132px)/.86 Georgia,'Times New Roman',serif;letter-spacing:-.068em;text-transform:none;color:var(--et-ink)}
html.et-page:not(.is-short) .et-display::after,
html.et-page:not(.is-short) .et-display::before{display:none!important}
html.et-page:not(.is-short) .et-hero-copy{padding:0 0 4px}
html.et-page:not(.is-short) .et-claim{margin:0;max-width:19ch;font:400 clamp(28px,3.3vw,48px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.035em;text-align:left;hyphens:none;color:var(--et-ink)}
html.et-page:not(.is-short) .et-lead{max-width:51ch;margin:28px 0 0;font:400 15px/1.75 var(--et-sans);color:var(--et-muted);text-align:left;hyphens:none}
html.et-page:not(.is-short) .et-hero-actions{margin-top:34px;gap:9px;flex-wrap:wrap}
html.et-page:not(.is-short) .et-hero-actions .et-btn{height:44px;padding:0 18px;border:1px solid var(--et-line-2);background:transparent;color:var(--et-ink);font:500 12.5px/1 var(--et-sans)}
html.et-page:not(.is-short) .et-hero-actions .et-btn-solid{background:var(--et-ink);border-color:var(--et-ink);color:var(--et-bg)}
html.et-page:not(.is-short) .et-hero-actions .et-btn:hover{transform:translateY(-1px);border-color:var(--et-ink)}
html.et-page:not(.is-short) .et-trace{display:block!important;width:auto;margin:56px 0 0;padding:0;background:transparent;border:0}
html.et-page:not(.is-short) .et-trace::before{display:none}
html.et-page:not(.is-short) .et-trace-head{padding:0 0 14px;border-bottom:1px solid var(--et-line);font:500 11.5px/1.3 var(--et-sans);letter-spacing:.02em;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-trace-head span:first-child{color:var(--et-ink);font-weight:500}
html.et-page:not(.is-short) .et-trace-head span:last-child{gap:9px}
html.et-page:not(.is-short) .et-trace-body{margin-top:22px;padding:26px 28px 22px;border:1px solid var(--et-line);background:color-mix(in srgb,var(--et-panel) 76%,transparent)}
html.et-page:not(.is-short) .et-trace .et-note{max-width:none;margin:0 0 18px;padding:0;border:0;background:transparent;font:400 13px/1.7 var(--et-sans);color:var(--et-muted);text-align:left;hyphens:none}
html.et-page:not(.is-short) .tr-head{grid-template-columns:minmax(0,1fr) auto;gap:18px 28px;align-items:start}
html.et-page:not(.is-short) .tr-head .tr-controls{margin:0;flex-direction:row;align-items:center;justify-content:flex-end;gap:14px 18px}
html.et-page:not(.is-short) .tr-kpis{padding-bottom:10px;border-bottom:1px solid var(--et-line)}
html.et-page:not(.is-short) .tr-kpis div{padding-inline:18px}
html.et-page:not(.is-short) .tr-kpis div:first-child{padding-left:0}
html.et-page:not(.is-short) .tr-kpis b{font:500 25px/1 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:var(--et-ink)}
html.et-page:not(.is-short) .tr-kpis span{font:500 10px/1.25 var(--et-sans);letter-spacing:.02em;text-transform:none}
html.et-page:not(.is-short) .tr-legend,
html.et-page:not(.is-short) .tr-range button,
html.et-page:not(.is-short) .tr-years span,
html.et-page:not(.is-short) .tr-group,
html.et-page:not(.is-short) .tr-row .tag .mt,
html.et-page:not(.is-short) .et-trace-readout small,
html.et-page:not(.is-short) .tr-now-tag{font-family:var(--et-sans);letter-spacing:0;text-transform:none}
html.et-page:not(.is-short) .tr-legend{font-size:10.5px}
html.et-page:not(.is-short) .tr-range{padding:3px;border-radius:999px;background:transparent}
html.et-page:not(.is-short) .tr-range button{min-width:40px;border-radius:999px;font-size:11px}
html.et-page:not(.is-short) .tr-range button[aria-pressed="true"]{background:var(--et-ink);color:var(--et-bg)}
html.et-page:not(.is-short) .tr-chart{margin-top:12px}
html.et-page:not(.is-short) .tr-years{height:32px}
html.et-page:not(.is-short) .tr-years span{bottom:8px;font-size:10px}
html.et-page:not(.is-short) .tr-now-tag{border-radius:999px;padding:4px 8px 3px;background:var(--et-ink);color:var(--et-bg)}
html.et-page:not(.is-short) .tr-now-tag::after{border-left-color:var(--et-ink)}
html.et-page:not(.is-short) .tr-row{height:28px}
html.et-page:not(.is-short) .tr-row .bar{height:11px;margin-top:-5.5px;border-radius:999px}
html.et-page:not(.is-short) .tr-row.study .bar{height:9px;margin-top:-4.5px}
html.et-page:not(.is-short) .tr-row .tag .nm{font:400 12.5px/1.2 var(--et-sans);color:var(--et-ink)}
html.et-page:not(.is-short) .tr-row:hover .tag .nm,html.et-page:not(.is-short) .tr-row:focus-visible .tag .nm,html.et-page:not(.is-short) .tr-row.is-hot .tag .nm{color:var(--et-accent-text)}
html.et-page:not(.is-short) .tr-load{height:10px}
html.et-page:not(.is-short) .et-trace-readout{margin-top:18px;padding-top:18px;border-top:1px solid var(--et-line);min-height:0}
html.et-page:not(.is-short) .et-trace-readout b{font:500 14px/1.45 var(--et-sans)}

/* section navigation becomes a light editorial index */
html.et-page:not(.is-short) .et-bus{position:sticky;top:calc(var(--et-head-h) + 10px);width:100%;margin:0 auto 20px;padding:0;border:0;border-top:1px solid var(--et-line);border-bottom:1px solid var(--et-line);border-radius:0;background:color-mix(in srgb,var(--et-bg) 92%,transparent);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);gap:0}
html.et-page:not(.is-short) .et-bus-track{gap:24px;padding:12px 0}
html.et-page:not(.is-short) .et-bus a{height:28px;padding:0;border-radius:0;font:500 11.5px/1 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted);background:none!important}
html.et-page:not(.is-short) .et-bus a span{display:none}
html.et-page:not(.is-short) .et-bus a:hover,
html.et-page:not(.is-short) .et-bus a.is-active{color:var(--et-ink)}
html.et-page:not(.is-short) .et-bus-status,
html.et-page:not(.is-short) .et-bus-progress,
html.et-page:not(.is-short) .et-view-bus{display:none}

/* editorial sections */
html.et-page:not(.is-short) .et-section{padding:clamp(92px,11vw,148px) 0;border:0;border-bottom:1px solid var(--et-line)}
html.et-page:not(.is-short) .et-section-head{display:grid;grid-template-columns:minmax(220px,.48fr) minmax(0,1fr) auto;gap:clamp(28px,5vw,76px);align-items:start;margin-bottom:clamp(48px,6vw,78px);padding:0;border:0}
html.et-page:not(.is-short) .et-code{padding-top:9px;font:500 11px/1.3 var(--et-sans);letter-spacing:.02em;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-section-head h2{margin:0;font:400 clamp(42px,5.6vw,76px)/.98 Georgia,'Times New Roman',serif;letter-spacing:-.05em;text-transform:none;color:var(--et-ink)}
html.et-page:not(.is-short) .et-section-head p{max-width:54ch;margin:18px 0 0;font:400 15px/1.75 var(--et-sans);color:var(--et-muted);text-align:left;hyphens:none}
html.et-page:not(.is-short) .et-section-head .et-tools{padding-top:6px}
html.et-page:not(.is-short) .et-section-head .et-tools .et-btn{height:36px;padding:0 14px;border-color:var(--et-line);font-size:11.5px;color:var(--et-muted)}
html.et-page:not(.is-short) .et-body{padding:0}
html.et-page:not(.is-short) .et-prose{max-width:820px;margin-left:auto}
html.et-page:not(.is-short) .et-prose p{font-size:clamp(17px,1.65vw,21px);line-height:1.7;text-align:left;hyphens:none;color:var(--et-ink-2)}

/* metrics become quiet typography rather than dashboard KPIs */
html.et-page:not(.is-short) .et-figures{margin:64px 0 0 auto;max-width:820px;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--et-line);border-bottom:1px solid var(--et-line)}
html.et-page:not(.is-short) .et-figure{padding:24px 18px 22px 0;border:0;background:transparent}
html.et-page:not(.is-short) .et-figure+.et-figure{padding-left:22px;border-left:1px solid var(--et-line)}
html.et-page:not(.is-short) .et-figure b{font:400 clamp(28px,3vw,42px)/1 Georgia,'Times New Roman',serif;letter-spacing:-.04em;color:var(--et-ink)}
html.et-page:not(.is-short) .et-figure span{display:block;margin-top:8px;font:400 11.5px/1.4 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}

/* methodology: calm four-column editorial grid */
html.et-page:not(.is-short) .et-sub{max-width:820px;margin:72px 0 24px auto;font:500 12px/1.4 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-sub small{font:400 12px/1.4 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-method{max-width:820px;margin-left:auto!important;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--et-line)}
html.et-page:not(.is-short) .et-step{display:block;min-height:0;padding:22px 18px 0 0;border:0;background:transparent}
html.et-page:not(.is-short) .et-step+.et-step{padding-left:22px;border-left:1px solid var(--et-line)}
html.et-page:not(.is-short) .et-step .n{display:block;margin-bottom:38px;font:400 11px/1 var(--et-sans);color:var(--et-muted)}
html.et-page:not(.is-short) .et-step h4{margin:0 0 10px;font:400 25px/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.025em;text-transform:none}
html.et-page:not(.is-short) .et-step p{font-size:12.5px;line-height:1.65;color:var(--et-muted)}
html.et-page:not(.is-short) .et-note{max-width:820px;margin:48px 0 0 auto;padding:0;border:0;background:transparent;font-size:12.5px;line-height:1.65;color:var(--et-muted);text-align:left;hyphens:none}

/* experience + education: open rows, no boxed-dashboard treatment */
html.et-page:not(.is-short) .et-cards{gap:0;border-top:1px solid var(--et-line)}
html.et-page:not(.is-short) .et-card,
html.et-page:not(.is-short) .et-card.is-static{grid-template-columns:150px minmax(0,1fr) auto;gap:18px 40px;padding:42px 0;border:0!important;border-bottom:1px solid var(--et-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html.et-page:not(.is-short) .et-card:hover{background:transparent!important}
html.et-page:not(.is-short) .et-card-when{padding-top:3px}
html.et-page:not(.is-short) .et-card-when b{font:500 12px/1.25 var(--et-sans);letter-spacing:0;color:var(--et-muted)}
html.et-page:not(.is-short) .et-card-when small{margin-top:5px;font:400 11px/1.3 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-ctx{margin:0 0 8px;font:500 11.5px/1.35 var(--et-sans);letter-spacing:.01em;text-transform:none;color:var(--et-accent-text)}
html.et-page:not(.is-short) .et-card h3{max-width:27ch;margin:0;font:400 clamp(25px,2.5vw,38px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.035em;text-transform:none;color:var(--et-ink)}
html.et-page:not(.is-short) .et-meta{margin:13px 0 0;gap:7px 18px;font:400 11.5px/1.45 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-meta span::before{display:none}
html.et-page:not(.is-short) .et-card-desc{max-width:66ch;margin:21px 0 0;font-size:14.5px;line-height:1.75;color:var(--et-ink-2);text-align:left;hyphens:none}
html.et-page:not(.is-short) .et-more{margin-top:0}
html.et-page:not(.is-short) .et-more>div{padding-top:24px}
html.et-page:not(.is-short) .et-points{max-width:66ch;margin:0;padding:0;list-style:none}
html.et-page:not(.is-short) .et-points li{position:relative;padding:0 0 0 22px;margin:0 0 11px;font-size:13.5px;line-height:1.7;color:var(--et-ink-2);text-align:left;hyphens:none}
html.et-page:not(.is-short) .et-points li::before{content:"";position:absolute;left:0;top:.82em;width:12px;height:1px;background:color-mix(in srgb,var(--et-muted) 78%,transparent)}
html.et-page:not(.is-short) .et-points li::marker{content:"";color:transparent}
html.et-page:not(.is-short) .et-minor{margin:30px 0 12px;font:500 11.5px/1.4 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-chips{margin-top:25px;gap:6px}
html.et-page:not(.is-short) .et-chips li{padding:7px 10px;border:1px solid var(--et-line);border-radius:999px;background:transparent;font:400 10.5px/1 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-toggle{align-self:start;margin-top:0;height:34px;padding:0 12px;border:1px solid var(--et-line);border-radius:999px;background:transparent;font:500 11px/1 var(--et-sans);letter-spacing:0;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-toggle i{display:none}
html.et-page:not(.is-short) .et-thesis{margin:2px 0 28px;padding:20px 0;border:0;border-top:1px solid var(--et-line);border-bottom:1px solid var(--et-line);background:transparent}
html.et-page:not(.is-short) .et-thesis .k{font:500 10.5px/1.4 var(--et-sans);letter-spacing:.02em;text-transform:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-thesis .t{margin-top:10px;font:400 20px/1.35 Georgia,'Times New Roman',serif;letter-spacing:-.02em}
html.et-page:not(.is-short) .et-thesis p{font-size:13px;line-height:1.65;text-align:left;hyphens:none;color:var(--et-muted)}

/* definition/list sections: reduced chrome */
html.et-page:not(.is-short) .et-row,
html.et-page:not(.is-short) .et-cert,
html.et-page:not(.is-short) .et-quote,
html.et-page:not(.is-short) .et-pillar{border-color:var(--et-line);background:transparent;box-shadow:none}
html.et-page:not(.is-short) .et-row{padding:22px 0}
html.et-page:not(.is-short) .et-cert{padding:20px 0;border-left:0;border-right:0;border-top:0}
html.et-page:not(.is-short) .et-quotes{align-items:start;gap:24px;margin-top:34px;background:none;border:0}
html.et-page:not(.is-short) .et-quote{display:flex;flex-direction:column;gap:12px;padding:22px 0 16px;border-left:0;border-right:0;border-top:1px solid var(--et-line);min-height:0;align-self:start}
html.et-page:not(.is-short) .et-quote:first-child,
html.et-page:not(.is-short) .et-quote:nth-child(2){padding-top:0;border-top:0}
html.et-page:not(.is-short) .et-quote figcaption{margin:0 0 2px;font:500 10.5px/1.3 var(--et-sans);letter-spacing:.03em;text-transform:none;color:var(--et-accent-text)}
html.et-page:not(.is-short) .et-quote blockquote{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.5;letter-spacing:-.015em;text-align:left;hyphens:none}
html.et-page:not(.is-short) .et-quote small{display:block;margin-top:0;font-size:12.5px;line-height:1.55;color:var(--et-muted)}

/* footer */
html.et-page:not(.is-short) .et-footer{padding:clamp(80px,10vw,130px) 0 52px}
html.et-page:not(.is-short) .et-footer h2{font:400 clamp(46px,7vw,92px)/.95 Georgia,'Times New Roman',serif;letter-spacing:-.055em;text-transform:none}
html.et-page:not(.is-short) .et-footer p{max-width:52ch;font-size:15px;line-height:1.7;text-align:left;hyphens:none;color:var(--et-muted)}
html.et-page:not(.is-short) .et-footer-actions .et-btn{font-size:12px}

/* restrained motion */
html.et-page:not(.is-short) .et-section,
html.et-page:not(.is-short) .et-card,
html.et-page:not(.is-short) .et-hero{transition:none}

@media (max-width:980px){
  html.et-page:not(.is-short) .et-command-inner{grid-template-columns:auto 1fr auto;gap:16px}
  html.et-page:not(.is-short) .et-switch{justify-self:center}
  html.et-page:not(.is-short) .et-actions .et-hide-md{display:none}
  html.et-page:not(.is-short) .et-hero-grid{grid-template-columns:1fr;gap:40px}
  html.et-page:not(.is-short) .et-display{max-width:none}
  html.et-page:not(.is-short) .et-claim{max-width:22ch}
  html.et-page:not(.is-short) .et-trace-body{padding:22px 20px 18px}
  html.et-page:not(.is-short) .tr-head{grid-template-columns:1fr}
  html.et-page:not(.is-short) .tr-head .tr-controls{justify-content:space-between}
  html.et-page:not(.is-short) .et-section-head{grid-template-columns:160px minmax(0,1fr);gap:30px}
  html.et-page:not(.is-short) .et-section-head .et-tools{grid-column:2}
  html.et-page:not(.is-short) .et-card,
  html.et-page:not(.is-short) .et-card.is-static{grid-template-columns:110px minmax(0,1fr) auto;gap:16px 24px}
  html.et-page:not(.is-short) .et-figures,
  html.et-page:not(.is-short) .et-method{grid-template-columns:repeat(2,1fr)}
  html.et-page:not(.is-short) .et-figure:nth-child(3),html.et-page:not(.is-short) .et-figure:nth-child(4){border-top:1px solid var(--et-line)}
  html.et-page:not(.is-short) .et-step:nth-child(3),html.et-page:not(.is-short) .et-step:nth-child(4){margin-top:30px;padding-top:22px;border-top:1px solid var(--et-line)}
}
@media (max-width:700px){
  html.et-page:not(.is-short){--et-head-h:64px}
  html.et-page:not(.is-short) .et-wrap{width:min(100% - 32px,var(--et-wrap))}
  html.et-page:not(.is-short) .et-command-inner{width:calc(100% - 32px);min-height:64px;grid-template-columns:auto 1fr auto}
  html.et-page:not(.is-short) .et-brand-copy small{display:none}
  html.et-page:not(.is-short) .et-switch{gap:14px;justify-self:end}
  html.et-page:not(.is-short) .et-switch a{font-size:11.5px}
  html.et-page:not(.is-short) .et-actions .et-btn:not(.et-icon){display:none}
  html.et-page:not(.is-short) .et-hero{padding:68px 0 72px}
  html.et-page:not(.is-short) .et-status{margin-bottom:24px}
  html.et-page:not(.is-short) .et-display{font-size:clamp(58px,20vw,86px)}
  html.et-page:not(.is-short) .et-claim{font-size:32px}
  html.et-page:not(.is-short) .et-hero-actions{display:grid;grid-template-columns:1fr;margin-top:28px}
  html.et-page:not(.is-short) .et-hero-actions .et-btn{width:100%}
  html.et-page:not(.is-short) .et-bus{top:calc(var(--et-head-h) + 4px)}
  html.et-page:not(.is-short) .et-bus-track{gap:18px}
  html.et-page:not(.is-short) .et-section{padding:76px 0}
  html.et-page:not(.is-short) .et-section-head{grid-template-columns:1fr;gap:12px;margin-bottom:42px}
  html.et-page:not(.is-short) .et-code{padding:0}
  html.et-page:not(.is-short) .et-section-head h2{font-size:48px}
  html.et-page:not(.is-short) .et-section-head .et-tools{grid-column:1;padding-top:6px}
  html.et-page:not(.is-short) .et-trace{margin-top:42px}
  html.et-page:not(.is-short) .et-trace-body{padding:18px 16px 16px}
  html.et-page:not(.is-short) .tr-kpis{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;gap:12px 0;padding-bottom:16px}
  html.et-page:not(.is-short) .tr-kpis div{padding:0 0 0 14px}
  html.et-page:not(.is-short) .tr-kpis div:nth-child(odd){padding-left:0;border-left:0}
  html.et-page:not(.is-short) .tr-head .tr-controls{gap:10px 14px}
  html.et-page:not(.is-short) .et-prose p{font-size:17px}
  html.et-page:not(.is-short) .et-quotes{grid-template-columns:1fr;gap:18px}
  html.et-page:not(.is-short) .et-quote,
  html.et-page:not(.is-short) .et-quote:first-child,
  html.et-page:not(.is-short) .et-quote:nth-child(2){padding-top:18px;border-top:1px solid var(--et-line)}
  html.et-page:not(.is-short) .et-quote:first-child{padding-top:0;border-top:0}
  html.et-page:not(.is-short) .et-figures,
  html.et-page:not(.is-short) .et-method{grid-template-columns:1fr}
  html.et-page:not(.is-short) .et-figure,
  html.et-page:not(.is-short) .et-figure+.et-figure{padding:18px 0;border-left:0;border-top:1px solid var(--et-line)}
  html.et-page:not(.is-short) .et-figure:first-child{border-top:0}
  html.et-page:not(.is-short) .et-step,
  html.et-page:not(.is-short) .et-step+.et-step,
  html.et-page:not(.is-short) .et-step:nth-child(3),html.et-page:not(.is-short) .et-step:nth-child(4){margin:0;padding:22px 0;border-left:0;border-top:1px solid var(--et-line)}
  html.et-page:not(.is-short) .et-step:first-child{border-top:0}
  html.et-page:not(.is-short) .et-step .n{margin-bottom:16px}
  html.et-page:not(.is-short) .et-card,
  html.et-page:not(.is-short) .et-card.is-static{grid-template-columns:1fr;gap:13px;padding:30px 0}
  html.et-page:not(.is-short) .et-card-when{display:flex;gap:7px;align-items:baseline}
  html.et-page:not(.is-short) .et-card-when small{margin:0}
  html.et-page:not(.is-short) .et-card h3{font-size:29px}
  html.et-page:not(.is-short) .et-toggle{justify-self:start;margin-top:3px}
}

/* Short-version navigation: keep only core recruiter sections. */
html.is-short .et-bus a[href="#profile"],
html.is-short .et-bus a[href="#research"],
html.is-short .et-bus a[href="#references"]{
  display:none!important;
}


/* ========================================================================
   V5 — spacing, prose alignment and final editorial polish
   ======================================================================== */
/* No page-opacity animation: navigation between Home and Project Lab is direct. */
.et-page body{transition:none!important}
html.et-fading body{opacity:1!important;transition:none!important}

/* Justified prose throughout the Home experience. Headings, labels and UI remain left aligned. */
.et-page :is(.et-claim,.et-lead,.et-section-head p,.et-prose p,.et-card-desc,.et-points li,.et-note,.et-thesis p,.et-quote blockquote,.et-footer p,.et-pj-col>p,.et-pj-cta p,.et-step p,.et-row dd,.et-row .v,.et-cert .cd){
  text-align:justify!important;
  text-justify:inter-word;
  hyphens:auto;
  -webkit-hyphens:auto;
}

/* Method — equal inner spacing, full usable width, no text touching dividers. */
html.et-page:not(.is-short) .et-sub{max-width:none;margin:58px 0 20px!important}
html.et-page:not(.is-short) .et-method{
  max-width:none!important;
  width:100%;
  margin:0!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0!important;
  border:1px solid var(--et-line)!important;
  background:transparent!important;
}
html.et-page:not(.is-short) .et-step,
html.et-page:not(.is-short) .et-step+.et-step{
  margin:0!important;
  min-width:0;
  padding:26px 24px 24px!important;
  border-top:0!important;
  border-left:1px solid var(--et-line)!important;
  background:color-mix(in srgb,var(--et-panel) 66%,transparent)!important;
}
html.et-page:not(.is-short) .et-step:first-child{border-left:0!important}
html.et-page:not(.is-short) .et-step .n{margin:0 0 26px!important}
html.et-page:not(.is-short) .et-step h4{margin:0 0 12px!important}
html.et-page:not(.is-short) .et-step p{margin:0!important;font-size:13px!important;line-height:1.68!important}
html.et-page:not(.is-short) #profile>.et-body>.et-note,
html.et-page:not(.is-short) #profile .et-body>.et-note{max-width:none!important;margin:24px 0 0!important}

/* Skills/tags — remove technical diamonds and give every pill consistent breathing room. */
html.et-page:not(.is-short) .et-chips{gap:8px!important;margin-top:22px!important}
html.et-page:not(.is-short) .et-chips li{padding:8px 12px!important;line-height:1.15!important}
html.et-page:not(.is-short) .et-chips li::before{display:none!important;content:none!important}

/* Projects — compact the archive rows and remove unnecessary boxed whitespace. */
html.et-page:not(.is-short) .et-pj{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px!important;
  border:0!important;
  background:transparent!important;
}
html.et-page:not(.is-short) .et-pj-col{padding:0!important;background:transparent!important}
html.et-page:not(.is-short) .et-pj-col h3{margin:0 0 10px!important;padding:0 0 13px!important;border-bottom:1px solid var(--et-line)!important}
html.et-page:not(.is-short) .et-pj-col>p{min-height:0!important;margin:0 0 10px!important;line-height:1.55!important}
html.et-page:not(.is-short) .et-pj-list a{grid-template-columns:32px minmax(0,1fr) 12px!important;gap:8px!important;padding:8px 0!important}
html.et-page:not(.is-short) .et-pj-list .tt{line-height:1.35!important}
html.et-page:not(.is-short) .et-pj-list .cx{margin-top:2px!important}

@media(max-width:980px){
  html.et-page:not(.is-short) .et-method{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.et-page:not(.is-short) .et-step,
  html.et-page:not(.is-short) .et-step+.et-step{border-left:0!important;border-top:1px solid var(--et-line)!important}
  html.et-page:not(.is-short) .et-step:nth-child(odd){border-right:1px solid var(--et-line)!important}
  html.et-page:not(.is-short) .et-step:nth-child(-n+2){border-top:0!important}
  html.et-page:not(.is-short) .et-pj{grid-template-columns:1fr!important;gap:44px!important}
}
@media(max-width:700px){
  html.et-page:not(.is-short) .et-method{grid-template-columns:1fr!important}
  html.et-page:not(.is-short) .et-step,
  html.et-page:not(.is-short) .et-step+.et-step{padding:22px 0!important;border-right:0!important;border-left:0!important;border-top:1px solid var(--et-line)!important;background:transparent!important}
  html.et-page:not(.is-short) .et-step:first-child{border-top:0!important}
}

/* ==========================================================================
   V8 — minimal full hero: name + actions + career trace
   ========================================================================== */
html.et-page:not(.is-short) .et-hero{
  padding:clamp(86px,10vw,132px) 0 clamp(64px,8vw,96px);
}
html.et-page:not(.is-short) .et-hero-minimal{
  display:block;
}
html.et-page:not(.is-short) .et-hero-minimal .et-hero-name{
  width:100%;
}
html.et-page:not(.is-short) .et-hero-minimal .et-display{
  max-width:none;
  margin:0;
  font-size:clamp(76px,10.2vw,148px);
  line-height:.88;
  white-space:normal;
}
html.et-page:not(.is-short) .et-hero-minimal .et-hero-actions{
  margin-top:42px;
  gap:9px;
  align-items:center;
}
html.et-page:not(.is-short) .et-view-hero{
  display:inline-flex;
  gap:8px;
  margin-left:0;
  flex:none;
}
html.et-page:not(.is-short) .et-view-hero svg{
  width:15px;
  height:15px;
}
html.et-page:not(.is-short) .et-view-hero .v{
  margin-left:-4px;
}
html.et-page:not(.is-short) .et-trace{
  margin-top:64px;
}

html.is-short .et-hero-minimal .et-hero-name{
  display:flex;
  flex-direction:column;
  align-items:center;
}
html.is-short .et-hero-minimal .et-display{
  margin-top:0;
}
html.is-short .et-hero-minimal .et-hero-actions{
  margin-top:30px;
}
html.is-short .et-view-hero{
  display:inline-flex;
}

@media (max-width:700px){
  html.et-page:not(.is-short) .et-hero-minimal .et-display{
    font-size:clamp(58px,19vw,90px);
    line-height:.92;
  }
  html.et-page:not(.is-short) .et-hero-minimal .et-hero-actions{
    margin-top:30px;
  }
  html.et-page:not(.is-short) .et-trace{
    margin-top:48px;
  }
}

/* Inline editorial source links */
.et-inline-link{color:var(--et-accent-text);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--et-accent-text) 35%,transparent);white-space:nowrap}
.et-inline-link:hover{border-bottom-color:currentColor}

/* V12 — Short version: career trace hidden */
html.is-short .et-trace{display:none!important}


/* ==========================================================================
   V13 — mobile optimisation across Full Home, Short Version and shared chrome
   ========================================================================== */
@media (max-width:900px){
  html.et-page:not(.is-short) .et-bus,
  html.is-short .et-bus{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  html.et-page:not(.is-short) .et-bus::-webkit-scrollbar,
  html.is-short .et-bus::-webkit-scrollbar{display:none}
  html.et-page:not(.is-short) .et-bus-track,
  html.is-short .et-bus-track{
    width:max-content;
    min-width:100%;
    flex-wrap:nowrap;
    gap:16px;
    padding-inline:2px;
  }
}
@media (max-width:760px){
  html.et-page:not(.is-short){--et-head-h:62px}
  html.et-page:not(.is-short) .et-command-inner{
    width:calc(100% - 24px);
    grid-template-columns:auto 1fr auto;
    gap:10px;
    min-height:62px;
  }
  html.et-page:not(.is-short) .et-brand-copy b{font-size:12px}
  html.et-page:not(.is-short) .et-brand-copy small{display:none}
  html.et-page:not(.is-short) .et-switch{justify-self:end;gap:12px}
  html.et-page:not(.is-short) .et-switch a{font-size:11px}
  html.et-page:not(.is-short) .et-search{grid-column:1/-1;grid-row:2;padding:4px 0 10px}
  html.et-page:not(.is-short) .et-search input{height:42px;font-size:16px}
  html.et-page:not(.is-short) .et-hero{padding:54px 0 58px}
  html.et-page:not(.is-short) .et-hero-minimal .et-display{font-size:clamp(50px,18vw,82px);line-height:.94}
  html.et-page:not(.is-short) .et-hero-minimal .et-hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;max-width:360px}
  html.et-page:not(.is-short) .et-hero-minimal .et-hero-actions .et-btn,
  html.et-page:not(.is-short) .et-hero-minimal .et-hero-actions .et-view-hero{width:100%;justify-content:center}
  html.et-page:not(.is-short) .et-trace{margin-top:34px}
  html.et-page:not(.is-short) .et-trace-head{padding-bottom:10px}
  html.et-page:not(.is-short) .tr-head .tr-controls{flex-wrap:wrap;justify-content:flex-start;gap:10px}
  html.et-page:not(.is-short) .tr-range{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap}
  html.et-page:not(.is-short) .tr-years span:nth-child(even){display:none}
  html.et-page:not(.is-short) .et-section{padding:62px 0}
  html.et-page:not(.is-short) .et-section-head{margin-bottom:28px}
  html.et-page:not(.is-short) .et-section-head h2{font-size:38px;line-height:1.02}
  html.et-page:not(.is-short) .et-prose p,
  html.et-page:not(.is-short) .et-section-head p{font-size:15.5px;line-height:1.68}
  html.et-page:not(.is-short) .et-card{padding:24px 0}
  html.et-page:not(.is-short) .et-card h3{font-size:24px;line-height:1.08}
  html.et-page:not(.is-short) .et-method{border-left:0!important;border-right:0!important}
  html.et-page:not(.is-short) .et-step .n{margin-bottom:12px!important}
  html.et-page:not(.is-short) .et-pj-list a{grid-template-columns:28px minmax(0,1fr) 10px!important;gap:8px!important}
  html.et-page:not(.is-short) .et-pj-list .tt{font-size:15px}
  html.et-page:not(.is-short) .et-rows,
  html.et-page:not(.is-short) .et-certs,
  html.et-page:not(.is-short) .et-refs,
  html.et-page:not(.is-short) .et-pillars{gap:16px}

  html.is-short{--et-head-h:50px}
  html.is-short .et-command-inner{width:calc(100% - 24px);grid-template-columns:auto 1fr auto;gap:8px}
  html.is-short .et-brand-copy b{font-size:14px}
  html.is-short .et-actions{gap:2px}
  html.is-short .et-actions a.et-btn[href*="CV"]{height:30px;padding:0 12px;margin-left:4px;font-size:12px}
  html.is-short .et-search{grid-column:1/-1;grid-row:2;padding:6px 0 10px}
  html.is-short .et-search input{height:42px;font-size:16px}
  html.is-short .et-hero{padding-top:30px}
  html.is-short .et-display{font-size:clamp(40px,12vw,58px);line-height:1.02}
  html.is-short .et-lead{font-size:18px;line-height:1.45}
  html.is-short .et-hero-actions{max-width:100%;gap:10px}
  html.is-short .et-hero-actions .et-btn,
  html.is-short .et-hero-actions .et-view{width:100%;justify-content:center}
  html.is-short .et-bus{padding:6px;border-radius:16px}
  html.is-short .et-bus a{padding:9px 12px;font-size:13px;white-space:nowrap}
  html.is-short .et-section{padding-top:58px}
  html.is-short .et-section-head{margin-bottom:20px}
  html.is-short .et-section-head h2{font-size:30px;line-height:1.1}
  html.is-short .et-prose p{font-size:16px;line-height:1.52}
  html.is-short .et-card,
  html.is-short .et-pj-col,
  html.is-short .et-lang,
  html.is-short .et-cert-group,
  html.is-short .et-refs,
  html.is-short .et-pillar{padding-left:18px!important;padding-right:18px!important}
  html.is-short .et-card h3,
  html.is-short .et-pj-col h3,
  html.is-short .et-lang b,
  html.is-short .et-pillar b{font-size:19px}
  html.is-short .et-row{padding:12px 0}
  html.is-short .et-row dd,html.is-short .et-row .v{font-size:14px}
  html.is-short .et-footer{margin-top:72px;padding:62px 0 24px}
  html.is-short .et-footer h2{font-size:34px}
  html.is-short .et-footer p{font-size:17px;line-height:1.48}
}
@media (max-width:420px){
  html.et-page:not(.is-short) .et-command-inner,
  html.is-short .et-command-inner{width:calc(100% - 18px)}
  html.et-page:not(.is-short) .et-switch a,
  html.is-short .et-switch a{padding-inline:8px}
  html.et-page:not(.is-short) .et-hero-minimal .et-display{font-size:clamp(44px,18vw,68px)}
  html.et-page:not(.is-short) .et-section-head h2{font-size:34px}
  html.is-short .et-display{font-size:clamp(36px,11vw,50px)}
  html.is-short .et-btn{min-height:42px;padding:11px 18px;font-size:16px}
}

/* ==========================================================================
   V14 — Project Lab rebuilt on the exact Full/Home editorial design system
   ========================================================================== */
html.et-project-lab{
  --et-bg:#f7f6f2;
  --et-panel:#f7f6f2;
  --et-panel-2:#efede7;
  --et-ink:#181816;
  --et-ink-2:#403f3a;
  --et-muted:#747169;
  --et-line:rgba(24,24,22,.12);
  --et-line-2:rgba(24,24,22,.22);
  --et-accent:#244c46;
  --et-accent-2:#173b36;
  --et-accent-text:#244c46;
  --et-accent-rgb:36,76,70;
  --et-shadow:0 24px 70px rgba(24,24,22,.07);
  --et-wrap:1180px;
  --et-head-h:78px;
}
html.et-project-lab[data-theme="dark"]{
  --et-bg:#09090a;
  --et-panel:#101113;
  --et-panel-2:#18191b;
  --et-ink:#f4f2ef;
  --et-ink-2:#cfccc8;
  --et-muted:#9d9c9e;
  --et-line:rgba(255,255,255,.12);
  --et-line-2:rgba(255,255,255,.26);
  --et-accent:#7d1d36;
  --et-accent-2:#a92e4d;
  --et-accent-text:#d56b86;
  --et-accent-rgb:169,46,77;
  --et-shadow:0 22px 60px rgba(0,0,0,.5);
}
html.et-project-lab body::before{display:none!important}
html.et-project-lab .pl-hero{padding:clamp(86px,10vw,132px) 0 clamp(64px,8vw,96px)}
html.et-project-lab .pl-hero .et-display{max-width:none;font-size:clamp(76px,10.2vw,148px);line-height:.88;margin:0}
html.et-project-lab .pl-hero .et-hero-actions{margin-top:42px}

html.et-project-lab .et-command.search-open .et-search{
  display:block!important;
}
html.et-project-lab .et-command.search-open .et-command-inner{
  grid-template-columns:auto auto minmax(260px,1fr) auto;
}

html.et-project-lab .pl-filter-bus{margin-top:0;margin-bottom:0}
html.et-project-lab .pl-filter-bus .et-bus-track{align-items:center}
html.et-project-lab .pl-filter{
  flex:none;
  height:28px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--et-muted);
  font:500 11.5px/1 var(--et-sans);
  letter-spacing:0;
  cursor:pointer;
  white-space:nowrap;
}
html.et-project-lab .pl-filter:hover,
html.et-project-lab .pl-filter.is-active{color:var(--et-ink)}
html.et-project-lab .pl-filter.is-active{font-weight:600}
html.et-project-lab .pl-filter+.pl-filter{margin-left:24px}
html.et-project-lab .pl-filter-bus .et-bus-status{display:block}

html.et-project-lab .project-group[hidden],
html.et-project-lab .project-card[hidden]{display:none!important}
html.et-project-lab .project-group{scroll-margin-top:calc(var(--et-head-h) + 60px)}
html.et-project-lab .pl-project-list{gap:0}
html.et-project-lab .project-card{scroll-margin-top:calc(var(--et-head-h) + 92px)}
html.et-project-lab .pl-number{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}
html.et-project-lab .pl-number b{font-size:12px!important}
html.et-project-lab .pl-number small{font-size:11px!important}
html.et-project-lab .project-card .et-meta{padding-left:0;border-left:0}
html.et-project-lab .project-card .et-meta span{display:block}
html.et-project-lab .project-card .et-more>div{padding-top:24px}

html.et-project-lab .pl-case-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--et-line);
}
html.et-project-lab .pl-case-block{
  min-width:0;
  padding:20px 22px 0 0;
}
html.et-project-lab .pl-case-block+.pl-case-block{
  padding-left:22px;
  border-left:1px solid var(--et-line);
}
html.et-project-lab .pl-case-label{
  display:block;
  margin-bottom:9px;
  font:500 11.5px/1.35 var(--et-sans);
  color:var(--et-accent-text);
}
html.et-project-lab .pl-case-block p{
  margin:0;
  font:400 13.5px/1.7 var(--et-sans);
  color:var(--et-ink-2);
  text-align:justify;
  text-justify:inter-word;
  -webkit-hyphens:auto;
  hyphens:auto;
}
html.et-project-lab .pl-tools{margin-top:24px!important}
html.et-project-lab .pl-tools li::before{display:none!important;content:none!important}
html.et-project-lab .pl-tools li{padding:8px 12px!important}
html.et-project-lab .project-toggle span{display:inline}

html.et-project-lab .pl-empty{
  padding:72px 0;
  border-bottom:1px solid var(--et-line);
}
html.et-project-lab .pl-empty h2{
  margin:0 0 10px;
  font:400 clamp(30px,4vw,48px)/1 Georgia,'Times New Roman',serif;
  letter-spacing:-.04em;
}
html.et-project-lab .pl-empty p{margin:0 0 20px;color:var(--et-muted)}

html.et-project-lab :is(.et-section-head p,.pl-case-block p,.et-footer p){
  text-align:justify!important;
  text-justify:inter-word;
  -webkit-hyphens:auto;
  hyphens:auto;
}

@media(max-width:980px){
  html.et-project-lab .pl-case-grid{grid-template-columns:1fr}
  html.et-project-lab .pl-case-block,
  html.et-project-lab .pl-case-block+.pl-case-block{padding:18px 0 0;border-left:0;border-top:1px solid var(--et-line)}
  html.et-project-lab .pl-case-block:first-child{border-top:0}
  html.et-project-lab .et-command.search-open .et-command-inner{grid-template-columns:auto 1fr auto}
  html.et-project-lab .et-command.search-open .et-search{grid-column:1/-1;grid-row:2;padding-bottom:10px}
}
@media(max-width:700px){
  html.et-project-lab{--et-head-h:64px}
  html.et-project-lab .pl-hero{padding:54px 0 58px}
  html.et-project-lab .pl-hero .et-display{font-size:clamp(50px,18vw,82px);line-height:.94}
  html.et-project-lab .pl-hero .et-hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:30px;max-width:360px}
  html.et-project-lab .pl-hero .et-hero-actions .et-btn{width:100%;justify-content:center}
  html.et-project-lab .pl-filter-bus{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  html.et-project-lab .pl-filter-bus::-webkit-scrollbar{display:none}
  html.et-project-lab .pl-filter-bus .et-bus-track{width:max-content;min-width:100%;padding-right:18px}
  html.et-project-lab .pl-filter+.pl-filter{margin-left:18px}
  html.et-project-lab .pl-filter-bus .et-bus-status{display:none}
  html.et-project-lab .project-card .et-card-when{margin-bottom:2px}
  html.et-project-lab .pl-number{flex-direction:row;align-items:baseline;gap:7px}
  html.et-project-lab .project-card .et-more>div{padding-top:18px}
  html.et-project-lab .pl-case-grid{border-top:0}
  html.et-project-lab .pl-case-block,
  html.et-project-lab .pl-case-block+.pl-case-block{padding-top:18px;border-top:1px solid var(--et-line)}
  html.et-project-lab .pl-case-block:first-child{border-top:0;padding-top:0}
  html.et-project-lab .pl-tools{margin-top:18px!important}
  html.et-project-lab .et-footer-actions{display:flex;flex-direction:column;align-items:stretch;width:100%}
  html.et-project-lab .et-footer-actions .et-btn{width:100%}
}


/* ==========================================================================
   V15 — dossier title, current role, Career Trace simplification/mobile UX
   ========================================================================== */
.et-current-role{
  margin:20px 0 0;
  font:500 14px/1.45 var(--et-sans);
  letter-spacing:.005em;
  color:var(--et-ink-2);
}
.et-current-role span{color:var(--et-muted)}

html.is-short .et-current-role{
  margin-top:12px;
  font:400 16px/1.4 var(--et-apple);
  color:var(--et-muted);
}
html.is-short .et-current-role span{color:inherit}

/* Milestones are intentionally removed from the live Career Trace. */
.et-trace .g-ms,
.et-trace .g-ms + .tr-lane,
.et-trace .tr-ms,
.et-trace .tr-ml{display:none!important}

@media (max-width:760px){
  html.et-page:not(.is-short) .et-current-role{
    margin-top:14px;
    font-size:13.5px;
    line-height:1.5;
  }

  /* Keep the timeline readable instead of compressing a decade into phone width. */
  html.et-page:not(.is-short) .et-trace-body{
    position:relative;
    overflow-x:auto!important;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    padding-bottom:18px!important;
  }
  html.et-page:not(.is-short) .et-trace-body::-webkit-scrollbar{height:5px}
  html.et-page:not(.is-short) .et-trace-body::-webkit-scrollbar-thumb{
    background:var(--et-line-2);
    border-radius:999px;
  }
  html.et-page:not(.is-short) .tr-head,
  html.et-page:not(.is-short) .tr-chart{
    min-width:820px;
  }
  html.et-page:not(.is-short) .tr-head{
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:end!important;
    gap:16px 24px!important;
  }
  html.et-page:not(.is-short) .tr-kpis{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    padding-bottom:12px!important;
  }
  html.et-page:not(.is-short) .tr-kpis div{
    min-width:132px;
    padding:0 16px!important;
  }
  html.et-page:not(.is-short) .tr-kpis div:first-child{padding-left:0!important}
  html.et-page:not(.is-short) .tr-head .tr-controls{
    flex-wrap:nowrap!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:12px!important;
  }
  html.et-page:not(.is-short) .tr-range{
    width:auto!important;
    flex-wrap:nowrap!important;
  }
  html.et-page:not(.is-short) .tr-years span:nth-child(even){display:block!important}
  html.et-page:not(.is-short) .tr-row{height:31px!important}
  html.et-page:not(.is-short) .tr-row .tag .nm{font-size:12px!important}
  html.et-page:not(.is-short) .tr-row .tag .mt{font-size:9px!important}
  html.et-page:not(.is-short) .et-trace-readout{
    position:sticky;
    left:0;
    width:calc(100vw - 32px);
    min-width:calc(100vw - 32px);
  }
  html.et-page:not(.is-short) .et-trace-head::after{
    content:"Swipe the timeline horizontally";
    display:block;
    margin-top:5px;
    font:400 10px/1.35 var(--et-sans);
    letter-spacing:0;
    color:var(--et-muted);
  }
}
@media (max-width:420px){
  html.et-page:not(.is-short) .tr-head,
  html.et-page:not(.is-short) .tr-chart{min-width:760px}
}


/* ==========================================================================
   V16 — Project Lab readability/buttons + Short Projects CTA
   ========================================================================== */
/* Project Lab prose: fully justified case-study text. */
html.et-project-lab :is(.pl-case-block p,.et-section-head p,.et-footer p,.pl-empty p){
  text-align:justify!important;
  text-justify:inter-word;
  -webkit-hyphens:auto;
  hyphens:auto;
}

/* Stronger case-study hierarchy. */
html.et-project-lab .pl-case-label{
  margin-bottom:12px!important;
  font:700 12.5px/1.35 var(--et-sans)!important;
  letter-spacing:-.005em!important;
  color:var(--et-ink)!important;
}

/* Project filters: quiet premium pills rather than utility buttons. */
html.et-project-lab .pl-filter-bus{
  padding:10px 0!important;
  border-top:1px solid var(--et-line)!important;
  border-bottom:1px solid var(--et-line)!important;
  background:transparent!important;
}
html.et-project-lab .pl-filter-bus .et-bus-track{
  gap:8px!important;
  padding:0!important;
}
html.et-project-lab .pl-filter{
  height:38px!important;
  padding:0 16px!important;
  border:1px solid var(--et-line-2)!important;
  border-radius:999px!important;
  background:transparent!important;
  color:var(--et-muted)!important;
  font:500 12px/1 var(--et-sans)!important;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease!important;
}
html.et-project-lab .pl-filter+.pl-filter{margin-left:0!important}
html.et-project-lab .pl-filter:hover{
  border-color:var(--et-ink)!important;
  color:var(--et-ink)!important;
  transform:translateY(-1px);
}
html.et-project-lab .pl-filter.is-active{
  border-color:var(--et-ink)!important;
  background:var(--et-ink)!important;
  color:var(--et-bg)!important;
  font-weight:600!important;
}
html.et-project-lab .pl-filter-bus .et-bus-status{
  padding-left:18px!important;
  font:500 11px/1 var(--et-sans)!important;
  color:var(--et-muted)!important;
}

/* Short version: replace the Selected builds archive with a single Project Lab invitation. */
.short-projects-cta{display:none}
html.is-short #projects>.et-section-head,
html.is-short #projects>.et-body{display:none!important}
html.is-short #projects .short-projects-cta{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  padding:30px 32px;
  border-radius:var(--et-r);
  background:var(--et-panel);
}
html.is-short #projects .short-projects-cta h2{
  margin:0;
  font:700 clamp(32px,4.2vw,48px)/1.08 var(--et-apple);
  letter-spacing:-.028em;
  color:var(--et-ink);
}
html.is-short #projects .short-projects-cta p{
  max-width:38em;
  margin:0;
  font:400 17px/1.53 var(--et-apple);
  color:var(--et-muted);
  text-align:left!important;
}
html.is-short #projects .short-projects-cta .et-btn{
  margin-top:4px;
  background:var(--et-accent)!important;
  border-color:var(--et-accent)!important;
  color:#fff!important;
}

@media(max-width:700px){
  html.et-project-lab .pl-filter-bus{padding:8px 0!important}
  html.et-project-lab .pl-filter-bus .et-bus-track{gap:7px!important;padding-right:16px!important}
  html.et-project-lab .pl-filter{height:36px!important;padding:0 14px!important;font-size:11.5px!important}
  html.is-short #projects .short-projects-cta{padding:24px 20px;gap:12px}
  html.is-short #projects .short-projects-cta h2{font-size:30px}
  html.is-short #projects .short-projects-cta p{font-size:16px;line-height:1.5}
  html.is-short #projects .short-projects-cta .et-btn{width:100%;justify-content:center}
}

/* V17 — defensive cleanup: Career Trace legend contains only Work and Study. */
.et-trace .tr-legend span:nth-child(n+3){display:none!important}
