/* Pavan Varma Pothuri - portfolio styles */

/* ---------- Tokens ---------- */
:root {
  --bg:        #121212;
  --bg-2:      #1B1B1A;
  --surface:   rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.05);
  --line:      rgba(255,255,255,0.10);
  --line-2:    rgba(255,255,255,0.18);
  --text:      #ECECEA;
  --muted:     #A9A9A5;
  --faint:     #8C8C88;

  --accent:    #7CC6A4;
  --accent-2:  #7CC6A4;
  --accent-3:  #5E9C81;
  --accent-ink:#121212;

  --grad: linear-gradient(var(--accent), var(--accent));
  --glow-a: transparent;
  --glow-b: transparent;

  --radius:   8px;
  --radius-sm:5px;
  --maxw:     1200px;
  --ease:     cubic-bezier(.23,1,.32,1);      /* strong ease-out */
  --ease-io:  cubic-bezier(.77,0,.175,1);     /* in-out, for one-time drawing */
  --font:     'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display:  var(--font);
  --serif:    var(--display);
  --mono:     'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow:   0 30px 80px -30px rgba(0,0,0,.7);
}

[data-theme="light"] {
  --bg:        #FFFFFF;
  --bg-2:      #F3F3F1;
  --surface:   rgba(0,0,0,0.02);
  --surface-2: rgba(0,0,0,0.04);
  --line:      rgba(0,0,0,0.09);
  --line-2:    rgba(0,0,0,0.17);
  --text:      #1B1B1B;
  --muted:     #525252;
  --faint:     #6B6B6B;
  --accent:    #1E6B50;
  --accent-2:  #1E6B50;
  --accent-3:  #4F8A71;
  --accent-ink:#FFFFFF;
  --grad: linear-gradient(var(--accent), var(--accent));
  --glow-a: transparent;
  --glow-b: transparent;
  --shadow: 0 20px 50px -30px rgba(0,0,0,.25);
}
/* hero sits on the dark photo, but its accent follows the active theme */
[data-theme="light"] .hero { --accent: #7CC6A4; --accent-2: #7CC6A4; --accent-3: #A8DCC4; }

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;   /* never let a long word force a sideways scroll on phones */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Tap highlight + comfortable touch behaviour on phones/tablets */
a, button, [data-cursor] { -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) {
  /* keep momentum scrolling smooth and avoid accidental text selection on taps */
  body { -webkit-tap-highlight-color: transparent; }
}



/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; letter-spacing: .2px;
  transition: background .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}
