/* Ocean / hinge / route — a tactile layer on the existing portfolio. */
:root,html[data-theme="dark"],html.f1-page[data-theme="dark"],html.golf-page[data-theme="dark"]{--paper-dim:#0D2137;--ocean:#2563EB;--ocean-deep:#13315C;--ocean-line:rgba(37,99,235,.35);}
body.slate-design nav.pill-navigation,html[data-theme="dark"] body.slate-design nav.pill-navigation.scrolled{height:56px;top:8px;margin:8px auto;border-color:rgba(96,151,225,.25);background:linear-gradient(155deg,rgba(143,184,232,.09),transparent 55%),rgba(13,33,55,.74);}
body.slate-design nav.pill-navigation .wrap{padding-inline:18px;gap:10px;}
body.slate-design nav.pill-navigation .brand-logo stop:first-child{stop-color:#2563EB;}
.slate-design .home-intro{min-height:calc(100svh - 72px);padding-top:120px;}
.slate-design .hero-meta{top:36px;}
.slate-design .home-intro > .studio-toolbar{top:72px;}
.slate-design .thesis-sandbox,.slate-design .global-route,.slate-design .intent-options button,.slate-design .contact-profile-body{background-color:#0D2137;}
.slate-design .chart-curve{stroke:#4E8BE8;stroke-width:2.5;}
.slate-design .chart-tangent{stroke:var(--gold);stroke-width:2;fill:none;}
.slate-design .benchmark-control{border-top:1px solid var(--rule);padding-top:20px;margin-top:22px;}
.slate-design .benchmark-control label{display:flex;justify-content:space-between;gap:12px;}
.slate-design .benchmark-control output{color:var(--gold);}
/* Logistics pulses remain in a reserved gutter, never behind the writing. */
.slate-design .logistics-route{position:relative;padding-left:30px;}
.route-spine{position:absolute;top:12px;bottom:24px;left:0;width:1px;background:#2563EB55;pointer-events:none;}
.route-spine i{display:block;width:1px;height:100%;background:var(--gold);transform:scaleY(0);transform-origin:top;}
.slate-design .logistics-route > .entry{position:relative;}
.slate-design .logistics-route > .entry::after{content:'';position:absolute;left:-34px;top:18px;width:9px;height:9px;border-radius:50%;border:1px solid #4E8BE8;background:#0D2137;transition:background .25s,border-color .25s;}
.slate-design .logistics-route > .entry.milestone-passed::after{background:var(--gold);border-color:var(--gold);}
.route-flight{display:block;width:100%;height:75px;margin-bottom:12px;overflow:visible;}
.route-flight .flight-base{fill:none;stroke:#2563EB66;stroke-width:1;}
.route-flight .flight-trace{fill:none;stroke:var(--gold);stroke-width:1.5;stroke-dasharray:5 8;}
.route-flight circle{fill:#0D2137;stroke:#4E8BE8;stroke-width:1.5;}
.slate-design .route-stops::before{background:#2563EB55;}
.clarity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:16px 12px;border:1px solid #2563EB22;background-image:linear-gradient(#2563EB12 1px,transparent 1px),linear-gradient(90deg,#2563EB12 1px,transparent 1px);background-size:25% 100%;border-radius:8px;overflow:hidden;}
.clarity-grid span{font:12px var(--mono);color:#5285CC88;transition:transform .45s,opacity .45s;transform:translateY(var(--notation-y)) rotate(var(--notation-r));opacity:.65;text-align:center;}
.experience-evidence:hover .clarity-grid span,.experience-evidence:focus-within .clarity-grid span{transform:translateY(0) rotate(0);opacity:1;}
.slate-design .quote-cycler{position:relative;padding:18px;border:1px solid #2563EB44;border-radius:12px;background:#0D2137;isolation:isolate;}
.quote-cycler::before,.quote-cycler::after{content:'';position:absolute;inset:7px 4px -6px;border:1px solid #2563EB33;border-radius:12px;background:#0D2137;z-index:-1;pointer-events:none;}
.quote-cycler::after{inset:14px 8px -12px;z-index:-2;opacity:.6;}
.sport-telemetry{display:flex;align-items:center;gap:16px;max-width:290px;margin-top:24px;color:var(--feature-accent);}
.sport-telemetry span{font:9px var(--mono);letter-spacing:.14em;white-space:nowrap;}
.throttle-bars{display:flex;align-items:center;gap:4px;flex:1;height:20px;}
.throttle-bars i{display:block;width:8px;height:20px;background:#EF4444;opacity:.15;transform:scaleY(.3);transform-origin:bottom;}
.shot-tracer{width:180px;height:50px;overflow:visible;}
.shot-tracer path{fill:none;stroke:#22C55E;stroke-width:1.5;stroke-dasharray:240;stroke-dashoffset:240;}
.shot-tracer circle{fill:#22C55E;}
/* Flat, readable profile telemetry. Nothing here hinges, tilts, pins or scrubs. */
.slate-design.home-page .hero{overflow:visible;}
.slate-design .who-am-i{backdrop-filter:none;-webkit-backdrop-filter:none;}
html,body.slate-design,body.slate-design > main{overflow-x:hidden;overflow-x:clip;}
.profile-telemetry{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.3fr);gap:24px;align-items:start;margin-top:38px;}
.telemetry-profile{position:sticky;top:88px;padding:32px;border:1px solid rgba(77,139,232,.28);border-radius:16px;background:linear-gradient(150deg,#13315C 0%,#0D2137 45%,#0A1829 100%);}
.profile-status{display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--rule);padding-bottom:20px;margin-bottom:24px;}
.status-dot{width:5px;height:5px;border-radius:50%;background:#D9FF00;flex-shrink:0;}
.profile-clock{font:10px/1.8 var(--mono);letter-spacing:.05em;color:#B5C6DC;font-variant-numeric:tabular-nums;}
.telemetry-person{display:flex;gap:20px;align-items:center;}
.telemetry-person img{display:block;width:88px;height:110px;aspect-ratio:4/5;object-fit:cover;object-position:center 35%;border-radius:8px;border:1px solid var(--rule);}
.telemetry-person .telemetry-label{font-size:9px;margin-bottom:8px;color:#94A3B8;}
.slate-design .telemetry-person h3{font-size:clamp(25px,2.5vw,36px);line-height:1.1;margin:0;}
.slate-design .telemetry-profile p{font:400 15px/1.85 var(--body);margin:18px 0;color:#A8BAD1;}
.slate-design .telemetry-profile .profile-lead{font-size:18px;line-height:1.65;color:#F1F5F9;margin-top:26px;}
.profile-interests{border-top:1px solid var(--rule);padding-top:20px;margin-top:22px;}
.profile-interests .telemetry-label{font:9px var(--mono);letter-spacing:.12em;color:#8DA4C2;}
.slate-design .profile-interests p{margin:8px 0 0;font-size:14px;}
.slate-design .telemetry-profile .profile-personal{font-size:13px;color:#94A3B8;}
.telemetry-metrics{display:grid;grid-template-columns:1fr 1fr;gap:18px;min-width:0;}
.telemetry-card{appearance:none;position:relative;isolation:isolate;overflow:hidden;text-align:left;min-width:0;min-height:275px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:28px 24px 32px;border:1px solid rgba(77,139,232,.28);border-radius:14px;background:#0D2137;color:#F1F5F9;font-family:var(--body);cursor:pointer;touch-action:pan-y;transition:border-color .22s,background-color .22s;}
.telemetry-card::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;background:radial-gradient(380px circle at var(--spot-x,50%) var(--spot-y,50%),rgba(217,255,0,.055),transparent 70%);transition:opacity .25s;}
.telemetry-card:hover,.telemetry-card:focus-visible,.telemetry-card[aria-pressed="true"]{border-color:#D9FF00;background-color:#102740;}
.telemetry-card:hover::before,.telemetry-card:focus-visible::before,.telemetry-card[aria-pressed="true"]::before{opacity:1;}
.metric-index{font:9px/1.7 var(--mono);letter-spacing:.12em;color:#94A3B8;display:block;margin-bottom:28px;}
.telemetry-card .metric-value{font:600 clamp(30px,3.1vw,46px)/1.13 var(--display);letter-spacing:-.04em;color:#D9FF00;display:block;margin-bottom:20px;}
.metric-unit{font-size:.53em;letter-spacing:-.01em;color:#B7C8DD;}
.metric-description{font:500 16px/1.65 var(--body);color:#F1F5F9;display:block;}
.metric-note{font:12px/1.85 var(--body);color:#94A3B8;margin-top:10px;display:block;}
.metric-corner{position:absolute;bottom:14px;right:18px;color:#5E7898;font:18px var(--mono);}
.telemetry-card[aria-pressed="true"] .metric-corner{color:#D9FF00;}
.rating-evidence{display:flex;flex-direction:column;gap:8px;font:12px/1.6 var(--body);color:#A9BBD1;border-top:1px solid var(--rule);padding-top:18px;margin-top:18px;width:100%;}
.rating-evidence b{color:#D9FF00;font-weight:500;}
.telemetry-scholarships{background:linear-gradient(140deg,#13315C,#0D2137 70%);}
.telemetry-scholarships > strong{font:500 clamp(20px,2vw,27px)/1.3 var(--display);letter-spacing:-.02em;color:#F1F5F9;}
.metric-year{font:10px/1.8 var(--mono);color:#94A3B8;margin-top:12px;}
.scholarship-divider{width:40px;border-top:1px solid #3F638E;margin:22px 0;}
.sydney-widget{border-top:1px solid rgba(75,135,213,.3);padding-top:20px;margin-top:24px;display:flex;align-items:start;flex-wrap:wrap;gap:12px;}
.widget-label{font:9px var(--mono);letter-spacing:.1em;color:var(--ink);}
.slate-design .sydney-widget p{font:11px/1.7 var(--mono);margin:8px 0 0;color:#A7BBD5;}
.sydney-widget button{font:10px/1.5 var(--mono);color:var(--ink);background:none;border:1px solid var(--ocean-line);border-radius:5px;padding:8px 12px;cursor:pointer;min-height:44px;}
.sydney-widget button:hover{color:var(--gold);border-color:var(--gold);}
.weather-source{flex-basis:100%;font:9px/1.6 var(--mono);color:#8299B5;text-underline-offset:3px;}
/* Native touch scrolling and stable, large controls. */
.slate-design .sandbox-copy input[type="range"]{min-height:44px;height:44px;touch-action:pan-y;}
.slate-design .sandbox-copy input[type="range"]::-webkit-slider-thumb{width:24px;height:24px;margin-top:-11px;}
.slate-design .sandbox-copy input[type="range"]::-moz-range-thumb{width:24px;height:24px;}
.slate-design :is(.chip,.lang-item-big){touch-action:pan-y;min-height:44px;}
.slate-design .chip[role="button"]{cursor:pointer;}
.slate-design .chip[aria-pressed="true"]{border-color:var(--gold);color:var(--ink);background:#0D2137;}
body.slate-design nav.pill-navigation,html[data-theme="dark"] body.slate-design nav.pill-navigation.scrolled{backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);}
.slate-design img{max-width:100%;}
html.f1-page[data-theme="dark"]{--paper-dim:#25151F;--gold:#EF4444;--feature-accent:#EF4444;--section-accent:#EF4444;}
html.golf-page[data-theme="dark"]{--paper-dim:#0D261F;--gold:#10B981;--feature-accent:#10B981;--section-accent:#10B981;}
@media(max-width:1100px){.profile-telemetry{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:18px;}.telemetry-metrics{grid-template-columns:1fr;}.telemetry-card{min-height:0;padding:26px;}.telemetry-profile{padding:26px;}.telemetry-person{flex-direction:column;align-items:flex-start;}.telemetry-card .metric-value{font-size:36px;}}
@media(max-width:767px){
 body.slate-design nav.pill-navigation,html[data-theme="dark"] body.slate-design nav.pill-navigation.scrolled{height:52px;top:6px;margin:6px auto;}
 body.slate-design nav.pill-navigation .wrap{padding-inline:14px;}
 .slate-design .home-intro{min-height:calc(100svh - 64px);padding-top:125px;}
 .profile-telemetry{grid-template-columns:1fr;margin-top:26px;gap:18px;}
 .telemetry-profile{position:static;padding:24px;}.telemetry-person{flex-direction:row;gap:18px;}
 .telemetry-person img{width:72px;height:90px;}.slate-design .telemetry-person h3{font-size:28px;}
 .telemetry-metrics{grid-template-columns:1fr;gap:14px;}.telemetry-card{padding:26px 24px;min-height:0;}.metric-index{margin-bottom:22px;}
 .telemetry-card .metric-value{font-size:38px;}.telemetry-scholarships > strong{font-size:25px;}.slate-design .telemetry-profile .profile-lead{font-size:18px;}
 .slate-design .logistics-route{padding-left:22px;}.slate-design .logistics-route > .entry::after{left:-26px;}.route-flight{height:48px;}
}
@media(max-width:820px){
 body.slate-design nav.pill-navigation .wrap > ul{top:calc(100% + 8px);left:0;right:0;max-height:calc(100svh - 88px);overflow-y:auto;overscroll-behavior:contain;padding:14px;border-radius:14px;background:#0D2137;}
 body.slate-design nav.pill-navigation .wrap > ul > li > a,body.slate-design nav.pill-navigation .language-choice{min-height:44px;}
 body.slate-design nav.pill-navigation .site-preferences .language-options{position:static;max-width:100%;}
}
@media(prefers-reduced-motion:reduce){.telemetry-card,.telemetry-card::before{transition:none;}.clarity-grid span{transform:none;transition:none;opacity:1;}.shot-tracer path{stroke-dashoffset:0;}.throttle-bars i{transform:none;opacity:.7;}}
@media(max-height:850px){.telemetry-profile{position:static;}}
/* At the narrowest phone widths, contact channels become full-width rows. */
@media(max-width:380px){
 .slate-design .contact-profile-actions{grid-template-columns:1fr;gap:10px;}
 .slate-design #contact-page .contact-profile-actions .hbtn{width:100%;min-height:46px;white-space:nowrap;justify-content:center;}
 .slate-design .contact-profile-highlights{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;}
 .slate-design .contact-profile-highlights > div:last-child{grid-column:1/-1;}
 .slate-design .contact-profile-highlights strong{font-size:24px;white-space:nowrap;}
}
.telemetry-portrait{width:88px;height:110px;flex-shrink:0;overflow:hidden;border-radius:8px;border:1px solid var(--rule);}
.telemetry-person .telemetry-portrait img{width:100%;height:100%;border:0;border-radius:0;object-position:center 60%;transform:scale(2.1);transform-origin:center 54%;}
@media(max-width:767px){.telemetry-portrait{width:72px;height:90px;}}

@media(max-width:767px){.slate-design .journey-globe{touch-action:pan-y;}}
