:root {
  color-scheme: dark;
  --bg: #0b1015;
  --bg-soft: #0e161c;
  --surface: #111c23;
  --surface-strong: #17252d;
  --ink: #eef4f2;
  --subtle: #b0c0bf;
  --muted: #859995;
  --line: #283b41;
  --accent: #70dcc0;
  --accent-light: #a2f0d7;
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'Manrope', system-ui, sans-serif;
  --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.67; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--bg); }
.container { width: min(var(--max), 100% - 108px); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; padding: 12px 18px; background: var(--accent); color: var(--bg); z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { height: 82px; position: sticky; top: 0; z-index: 50; background: rgba(11,16,21,.9); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(99,143,139,.17); }
.header-inner { width: min(1480px,100% - 108px); margin-inline: auto; height:100%; display:flex; align-items:center; justify-content:space-between; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: -.095em; line-height: 1; }
.logo span { color: var(--accent); }
nav { display:flex; gap:31px; align-items:center; font-size:12px; font-weight:700; color:var(--subtle); }
nav a { transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--accent); }
.nav-cta { display:inline-flex; align-items:center; gap:13px; border:1px solid #3d5f5a; color:var(--ink); padding:10px 15px; border-radius:4px; }
.nav-cta span { color:var(--accent); }
.menu-toggle { display:none; padding:12px; background:transparent; border:1px solid var(--line); border-radius:5px; color:var(--ink); cursor:pointer; }
.menu-toggle span { display:block; width:19px; height:2px; background:var(--ink); margin:4px 0; }
/* Hero */
.hero { position:relative; overflow:hidden; background: radial-gradient(ellipse at 88% 38%,rgba(22,70,67,.19), transparent 40%), var(--bg); }
.hero-grid { min-height:692px; display:grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items:center; gap: 48px; padding-block:70px 80px; }
.hero-copy { position:relative; z-index:2; }
.eyebrow,.overline,.section-index,.hero-footnote,.visual-topline,.visual-bottomline,.project-meta,.art-type,.art-small,.project-number,.tag-row,.status,.research-card-top,.skill-num,.timeline-date,.metric-text>span { font-family:var(--mono); font-size:10px; letter-spacing:.085em; }
.eyebrow { display:flex; align-items:center; gap:12px; color:var(--accent); margin:0 0 39px; }
.signal-dot { flex:0 0 auto; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 12px rgba(112,220,192,.6); }
.hero-kicker { font-size:15px; font-weight:700; margin:0 0 10px; color:var(--subtle); }
h1,h2,h3,p { overflow-wrap:break-word; }
h1 { max-width:850px; font-size:clamp(42px,4.65vw,75px); line-height:1.135; letter-spacing:-.073em; margin:0; font-weight:800; }
h1 em { font-style:normal; color:var(--accent); }
.hero-description { margin:27px 0 0; max-width:650px; font-size:14px; color:var(--subtle); line-height:1.9; }
.hero-description strong { font-weight:700; color:var(--ink); }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:33px; }
.button { display:inline-flex; justify-content:center; align-items:center; gap:24px; padding:13px 19px; border-radius:4px; font-size:12px; font-weight:800; border:1px solid transparent; transition: background .2s ease, transform .2s ease, border-color .2s ease; white-space:nowrap; }
.button:hover { transform:translateY(-2px); }
.button-primary { background:var(--accent); color:#10231f; }
.button-primary:hover { background:var(--accent-light); }
.button-outline { background:transparent; border-color:var(--line); color:var(--ink); }
.button-outline:hover { border-color:var(--accent); }
.hero-footnote { margin-top:68px; display:flex; align-items:center; flex-wrap:wrap; gap:27px; font-size:9px; color:var(--muted); }
.tiny-square { display:inline-block; width:6px; height:6px; background:var(--accent); margin-right:8px; }
.hero-visual { position:relative; width:100%; aspect-ratio:1/1; max-height:535px; min-width:0; border:1px solid #25443f; background:radial-gradient(circle at 50% 45%, rgba(62,132,111,.10),rgba(13,25,30,.46) 60%,#0a1519 100%); box-shadow:inset 0 0 80px #0b1519; }
.hero-illustration { width:100%; height:100%; display:block; }
.visual-topline,.visual-bottomline { position:absolute; color:var(--muted); left:20px; right:20px; display:flex; justify-content:space-between; z-index:1; font-size:9px; }
.visual-topline { top:18px; }
.visual-bottomline { bottom:18px; color:var(--accent); }
.blink-cursor { animation: blink 1.1s step-end infinite; }
.hero-border { height:1px; background:linear-gradient(to right,transparent 0%,#446c64 50%,transparent 100%); }
/* Metrics */
.metric-band { border-bottom:1px solid var(--line); }
.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.metric { display:flex; flex-direction:column; justify-content:center; gap:8px; padding:36px 27px; border-right:1px solid var(--line); min-height:142px; }
.metric:first-child { padding-left:0; }
.metric:last-child { border-right:0; }
.metric strong { color:var(--ink); font-size:34px; line-height:1; font-weight:800; letter-spacing:-.06em; }
.metric>span { font-size:11px; line-height:1.75; color:var(--subtle); }
.metric-text { flex-direction:row; justify-content:flex-end; align-items:flex-start; gap:30px; }
.metric-text>span { font-size:9px; color:var(--accent); white-space:nowrap; margin-top:5px; }
.metric-text p { margin:0; color:var(--subtle); font-size:12px; line-height:1.8; }
/* Generic sections */
.section { padding-block:115px; }
.section-tinted { background:var(--bg-soft); border-top:1px solid rgba(65,95,95,.15); border-bottom:1px solid rgba(65,95,95,.15); }
.section-layout { display:grid; grid-template-columns:178px minmax(0,1fr); gap:75px; }
.section-aside { display:flex; flex-direction:column; gap:21px; padding-top:8px; }
.section-index { color:var(--accent); white-space:nowrap; }
.aside-line { background:var(--line); height:1px; width:60px; }
.section-body { min-width:0; }
.overline { margin:0 0 15px; color:var(--accent); font-size:10px; }
h2 { font-size:clamp(32px,3.65vw,57px); letter-spacing:-.062em; line-height:1.18; margin:0 0 31px; font-weight:800; max-width:850px; }
h2 .dim { color:#849c99; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:32px; }
.section-heading h2 { margin-bottom:0; }
.section-heading p { font-size:12px; line-height:1.9; color:var(--muted); max-width:315px; margin:0 0 5px; }
/* About */
.about-columns { display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-top:28px; max-width:975px; }
.about-columns p { margin:0; color:var(--subtle); font-size:13px; line-height:2; }
.about-columns strong { color:var(--ink); font-weight:700; }
.fact-list { margin-top:48px; border-top:1px solid var(--line); max-width:940px; }
.fact-list div { padding:17px 0; border-bottom:1px solid var(--line); display:grid; grid-template-columns:210px 1fr; gap:20px; }
.fact-list span { font:10px var(--mono); letter-spacing:.07em; color:var(--accent); }
.fact-list strong { font-size:12px; font-weight:700; }
/* Research */
.research-stack { display:grid; gap:18px; }
.research-card { border:1px solid var(--line); background:var(--surface); border-radius:7px; padding:32px; }
.research-featured { border-color:#3c6960; background:linear-gradient(140deg,#162d2b,#111c23 60%); }
.research-card-top { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px; font-size:10px; color:var(--muted); }
.status { display:inline-flex; align-items:center; gap:10px; color:var(--accent); }
.status .signal-dot { width:6px; height:6px; }
.research-card h3 { max-width:850px; margin:21px 0 14px; font-size:clamp(21px,2.15vw,28px); line-height:1.4; letter-spacing:-.035em; }
.research-card>p { font-size:12px; color:var(--subtle); margin:0; line-height:2; }
.result-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-block:26px 19px; border:1px solid var(--line); }
.result-grid>div { padding:23px 18px 21px; border-right:1px solid var(--line); display:flex; flex-direction:column; gap:11px; }
.result-grid>div:last-child { border-right:0; }
.result-grid strong { color:var(--accent); font-size:clamp(21px,2.5vw,32px); letter-spacing:-.05em; line-height:1.1; }
.result-grid strong span { font-size:.54em; letter-spacing:-.02em; }
.result-grid>div>span { color:var(--subtle); font-size:10px; line-height:1.65; }
.research-card .research-note { margin-top:15px; font-size:10px; color:var(--muted); }
.tag-row { display:flex; flex-wrap:wrap; gap:7px; margin-top:20px; }
.tag-row span { border:1px solid #36504f; color:#a7c7bd; background:rgba(28,55,50,.32); border-radius:3px; padding:5px 8px; font-size:9px; }
/* Projects */
.filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.filter { cursor:pointer; background:transparent; border:1px solid var(--line); color:var(--muted); padding:9px 14px; font-size:11px; font-weight:700; border-radius:4px; transition:.2s ease; }
.filter span { font:10px var(--mono); color:inherit; opacity:.7; margin-left:8px; }
.filter:hover { border-color:#4a766a; color:var(--ink); }
.filter.active { color:#0d231b; border-color:var(--accent); background:var(--accent); }
.project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:stretch; }
.project-card { border:1px solid var(--line); background:var(--surface); display:flex; flex-direction:column; border-radius:7px; min-width:0; overflow:hidden; transition:border-color .22s ease, transform .22s ease; }
.project-card:hover { border-color:#497367; transform:translateY(-2px); }
.project-card[hidden] { display:none !important; }
.project-art { height:175px; min-height:175px; overflow:hidden; position:relative; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.art-analog { background:radial-gradient(circle at 60% 40%,#245348,#14282a 60%,#132027); }
.art-digital { background:radial-gradient(circle at 60% 40%,#344965,#1a2c37 60%,#132027); }
.art-grid { inset:0; position:absolute; background:linear-gradient(90deg,transparent calc(100% - 1px),rgba(154,215,200,.09) 0),linear-gradient(transparent calc(100% - 1px),rgba(154,215,200,.09) 0); background-size:28px 28px; transform:skewY(-10deg) scale(1.25); }
.art-type,.art-small { position:absolute; left:23px; color:#a3c8c0; }
.art-type { top:20px; }
.art-small { bottom:19px; }
.art-mark { font-size:clamp(54px,8vw,94px); font-weight:800; letter-spacing:-.12em; color:rgba(206,244,230,.84); line-height:1; z-index:1; text-shadow:0 0 55px rgba(112,220,192,.1); }
.art-sup { font-size:.24em; vertical-align:top; margin-left:15px; color:var(--accent); }
.project-number { height:63px; padding:18px 23px; display:flex; align-items:center; justify-content:space-between; font-size:24px; font-weight:500; letter-spacing:-.08em; color:var(--accent); border-bottom:1px solid var(--line); background:linear-gradient(to right,#152e2c,var(--surface)); }
.project-number>span { font-size:9px; letter-spacing:.05em; color:var(--muted); }
.project-content { padding:25px; display:flex; flex-direction:column; flex:1; }
.project-meta { display:flex; justify-content:space-between; gap:14px; font-size:9px; color:var(--accent); }
.project-meta span:first-child { color:var(--muted); }
.project-content h3 { margin:12px 0 11px; font-size:clamp(18px,1.7vw,22px); line-height:1.4; letter-spacing:-.035em; }
.project-content>p { font-size:12px; line-height:1.95; color:var(--subtle); margin:0 0 13px; }
.project-results { display:flex; flex-wrap:wrap; gap:9px; margin-top:auto; margin-bottom:17px; padding-top:11px; }
.project-results>span { font-size:10px; color:var(--subtle); background:#1b2d32; border:1px solid #34514e; padding:7px 9px; border-radius:3px; }
.project-results b { color:var(--accent); font-weight:700; }
.project-content details { margin-top:auto; border-top:1px solid var(--line); padding-top:13px; }
.project-content summary { cursor:pointer; color:var(--accent); font-size:11px; font-weight:800; padding-block:3px; display:flex; justify-content:space-between; align-items:center; list-style:none; }
.project-content summary::-webkit-details-marker { display:none; }
.project-content summary span { font-size:19px; line-height:1; transition:transform .2s; }
.project-content details[open] summary span { transform:rotate(45deg); }
.detail-content { padding:12px 0 2px; color:var(--subtle); font-size:11px; line-height:1.85; }
.project-content>.tag-row { margin-top:17px; }
.project-footnote { font:10px/1.8 var(--mono); color:var(--muted); padding-top:16px; }
/* Skills */
.skills-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:35px; }
.skill-block { border:1px solid var(--line); background:var(--surface); padding:25px; border-radius:5px; }
.skill-num { color:var(--accent); }
.skill-block h3 { font-size:15px; letter-spacing:-.025em; margin:13px 0 12px; }
.skill-block p { margin:0; font-size:12px; line-height:2.1; color:var(--subtle); }
.skills-footnote { font:10px var(--mono); margin-top:22px; color:var(--muted); }
/* Experience */
.timeline { margin-top:32px; border-top:1px solid var(--line); }
.timeline-item { display:grid; grid-template-columns:145px 1fr; gap:26px; border-bottom:1px solid var(--line); padding:25px 0; }
.timeline-date { color:var(--accent); padding-top:7px; }
.timeline-item h3 { font-size:17px; letter-spacing:-.035em; margin:0 0 7px; }
.timeline-item p { font-size:12px; color:var(--subtle); line-height:1.9; margin:0; max-width:760px; }
.timeline-item .timeline-org { color:var(--accent); font-size:11px; margin-bottom:11px; }
/* Contact */
.contact-section { border-top:1px solid #355850; background:radial-gradient(ellipse at 80% 50%,rgba(30,85,72,.28), transparent 50%),#111e23; padding-block:91px; }
.contact-inner { display:grid; grid-template-columns:1fr auto; align-items:end; gap:50px; }
.contact-inner h2 { font-size:clamp(38px,4.65vw,66px); max-width:780px; }
.contact-inner h2 span { color:var(--accent); }
.contact-inner p:not(.overline) { color:var(--subtle); max-width:600px; font-size:13px; margin:0; line-height:1.9; }
.contact-actions { display:flex; align-items:flex-end; flex-direction:column; gap:12px; padding-bottom:6px; }
.contact-actions .button { min-width:170px; justify-content:space-between; }
.site-footer { border-top:1px solid var(--line); }
.footer-inner { padding-block:28px; display:flex; gap:20px; justify-content:space-between; align-items:center; }
.footer-inner p, .footer-inner>span { font-size:10px; color:var(--muted); }
@keyframes blink { 50% { opacity:0; } }
@media (max-width:1180px) {
  .container,.header-inner { width: min(var(--max),100% - 74px); }
  nav { gap:20px; }
  .hero-grid { gap:30px; }
  .section-layout { grid-template-columns:135px minmax(0,1fr); gap:40px; }
  .metric-text { flex-direction:column; gap:8px; }
}
@media (max-width:960px) {
  .hero-grid { grid-template-columns:1fr; gap:40px; padding-block:82px 75px; }
  .hero-copy { max-width:780px; }
  .hero-visual { max-width:570px; justify-self:center; }
  h1 { max-width:850px; }
  .hero-footnote { margin-top:37px; }
  .section { padding-block:80px; }
  .section-layout { grid-template-columns:1fr; gap:25px; }
  .section-aside { flex-direction:row; align-items:center; }
  .aside-line { width:48px; }
  .section-heading { align-items:flex-start; }
  .contact-inner { grid-template-columns:1fr; }
  .contact-actions { flex-direction:row; align-items:center; }
  .metric-grid { grid-template-columns:repeat(2,1fr); }
  .metric:nth-child(2) { border-right:0; }
  .metric:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .metric:nth-child(3) { padding-left:0; }
}
@media (max-width:730px) {
  .container,.header-inner { width:calc(100% - 38px); }
  .site-header { height:69px; }
  .menu-toggle { display:block; }
  nav { display:none; position:absolute; top:68px; left:0; width:100%; background:#111b22; border-bottom:1px solid var(--line); padding:20px; flex-direction:column; align-items:stretch; gap:5px; box-shadow:0 18px 28px rgba(0,0,0,.3); }
  nav.open { display:flex; }
  nav a { padding:11px; }
  nav .nav-cta { justify-content:space-between; margin-top:8px; }
  .hero-grid { padding-block:65px; }
  h1 { font-size:clamp(38px,9vw,58px); }
  .eyebrow { font-size:9px; margin-bottom:24px; }
  .hero-description { font-size:13px; }
  .hero-visual { max-width:460px; }
  .hero-footnote { margin-top:37px; }
  .metric { min-height:122px; padding:24px 16px; }
  .metric strong { font-size:29px; }
  .section { padding-block:68px; }
  h2 { font-size:clamp(31px,8.2vw,47px); }
  .section-heading { flex-direction:column; gap:14px; }
  .section-heading p { max-width:550px; }
  .about-columns { grid-template-columns:1fr; gap:15px; }
  .fact-list div { grid-template-columns:1fr; gap:8px; }
  .research-card { padding:21px; }
  .result-grid { grid-template-columns:1fr; }
  .result-grid>div { border-right:0; border-bottom:1px solid var(--line); padding:16px; }
  .result-grid>div:last-child { border-bottom:0; }
  .result-grid strong { font-size:27px; }
  .project-grid { grid-template-columns:1fr; }
  .project-art { height:180px; }
  .skills-grid { grid-template-columns:1fr; }
  .timeline-item { grid-template-columns:1fr; gap:7px; }
  .contact-inner h2 { font-size:clamp(36px,8.5vw,55px); }
  .contact-actions { flex-wrap:wrap; }
  .footer-inner { align-items:flex-start; flex-wrap:wrap; }
}
@media (max-width:390px) {
  .hero-actions { align-items:stretch; flex-direction:column; }
  .hero-actions .button { justify-content:space-between; }
  .hero-footnote { gap:10px; font-size:8px; }
  .research-card h3 { font-size:20px; }
  .metric-text p { font-size:11px; }
  .contact-actions { align-items:stretch; flex-direction:column; }
  .contact-actions .button { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}


/* November 2026 RF / antenna portfolio update */
.hero-real-visual { margin:0; display:flex; flex-direction:column; justify-content:center; padding:50px 14px 53px; overflow:hidden; background:radial-gradient(circle at center,#153832 0%,#0e1c24 65%,#0c151b 100%); }
.hero-real-visual>img { display:block; width:100%; height:auto; max-height:100%; object-fit:contain; filter:drop-shadow(0 13px 22px rgba(0,0,0,.2)); border-radius:3px; }
.hero-real-visual .visual-bottomline { gap:10px; align-items:center; }
.hero-real-visual .visual-bottomline span:first-child { max-width:85%; }
.ddp-feature { border-color:#32675b; background:linear-gradient(145deg,#142924,#111d25 60%); padding:clamp(22px,3vw,35px); }
.ddp-lead { display:grid; grid-template-columns:1.08fr .92fr; gap:30px; align-items:center; padding-top:22px; }
.ddp-copy h3 { margin:13px 0 15px; font-size:clamp(25px,2.5vw,35px); line-height:1.22; letter-spacing:-.047em; }
.ddp-copy>p:not(.ddp-label) { color:var(--subtle); font-size:13px; line-height:1.85; }
.ddp-label { font:10px var(--mono); color:var(--accent); letter-spacing:.1em; }
.ddp-render { min-width:0; margin:0; padding:17px; border:1px solid #385c57; border-radius:7px; background:#e7eeed; }
.ddp-render img { width:100%; height:auto; object-fit:contain; display:block; aspect-ratio:651/411; }
.ddp-render figcaption { color:#46605e; margin-top:8px; font-size:10px; line-height:1.4; text-align:center; }
.ddp-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin:28px 0 35px; border:1px solid #346057; background:#112722; }
.ddp-metrics>div { display:flex; flex-direction:column; gap:10px; padding:19px 16px; border-right:1px solid #346057; }
.ddp-metrics>div:last-child { border-right:0; }
.ddp-metrics strong { font-size:clamp(23px,2.6vw,35px); letter-spacing:-.055em; color:var(--accent); line-height:1.1; }
.ddp-metrics strong small { font-size:.48em; letter-spacing:0; }
.ddp-metrics>div>span { font-size:11px; line-height:1.6; color:var(--subtle); }
.ddp-subheading { display:flex; align-items:baseline; justify-content:space-between; gap:18px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.ddp-subheading h4,.ddp-detail-copy h4 { font-size:18px; margin:0; letter-spacing:-.025em; }
.ddp-subheading>span { font:9px var(--mono); letter-spacing:.045em; color:var(--muted); }
.ddp-evidence { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; margin-top:18px; }
.ddp-evidence figure { margin:0; min-width:0; border:1px solid var(--line); background:#0c1b1f; border-radius:5px; overflow:hidden; }
.ddp-plot { background:#f4f7f8; padding:10px; display:grid; place-items:center; height:220px; }
.ddp-plot img { width:100%; height:100%; object-fit:contain; display:block; }
.ddp-evidence figcaption { display:flex; gap:4px; flex-direction:column; padding:12px 12px 15px; line-height:1.45; }
.ddp-evidence figcaption strong { color:var(--ink); font-size:12px; }
.ddp-evidence figcaption span { color:var(--subtle); font-size:10px; }
.ddp-details { border-top:1px solid var(--line); margin-top:25px; padding-top:10px; }
.ddp-details>summary,.course-more>summary { padding:12px 0; list-style:none; cursor:pointer; color:var(--accent); font-size:12px; font-weight:700; display:flex; justify-content:space-between; }
.ddp-details>summary::-webkit-details-marker,.course-more>summary::-webkit-details-marker { display:none; }
.ddp-details[open]>summary span,.course-more[open]>summary span { transform:rotate(45deg); }
.ddp-details-inner { padding:12px 0; }
.ddp-detail-copy p { font-size:12px; color:var(--subtle); line-height:1.8; margin:12px 0; }
.ddp-detail-copy strong { color:var(--ink); }
.ddp-detail-figures { display:grid; grid-template-columns:1fr 1fr; gap:15px; margin-top:15px; }
.ddp-detail-figures figure { margin:0; background:#f4f7f8; padding:12px; border-radius:5px; }
.ddp-detail-figures img { width:100%; height:225px; object-fit:contain; display:block; }
.ddp-detail-figures figcaption { color:#28403d; font-size:10px; padding-top:5px; text-align:center; }
.ddp-disclaimer { font-size:10px !important; color:var(--muted) !important; border-top:1px solid var(--line); padding-top:15px; margin-top:12px !important; line-height:1.65 !important; }
.research-supporting { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:20px; }
.research-compact { padding:25px; }
.research-compact h3 { font-size:20px; line-height:1.3; margin:17px 0 12px; }
.research-compact>p { font-size:12px; line-height:1.8; color:var(--subtle); }
.research-mini-metrics { display:flex; flex-wrap:wrap; gap:13px; border-top:1px solid var(--line); padding-top:17px; margin-top:17px; font-size:11px; color:var(--subtle); }
.research-mini-metrics strong { color:var(--accent); }
.rf-project-feature { border-color:#37796b; background:linear-gradient(160deg,#142a28,#101b22 75%); }
.course-category-caption { display:flex; align-items:center; gap:9px; font:10px var(--mono); color:var(--accent); letter-spacing:.075em; margin:28px 0 15px; }
.course-category-caption>span:last-child { margin-left:auto; color:var(--muted); font-size:9px; }
.course-emphasis-dot { width:7px;height:7px;background:var(--accent);border-radius:50%; }
.rf-course-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.rf-course-card { border:1px solid #427668; background:linear-gradient(125deg,#18332f,#122522); padding:22px; min-width:0; border-radius:6px; }
.rf-course-card .course-code { color:var(--accent); font:10px var(--mono); }
.rf-course-card h3 { font-size:clamp(17px,1.65vw,23px); line-height:1.38; margin:11px 0 19px; letter-spacing:-.04em; }
.course-chip { display:inline-block; color:#aee7d9; background:#25473d; border:1px solid #38685b; border-radius:3px; padding:5px 8px; font:9px var(--mono); letter-spacing:.045em; max-width:100%; }
.course-chip.ongoing { background:#364332; border-color:#697459; color:#f3e6ad; }
.course-secondary-grid { margin-top:18px; display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.course-panel { background:var(--surface); border:1px solid var(--line); border-radius:6px; padding:23px; }
.course-panel h3 { font-size:14px; margin:0 0 17px; line-height:1.55; }
.course-tags { display:flex; flex-wrap:wrap; gap:8px; }
.course-tags span { border:1px solid #344b50; background:#15252a; font-size:11px; line-height:1.45; padding:7px 10px; color:var(--subtle); border-radius:3px; }
.course-more { margin-top:14px; background:var(--surface); border:1px solid var(--line); border-radius:6px; padding:8px 22px; }
.course-more .course-tags { padding:10px 0 18px; }
.course-disclaimer { color:var(--muted); font-size:10px; margin:17px 0 0; }
@media(max-width:1100px) { .ddp-lead { grid-template-columns:1fr; } .ddp-render { max-width:650px; } }
@media(max-width:960px) { .ddp-evidence { grid-template-columns:repeat(3,minmax(0,1fr)); } .ddp-plot { height:190px; } }
@media(max-width:700px) { .ddp-metrics { grid-template-columns:1fr; } .ddp-metrics>div { border-right:0; border-bottom:1px solid #346057; } .ddp-metrics>div:last-child { border-bottom:0; } .ddp-evidence,.research-supporting,.rf-course-grid,.course-secondary-grid { grid-template-columns:1fr; } .ddp-plot { height:255px; } .ddp-detail-figures { grid-template-columns:1fr; } .ddp-detail-figures img { height:260px; } .ddp-subheading { align-items:start; flex-direction:column; } .ddp-feature { padding:18px; } .hero-real-visual { aspect-ratio: 1.2 / 1; padding:45px 12px 45px; } }

.ddp-plot { display:flex; align-items:center; justify-content:center; overflow:hidden; height:250px; padding:12px; }
.ddp-plot img { display:block; height:222px; width:auto; max-width:100%; max-height:100%; object-fit:contain; flex:0 1 auto; }
@media(max-width:700px){.ddp-plot {height:260px}.ddp-plot img {height:235px}}


/* RF-focused hero art: conceptual SVG, no photograph or project screenshot. */
.hero-rf-visual { margin:0; display:block; overflow:hidden; background:#11252a; aspect-ratio:1/1; }
.hero-rf-visual .rf-hero-art { width:100%; height:100%; display:block; object-fit:cover; }
.hero-rf-visual .visual-topline { color:#a8d2c7; text-shadow:0 1px 8px #0a1719; }
.hero-rf-visual .visual-bottomline { text-shadow:0 1px 8px #0a1719; }

/* Photo is shown in About, not on the front page. Add assets/profile.jpg. */
.logo-fullname { letter-spacing:-.055em; font-size:20px; white-space:nowrap; }
.about-story { display:grid; grid-template-columns:minmax(0,1fr) 230px; align-items:start; gap:36px; }
.about-story-copy { min-width:0; }
.about-story .about-columns { gap:23px; }
.portrait-card { margin:21px 0 0; background:#122227; border:1px solid #2d4b4b; border-radius:7px; padding:9px; }
.portrait-frame { position:relative; aspect-ratio:4/5; background:radial-gradient(circle at 50% 30%,#24564c,#112129 80%); overflow:hidden; display:grid; place-items:center; border-radius:4px; }
.portrait-initials { font-weight:800; font-size:62px; letter-spacing:-.09em; color:#6caba0; }
.portrait-frame img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center 28%; }
.portrait-card figcaption { display:flex; flex-direction:column; gap:4px; padding:13px 9px 8px; }
.portrait-card figcaption strong { font-size:12px; color:var(--ink); }
.portrait-card figcaption span { color:var(--muted); font-size:10px; }
@media(max-width:1100px) { .about-story { grid-template-columns:minmax(0,1fr) 205px; gap:22px; } .logo-fullname {font-size:18px;} }
@media(max-width:760px) { .about-story { grid-template-columns:1fr; } .portrait-card { width:min(100%,300px); margin:10px 0 0; } }
@media(max-width:600px) { .logo-fullname { font-size:17px; } .hero-rf-visual { aspect-ratio: 1/1; } }

/* Expandable research figures */
[data-gallery-image] { cursor: zoom-in; }
[data-gallery-image]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.research-lightbox {
  width: min(96vw, 1150px);
  max-width: 1150px;
  max-height: 94vh;
  padding: 14px;
  margin: auto;
  color: #edf5f2;
  background: #101b22;
  border: 1px solid #46645f;
  border-radius: 10px;
}
.research-lightbox::backdrop { background: rgba(2, 7, 12, .88); }
.research-lightbox-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:12px; font-size:13px; }
.research-lightbox-close { cursor:pointer; border:1px solid #46645f; background:#20323b; color:#f1f7f5; padding:8px 12px; border-radius:5px; flex-shrink:0; }
.research-lightbox img { display:block; max-width:100%; max-height:calc(94vh - 85px); width:auto; height:auto; object-fit:contain; margin:auto; background:#fff; }
@media(max-width:600px) { .research-lightbox { padding:9px; } .research-lightbox-bar { font-size:11px; } }