.btn:hover { transition-duration: .12s; }
.btn:active { transform: translateY(1px); }
.btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: color-mix(in srgb, var(--accent) 82%, var(--text)); }
.btn--ghost { color: var(--text); border-bottom: 1px solid var(--line-2); border-radius: 0; padding-left: 4px; padding-right: 4px; }
.btn--ghost:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 13px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
/* blur lives on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile drawer inside the bar */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%);
  opacity: 0; transition: opacity .4s;
}
.nav.scrolled::before { opacity: 1; }
/* nav over the hero photo: light until scrolled (desktop) */
@media (min-width: 901px) {
  .nav:not(.scrolled) .nav__links a { color: rgba(236,237,243,.78); }
  .nav:not(.scrolled) .nav__links a:hover,
  .nav:not(.scrolled) .nav__links a.active { color: #fff; }
  .nav:not(.scrolled) .nav__brand-text { color: #ECEDF3; }
  .nav:not(.scrolled) .theme-toggle,
  .nav:not(.scrolled) .nav__resume { color: #ECEDF3; border-color: rgba(255,255,255,.28); }
}
/* same over-the-photo treatment for the phone/tablet controls */
.nav:not(.scrolled) .nav__brand-text,
.nav:not(.scrolled) .theme-toggle,
.nav:not(.scrolled) .nav__burger { color: #ECEDF3; border-color: rgba(255,255,255,.3); }
.nav:not(.scrolled) .nav__burger span { background: #ECEDF3; }
.nav.open .nav__burger { color: var(--text); border-color: var(--line-2); background: var(--bg-2); }
.nav.open .nav__burger span { background: var(--text); }
.nav.open .theme-toggle { color: var(--text); border-color: var(--line-2); }
.nav__brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 500; }
.nav__brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-family: var(--font); font-weight: 700; font-size: .82rem; letter-spacing: .5px;
}
.nav__brand-text { font-size: 1.12rem; letter-spacing: 0; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  position: relative; font-size: .9rem; color: var(--muted); font-weight: 500;
  transition: color .24s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 4px; height: 4px; margin-left: -2px;
  background: var(--accent); opacity: 0; transform: rotate(45deg);
}
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__links a.active::after { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 14px; position: relative; z-index: 810; }
.theme-toggle {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text); transition: border-color .2s, color .2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 10px; }
/* lock background scroll while the mobile drawer is open */
body.nav-open { overflow: hidden; }
.nav__burger span { width: 18px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.nav.open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Layout primitives ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 12vh, 160px) clamp(20px, 5vw, 40px); position: relative; z-index: 2; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__index { font-family: var(--mono); font-size: .8rem; color: var(--accent); letter-spacing: 2px; }
.section__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.04; letter-spacing: -.02em; }
.section__sub { color: var(--muted); margin-top: 14px; max-width: 560px; font-size: 1.02rem; }


/* =========================================================
   HERO
   ========================================================= */
/* hero keeps dark-theme tokens in both modes (it sits on a dark photo) */
.hero {
  --bg: #111111; --bg-2: #181818;
  --text: #F2F2F0; --muted: #C4C4C0; --faint: #9A9A96;
  --accent: #7CC6A4; --accent-2: #7CC6A4; --accent-3: #5E9C81; --accent-ink: #111111;
  --line: rgba(255,255,255,0.09); --line-2: rgba(255,255,255,0.16);
  --surface: rgba(255,255,255,0.04); --surface-2: rgba(255,255,255,0.07);
  --grad: linear-gradient(#7CC6A4, #7CC6A4);
  color: var(--text);   /* force the hero's (white) text in both themes, incl. the title */
}
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px clamp(20px,5vw,56px) 80px; overflow: hidden; background: var(--bg-2); }
.hero__inner { position: relative; z-index: 4; max-width: 880px; }

/* hero photo */
.hero__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--bg-2); }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.08); transform-origin: 62% 50%;
  filter: brightness(.62) contrast(1.12) saturate(.88);
  pointer-events: none; user-select: none;   /* no browser image-hover / visual-search button */
}
/* vignette */
.hero__photo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 78%, transparent) 0%, transparent 26%, transparent 60%, color-mix(in srgb, var(--bg) 80%, transparent) 100%),
    radial-gradient(120% 90% at 58% 44%, transparent 28%, color-mix(in srgb, var(--bg) 45%, transparent) 60%, color-mix(in srgb, var(--bg) 88%, transparent) 88%, var(--bg) 118%);
}

/* scrim for text legibility */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 24%, color-mix(in srgb, var(--bg) 30%, transparent) 52%, transparent 72%),
    linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 13%, transparent 44%),
    radial-gradient(130% 120% at 72% 38%, transparent 42%, color-mix(in srgb, var(--bg) 60%, transparent) 100%);
}
/* subject spotlight + tint */
.hero__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background:
    radial-gradient(58% 68% at 60% 46%, rgba(255,255,255,.30), transparent 62%),
    linear-gradient(125deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent 55%);
}

.hero__status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
  font-size: .82rem; color: var(--muted); font-family: var(--mono); letter-spacing: .3px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #F2F2F7; box-shadow: 0 0 0 1px rgba(255,255,255,.18); animation: strobe 2.4s steps(1, end) infinite; flex: none; }
