/* Research page redesign — standalone preview (scoped and appended to existing website styles). */
:root{--rp-forest:#234437;--rp-green:#718f79;--rp-fuchsia:#b56a8a;--rp-line:#d8e3d3;--rp-bg:#fbfaf0}
body{background:#fbfaf0}
.research-shell{display:grid;grid-template-columns:214px minmax(0,1fr);column-gap:52px;align-items:start;max-width:1160px;margin:0 auto;padding:35px 30px 20px}
.research-toc{position:sticky;top:96px;padding-top:23px;align-self:start;max-height:calc(100vh - 112px);overflow:auto;scrollbar-width:thin}
.toc-title{font-size:10px;font-weight:700;letter-spacing:.18em;color:#788879;margin-bottom:17px;white-space:nowrap}
.toc-links{display:block;border-top:1px solid var(--rp-line)}
.toc-link{display:flex;gap:12px;align-items:baseline;text-decoration:none;border-bottom:1px solid var(--rp-line);padding:13px 3px;font-size:13px;font-weight:600;line-height:1.4;color:#254d3b;transition:color .16s,background-color .16s,padding-left .16s}
.toc-link:hover,.toc-link.active{color:#a15178;background:#f7f0ef;padding-left:8px}
.toc-number{font-size:10px;font-weight:700;color:#b48394;letter-spacing:.05em;min-width:21px;flex:none}
.research-main{min-width:0;max-width:800px}
.research-main>section{scroll-margin-top:102px}
.research-main .pagehead{padding:38px 0 27px;max-width:100%}
.research-main .pagehead h1{font-size:clamp(48px,5.45vw,74px);line-height:1.075;margin:15px 0 0;letter-spacing:-.07em}
.research-main .pagehead>span{color:#6e927b;font-weight:700}
.research-illustration{display:flex;justify-content:center;align-items:center;margin:1px 0 21px;padding:0;background:transparent;border:0;border-radius:0}
.research-illustration img{display:block;width:min(100%,410px);height:auto;margin:0;object-fit:contain}
.research-prose{max-width:735px;color:#344f42;font-size:16px;line-height:1.8}
.research-prose p{margin:0 0 18px}
.research-description{padding:9px 0 12px}
.research-description h2{font-size:29px;letter-spacing:-.045em;line-height:1.24;margin:18px 0 11px;color:#254b3a}
.research-description p{font-size:16px;line-height:1.75;max-width:720px;margin:0 0 22px;color:#435c4e}
.research-box-section{padding-top:23px;padding-bottom:30px}
.research-section-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:#729080;font-weight:800;margin:0 0 16px}
.research-box-section .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.research-box-section .tile{min-height:276px;padding:19px 14px}
.research-box-section .tile h3{font-size:19px;line-height:1.15;letter-spacing:-.045em;margin:17px 0 10px}
.research-box-section .tile p{font-size:12px;line-height:1.5}
.research-box-section .tile .index{font-size:11px}
.section-divider{border:0;border-top:1px solid #d4dfd0;margin:27px 0 0}
.bibliography-section{padding-top:30px}
.research-main .publication-title{font-size:clamp(37px,4.5vw,58px);line-height:1.15;letter-spacing:-.065em;margin:11px 0 11px}
.publication-subtext{font-size:15px;line-height:1.65;color:#6b7d71;max-width:670px;margin:0 0 28px}
.pub-section-heading{display:flex;justify-content:space-between;align-items:end;gap:14px;border-bottom:1px solid #c9d8cc;padding-bottom:14px;margin:24px 0 3px}
.pub-section-heading h2{font-size:24px;letter-spacing:-.045em;margin:0;color:#2e513f}
.pub-section-heading span{font-size:11px;color:#809080;white-space:nowrap}
.pubrow,.conference-row{display:grid;grid-template-columns:57px minmax(0,1fr);gap:16px;border-bottom:1px solid #dce4d7;padding:15px 0 16px}
.pub-year{font-size:12px;letter-spacing:.035em;font-weight:800;color:#b56a8a;padding-top:3px}
.pub-info h3{font-size:15px;line-height:1.43;letter-spacing:-.015em;font-weight:700;margin:0 0 6px;color:#244b39}
.pub-authors{font-size:12px;line-height:1.5;margin:0 0 5px;color:#4e6758}
.pub-venue{font-size:12px;line-height:1.55;margin:0;color:#667a6d}
.pub-venue cite{font-style:italic;color:#526e5d}
.pub-separator{padding:0 3px;color:#9aaa9e}
.doi-link{text-decoration:underline;text-decoration-color:#d7acbb;text-underline-offset:3px;color:#9a5075;font-weight:700;white-space:nowrap}
.doi-link:hover{color:#713052}
.conference-section{padding-top:48px;padding-bottom:36px}
.conference-section h2{font-size:clamp(30px,3.2vw,40px);line-height:1.25;letter-spacing:-.05em;margin:12px 0 11px}
.conference-section>.publication-subtext{margin-bottom:20px}
.conference-row .pub-info h3{font-size:14px}
.research-main a:focus-visible,.research-toc a:focus-visible{outline:2px solid #b86f92;outline-offset:3px}
footer{margin-top:36px}
.preview-note{font-size:11px;color:#8a9a8c;border-bottom:1px solid #e8ebdf;padding:8px 25px;text-align:center;background:#f0f3e9;letter-spacing:.015em}
@media(max-width:1100px){.research-shell{grid-template-columns:195px minmax(0,1fr);column-gap:36px}.research-box-section .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.research-box-section .tile{min-height:195px;padding:20px 22px}.research-box-section .tile h3{font-size:21px}.research-box-section .tile p{font-size:13px}}
@media(max-width:800px){.research-shell{display:block;padding:22px 25px}.research-toc{position:static;overflow:visible;padding:10px 0 20px;max-height:none}.toc-title{margin:0 0 12px}.toc-links{display:flex;flex-wrap:wrap;overflow:visible;gap:8px;border:0;background:transparent}.toc-link{border:1px solid #d8e2d6;border-radius:7px;background:#f2f4ec;white-space:normal;padding:9px 10px;gap:8px;font-size:12px;flex:none}.toc-link:last-child{border:1px solid #d8e2d6}.toc-number{font-size:11px;min-width:auto}.research-main{max-width:none}.research-main .pagehead{padding-top:20px}.research-illustration img{max-width:390px}}
@media(max-width:620px){.research-shell{padding:14px 18px 0}.research-main .pagehead h1{font-size:clamp(40px,11vw,57px)}.research-illustration{padding:0;margin:3px 0 23px}.research-illustration img{width:min(100%,315px)}.research-prose,.research-description p{font-size:15px}.research-description h2{font-size:26px}.research-box-section .cards{grid-template-columns:1fr}.research-box-section .tile{min-height:0;padding:20px}.research-box-section .tile h3{font-size:21px}.research-box-section .tile p{font-size:13px}.pubrow,.conference-row{grid-template-columns:43px minmax(0,1fr);gap:10px;padding:15px 0}.pub-info h3{font-size:14px}.pub-section-heading{align-items:start}.pub-section-heading h2{font-size:22px}.research-main .publication-title{font-size:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.toc-link{transition:none}}


/* Research & publications v3 / CV-inspired composition.  All overrides are
   scoped so the offline page retains the live site's existing global styles. */
.research-page-v3 { color:#234437; }
.research-page-v3 .research-top-v3 {
  max-width:1100px; padding:72px 0 47px;
}
.research-page-v3 .research-top-v3>span {
  font-size:11px; text-transform:uppercase; letter-spacing:.18em;
  color:#698572; font-weight:700;
}
.research-page-v3 .research-top-v3 h1 {
  font-size:clamp(54px,7.2vw,94px);
  letter-spacing:-.075em; line-height:1.05;
  font-weight:750; margin:18px 0 23px;
  white-space:normal;
}
.research-page-v3 .research-top-v3 h1 em {
  font-family:Georgia, 'Times New Roman', serif;
  color:#be628e; font-style:italic; font-weight:400;
  letter-spacing:-.065em;
}
.research-page-v3 .research-top-v3 p {
  max-width:930px; margin:0; font-size:clamp(18px,1.7vw,21px);
  line-height:1.55; color:#244b3a; letter-spacing:-.015em;
}
.research-page-v3 .research-shell {
  max-width:100%; width:100%; margin:0;
  display:grid; grid-template-columns:204px minmax(0,1fr);
  column-gap:clamp(30px,4.5vw,62px);
  align-items:start; padding:0 0 55px;
}
.research-page-v3 .research-toc {
  position:sticky; top:96px; padding-top:28px;
  max-height:calc(100vh - 103px); overflow-y:auto;
}
.research-page-v3 .toc-title { font-size:10px; margin-bottom:17px; }
.research-page-v3 .toc-link {
  font-size:13px; padding:13px 3px; border-color:#dce4d9;
}
.research-page-v3 .research-main { max-width:none; width:100%; min-width:0; }
.research-page-v3 .research-main>section { scroll-margin-top:94px; }
.research-page-v3 #research { padding:18px 0 25px; }
.research-page-v3 #research::after { content:''; display:table; clear:both; }
.research-page-v3 .research-prose {
  max-width:none; color:#344e40;
  font-size:clamp(15.5px,calc(1.43vw - 0.5px),17.5px); line-height:1.75;
}
.research-page-v3 .research-prose p { margin:0 0 19px; }
.research-page-v3 .research-illustration {
  display:block; float:right;
  width:clamp(269px,42.5%,394px); max-width:47.5%;
  margin:0 -5px 19px 26px; padding:0;
  shape-outside:inset(0 round 8px); background:transparent;
}
.research-page-v3 .research-illustration img {
  display:block; width:100%; max-width:100%; height:auto;
  object-fit:contain; border:0; border-radius:0;
}
.research-page-v3 .research-description { clear:both; }
.research-page-v3 .research-aside-contact-v3 {
  margin-top:26px; padding:18px 19px;
  border-radius:13px; background:#edf0e5;
  border:1px solid #e0e7d9;
}
.research-page-v3 .research-aside-contact-v3>span {
  font-size:10px; font-weight:700; letter-spacing:.14em; color:#718575;
}
.research-page-v3 .research-aside-contact-v3 p {
  font-size:13px; line-height:1.5; margin:9px 0 8px; color:#405c4b;
}
.research-page-v3 .research-aside-contact-v3 a {
  font-size:13px; font-weight:700; text-decoration:underline;
  text-underline-offset:4px; color:#a34c73;
}
.research-page-v3 .research-aside-contact-v3 a span { margin-left:2px; }
.research-page-v3 .research-aside-contact-v3 a:focus-visible {
  outline:2px solid #b35177; outline-offset:4px;
}
/* Breakpoints preserve the CV sidebar on laptops, then turn it into a
   compact jump-link bar on narrow devices. */
@media(max-width:1000px) {
  .research-page-v3 .research-shell {
    grid-template-columns:183px minmax(0,1fr); gap:30px;
  }
  .research-page-v3 .research-illustration { width:clamp(256px,45%,344px); margin-left:18px; }
  .research-page-v3 .research-prose { font-size:15.5px; }
}
@media(max-width:800px) {
  .research-page-v3 .research-shell {
    display:grid; grid-template-columns:170px minmax(0,1fr);
    gap:23px; padding:0 0 38px;
  }
  .research-page-v3 .research-toc {
    position:sticky; top:80px; overflow-y:auto;
    padding:20px 0 0; max-height:calc(100vh - 85px);
  }
  .research-page-v3 .toc-links { display:block; border-top:1px solid #dce4d9; }
  .research-page-v3 .toc-link {
    border:0; border-bottom:1px solid #dce4d9; border-radius:0;
    background:transparent; white-space:normal; padding:13px 3px;
  }
  .research-page-v3 .toc-link:last-child { border:0; border-bottom:1px solid #dce4d9; }
  .research-page-v3 .research-illustration { width:256px; max-width:60%; margin-left:12px; }
  .research-page-v3 .research-box-section .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:710px) {
  .research-page-v3 .research-top-v3 { padding:47px 0 28px; }
  .research-page-v3 .research-top-v3 h1 { font-size:clamp(44px,9vw,68px); }
  .research-page-v3 .research-top-v3 p { font-size:17px; }
  .research-page-v3 .research-shell { display:block; padding-bottom:35px; }
  .research-page-v3 .research-toc {
    position:static; overflow:visible; padding:6px 0 23px;
    max-height:none; margin:0;
  }
  .research-page-v3 .toc-title { margin-bottom:10px; }
  .research-page-v3 .toc-links {
    display:flex; flex-wrap:wrap; gap:8px;
    border:0; overflow:visible;
  }
  .research-page-v3 .toc-link,
  .research-page-v3 .toc-link:last-child {
    border:1px solid #d8e2d6; border-radius:7px;
    background:#f2f4ec; padding:9px 10px; font-size:12px;
  }
  .research-page-v3 .toc-link:hover,
  .research-page-v3 .toc-link.active { padding-left:10px; }
  .research-page-v3 .research-aside-contact-v3 { display:none; }
  .research-page-v3 #research { padding-top:10px; }
  .research-page-v3 .research-illustration {
    width:clamp(219px,48.75%,294px); max-width:57.5%;
    margin:3px 0 13px 12px;
  }
}
@media(max-width:440px) {
  .research-page-v3 .research-top-v3 h1 { font-size:clamp(39px,10vw,48px); }
  .research-page-v3 .research-illustration { float:none; width:min(85%,306px); max-width:100%; margin:0 auto 20px; }
  .research-page-v3 .research-prose { font-size:14.5px; line-height:1.67; }
  .research-page-v3 .research-box-section .cards { grid-template-columns:1fr; }
}

/* Highlight Ahmet Su as an author while retaining the compact citation layout. */
.research-page-v3 .pub-authors strong { color:#254b3a; font-weight:750; }


/* Research & Publications — layout refinements (2026-10-26)
   Keep the previously approved typography, section labels, publication list,
   sidebar behavior and graphic asset unchanged. */

/* Let a few words flow into the empty corners surrounding the cogs, without
   allowing them to overlap the visible artwork. Position the artwork a touch
   lower to improve its vertical balance beside the introductory copy. */
.research-page-v3 .research-illustration {
  shape-outside: polygon(
    44% 0%, 100% 0%, 100% 100%, 49% 100%,
    47% 93%, 40% 85%, 33% 80%, 21% 72%,
    10% 65%, 6% 58%, 0% 52%, 0% 40%,
    4% 32%, 12% 28%, 19% 23%, 22% 17%,
    24% 12%, 24% 7%
  );
  shape-margin:9px;
  margin-top:16px;
  margin-left:15px;
  margin-bottom:12px;
}

/* About 20% less gap immediately before each description heading. */
.research-page-v3 #research { padding-bottom:11px; }
.research-page-v3 .research-description { padding-bottom:7px; }
.research-page-v3 .research-description p { margin-bottom:15px; }

/* Keep the four tiles comfortable, with 10–20% less unused bottom room.
   Also reduce the gap from the tiles to the following publication section. */
.research-page-v3 .research-box-section .tile {
  min-height:266px;
  padding-bottom:16px;
}
.research-page-v3 .research-box-section { padding-bottom:25px; }
.research-page-v3 .section-divider { margin-top:22px; }

@media(max-width:1100px) and (min-width:711px) {
  .research-page-v3 .research-box-section .tile { min-height:195px; }
}
@media(max-width:710px) {
  .research-page-v3 .research-illustration {
    margin-top:6px;
    margin-left:10px;
  }
}
@media(max-width:440px) {
  .research-page-v3 .research-illustration {
    shape-outside:none;
    margin:0 auto 20px;
  }
  .research-page-v3 .research-box-section .tile { min-height:0; }
}
