/* WHITE / PEARL | Complete base stylesheet. No pasted overrides are needed.
   Required changes 1-4 live here. Optional effects live only in effects.css.
   Adjust the tokens below rather than adding repeated .btn or .timeline rules. */
:root {
  --bg: #ffffff;
  --ink: #101523;
  --muted: #53647c;
  --quiet: #64718a;
  --line: #e2e9f3;
  --blue: #69aaf6;
  --violet: #af85e9;
  --accent-ink: #385d9e;
  --shadow: 0 12px 36px rgba(80, 105, 149, .065);
  --max: 1240px;
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --contact-button-font-size: 17px;
  --publication-title-size: 24px;
  --publication-author-size: 17px;
  --publication-venue-size: 17px;
  --publication-figure-ratio: 5 / 3;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3, p { margin-top: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #5576be; outline-offset: 5px; }
::selection { color: var(--ink); background: #dfe8ff; }
.container { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 10px 20px; background: white; z-index: 100; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.section { padding: 84px 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-title { margin: 0; font-size: clamp(26px, 2.5vw, 34px); font-weight: 600; line-height: 1.3; letter-spacing: .065em; text-transform: uppercase; color: #293b58; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; color: #385d91; font-size: 16px; font-weight: 600; white-space: nowrap; }
.text-link:hover { color: #203e6d; }
.empty-state { margin: 0; padding: 22px 0; color: var(--muted); font-size: 17px; }

/* Header: no duplicate CV/contact callouts or role slogan. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(226,233,243,.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; padding-block: 8px; }
.brand-initials { font-size: 29px; font-weight: 700; letter-spacing: -.05em; }
.nav { display: flex; align-items: center; gap: 25px; }
.nav-link { position: relative; font-size: 16px; font-weight: 500; color: #34445e; white-space: nowrap; padding-block: 8px; }
.nav-link::after { content: ""; position: absolute; height: 2px; border-radius: 2px; left: 0; right: 100%; bottom: 2px; background: linear-gradient(90deg,var(--blue),var(--violet)); transition: right .2s; }
.nav-link:hover::after, .nav-link.is-current::after { right: 0; }
.menu-toggle { display: none; }

/* Hero: name, role, actual introduction, two actions, links, portrait. */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 52px 0 42px; background: linear-gradient(180deg,#fff 60%,#fbfdff); }
.hero-aura { position: absolute; z-index: -1; inset: -120px -60px 12% 25%; pointer-events: none; background: radial-gradient(ellipse at 60% 35%,rgba(188,215,255,.18),transparent 60%),radial-gradient(ellipse at 85% 55%,rgba(218,195,250,.10),transparent 54%); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 45px; min-height: 440px; }
.hero-without-photo { grid-template-columns: minmax(0,1fr); min-height: 0; }
.hero-copy { min-width: 0; padding: 24px 0 32px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(48px,5.3vw,74px); font-weight: 550; line-height: 1.08; letter-spacing: -.05em; }
.hero-role { margin: 0 0 22px; color: #40577a; font-size: 23px; font-weight: 500; letter-spacing: -.01em; }
.hero-subtitle { max-width: 650px; margin: 0 0 30px; font-size: 18px; line-height: 1.85; color: #53647d; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 23px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 13px 25px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.3; transition: box-shadow .2s, border-color .2s; }
.btn-primary { color: white; background: linear-gradient(125deg,#151e30,#25354e); box-shadow: 0 6px 16px #2639551a, inset 0 1px 1px #94a2b94d; }
.btn-secondary { color: #354c71; background: rgba(255,255,255,.92); border-color: #d9e3f2; box-shadow: 0 4px 14px #6378990a; }
.btn:hover { box-shadow: 0 9px 24px #344f7d24; }
.btn-secondary:hover { border-color: #acbfdf; }
.btn .icon { width: 20px; height: 20px; flex-basis: 20px; }
.is-disabled { cursor: default; opacity: .55; }
.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #e0e8f3; border-radius: 50%; background: rgba(255,255,255,.85); color: #405578; transition: border-color .2s, background .2s; }
.social-row a:hover { border-color: #b3c7e8; background: #f3f7ff; }
.hero-visual { position: relative; width: 100%; height: 450px; min-width: 0; --px: 0px; --py: 0px; }
.portrait-halo { position: absolute; width: 95%; aspect-ratio: 1; top: 1%; left: 1%; border-radius: 50%; background: radial-gradient(ellipse at 30% 70%,#dbedffcc,transparent 68%),radial-gradient(ellipse at 68% 22%,#e9dffcb0,transparent 70%); }
.portrait-frame {
  position: absolute;

  bottom: 0;
  left: 50%;

  height: 96%;
  width: auto;
  aspect-ratio: 939 / 1146;

  transform: translateX(-50%);

  z-index: 2;

  overflow: hidden;

  border-radius: 36px;

  /*
   * Hard rectangular edge 대신
   * 사진 외곽부가 배경으로 부드럽게 사라지도록 처리
   */
  -webkit-mask-image:
    radial-gradient(
      ellipse 103% 106% at 50% 46%,
      #000 0%,
      #000 78%,
      rgba(0, 0, 0, 0.95) 86%,
      rgba(0, 0, 0, 0.62) 94%,
      transparent 100%
    );

  mask-image:
    radial-gradient(
      ellipse 103% 106% at 50% 46%,
      #000 0%,
      #000 78%,
      rgba(0, 0, 0, 0.95) 86%,
      rgba(0, 0, 0, 0.62) 94%,
      transparent 100%
    );
}

.portrait-frame::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.06),
      transparent 18%,
      transparent 78%,
      rgba(255,255,255,.18)
    );

  box-shadow:
    inset 0 0 28px rgba(255,255,255,.12);
}

.hero-photo {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;
}

.portrait-cutout {
  border-radius: 36px;
}

.portrait-cutout .hero-photo {
  object-fit: cover;
  object-position: center top;
}

.portrait-framed {
  height: 96%;
  bottom: 0;

  border: 0;
  border-radius: 36px;

  box-shadow: none;
}
.portrait-mono .hero-photo { filter: grayscale(1); }

/* Research: 2x2 layout keeps long field names and short descriptions readable. */
.research-strip { position: relative; margin-top: 38px; }
.research-strip .section-heading { margin-bottom: 24px; }
.research-strip .section-title { font-size: clamp(25px,2.2vw,30px); }
.research-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.research-card { position: relative; display: flex; align-items: flex-start; gap: 20px; min-width: 0; min-height: 148px; padding: 27px 28px; border: 1px solid #dfe7f4; border-radius: 21px; background: linear-gradient(150deg,#ffffff,#f9fbff); box-shadow: 0 7px 22px #6d8db00a; }
.area-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; margin-top: 1px; border: 1px solid #dbe5f6; border-radius: 13px; background: #f6f9ff; color: #4b638d; }
.area-icon .icon { width: 23px; height: 23px; }
.research-copy { min-width: 0; }
.research-card h3 { margin: 0 0 9px; color: #1f304a; font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -.022em; }
.research-card p { margin: 0; font-size: 17px; line-height: 1.65; color: #53647d; }

/* About */
.about-grid, .resume-grid { display: grid; grid-template-columns: 270px minmax(0,1fr); align-items: start; gap: 55px; }
.about-copy p { margin: 0; max-width: 820px; font-size: 18px; line-height: 1.9; color: #4e6079; }
.about-copy .about-location { margin-top: 22px; font-size: 16px; color: #526681; }

/* Publications: primary research content. */
.selected-section { padding-block: 90px; border-block: 1px solid #e2eaf6; background: radial-gradient(ellipse at 2% 10%,#e7f2ff80,transparent 52%),radial-gradient(ellipse at 98% 85%,#f0e8ff73,transparent 50%),linear-gradient(135deg,#f8fbff,#fdfbff); }
.selected-section .section-heading { margin-bottom: 34px; }
.selected-section .section-title { font-size: clamp(28px,2.75vw,37px); color: #243a5b; }
.selected-list, .year-publications { display: grid; gap: 20px; min-width: 0; }
.publication-item { position: relative; min-width: 0; padding: 30px 32px; border: 1px solid #dce5f3; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px #475c8020; }
.publication-item.has-figure { display: grid; grid-template-columns: 248px minmax(0,1fr); align-items: center; gap: 32px; }
.publication-content { min-width: 0; }
.publication-title { margin: 0 0 14px; color: #101d32; font-size: var(--publication-title-size); font-weight: 650; line-height: 1.4; letter-spacing: -.021em; }
.publication-authors { margin-bottom: 9px; font-size: var(--publication-author-size); line-height: 1.8; color: #475b77; }
.publication-authors strong,
.publication-authors .author-self {
  padding: 0;

  color: #7061e8;
  background: none;

  font-weight: 750;

  border-radius: 0;

  text-shadow:
    0 0 10px rgba(105, 170, 246, 0.16),
    0 0 16px rgba(175, 133, 233, 0.10);

  -webkit-box-decoration-break: initial;
  box-decoration-break: initial;
}
.publication-venue { margin: 0; font-size: var(--publication-venue-size); line-height: 1.7; font-weight: 600; color: #344f7b; }
.publication-award { margin: 10px 0 0; color: #654b88; font-size: 15px; font-weight: 600; }
.pub-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }
.publication-link { display: inline-flex; align-items: center; gap: 8px; min-height: 41px; padding: 8px 14px; border: 1px solid #cfdced; border-radius: 9px; background: linear-gradient(135deg,#f5faff,#faf7ff); color: #365889; font-size: 15px; font-weight: 600; line-height: 1.45; transition: border-color .2s, background .2s; }
.publication-link:hover { border-color: #92add3; background: #eaf2ff; }
.publication-link .icon { width: 16px; height: 16px; flex-basis: 16px; }

/* Framed figures: 5:3, contained, never stretched/cropped. Static depth is in both versions. */
.publication-figure { position: relative; display: block; width: 100%; aspect-ratio: var(--publication-figure-ratio); padding: 9px; border: 1px solid #cedbf0; border-radius: 13px; background: #fff; box-shadow: 0 8px 0 -5px #dce5f3, 0 18px 27px -14px #38517450, inset 0 1px 0 #fff; }
.publication-figure img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 6px; }
.publication-figure:hover { border-color: #9bb4dc; }

/* Full publications page: year grouping stays; per-card year/type text is removed. */
.publications-hero { padding: 66px 0 40px; background: radial-gradient(ellipse at 88% 0,#e8ddfb66,transparent 58%); }
.publications-hero .section-title { font-size: clamp(34px,4vw,52px); }
.publications-main { padding: 0 0 85px; }
.publication-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #dfe7f2; margin-bottom: 34px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { min-height: 44px; padding: 9px 19px; border: 1px solid transparent; border-radius: 999px; background: transparent; font-size: 16px; font-weight: 550; color: #50617d; cursor: pointer; }
.filter-btn.active { border-color: #cedaf0; background: linear-gradient(110deg,#edf5ff,#f4edff); color: #304f81; }
.filter-btn:hover { color: #203d6a; }
.pub-count { margin: 0; color: #526581; font-size: 15px; white-space: nowrap; }
.pub-year-group { display: grid; grid-template-columns: 85px minmax(0,1fr); align-items: start; gap: 28px; margin-bottom: 40px; }
.year-marker { padding-top: 20px; }
.year-marker h2 { margin: 0; color: #49658e; font-size: 27px; font-weight: 600; letter-spacing: -.02em; }
.year-publications .publication-item.has-figure { grid-template-columns: 218px minmax(0,1fr); gap: 26px; }

/* Projects: keep the approved wide logo row and corner role badge. */
.project-list { display: grid; gap: 20px; }
.project-card { position: relative; min-width: 0; padding: 32px 36px 34px; border: 1px solid #dce5f1; border-radius: 22px; background: radial-gradient(ellipse at 97% 0,#eee5ff50,transparent 36%),linear-gradient(135deg,#fff,#fcfdff); box-shadow: 0 10px 30px #364e750c; }
.project-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.project-logo-shell { display: flex; align-items: center; justify-content: flex-start; width: 230px; max-width: 48%; height: 76px; min-width: 0; }
.project-logo-shell:empty { width: 0; height: 0; }
.project-logo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.project-role-badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 1 auto; max-width: 100%; min-height: 40px; padding: 8px 15px; border: 1px solid #cfbdeb; border-radius: 999px; background: linear-gradient(135deg,#eaf3ff,#efe7fc); color: #59447f; font-size: 14px; font-weight: 650; line-height: 1.5; text-align: center; }
.project-title { margin: 0; color: #162237; font-size: 23px; font-weight: 600; line-height: 1.4; letter-spacing: -.021em; }
.project-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 11px; margin-top: 11px; color: #526681; font-size: 15px; line-height: 1.65; }
.project-period { font-variant-numeric: tabular-nums; white-space: nowrap; }
.project-meta-divider { color: #72819b; }
.project-organization { min-width: 0; }
.project-summary { margin: 17px 0 0; max-width: 1050px; color: #4c5e77; font-size: 17px; line-height: 1.8; }
.project-area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 21px 0 0; padding: 0; }
.project-area { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 13px; border: 1px solid #dce5f2; border-radius: 9px; background: #f6f9fe; color: #425978; font-size: 14px; font-weight: 550; line-height: 1.5; }

/* Experience and Education: same typography, GPA is plain text. */
.timeline { position: relative; border-left: 1px solid #d7e0ef; padding-left: 32px; }
.timeline-item { position: relative; padding: 0 0 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -37px; top: 7px; width: 9px; height: 9px; border: 2px solid #a5b8da; border-radius: 50%; background: #fff; }
.timeline-period { margin: 0 0 9px; color: #536985; font-size: 16px; font-weight: 550; line-height: 1.6; font-variant-numeric: tabular-nums; }
.timeline-item h3 { margin: 0 0 6px; color: #19273f; font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.timeline-org { margin: 0; color: #475e7d; font-size: 17px; font-weight: 500; line-height: 1.7; }
.timeline-gpa { display: block; width: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; margin: 7px 0 0; color: #52647d; font: 500 16px/1.6 var(--font); font-variant-numeric: tabular-nums; }
.timeline-item ul { margin: 13px 0 0; padding-left: 20px; color: #52647d; font-size: 16px; }
.timeline-item li + li { margin-top: 5px; }
.education-section { padding-top: 32px; }

/* Contact: independent scoped button rule prevents tiny mobile button text. */
.contact-section { padding-top: 32px; padding-bottom: 70px; }
.contact-card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 38px; padding: 38px 42px; border: 1px solid #dee7f4; border-radius: 24px; background: linear-gradient(110deg,#fafcff,#faf7ff); }
.contact-copy { min-width: 0; }
.contact-card .section-title { margin-bottom: 20px; }
.contact-card p { margin: 0; max-width: 690px; color: #50627c; font-size: 17px; line-height: 1.8; }
.contact-right { display: flex; flex-direction: column; align-items: center; gap: 17px; flex: 0 0 auto; }
.contact-card .contact-right .contact-button { min-height: 56px; padding: 14px 28px; font-size: var(--contact-button-font-size); font-weight: 650; line-height: 1.3; }
.contact-socials a { width: 42px; height: 42px; }
.site-footer { border-top: 1px solid #e7edf6; }
.footer-inner { display: flex; align-items: center; gap: 24px; min-height: 82px; padding-block: 14px; color: #586981; font-size: 15px; }
.footer-name { font-weight: 600; }
.footer-copy { margin-left: auto; }
.back-top { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #e2e9f4; border-radius: 50%; color: #4c658d; }
.back-top .icon { transform: rotate(-90deg); }
.error-page { min-height: 60vh; padding-block: 60px; }
.error-page h1 { font-size: 44px; }
.error-page p { color: var(--muted); }

/* Responsive rules are consolidated; no repeated component overrides. */
@media (max-width: 1150px) {
  .container { width: calc(100% - 56px); }
  .nav { gap: 18px; }
  .nav-link { font-size: 15px; }
  .hero-grid { gap: 28px; }
  .hero-visual { height: 410px; }
  .about-grid, .resume-grid { grid-template-columns: 235px minmax(0,1fr); gap: 35px; }
  .publication-item.has-figure, .year-publications .publication-item.has-figure { grid-template-columns: 200px minmax(0,1fr); gap: 26px; }
  .publication-title { font-size: 23px; }
}
@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; gap: 0 24px; min-height: 76px; }
  .nav { width: 100%; flex-wrap: wrap; padding: 10px 0 20px; gap: 10px 22px; }
  .nav-link { font-size: 16px; }
  .js .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid #e3eaf4; border-radius: 12px; background: #fff; margin-left: auto; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 21px; height: 2px; background: #4b607f; border-radius: 2px; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .hero h1 { font-size: clamp(44px,6vw,60px); }
  .hero-subtitle { font-size: 17px; }
  .research-card { gap: 16px; padding: 24px; }
  .research-card h3 { font-size: 21px; }
  .about-grid, .resume-grid { grid-template-columns: 210px minmax(0,1fr); gap: 30px; }
  .pub-year-group { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .year-marker { padding: 0; }
  .project-card { padding: 29px 30px; }
  .contact-card { padding: 30px; gap: 28px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 92px; }
  .container { width: calc(100% - 40px); }
  .hero { padding-top: 30px; }
  .hero-grid { gap: 20px; grid-template-columns: minmax(0,1fr); }
  .hero-copy { padding: 15px 0 0; }
  .hero h1 { font-size: clamp(44px,8.8vw,64px); }
  .hero-visual { height: 340px; width: min(350px,100%); margin: 6px auto 0; }
  .hero-subtitle { max-width: 650px; }
  .research-strip { margin-top: 34px; }
  .research-grid { gap: 16px; }
  .research-card { flex-direction: column; gap: 15px; padding: 24px; }
  .research-card h3 { font-size: 20px; }
  .research-card p { font-size: 16px; }
  .section { padding-block: 58px; }
  .section-title { font-size: 28px; }
  .section-heading { flex-wrap: wrap; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
  .selected-section .section-title { font-size: 30px; }
  .about-grid, .resume-grid { grid-template-columns: minmax(0,1fr); gap: 27px; }
  .about-copy p { font-size: 17px; }
  .publication-item { padding: 27px; }
  .publication-item.has-figure, .year-publications .publication-item.has-figure { grid-template-columns: 180px minmax(0,1fr); gap: 24px; }
  .publication-title { font-size: 22px; }
  .project-logo-shell { width: 205px; height: 68px; }
  .project-role-badge { font-size: 14px; padding: 7px 13px; }
  .project-title { font-size: 22px; }
  .project-summary { font-size: 16px; }
  .project-meta { font-size: 15px; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .contact-right { align-items: flex-start; max-width: 100%; }
  .education-section, .contact-section { padding-top: 22px; }
  .publications-hero { padding: 42px 0 28px; }
  .publication-toolbar { flex-wrap: wrap; gap: 15px; }
}
@media (max-width: 600px) {
  .research-grid { grid-template-columns: minmax(0,1fr); }
  .research-card { flex-direction: row; min-height: 126px; padding: 23px; }
  .publication-item.has-figure, .year-publications .publication-item.has-figure { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .publication-figure { width: min(280px,100%); }
  .publication-authors { font-size: 16px; }
  .publication-venue { font-size: 16px; }
  .publication-link { font-size: 15px; }
  .project-card { padding: 24px; }
  .project-brand-row { gap: 18px; flex-wrap: wrap; }
  .project-logo-shell { width: 210px; max-width: 100%; height: 65px; }
  .project-role-badge { margin-left: auto; }
  .project-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
  .project-meta-divider { display: none; }
  .project-area { font-size: 14px; }
  .timeline-org { font-size: 16px; }
  .timeline-gpa { font-size: 15px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .hero h1 { font-size: 43px; }
  .hero-role { font-size: 21px; }
  .btn { padding-inline: 20px; }
  .section-title, .research-strip .section-title { font-size: 25px; }
  .selected-section .section-title { font-size: 27px; }
  .research-card { padding: 21px 18px; gap: 14px; }
  .area-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .research-card h3 { font-size: 20px; }
  .publication-item { padding: 24px 20px; }
  .project-card { padding: 22px 20px; }
  .contact-card { padding: 26px 22px; }
  .filter-btn { padding-inline: 13px; font-size: 15px; }
  .footer-inner { gap: 15px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .hero-visual, .hero-aura, .filter-bar, .social-row { display: none !important; }
  .container { width: 100%; }
  body { font-size: 11pt; }
  .section { padding-block: 22px; }
  .hero-grid, .about-grid, .resume-grid, .pub-year-group { display: block; }
  .publication-item, .project-card, .research-card, .timeline-item { break-inside: avoid; box-shadow: none; }
  .publication-figure { box-shadow: none; }
  .selected-section { background: white; }
}

/* =========================================================
   Final Surface Tone
   ========================================================= */

/* Research cards */
.research-card {
  border-color: #e8edf5;

  background:
    radial-gradient(
      circle at 94% 8%,
      rgba(105, 170, 246, 0.025),
      transparent 34%
    ),
    rgba(255,255,255,.99);

  box-shadow:
    0 7px 22px rgba(63, 84, 116, 0.025);
}

.area-icon {
  border-color: #e7ecf3;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #fafbff
    );

  color: #526987;
}


/* Project cards */
.project-card {
  border-color: #e7ecf4;

  background:
    radial-gradient(
      ellipse at 97% 0,
      rgba(175, 133, 233, 0.018),
      transparent 38%
    ),
    radial-gradient(
      ellipse at 4% 100%,
      rgba(105, 170, 246, 0.016),
      transparent 34%
    ),
    #ffffff;

  box-shadow:
    0 7px 22px rgba(56, 76, 107, 0.026);
}


/* Project tags */
.project-area {
  border-color: #e5eaf2;

  background:
    rgba(250,252,255,.86);

  color: #52627a;

  box-shadow: none;
}


/* Project role badge */
.project-role-badge {
  border-color: #e2dcef;

  background:
    linear-gradient(
      135deg,
      #fbfdff,
      #fbf9ff
    );

  color: #65577d;

  box-shadow: none;
}


/* Publication title: large but not bold */
.publication-title {
  font-weight: 500;
}