/* anti-collision strobe: two short flashes, then dark */
@keyframes strobe {
  0%   { background: #fff; box-shadow: 0 0 10px 2px rgba(255,255,255,.75); }
  4%   { background: #7B7F8E; box-shadow: none; }
  9%   { background: #fff; box-shadow: 0 0 10px 2px rgba(255,255,255,.75); }
  13%, 100% { background: #7B7F8E; box-shadow: none; }
}
.meet .pulse { background: var(--accent); animation-name: strobe-accent; }
@keyframes strobe-accent {
  0%   { opacity: 1; } 4% { opacity: .25; } 9% { opacity: 1; } 13%, 100% { opacity: .25; }
}

.hero__title {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.025em;
  font-size: clamp(2.4rem, 6.4vw, 4.9rem); line-height: 1.02; margin-bottom: 30px;
}
.hero__title .line { display: block; }
.hero__title em { font-style: italic; color: var(--accent); }

.hero__lede { max-width: 620px; font-size: clamp(1rem, 2vw, 1.18rem); color: var(--muted); margin-bottom: 34px; }
.hero__lede strong { color: var(--text); }
.hero__lede em { font-style: normal; color: var(--accent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-family: var(--mono); font-size: .85rem; color: var(--faint); }
.hero__meta a { color: var(--muted); transition: color .25s; }
.hero__meta a:hover { color: var(--accent); }


/* hero annotation: handwritten-style note + curved arrow pointing at the subject */
.hero__tag {
  position: absolute; z-index: 3; top: clamp(86px, 13vh, 130px); right: clamp(16px, 4vw, 52px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  pointer-events: none; opacity: .92;
}
.hero__tag-text {
  font-family: var(--mono); font-size: clamp(.6rem, 1.25vw, .76rem); letter-spacing: .4px;
  line-height: 1.55; text-align: right; color: #F2F2F0;
  text-shadow: 0 2px 14px rgba(0,0,0,.6), 0 0 3px rgba(0,0,0,.5);
}
.hero__tag-text em { font-style: normal; color: var(--accent); font-weight: 600; }
.hero__tag-arrow {
  width: clamp(170px, 26vw, 400px); height: auto; margin-top: 2px; margin-right: 6px;
  color: var(--accent); mix-blend-mode: screen; opacity: .7;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 65%, transparent));
}
.hero__tag-arrow path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__tag-curve { stroke-dasharray: 820; stroke-dashoffset: 820; animation: tagdraw 1.1s var(--ease-io) .5s forwards; }
.hero__tag-head  { opacity: 0; animation: taghead .2s linear 1.55s forwards; }
@keyframes tagdraw { to { stroke-dashoffset: 0; } }
@keyframes taghead { to { opacity: 1; } }
@media (max-width: 720px) { .hero__tag { display: none; } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 6vw, 80px); align-items: stretch; }
.about__media { position: relative; min-height: 100%; }
.about__photo { position: relative; height: 100%; min-height: 440px; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.about__photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.about__badge {
  position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(6px);
}
.about__badge-k { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--accent); }
.about__badge-v { font-size: .76rem; color: var(--muted); line-height: 1.35; }
.about__body p { color: var(--muted); margin-bottom: 20px; font-size: 1.04rem; }
.about__body a { color: var(--text); border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: color .25s; white-space: nowrap; }
.about__body a:hover { color: var(--accent); }
.about__lead { font-size: 1.22rem !important; color: var(--text) !important; font-weight: 500; }
.about__body strong { color: var(--text); }

/* Best-paper award highlight (links to the AIAA record) */
.about__body a.about__honor {
  display: flex; align-items: center; gap: 11px; margin: 10px 0 4px; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0;
  color: #C79A3C; line-height: 1.55; font-size: .96rem; white-space: normal;
  transition: color .25s;
}
[data-theme="light"] .about__body a.about__honor { color: #9A7320; }
.about__body a.about__honor:hover { color: var(--accent); }
.about__honor svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.about__honor strong { color: inherit; font-weight: 700; }
.about__honor-verify { font-family: var(--mono); font-size: .8em; color: inherit; opacity: .8; }


/* =========================================================
   RESEARCH
   ========================================================= */

/* =========================================================
   PUBLICATIONS
   ========================================================= */
.pub-list { display: grid; gap: 4px; }
.pub {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 26px; align-items: start;
  padding: 32px 0; border-top: 1px solid var(--line); position: relative;
}
.pub:last-child { border-bottom: 1px solid var(--line); }
.pub__year { font-family: var(--mono); color: var(--accent); font-size: .95rem; padding-top: 4px; }
.pub__main h3 { font-family: var(--display); font-weight: 500; font-size: 1.36rem; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 8px; }
.pub__authors { font-size: .82rem; color: var(--muted); margin-bottom: 7px; line-height: 1.5; }
.pub__authors b { color: var(--text); font-weight: 600; }
.pub__venue { color: var(--text); font-size: .9rem; font-weight: 500; margin-bottom: 12px; }
.pub__venue em { color: var(--muted); font-style: italic; }
.pub__abs { color: var(--muted); font-size: .94rem; margin-bottom: 16px; max-width: 70ch; }
.pub__tags { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pub__tags span { font-size: .73rem; color: var(--faint); font-family: var(--mono); }
.pub__links a { font-family: var(--mono); font-size: .85rem; color: var(--accent); white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.pub__links a:hover { text-decoration-color: currentColor; }

/* Best-paper award badge (links to the AIAA record) */
.pub__award {
  display: inline-flex; align-items: center; gap: 9px; margin: 2px 0 14px; max-width: fit-content;
  font-family: var(--mono); font-size: .77rem; line-height: 1.4; letter-spacing: .02em;
  color: #C79A3C; transition: color .25s;
}
[data-theme="light"] .pub__award { color: #9A7320; }
.pub__award:hover { color: var(--accent); }
.pub__award svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pub__award strong { color: inherit; font-weight: 700; }
.pub__award-ext { color: inherit; opacity: .8; font-size: .9em; }

/* Demo video under a publication */
.pub__video {
  position: relative; margin-top: 18px; width: 100%; max-width: 560px;
  aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2);
}
.pub__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Simulation + real-world demo GIF grid (2 rows x 3 cols) */
.pub__demos { margin-top: 18px; }
.pub__demos-label { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 820px; }
.demo { border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.demo img, .demo video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.demo figcaption {
  font-family: var(--mono); font-size: .72rem; color: var(--text); line-height: 1.3;
  padding: 9px 2px; display: flex; flex-direction: column; gap: 3px;
}
.demo__env { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.demo__env--real { color: var(--accent-3); }
.pub__demos-note { color: var(--muted); font-size: .92rem; line-height: 1.7; margin-top: 14px; max-width: 74ch; }
@media (max-width: 640px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .demo-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PROJECTS
   ========================================================= */
.project-feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 68px); align-items: center;
  padding: clamp(24px, 3vw, 38px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.project-feature__media {
  position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-2);
}
.project-feature__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,14,19,.58)); pointer-events: none;
}
.project-feature__media img { width: 100%; height: 100%; object-fit: cover; }
/* camera viewfinder: corner brackets lock onto the frame on hover */
.project-feature__media::before {
  content: ""; position: absolute; inset: 22px; z-index: 1; pointer-events: none; opacity: 0;
  --c: rgba(255,255,255,.9); --l: 22px;
  background:
    linear-gradient(var(--c),var(--c)) top left / var(--l) 1.5px, linear-gradient(var(--c),var(--c)) top left / 1.5px var(--l),
    linear-gradient(var(--c),var(--c)) top right / var(--l) 1.5px, linear-gradient(var(--c),var(--c)) top right / 1.5px var(--l),
    linear-gradient(var(--c),var(--c)) bottom left / var(--l) 1.5px, linear-gradient(var(--c),var(--c)) bottom left / 1.5px var(--l),
    linear-gradient(var(--c),var(--c)) bottom right / var(--l) 1.5px, linear-gradient(var(--c),var(--c)) bottom right / 1.5px var(--l);
  background-repeat: no-repeat;
  transform: scale(1.06); transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.project-feature__media:hover::before, .project-feature__media:focus-visible::before { opacity: 1; transform: none; transition-duration: .16s; }
.project-feature__status {
  position: absolute; left: 18px; bottom: 16px; z-index: 1;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.project-feature__kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.project-feature__body h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.55rem, 2.9vw, 2.25rem);
  line-height: 1.2; letter-spacing: -.4px;
}
.project-feature__body h3 a { transition: color .25s; }
.project-feature__body h3 a:hover { color: var(--accent); }
.project-feature__team { margin-top: 10px; color: var(--accent); font-size: .84rem; font-weight: 500; }
.project-feature__summary { margin-top: 18px; color: var(--muted); font-size: .98rem; line-height: 1.72; }
.project-feature__highlights { display: grid; gap: 9px; margin-top: 18px; }
.project-feature__highlights li { position: relative; padding-left: 18px; color: var(--muted); font-size: .91rem; line-height: 1.55; }
.project-feature__highlights li::before {
  content: ""; position: absolute; left: 1px; top: .65em; width: 6px; height: 6px;
  border: 1.5px solid var(--accent); border-radius: 50%;
}
.project-feature__tags { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; }
.project-feature__tags span { font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.project-feature__link { margin-top: 24px; }

/* =========================================================
   JOURNEY / TIMELINE
   ========================================================= */
.timeline { position: relative; padding-left: 28px; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 0; border-left: 1.5px dashed var(--line-2); }
.timeline::after { content: ""; position: absolute; left: 6px; top: 6px; width: 2px; height: calc(var(--tl, 0) * (100% - 12px)); background: var(--accent); }
.tl-item { position: relative; padding: 0 0 44px 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); z-index: 1; transition: background-color .2s var(--ease); }
.tl-item.passed .tl-dot { background: var(--accent); }
.tl-time { font-family: var(--mono); font-size: .8rem; color: var(--accent); margin-bottom: 6px; }
.tl-body h3 { font-family: var(--display); font-weight: 500; font-size: 1.32rem; letter-spacing: -.01em; line-height: 1.25; }
.tl-org { color: var(--text); font-weight: 500; font-size: .92rem; display: block; margin: 4px 0 10px; }
.tl-body p { color: var(--muted); font-size: .95rem; max-width: 68ch; }

/* =========================================================
   TOOLKIT
   ========================================================= */
.toolkit__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.tk { padding-top: 18px; border-top: 1px solid var(--line); }
.tk h4 {
  font-family: var(--font); font-weight: 600; font-size: .95rem; letter-spacing: .1px; color: var(--text);
  margin-bottom: 14px; display: flex; align-items: center; gap: 9px;
}
.tk h4::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); flex: none; }
.tk ul { display: flex; flex-wrap: wrap; gap: 7px 16px; }
.tk li { font-size: .85rem; color: var(--muted); }

/* =========================================================
   GALLERY / FROM THE LAB
   ========================================================= */
.gallery__feature {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center;
  margin-bottom: 28px;
}
.gallery__video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.gallery__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.gallery__kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.gallery__cap h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; margin: 10px 0 12px; letter-spacing: -.3px; }
.gallery__cap p { color: var(--muted); font-size: .98rem; line-height: 1.7; margin-bottom: 12px; }
.gallery__tags { font-family: var(--mono); font-size: .76rem; color: var(--faint); letter-spacing: .02em; }
@media (max-width: 860px) { .gallery__feature { grid-template-columns: 1fr; } }
/* =========================================================
   CONTACT
   ========================================================= */
.contact { text-align: center; }
.contact__inner { max-width: 760px; margin: 0 auto; }
.contact .section__index { display: block; margin-bottom: 18px; }
.contact__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 6vw, 4rem); line-height: 1.06; letter-spacing: -.02em; }
.contact__title em { color: var(--accent); }
.contact__title-em { color: var(--accent); font-style: italic; }
.contact__sub { color: var(--muted); margin: 22px auto 30px; max-width: 540px; font-size: 1.05rem; }
.contact__email {
  display: inline-block; font-family: var(--display); font-size: clamp(1.3rem, 3.8vw, 2.3rem); font-weight: 500;
  color: var(--accent); overflow-wrap: anywhere;
  position: relative; margin-bottom: 40px;
}
.contact__email { text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--accent) 30%, transparent); text-underline-offset: 7px; transition: text-decoration-color .2s var(--ease), text-underline-offset .2s var(--ease); }
.contact__email:hover { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.contact__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact__note { color: var(--muted); margin: 36px auto 0; max-width: 540px; font-size: .98rem; line-height: 1.6; }
.contact__note a { color: var(--accent); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .25s; }
.contact__note a:hover { border-bottom-color: var(--accent); }

/* ---------- Footer ---------- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 40px clamp(20px,5vw,40px); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; position: relative; z-index: 2; }
.footer__top { font-family: var(--mono); font-size: .82rem; color: var(--muted); transition: color .25s; }
.footer__top:hover { color: var(--accent); }

/* =========================================================
   RESPONSIVE
   Breakpoints: 1100 (rail) · 1024 (tablet land) · 900 (tablet port / drawer)
                640 (large phone) · 420 (small phone) · landscape · touch
   ========================================================= */

/* Honour notch / rounded-corner safe areas on the fixed chrome.
   Only kicks in on devices that actually expose insets (notched phones in landscape). */
@supports (padding: max(0px)) {
  .nav, .nav.scrolled { padding-left: max(clamp(20px,5vw,56px), env(safe-area-inset-left)); padding-right: max(clamp(20px,5vw,56px), env(safe-area-inset-right)); }
  .footer { padding-left: max(clamp(20px,5vw,40px), env(safe-area-inset-left)); padding-right: max(clamp(20px,5vw,40px), env(safe-area-inset-right)); }
  .rail { right: max(26px, env(safe-area-inset-right)); }
}

/* Hide the right section-rail before it crowds the content */
@media (max-width: 1100px) {
  .rail { display: none; }
}

/* ---- Tablets, landscape ---- */
@media (max-width: 1024px) {
  .nav__links { gap: 22px; }
    .toolkit__cols { grid-template-columns: repeat(2, 1fr); }
  .pub { grid-template-columns: 74px 1fr; gap: 8px 20px; }
  .pub__links { grid-column: 2; margin-top: 4px; }
}

/* ---- Tablets, portrait → slide-in drawer nav ---- */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 6px; background: var(--bg-2); border-left: 1px solid var(--line);
    padding: max(90px, env(safe-area-inset-top)) clamp(28px, 7vw, 44px)
             max(40px, env(safe-area-inset-bottom)) clamp(28px, 7vw, 44px);
    transform: translateX(100%); transition: transform .45s var(--ease);
    z-index: 800; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav.open .nav__links { transform: translateX(0); box-shadow: -40px 0 90px -30px rgba(0,0,0,.55); }
  .nav__links a { font-size: 1.4rem; font-family: var(--display); color: var(--text); width: 100%; padding: 12px 0; }
  .nav__links a::after { left: -16px; bottom: auto; top: 50%; margin: -2px 0 0; }
  .nav__burger { display: flex; }
  .nav__resume { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__media { max-width: 440px; width: 100%; margin: 0 auto; }
  .about__photo { min-height: 0; aspect-ratio: 3 / 4; }
  .project-feature { grid-template-columns: 1fr; }
  .timeline { max-width: 100%; }
}

/* ---- Large phones ---- */
@media (max-width: 640px) {
  .section { padding: clamp(60px, 14vw, 96px) clamp(18px, 5vw, 24px); }
  .section__head { margin-bottom: clamp(32px, 9vw, 48px); }
  .toolkit__cols { grid-template-columns: 1fr; }
  .project-feature { gap: 26px; padding: 20px 0 28px; }
  .project-feature__media { aspect-ratio: 4 / 3; }
  .project-feature__link { width: 100%; justify-content: center; }
    .pub { grid-template-columns: 1fr; gap: 8px; padding: 24px 2px; }
  .pub__year { padding-top: 0; }
  .pub__links { grid-column: 1; margin-top: 8px; }
  .hero { min-height: 92svh; padding: 104px clamp(18px,5vw,24px) 56px; align-items: flex-start; }
  .hero__title { margin-bottom: 22px; }
  .hero__lede { margin-bottom: 26px; }
  /* let the two CTAs keep their natural size instead of stretching + wrapping mid-label */
  .hero__cta { width: 100%; gap: 12px; }
  .hero__cta .btn { flex: 0 1 auto; justify-content: center; }
  /* mobile crop + stronger scrim */
  .hero__photo img { object-position: 58% center; }
  .hero__scrim {
    background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 52%, transparent) 42%, color-mix(in srgb, var(--bg) 86%, transparent) 100%);
  }
  .footer { flex-direction: column; align-items: flex-start; text-align: left; }
  .about__badge { right: 8px; bottom: -12px; padding: 12px 14px; }
}

/* ---- Small phones ---- */
@media (max-width: 420px) {
      .nav__brand-text { display: none; }
  .contact__row { width: 100%; }
  .contact__row .btn { flex: 1 1 140px; justify-content: center; }
  .btn { padding: 14px 20px; }
  .thesis { padding: 22px 18px; }
}

/* ---- Short landscape (phones turned sideways) ---- */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: 0; padding-top: 96px; padding-bottom: 56px; }
  .nav__links { justify-content: flex-start; padding-top: 84px; gap: 2px; }
  .nav__links a { font-size: 1.1rem; padding: 9px 0; }
}

/* =========================================================
   TOUCH DEVICES - bigger targets, tap feedback, no stuck hovers
   ========================================================= */
@media (hover: none), (pointer: coarse) {
  /* ~44px minimum tap targets */
  .nav__burger, .theme-toggle { width: 44px; height: 44px; }
  .footer__top, .pub__links a, .hero__meta a, .thesis__link { padding-block: 6px; }

  /* no stuck hovers after a tap */
}

/* =========================================================
   Signature, rail
   ========================================================= */

/* About full name signature */
.about__hello { font-family: var(--mono); font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.about__signature {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.4px; line-height: 1.08;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 6px; font-weight: 500; color: var(--text);
}
.about__akamono { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--muted); margin-bottom: 26px; }

/* ---------- Section rail (right dots) ---------- */
.rail { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 850; display: flex; flex-direction: column; gap: 18px; --flown: 0px; }
/* planned trajectory: dashed line behind the waypoints */
.rail::before { content: ''; position: absolute; left: 50%; top: 5px; bottom: 5px; transform: translateX(-50%); border-left: 1.5px dashed var(--line-2); opacity: .7; }
/* flown path: solid line that grows to the active waypoint */
.rail::after { content: ''; position: absolute; left: 50%; top: 5px; width: 2px; height: var(--flown); transform: translateX(-50%); background: var(--accent); border-radius: 2px; transition: height .45s var(--ease); }
.rail a { position: relative; display: block; z-index: 1; }
.rail a span { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 1.6px solid var(--line-2); transition: transform .2s var(--ease), background-color .2s, border-color .2s; }
.rail a:hover span { border-color: var(--accent); transform: scale(1.25); }
.rail a.visited span { background: var(--accent-3); border-color: var(--accent-3); }
.rail a.is-active span { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) { .rail::after { transition: none; } }
.rail a::after {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(6px);
  font-family: var(--mono); font-size: .72rem; color: var(--text); white-space: nowrap; padding: 4px 9px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 7px; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.rail a:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 1100px) { .rail { display: none; } }




/* ---------- Thesis ---------- */
.thesis {
  position: relative; margin-bottom: clamp(36px, 5vw, 56px); padding: 4px 0 4px 22px;
}
.thesis::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 2px; background: var(--accent);
}
.thesis__badge {
  display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.thesis__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.25; letter-spacing: -.3px; }
.thesis__meta { margin-top: 8px; font-size: .9rem; color: var(--accent); font-weight: 500; }
.thesis__abs { margin-top: 14px; color: var(--muted); line-height: 1.7; max-width: 80ch; }
.thesis__link { display: inline-block; margin-top: 18px; color: var(--accent); font-weight: 600; }
.thesis__link:hover { text-decoration: underline; }

.pub-note {
  margin-top: clamp(28px, 4vw, 44px); padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--muted); line-height: 1.7; max-width: 760px;
}
.pub-note strong { color: var(--text); }
.pub-note a { color: var(--accent); font-weight: 600; }


/* topic labels: plain text separated by dots */
.pub__tags, .project-feature__tags { display: flex; flex-wrap: wrap; gap: 4px 0; }
.pub__tags span, .project-feature__tags span { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.pub__tags span + span::before, .project-feature__tags span + span::before { content: "·"; margin: 0 .7em; color: var(--accent); }

/* =========================================================
   Accessibility helpers
   ========================================================= */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-ink); font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* =========================================================
   Conference strip (IROS 2026)
   ========================================================= */
.meet { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.meet__inner {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 5vw, 56px) clamp(20px, 5vw, 40px);
  display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 5vw, 64px); align-items: center;
}
.meet__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.meet__title { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 12px; }
.meet__text > p:not(.meet__kicker) { color: var(--muted); max-width: 58ch; font-size: 1.02rem; }
.meet__actions { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; align-items: center; }
.meet__qr { text-align: center; }
.meet__qr img { width: 148px; height: 148px; border-radius: var(--radius-sm); background: #fff; padding: 6px; box-shadow: var(--shadow); }
.meet__qr figcaption { margin-top: 8px; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.meet__qr-open { display: none; }
@media (max-width: 720px) {
  .meet__inner { grid-template-columns: 1fr; }
  .meet__qr { display: none; }
  .meet__qr-open { display: inline-flex; }
}
.qr-dialog {
  margin: auto; border: none; border-radius: 14px; padding: 28px 28px 24px; text-align: center;
  background: #fff; color: #1B1726; max-width: min(92vw, 400px);
}
.qr-dialog::backdrop { background: rgba(8,8,12,.72); }
.qr-dialog img { width: min(76vw, 320px); height: auto; margin: 0 auto; }
.qr-dialog__name { font-family: var(--display); font-size: 1.4rem; font-weight: 500; margin-top: 10px; }
.qr-dialog__url { font-family: var(--mono); font-size: .8rem; color: #555; margin: 2px 0 18px; }
.qr-dialog .btn--solid { background: #1E6B50; color: #fff; }

/* =========================================================
   Research focus list
   ========================================================= */
.focus { list-style: none; border-top: 1px solid var(--line); }
.focus__item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(170px, 240px); gap: 8px 28px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.focus__icon { color: var(--accent); padding-top: 4px; }
.focus__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.focus__icon svg .dash { stroke-dasharray: 4 4; opacity: .6; }
.focus__body h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 8px; }
.focus__body p { color: var(--muted); font-size: .98rem; max-width: 66ch; }
.focus__link { font-family: var(--mono); font-size: .74rem; color: var(--muted); line-height: 1.6; padding-top: 8px; }
.focus__link a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.focus__link a:hover { border-bottom-color: var(--accent); }
.focus__link--next { color: var(--faint); }
@media (max-width: 760px) {
  .focus__item { grid-template-columns: 34px minmax(0, 1fr); }
  .focus__link { grid-column: 2; padding-top: 0; }
}

/* =========================================================
   BibTeX blocks
   ========================================================= */
.bib { margin-top: 16px; }
.bib summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-family: var(--mono); font-size: .76rem; color: var(--accent); padding: 4px 0;
}
.bib summary::-webkit-details-marker { display: none; }
.bib summary::before { content: "+"; display: inline-block; width: 1em; text-align: center; }
.bib[open] summary::before { content: "−"; }
.bib__box { position: relative; margin-top: 8px; max-width: 720px; }
.bib pre {
  font-family: var(--mono); font-size: .72rem; line-height: 1.6; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; overflow-x: auto; white-space: pre;
}
.bib__copy {
  position: absolute; top: 8px; right: 8px; font-family: var(--mono); font-size: .7rem;
  padding: 4px 10px; border-radius: 4px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text);
}
.bib__copy:hover { border-color: var(--accent); color: var(--accent); }

/* thesis now follows the paper list */
.pub-list + .thesis { margin-top: clamp(40px, 6vw, 64px); margin-bottom: 0; }
.pub__links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
@media (max-width: 1024px) { .pub__links { flex-direction: row; gap: 18px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Section heads: scale bar drawn once, like a plotter pen
   ========================================================= */
.section__head { position: relative; }
.section__head::before {
  content: ""; display: block; width: min(220px, 40%); height: 7px; margin-bottom: 18px;
  background:
    linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, var(--accent) 0 1.5px, transparent 1.5px 22px) left bottom / 100% 7px no-repeat;
  opacity: .8;
}
@media (prefers-reduced-motion: no-preference) {
  .js .section__head::before { clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--ease-io); }
  .js .section__head.drawn::before { clip-path: inset(0 0 0 0); }
}
.contact .section__head::before, .contact__inner::before { margin-left: auto; margin-right: auto; }

/* =========================================================
   Plain overrides: one font, no eyebrows, no ornaments
   ========================================================= */
.section__title, .hero__title, .contact__title, .meet__title, .about__signature,
.thesis__title, .project-feature__body h3, .gallery__cap h3, .focus__body h3, .pub__main h3, .tl-body h3 {
  font-family: var(--font); font-weight: 700; letter-spacing: -.02em;
}
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; }
.hero__lede { font-size: clamp(1.05rem, 1.9vw, 1.2rem); max-width: 600px; }
.contact__title { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
.meet__title { font-size: clamp(1.3rem, 2.8vw, 1.7rem); }
.about__signature { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.pub__main h3, .tl-body h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.focus__body h3, .gallery__cap h3 { font-size: 1.2rem; font-weight: 600; }
.thesis__title { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
.section__head { margin-bottom: 36px; }
.section__head::before { display: none; }
.section { padding-top: clamp(64px, 9vh, 110px); padding-bottom: clamp(64px, 9vh, 110px); }
.hero__meta, .hero__meta a, .tl-time, .pub__year, .pub__links a, .focus__link, .bib summary,
.thesis__badge, .demo figcaption, .demo__env, .pub__demos-label, .pub__award, .footer__top, .about__honor-verify {
  font-family: var(--font); letter-spacing: 0; text-transform: none;
}
.hero__meta { gap: 20px; font-size: .95rem; }
.thesis__badge { font-size: .9rem; color: var(--muted); }
.thesis::before { display: none; }
.thesis { padding-left: 0; }
.pub__demos-label { font-size: .9rem; color: var(--muted); }
.demo__env { font-size: .75rem; font-weight: 600; }
.pub__award { font-size: .85rem; }
.focus__link { font-size: .85rem; }
.focus__icon { display: none; }
.focus__item { grid-template-columns: minmax(0, 1fr) minmax(150px, 200px); }
@media (max-width: 760px) { .focus__item { grid-template-columns: 1fr; } .focus__link { grid-column: 1; } }
.nav__brand-text { font-family: var(--font); font-weight: 700; font-size: 1rem; }
.nav__links a::after { display: none; }
.nav__links a.active { color: var(--accent); }
.meet { background: var(--bg-2); }
.meet .pulse { display: none; }
.hero__tag-text { font-family: var(--font); font-size: .85rem; letter-spacing: 0; }
.about__photo { border-radius: 4px; }
.about__badge { display: none; }
.contact { text-align: left; }
.contact__inner { margin: 0; max-width: 680px; }
.contact__row { justify-content: flex-start; }
.contact__sub, .contact__note { margin-left: 0; }
.contact__email { font-family: var(--font); font-weight: 600; }
.footer { font-size: .85rem; }
.rail { display: none; }

.hero__title { margin-bottom: 10px; }
.hero__role { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text); font-weight: 500; margin-bottom: 22px; opacity: .9; }

.meet__qrs { display: flex; gap: 20px; }
.meet__qr img { width: 132px; height: 132px; }
.meet__qr figcaption { font-family: var(--font); font-size: .85rem; font-weight: 600; color: var(--text); }
@media (max-width: 720px) { .meet__qrs { display: none; } }
