/* =================================================================
   UNIQUE / TIDAL POOL — ORIGINAL VISUAL SYSTEM
   Pastel blue + mint, editorial type, asymmetric layouts.
   Palette inspired by the user's selected blue-green color family.
   ================================================================= */
:root {
  color-scheme: light;
  --turquoise:#00CEC8;
  --mint:#24EDAA;
  --leaf:#79DB70;
  --blue:#008FD1;
  --navy:#153E54;
  --ink:#193D4B;
  --body:#355969;
  --muted:#708895;
  --paper:#f8fcfa;
  --pale:#e5f8f4;
  --pale-blue:#dff3fc;
  --line:#d9ebe7;
  --white:#fff;
  --sans:'DM Sans',Arial,sans-serif;
  --display:'Manrope',Arial,sans-serif;
}
* {box-sizing:border-box;}
html,body {margin:0; min-height:100%;}
body {font-family:var(--sans); color:var(--ink); background:radial-gradient(circle at 0 0,#d4f8ee 0,transparent 42%),radial-gradient(circle at 100% 100%,#caecff 0,transparent 45%),#edf5f4; min-height:100dvh; display:grid;place-items:center;padding:18px;}
button,input {font:inherit;}
button {cursor:pointer;}
a {color:inherit;}
button:focus-visible,a:focus-visible {outline:3px solid var(--blue);outline-offset:3px;}
.deck {position:relative;isolation:isolate;overflow:hidden;width:min(1480px,100%);height:min(900px,calc(100dvh - 36px));min-height:725px;border-radius:24px;background:radial-gradient(circle at 98% 5%,rgba(0,206,200,.08),transparent 23%),radial-gradient(circle at 0% 100%,rgba(0,143,209,.09),transparent 34%),var(--paper);box-shadow:0 26px 85px rgba(20,80,79,.17),0 0 0 1px rgba(255,255,255,.8) inset;}
.deck::before {content:'';position:absolute;z-index:-1;pointer-events:none;right:-110px;top:125px;width:310px;height:310px;border:1px solid rgba(0,143,209,.08);border-radius:50%;box-shadow:0 0 0 36px rgba(0,143,209,.017),0 0 0 72px rgba(0,143,209,.01);}
.header {height:81px;padding:0 55px;display:flex;align-items:center;gap:28px;position:relative;z-index:5;border-bottom:1px solid rgba(23,108,113,.07);}
.wordmark {display:flex;align-items:center;gap:9px;flex:0 0 auto;border:0;background:transparent;padding:0;color:var(--navy);font:800 20px/1 var(--display);letter-spacing:-.9px;}
.wordmark-dot {color:var(--blue);font-size:19px;margin-left:1px;}
.mark-icon {height:31px;width:31px;background:linear-gradient(135deg,var(--turquoise),var(--blue));color:white;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font-size:19px;letter-spacing:-1px;padding-bottom:3px;}
.mark-icon span {color:#aaffcb;}
.nav {display:flex;align-items:center;gap:2px;flex:1;min-width:0;overflow:auto hidden;scrollbar-width:none;white-space:nowrap;padding:8px 1px;}
.nav::-webkit-scrollbar {display:none;}
.nav-button {flex:none;border:0;background:transparent;color:#57717c;padding:11px 11px;border-radius:10px;font-size:11.2px;font-weight:600;transition:color .18s,background .18s;}
.nav-button:hover {color:var(--blue);background:rgba(0,143,209,.07);}
.nav-button.active {color:#006c83;background:#d9f5ee;font-weight:800;}
.header-next {flex:none;border:1px solid #b9e5e1;background:white;border-radius:11px;width:39px;height:39px;color:var(--blue);font-size:21px;font-weight:700;}
.header-next:disabled {opacity:.32;cursor:default;}
.slide-stage {height:calc(100% - 149px);margin:0 58px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#cbe5e4 transparent;position:relative;z-index:2;}
.slide {display:none;min-height:100%;height:auto;padding:25px 0 17px;animation:slideIn .37s both;}
.slide.is-active {display:flex;flex-direction:column;}
@keyframes slideIn {from{opacity:.25;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.section-heading {margin-bottom:24px;flex:none;}
.section-topline {display:flex;align-items:center;gap:16px;margin-bottom:9px;}
.section-label {font-size:10px;letter-spacing:.18em;color:#2c9192;font-weight:800;text-transform:uppercase;}
.section-rule {width:55px;height:1px;background:#7fd3d0;}
.section-title {font:800 clamp(31px,3.45vw,51px)/1.14 var(--display);letter-spacing:-.05em;margin:0;color:var(--navy);}
.glass-panel {background:rgba(255,255,255,.78);border:1px solid #deeeea;border-radius:20px;box-shadow:0 10px 40px rgba(13,96,100,.055);}
.muted {color:var(--muted);}
.small {font-size:12px;line-height:1.5;}
.small-heading {font-size:10px;letter-spacing:.16em;font-weight:800;color:#108c8e;margin-bottom:14px;}
.mini-overline {font-size:10px;letter-spacing:.15em;font-weight:800;color:#218d8a;}
.eyebrow {font-size:10px;letter-spacing:.13em;font-weight:800;color:#148e98;text-transform:uppercase;}
.tag-list {display:flex;gap:7px;flex-wrap:wrap;}
.tag {border:1px solid #b8e5e1;background:#eafaf6;color:#187270;border-radius:99px;font-size:10px;font-weight:700;padding:7px 10px;line-height:1.2;}
.text-link,.details-link {display:inline-flex;align-items:center;gap:7px;color:#087b99;text-decoration:none;font-size:12px;font-weight:800;}
.text-link:hover,.details-link:hover {text-decoration:underline;}
.footer {height:68px;margin:0 55px;position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;z-index:3;}
.progress-track {height:4px;background:#dcece8;flex:1;border-radius:99px;overflow:hidden;max-width:260px;}
.progress-track span {display:block;width:0;height:100%;background:linear-gradient(90deg,var(--turquoise),var(--blue));border-radius:99px;transition:width .3s ease;}
.pagination {margin-left:auto;display:flex;align-items:center;gap:13px;}
.counter {font:800 14px/1 var(--display);min-width:73px;text-align:center;font-variant-numeric:tabular-nums;color:#1d5364;}
.counter small {font-size:12px;color:#93adb2;}
.arrow {width:39px;height:39px;border:1px solid #cbe7e3;background:#fff;border-radius:12px;font-size:19px;color:#127f90;transition:transform .18s,background .18s;}
.arrow:hover:not(:disabled) {transform:translateY(-1px);background:#def8f2;}
.arrow:disabled {opacity:.35;cursor:default;}
/* COVER — asymmetrical editorial composition rather than photo-left PDF layout */
.cover {padding:16px 0 4px;}
.hero-grid {display:grid;grid-template-columns:54% 46%;height:100%;min-height:560px;align-items:stretch;gap:0;}
.hero-copy {position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;padding:22px 25px 27px 6px;}
.hero-overline {font-size:11px;letter-spacing:.20em;font-weight:800;color:#168e92;display:flex;align-items:center;gap:9px;margin-bottom:29px;}
.pulse {display:inline-block;width:9px;height:9px;background:var(--leaf);border-radius:50%;box-shadow:0 0 0 5px #def8ea;}
.hero-title {font:800 clamp(69px,6.4vw,109px)/1.02 var(--display);letter-spacing:-.083em;margin:0 0 35px;color:var(--navy);}
.hero-title>span {color:var(--blue);}
.hero-period {color:var(--turquoise);}
.hero-identity {display:flex;gap:13px;align-items:flex-start;margin-bottom:22px;}
.identity-line {height:43px;width:4px;border-radius:4px;background:linear-gradient(var(--turquoise),var(--blue));}
.hero-name {font:800 clamp(19px,2.0vw,29px)/1.25 var(--display);letter-spacing:-.04em;color:var(--navy);}
.hero-location {font-size:12px;color:var(--muted);margin-top:4px;}
.hero-expertise {font-size:clamp(12px,1.05vw,15px);font-weight:700;color:#26677a;line-height:1.8;max-width:550px;}
.hero-bottom-note {margin-top:28px;color:#7b9b9f;font-size:12px;letter-spacing:.01em;}
.hero-art {position:relative;display:grid;place-items:center;overflow:hidden;min-height:100%;background:linear-gradient(155deg,#d4faf0 6%,#cff4f5 42%,#b9e9f7 100%);border-radius:38px 160px 38px 160px;}
.hero-art::after {content:'';position:absolute;inset:15px;border:1px solid rgba(255,255,255,.74);border-radius:28px 150px 28px 150px;pointer-events:none;}
.hero-circle {border-radius:50%;position:absolute;pointer-events:none;}
.hero-circle-one {width:510px;height:510px;right:-153px;top:-235px;background:linear-gradient(115deg,rgba(36,237,170,.48),rgba(0,143,209,.10));}
.hero-circle-two {width:400px;height:400px;left:-115px;bottom:-228px;border:80px solid rgba(255,255,255,.24);}
.hero-waves {position:absolute;width:200%;height:140px;bottom:10%;left:-50%;background:repeating-radial-gradient(ellipse at 50% 130%,transparent 0,transparent 14px,rgba(0,143,209,.12) 15px,rgba(0,143,209,.12) 16px,transparent 17px,transparent 29px);transform:rotate(-18deg);opacity:.8;}
.portrait-shell {width:min(68%,345px);height:65%;max-height:450px;min-height:350px;position:relative;z-index:1;transform:translate(-4px,-5px) rotate(4deg);border:9px solid rgba(255,255,255,.85);border-radius:160px 160px 28px 28px;box-shadow:0 25px 50px rgba(12,122,133,.17);overflow:hidden;background:linear-gradient(150deg,#9fe7e1,#6fc6d7);}
.hero-portrait {width:100%;height:100%;object-fit:cover;object-position:center top;}
.hero-monogram {height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#faffff;background:radial-gradient(circle at 75% 27%,rgba(255,255,255,.24) 0 20%,transparent 21%),linear-gradient(140deg,#00cec8,#008fd1);}
.hero-monogram>span {font:800 clamp(85px,10vw,155px)/1 var(--display);letter-spacing:-.16em;margin-left:-15px;}
.hero-monogram small {font-size:9px;text-align:center;letter-spacing:.13em;line-height:1.8;opacity:.85;}
.hero-caption-card {position:absolute;left:4%;bottom:11%;z-index:2;display:flex;gap:13px;align-items:center;background:#fff;padding:13px 19px;border-radius:17px;box-shadow:0 16px 32px rgba(15,100,99,.15);color:#356676;font-size:12px;line-height:1.5;transform:rotate(-4deg);}
.hero-caption-card strong {color:#126b8f;}
.caption-spark {font-size:27px;color:#00b6a9;}
.hero-side-label {position:absolute;right:19px;top:47%;transform:rotate(90deg) translate(50%,0);transform-origin:right;letter-spacing:.2em;font-size:9px;color:#327e90;font-weight:800;}
/* ABOUT */
.about-grid {display:grid;grid-template-columns:1.52fr .82fr;gap:19px;flex:1;min-height:0;}
.about-copy {padding:30px 36px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:auto;}
.about-copy::before {content:'';width:6px;height:110px;background:linear-gradient(var(--mint),var(--blue));position:absolute;left:0;top:53px;border-radius:0 4px 4px 0;}
.about-paras p {font-size:clamp(13px,1.05vw,15.2px);line-height:1.88;margin:0 0 16px;color:#385f6b;}
.about-paras p:last-child {margin-bottom:0;}
.about-side {display:flex;flex-direction:column;gap:16px;min-height:0;}
.mini-panel {border-radius:21px;padding:23px 25px;}
.statement-panel {background:linear-gradient(125deg,#d5fbeb,#d9f4fa);flex:1;display:flex;flex-direction:column;justify-content:space-between;min-height:210px;}
.statement-text {font:800 clamp(23px,2.1vw,34px)/1.24 var(--display);letter-spacing:-.045em;color:#1d6576;}
.statement-text em {font-style:normal;color:#009eae;}
.details-panel {background:#fff;border:1px solid var(--line);flex:1;}
.detail-item {border-top:1px solid #e5f1ed;padding:10px 0;display:flex;justify-content:space-between;gap:13px;font-size:11px;line-height:1.5;}
.detail-item>span:first-child {color:#77959a;flex:0 0 64px;}
.detail-item strong {font-size:11px;text-align:right;color:#264d5a;}

/* Decorative elements — Beyond the Numbers */
.statement-panel {
  position: relative;
  overflow: hidden;
}

.statement-icon {
  font-size: 20px;
  color: #00aeb8;
  margin-bottom: 18px;
}

.statement-quote {
  position: absolute;
  top: 42px;
  right: 22px;
  font-size: 110px;
  line-height: 1;
  color: rgba(0, 143, 209, 0.10);
  font-weight: 700;
  pointer-events: none;
}

.statement-text {
  position: relative;
  z-index: 1;
}
/* EDUCATION */
.education-grid {display:grid;grid-template-columns:.83fr 1.3fr;gap:23px;flex:1;min-height:0;}
.education-intro {display:flex;flex-direction:column;gap:17px;}
.academic-display {min-height:320px;flex:1;border-radius:20px;background:linear-gradient(155deg,#0f587b,#008fd1);color:white;display:flex;flex-direction:column;justify-content:space-between;padding:26px;overflow:hidden;position:relative;}
.academic-display::after {content:'';position:absolute;right:-58px;bottom:48px;width:260px;height:260px;border:55px solid rgba(156,244,213,.27);border-radius:50%;}
.academic-kicker {font-size:10px;font-weight:800;letter-spacing:.17em;color:#befff3;position:relative;z-index:1;}
.academic-symbol {font:800 clamp(96px,11vw,175px)/.8 var(--display);letter-spacing:-.1em;position:relative;z-index:1;}
.academic-symbol span {font-size:.43em;color:#abffc4;vertical-align:top;}
.academic-bottom {font:700 18px/1.4 var(--display);letter-spacing:-.03em;position:relative;z-index:1;max-width:230px;}
.education-subnote {color:#6b8a92;font-size:12px;line-height:1.7;padding:0 8px;}
.education-list {display:flex;flex-direction:column;gap:15px;min-height:0;}
.edu-card {display:grid;grid-template-columns:55px 1fr;gap:17px;align-items:start;padding:24px 26px;flex:1;min-height:0;}
.edu-index {color:#3cc1bf;font:800 33px/1 var(--display);letter-spacing:-.08em;}
.institution {font-size:11px;color:#148f91;font-weight:800;text-transform:uppercase;letter-spacing:.11em;}
.edu-card h3 {font:800 clamp(18px,1.6vw,23px)/1.3 var(--display);letter-spacing:-.035em;margin:8px 0 3px;}
.edu-card p {font-size:12px;color:#52747c;line-height:1.7;margin:11px 0;}
.education-points {display:flex;flex-wrap:wrap;gap:7px;}
.education-points span {font-size:10px;background:#eef9f4;border:1px solid #cdece2;border-radius:7px;padding:7px 9px;color:#34726f;}
/* EXPERIENCE */
.exp-grid {display:grid;grid-template-columns:1.14fr 1fr;gap:23px;flex:1;min-height:0;}
.exp-copy {padding:26px 31px;display:flex;flex-direction:column;justify-content:center;gap:11px;min-height:0;overflow:auto;}
.exp-small-row {display:flex;justify-content:space-between;align-items:center;}
.exp-accent {font:800 45px/1 var(--display);color:#c3eeea;}
.exp-role {font:800 clamp(21px,2.0vw,29px)/1.25 var(--display);letter-spacing:-.045em;margin:0;}
.exp-org {font-size:13px;font-weight:800;color:#008eac;}
.exp-copy p,.exp-copy li {font-size:clamp(11px,.95vw,13px);line-height:1.76;color:#4b6c76;margin:0;}
.exp-copy .mini-overline {margin-top:8px;}
.exp-copy ul {margin:0;padding-left:19px;}
.exp-copy li {padding-left:2px;margin:7px 0;}
.exp-copy li::marker {color:#00bcae;}
.exp-images {display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:13px;min-height:0;}
.exp-photo {border-radius:20px;min-height:0;overflow:hidden;border:1px solid #ccebe6;background:#d9f6f1;}
.exp-photo-main {transform:translateY(19px);}
.exp-photo-secondary {transform:translateY(-8px);}
.media-image {height:100%;width:100%;object-fit:cover;display:block;}
.media-placeholder {width:100%;height:100%;min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:19px;text-align:center;background:linear-gradient(160deg,#d4f7f0,#d8edf8);}
.media-placeholder strong {font:800 16px/1.4 var(--display);color:#347381;}
.media-placeholder>span {font-size:10px;color:#78a1a3;line-height:1.5;}
.placeholder-symbol {display:flex;align-items:flex-end;gap:8px;height:60px;transform:rotate(-8deg);}
.placeholder-symbol span {width:19px;border-radius:7px;background:linear-gradient(#00cec8,#008fd1);opacity:.7;}
.placeholder-symbol span:nth-child(1) {height:32px;}
.placeholder-symbol span:nth-child(2) {height:55px;}
.placeholder-symbol span:nth-child(3) {height:43px;background:linear-gradient(#79db70,#24edaa);}
/* RESEARCH FOCUS */
.focus-intro {font-size:13px;color:#688792;line-height:1.65;margin:-7px 0 23px;}
.focus-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:16px;flex:1;min-height:0;}
.focus-card {display:flex;flex-direction:column;align-items:flex-start;gap:15px;padding:27px;position:relative;overflow:hidden;}
.focus-top {display:flex;align-items:center;justify-content:space-between;width:100%;}
.focus-number {font:800 48px/1 var(--display);letter-spacing:-.1em;color:#39c5bd;}
.focus-glyph {font-size:55px;line-height:1;color:#84d6e5;}
.focus-card-2 {background:linear-gradient(155deg,#f8fffc,#e8fbf4);}
.focus-card-3 {background:linear-gradient(155deg,#fff,#edf8fc);}
.focus-card h3 {font:800 clamp(19px,1.8vw,26px)/1.28 var(--display);letter-spacing:-.045em;min-height:63px;margin:0;}
.focus-card p {font-size:13px;line-height:1.8;margin:0;color:#5d7b82;flex:1;}
.focus-card .tag-list {margin-top:9px;}
/* PROJECTS — research story on left, data visualization on right */
.project-grid {display:grid;grid-template-columns:.93fr 1.18fr;gap:22px;min-height:0;flex:1;}
.project-info {display:flex;flex-direction:column;align-items:flex-start;min-height:0;padding:4px 0 0;}
.project-index {font:800 40px/1 var(--display);color:#18b9be;letter-spacing:-.085em;}
.project-index span {font:700 11px var(--sans);color:#93aeb3;letter-spacing:0;}
.project-type {font-size:10px;letter-spacing:.13em;font-weight:800;color:#1c8d9c;margin-top:15px;}
.project-name {font:800 clamp(21px,2.1vw,32px)/1.2 var(--display);letter-spacing:-.045em;margin:8px 0 7px;color:var(--navy);}
.project-subtitle {font-size:12px;color:#6c8d98;margin:0;line-height:1.6;}
.project-divider {height:1px;background:#c9e9e4;width:100%;margin:20px 0 15px;}
.project-description {font-size:12.4px;line-height:1.8;color:#496c77;margin:0 0 13px;}
.role {display:flex;flex-direction:column;gap:5px;padding:0 0 12px;}
.role strong {font-size:9px;letter-spacing:.12em;color:#158f93;}
.role span {font-size:11px;line-height:1.6;color:#788f94;}
.project-info .tag-list {gap:6px;margin-top:auto;}
.project-bottom {width:100%;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px;margin-top:19px;}
.project-status {color:#6e8c8d;font-size:10px;font-weight:700;}
.project-button {padding:12px 17px;border-radius:12px;background:#007fa5;color:white;font-size:11px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;gap:7px;}
.project-button:hover {background:#006b91;}
.project-visual {position:relative;border:1px solid #cdebe8;background:#e8f8f5;border-radius:22px;overflow:hidden;min-height:390px;}
.project-visual .media-image {object-fit:contain;background:#f4fbf9;}
.demo-visual {height:100%;width:100%;display:flex;flex-direction:column;padding:20px;gap:15px;background:linear-gradient(142deg,#f2fffa,#e0f4f5 85%);}
.demo-head {display:flex;gap:8px;align-items:center;font-size:10px;color:#28798c;font-weight:800;letter-spacing:.08em;}
.mini-dot {width:8px;height:8px;background:#00cec8;border-radius:50%;}
.demo-right {margin-left:auto;font-size:9px;color:#85a8aa;}
.demo-chart {background:rgba(255,255,255,.87);border:1px solid #d4eee9;border-radius:17px;min-height:0;flex:1;display:grid;place-items:center;padding:20px;box-shadow:0 15px 23px rgba(17,125,124,.07);}
.research-svg {width:100%;max-height:100%;height:100%;}
.demo-caption {font-size:10px;color:#78a3a3;font-weight:600;}
/* DASHBOARD */
.lab-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:17px;flex:1;min-height:0;}
.lab-card {display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:15px 15px 22px;}
.lab-illustration {width:100%;height:45%;min-height:148px;border-radius:14px;position:relative;overflow:hidden;background:linear-gradient(160deg,#cbf5f0,#d6efff);}
.lab-illustration::before {content:'';position:absolute;top:18%;left:12%;right:12%;bottom:18%;border:1px solid rgba(255,255,255,.80);border-radius:13px;background:rgba(255,255,255,.5);}
.lab-line {position:absolute;z-index:1;bottom:30%;width:12%;background:#00cec8;border-radius:8px 8px 3px 3px;}
.l1 {height:22%;left:24%;}
.l2 {height:39%;left:44%;background:#008fd1;}
.l3 {height:29%;left:64%;background:#79db70;}
.lab-ring {position:absolute;z-index:1;width:100px;height:100px;right:16%;top:15%;border:17px solid rgba(0,143,209,.18);border-radius:50%;}
.lab-illustration-2 {background:linear-gradient(135deg,#d8f8e5,#c8f3f1);}
.lab-illustration-3 {background:linear-gradient(135deg,#e0f4ff,#cdfbf1);}
.lab-status {margin-top:5px;font-size:10px;font-weight:800;letter-spacing:.12em;color:#118b90;}
.lab-card h3 {font:800 clamp(17px,1.55vw,22px)/1.3 var(--display);letter-spacing:-.04em;margin:0;}
.lab-card p {font-size:12px;line-height:1.7;color:#5f7e85;margin:0;flex:1;}
/* PUBLICATIONS */
.pub-grid {display:grid;grid-template-columns:1.45fr .87fr;gap:19px;flex:1;min-height:0;}
.pub-items {display:flex;flex-direction:column;gap:10px;min-height:0;overflow:auto;padding-right:5px;}
.pub-item {background:#fff;border:1px solid #dcece9;border-radius:14px;padding:17px 17px;display:flex;align-items:center;gap:15px;min-height:0;}
.pub-num {color:#31b9b7;font:800 24px/1 var(--display);letter-spacing:-.06em;}
.pub-main {min-width:0;flex:1;}
.pub-main h3 {margin:0 0 5px;font:800 clamp(11px,1.02vw,14px)/1.42 var(--display);letter-spacing:-.015em;}
.pub-main p {font-size:10px;color:#78949a;margin:0;}
.pub-type {color:#168c91;font-size:9px;font-weight:800;letter-spacing:.04em;white-space:nowrap;}
.pub-open {white-space:nowrap;font-size:10px;}
.pub-side {display:flex;flex-direction:column;gap:12px;min-height:0;}
.writing-panel {background:linear-gradient(135deg,#d5f9eb,#def5f7);flex:1;}
.writing-icon {font:800 54px/.6 Georgia,serif;color:#1dbbc0;display:block;margin:8px 0 12px;}
.pub-side h3 {font:800 19px/1.25 var(--display);letter-spacing:-.04em;margin:0 0 10px;}
.pub-side p {font-size:11.5px;line-height:1.7;color:#47727a;margin:0;}
.writing-points {display:flex;flex-direction:column;gap:5px;margin-top:14px;}
.writing-points span {font-size:10px;color:#3d7474;padding-left:12px;position:relative;}
.writing-points span::before {content:'•';position:absolute;left:0;color:#00a3a2;}
.other-panel {background:#fff;border:1px solid var(--line);flex:1;padding-top:17px;padding-bottom:17px;}
.other-entry {display:flex;flex-direction:column;gap:4px;border-bottom:1px solid #e7f0eb;padding:9px 0;}
.other-entry:last-child {border-bottom:0;}
.other-entry strong {font-size:11px;line-height:1.4;}
.other-entry>span {font-size:10px;color:#78959b;}
/* CERTIFICATIONS */
.cert-intro {font-size:13px;color:#6c8b91;margin:-7px 0 22px;}
.cert-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:17px;flex:1;min-height:0;}
.cert-card {padding:14px;display:flex;flex-direction:column;gap:10px;min-height:0;}
.cert-preview {height:64%;min-height:185px;overflow:hidden;border-radius:13px;background:linear-gradient(145deg,#d8faf0,#d8edf9);}
.cert-art {height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;color:#148ea4;}
.cert-icon {font-size:94px;line-height:1;font-weight:300;color:#35c8bd;}
.cert-art>span:last-child {font-size:10px;font-weight:800;letter-spacing:.2em;}
.cert-card:nth-child(2) .cert-preview {background:linear-gradient(140deg,#cdeafb,#d4faeb);}
.cert-card:nth-child(3) .cert-preview,.cert-card:nth-child(4) .cert-preview {background:linear-gradient(145deg,#f0faf8,#e6f5f5);}
.cert-card h3 {font:800 13px/1.4 var(--display);margin:3px 0 0;}
.cert-card p {font-size:11px;color:#7d989c;margin:0;line-height:1.6;}
/* CONTACT */
.contact-slide {justify-content:center;}
.contact-grid {display:grid;grid-template-columns:1.12fr .9fr;gap:40px;align-items:center;flex:1;}
.contact-left {position:relative;min-height:450px;padding:28px 0;}
.contact-left h2 {font:800 clamp(65px,7.8vw,119px)/1.06 var(--display);letter-spacing:-.085em;margin:23px 0 17px;color:var(--navy);}
.contact-left h2 em {font-style:normal;color:var(--blue);}
.contact-left p {font-size:15px;color:#60838a;line-height:1.8;max-width:470px;}
.contact-orbit {position:absolute;bottom:10px;left:5px;width:210px;height:73px;display:flex;gap:10px;align-items:center;}
.contact-orbit span {height:34px;width:34px;border-radius:50%;background:#24edaa;}
.contact-orbit span:nth-child(2) {height:58px;width:58px;background:#00cec8;}
.contact-orbit span:nth-child(3) {height:43px;width:43px;background:#008fd1;}
.contact-panel {background:linear-gradient(155deg,#0e6381,#008fd1);color:#fff;padding:29px 31px;min-height:440px;border-radius:28px 85px 28px 28px;box-shadow:0 22px 60px rgba(0,111,147,.15);display:flex;flex-direction:column;}
.contact-panel-top {display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.19em;font-weight:800;color:#b4fff0;margin-bottom:28px;}
.contact-panel-top span:last-child {font-size:28px;color:#a7ffd4;letter-spacing:0;}
.contact-row {display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.24);min-width:0;}
.contact-row a,.contact-row span {word-break:break-word;font-size:12px;line-height:1.5;}
.contact-row a {text-decoration:none;font-weight:800;}
.contact-row a:hover {text-decoration:underline;}
.contact-label {font-size:9px;letter-spacing:.12em;color:#b1e8e8;text-transform:uppercase;margin-bottom:4px;}
.contact-symbol {background:rgba(255,255,255,.15);padding:10px;border-radius:12px;display:flex;}
.contact-cta {color:#fff;margin-top:20px;}
.contact-sig {font:800 23px/1.3 var(--display);letter-spacing:-.04em;margin-top:auto;padding-top:31px;}
/* Mid-size: modest spacing changes; keep cards accessible and scrollable. */
@media (max-width:1170px) and (min-width:761px) {
  .header {padding:0 30px;gap:14px;}
  .nav-button {padding:9px;font-size:10px;}
  .slide-stage {margin:0 33px;}
  .footer {margin:0 33px;}
  .hero-title {font-size:clamp(59px,6.6vw,92px);}
  .hero-art {border-radius:30px 100px 30px 100px;}
  .hero-grid {grid-template-columns:52% 48%;}
  .hero-caption-card {left:-2%;}
  .glass-panel {border-radius:16px;}
  .project-description {font-size:11.8px;}
  .about-copy {padding:19px 23px;}
  .about-paras p {font-size:12.3px;line-height:1.75;margin-bottom:9px;}
  .exp-copy {padding:18px 22px;}
  .focus-card {padding:19px;}
}
/* Mobile uses an editorial vertical format; navigation remains interactive. */
@media (max-width:760px) {
  html,body {overflow-x:clip;}
  body {display:block;padding:0;background:var(--paper);}
  .deck {width:100%;height:auto;min-height:100dvh;overflow:visible;border-radius:0;box-shadow:none;}
  .header {position:sticky;top:0;z-index:10;height:72px;background:rgba(249,253,251,.93);backdrop-filter:blur(16px);padding:0 15px;gap:10px;}
  .wordmark {font-size:17px;}
  .mark-icon {height:28px;width:28px;font-size:16px;}
  .nav-button {font-size:10px;padding:9px 10px;}
  .header-next {display:none;}
  .slide-stage {height:auto;min-height:calc(100dvh - 135px);margin:0 19px;overflow:visible;}
  .slide {min-height:calc(100dvh - 141px);padding:24px 0 28px;}
  .section-heading {margin-bottom:20px;}
  .section-title {font-size:37px;}
  .footer {height:64px;position:sticky;bottom:0;margin:0;padding:0 19px;background:rgba(250,253,252,.93);backdrop-filter:blur(15px);border-top:1px solid #e1efeb;}
  .progress-track {max-width:130px;}
  .hero-grid {grid-template-columns:1fr;min-height:0;gap:15px;}
  .hero-copy {padding:13px 0 0;}
  .hero-overline {font-size:9px;margin-bottom:16px;}
  .hero-title {font-size:clamp(58px,13vw,91px);margin-bottom:18px;}
  .hero-name {font-size:20px;}
  .hero-expertise {font-size:12px;line-height:1.7;}
  .hero-bottom-note {display:none;}
  .hero-art {height:345px;min-height:345px;border-radius:23px 90px 23px 90px;}
  .hero-art::after {inset:10px;border-radius:18px 82px 18px 82px;}
  .portrait-shell {min-height:0;width:200px;height:265px;}
  .hero-monogram>span {font-size:97px;}
  .hero-caption-card {left:5%;bottom:6%;font-size:9px;padding:8px 12px;gap:7px;}
  .caption-spark {font-size:20px;}
  .hero-side-label {right:15px;}
  .about-grid,.education-grid,.exp-grid,.project-grid,.pub-grid,.contact-grid {grid-template-columns:1fr;gap:14px;}
  .about-copy {padding:22px 21px;}
  .about-copy::before {top:22px;height:88px;width:4px;}
  .about-paras p {font-size:12.6px;line-height:1.8;margin-bottom:13px;}
  .about-side {gap:11px;}
  .mini-panel {padding:20px;}
  .statement-panel {min-height:160px;gap:10px;}
  .statement-text {font-size:28px;}
  .academic-display {min-height:215px;}
  .academic-symbol {font-size:90px;}
  .education-subnote {font-size:11.5px;}
  .edu-card {padding:18px;grid-template-columns:40px 1fr;}
  .edu-index {font-size:27px;}
  .edu-card h3 {font-size:18px;}
  .exp-copy {padding:20px;}
  .exp-role {font-size:24px;}
  .exp-images {height:210px;}
  .exp-photo-main,.exp-photo-secondary {transform:none;}
  .focus-intro {margin-bottom:18px;}
  .focus-grid,.lab-grid {grid-template-columns:1fr;gap:12px;}
  .focus-card {padding:19px;gap:10px;min-height:210px;}
  .focus-number {font-size:35px;}
  .focus-glyph {font-size:43px;}
  .focus-card h3 {min-height:0;font-size:21px;}
  .focus-card p {font-size:12.5px;}
  .project-grid {display:flex;flex-direction:column;}
  .project-info {order:2;}
  .project-visual {order:1;min-height:280px;height:300px;}
  .demo-visual {padding:12px;gap:9px;}
  .demo-chart {padding:10px;}
  .demo-caption {font-size:9px;}
  .project-name {font-size:27px;}
  .project-description {font-size:12.6px;}
  .project-bottom {margin-top:15px;}
  .lab-card {min-height:265px;}
  .lab-illustration {min-height:145px;height:145px;}
  .pub-items {overflow:visible;}
  .pub-item {flex-wrap:wrap;gap:10px;padding:15px;}
  .pub-num {font-size:18px;}
  .pub-main h3 {font-size:12.5px;}
  .pub-type {margin-left:28px;}
  .pub-open {margin-left:auto;}
  .cert-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .cert-preview {height:160px;min-height:160px;}
  .cert-card {min-height:260px;padding:10px;}
  .cert-card h3 {font-size:12px;}
  .cert-card p {font-size:10px;}
  .contact-left {min-height:0;padding:0 0 10px;}
  .contact-left h2 {font-size:71px;}
  .contact-left p {font-size:14px;}
  .contact-orbit {display:none;}
  .contact-panel {min-height:320px;border-radius:22px 65px 22px 22px;padding:22px;}
}
@media (max-width:380px) {
  .hero-title {font-size:53px;}
  .section-title {font-size:33px;}
  .counter {min-width:59px;}
  .footer {gap:8px;}
  .pagination {gap:7px;}
  .cert-grid {grid-template-columns:1fr 1fr;}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}

/* =========================================
   EDUCATION & CAMPUS INVOLVEMENT
   TIDAL POOL DESIGN
========================================= */

.education-v2 {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-bottom: 18px;
}

/* Section headings */
.edu-section-title {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #108c8e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.edu-section-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #cfeae6;
}

/* Two-column layout */
.edu-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Education cards */
.edu-v2-card {
  min-width: 0;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.edu-v2-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.edu-v2-institution {
  font-size: 11px;
  color: #108c8e;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.edu-v2-degree {
  font: 800 clamp(16px, 1.5vw, 21px)/1.28 var(--display);
  letter-spacing: -.035em;
  margin: 7px 0 4px;
  color: var(--navy);
}

.edu-v2-period {
  font-size: 11px;
  color: #718e96;
}

/* GPA */
.edu-v2-gpa {
  flex: 0 0 auto;
  min-width: 81px;
  border-radius: 12px;
  background: #e8f9f3;
  padding: 9px 10px;
  text-align: center;
  color: #176f7c;
}

.edu-v2-gpa strong {
  display: block;
  font-size: 12px;
}

.edu-v2-gpa span {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
}

/* Academic work and outcomes */
.edu-v2-label {
  font-size: 10px;
  color: #148f91;
  font-weight: 800;
  letter-spacing: .12em;
}

.edu-v2-description,
.edu-v2-outcomes,
.edu-v2-org-card p {
  font-size: 11.5px;
  line-height: 1.65;
  color: #52747c;
}

.edu-v2-description {
  margin: 0;
}

.edu-v2-outcomes {
  margin: 0;
  padding-left: 18px;
}

.edu-v2-outcomes li + li {
  margin-top: 4px;
}

.edu-v2-outcomes li::marker {
  color: #00bfb0;
}

/* Campus involvement cards */
.edu-v2-org-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 21px;
}

.edu-v2-org-date {
  font-size: 10px;
  color: #148f91;
  font-weight: 800;
}

.edu-v2-org-card h3 {
  margin: 0;
  font: 800 15px/1.35 var(--display);
  color: var(--navy);
}

.edu-v2-org-institution {
  font-size: 10.5px;
  font-weight: 700;
  color: #39808a;
}

.edu-v2-org-card p {
  margin: 0;
}

/* Responsive layout */
@media (max-width: 950px) {
  .edu-v2-grid {
    grid-template-columns: 1fr;
  }

  .edu-v2-gpa {
    min-width: 76px;
  }
}

/* ============================================
   EDUCATION — TIDAL POOL FINAL DESIGN
============================================ */

.ed3-layout {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-bottom: 26px;
}

.ed3-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 7px 0 1px;
  color: #078c97;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.ed3-section-label::after {
  content: "";
  height: 1px;
  background: #c9e8e5;
  flex: 1;
}

/* Main university cards */

.ed3-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 20px;
  padding: 21px;
  border-radius: 24px;
  align-items: stretch;
}

.ed3-copy {
  min-width: 0;
  padding: 4px 0;
}

.ed3-university-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
}

.ed3-logo {
  flex: 0 0 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid #d2eae6;
  background: #f0fbf9;
  border-radius: 15px;
  overflow: hidden;
}

.ed3-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.ed3-school {
  flex: 1;
  min-width: 0;
}

.ed3-school-name {
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 800;
  color: #078f99;
  text-transform: uppercase;
}

.ed3-school h3 {
  font: 800 clamp(16px, 1.5vw, 21px)/1.25 var(--display);
  color: var(--navy);
  margin: 4px 0;
}

.ed3-school p {
  font-size: 11px;
  color: #718f99;
  margin: 0;
}

/* GPA */

.ed3-gpa {
  flex: 0 0 83px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e2f9ef, #e4f6fe);
  padding: 10px 7px;
  text-align: center;
  color: #1e6073;
}

.ed3-gpa strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.ed3-gpa span {
  display: block;
  font-size: 9px;
  color: #5d9199;
  letter-spacing: .06em;
  margin-top: 3px;
}

/* Research text */

.ed3-overline {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  color: #078f99;
  text-transform: uppercase;
}

.ed3-description {
  font-size: 13.5px;
  line-height: 1.77;
  color: #476f7e;
  margin: 10px 0 0;
}

.ed3-rule {
  height: 1px;
  background: #d9eeeb;
  margin: 20px 0 16px;
}

.ed3-beyond {
  font-size: 12.4px;
  line-height: 1.75;
  color: #276879;
  margin-top: 8px;
}

.ed3-dot {
  display: inline-block;
  padding: 0 8px;
  color: #0fb7b1;
}

/* Documentation panel */

.ed3-proof {
  background: linear-gradient(145deg, #e6faf2, #daf5fa);
  border: 1px solid #d1efea;
  border-radius: 21px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.ed3-proof-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #078f99;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
}

.ed3-proof-head small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  color: #5893a0;
}

/* Gallery */

.ed3-photo-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 8px;
  height: 200px;
}

.ed3-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #afe1e2;
  background: linear-gradient(140deg, #b4efe4, #b6e5f7);
  border-radius: 14px;
  color: #205d6d;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.ed3-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed3-photo.is-certificate img {
  object-fit: contain;
  background: #f8fdfc;
}

.ed3-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.ed3-photo-label {
  position: absolute;
  z-index: 1;
  left: 9px;
  bottom: 9px;
  max-width: calc(100% - 18px);
  padding: 7px 9px;
  border-radius: 8px;
  background: #f5fffbeb;
  font-size: 10px;
  font-weight: 800;
  color: #236475;
}

.ed3-photo:hover {
  outline: 2px solid #00b9b9;
  outline-offset: 2px;
}

/* Publication links */

.ed3-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ed3-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  border: 1px solid #9fdfd7;
  border-radius: 999px;
  background: #f6fffb;
  padding: 10px 13px;
  color: #137982;
  text-decoration: none;
  font: 700 11px/1.3 var(--sans);
  transition: background .2s;
}

.ed3-pill:hover {
  background: #d3f7ee;
}

.ed3-note {
  font-size: 10.5px;
  line-height: 1.6;
  color: #618d97;
  margin: 0;
}

/* Unpatti records */

.ed3-record {
  padding: 14px;
  border: 1px dashed #a8dcd7;
  background: #ffffffa8;
  border-radius: 14px;
}

.ed3-record strong {
  display: block;
  font-size: 17px;
  color: #195c6e;
}

.ed3-record small {
  display: block;
  font-size: 11px;
  color: #668f98;
  margin-top: 3px;
}

.ed3-certificate-preview {
  height: 164px;
}

/* Campus Involvement */

.ed3-org-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ed3-org-card {
  padding: 18px 20px;
}

.ed3-org-period {
  font-size: 11px;
  color: #078f99;
  font-weight: 750;
}

.ed3-org-card h3 {
  font: 800 16px/1.35 var(--display);
  margin: 7px 0 5px;
  color: var(--navy);
}

.ed3-org-card strong {
  font-size: 11px;
  color: #3e8592;
}

.ed3-org-card p {
  font-size: 12.4px;
  line-height: 1.65;
  color: #5e808b;
  margin: 9px 0 0;
}

/* Pop-up dialogs */

.ed3-dialog {
  position: fixed;
  border: 0;
  padding: 0;
  border-radius: 22px;
  max-width: min(720px, calc(100vw - 30px));
  width: 100%;
  max-height: min(80dvh, 750px);
  background: #fbfffd;
  color: #183d4e;
  box-shadow: 0 22px 75px #12495c57;
  overflow: auto;
}

.ed3-dialog::backdrop {
  background: #0c3346aa;
  backdrop-filter: blur(3px);
}

.ed3-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 21px 24px;
  border-bottom: 1px solid #d6eeeb;
}

.ed3-dialog-head h3 {
  font: 800 21px/1.3 var(--display);
  margin: 6px 0 0;
  color: #163b4d;
}

.ed3-close {
  border: none;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e0f8f2;
  color: #147e85;
  font-size: 24px;
  cursor: pointer;
}

.ed3-dialog-body {
  padding: 5px 24px 22px;
}

.ed3-pub-entry {
  padding: 15px 0;
  border-bottom: 1px solid #dcefeb;
}

.ed3-pub-entry:last-child {
  border-bottom: 0;
}

.ed3-pub-entry h4 {
  font-size: 14px;
  line-height: 1.5;
  color: #204656;
  margin: 7px 0;
}

.ed3-pub-link {
  font-size: 12px;
  color: #0086a9;
  font-weight: 750;
  text-decoration: none;
}

.ed3-photo-dialog-body {
  padding: 20px;
  min-height: 100px;
  text-align: center;
  font-size: 13px;
  color: #5a7882;
}

.ed3-photo-dialog-body img {
  display: block;
  max-width: 100%;
  max-height: 68dvh;
  object-fit: contain;
  border-radius: 10px;
  margin: 0 auto;
}

/* Responsive */

@media (max-width: 1050px) {
  .ed3-card {
    grid-template-columns: 1fr;
  }

  .ed3-photo-grid {
    height: 240px;
  }
}

@media (max-width: 650px) {
  .ed3-card {
    padding: 15px;
    gap: 14px;
  }

  .ed3-proof {
    padding: 13px;
  }

  .ed3-university-row {
    flex-wrap: wrap;
  }

  .ed3-logo {
    flex-basis: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .ed3-school {
    flex-basis: calc(100% - 60px);
  }

  .ed3-gpa {
    margin-left: 57px;
  }

  .ed3-org-grid {
    grid-template-columns: 1fr;
  }

  .ed3-photo-grid {
    height: 185px;
  }

  .ed3-description {
    font-size: 13px;
  }
}

/* =====================================
   S1 PUBLICATION LINKS — TIDAL POOL
===================================== */

.ed3-direct-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.ed3-direct-links a.ed3-pub-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 11px 16px;

  background: #f5fffb;
  border: 1px solid #9fdfd7;
  border-radius: 999px;

  color: #137982;
  text-decoration: none;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;

  transition: all 0.2s ease;
}

.ed3-direct-links a.ed3-pub-bubble:hover {
  background: #d6f7ee;
  border-color: #00cec8;
  color: #096b77;
  transform: translateY(-2px);
}

.ed3-direct-links a.ed3-pub-bubble span {
  color: #008fd1;
  font-size: 13px;
}

.ed3-direct-links a.ed3-pub-bubble:focus-visible {
  outline: 2px solid #008fd1;
  outline-offset: 3px;
}

/* ============================================
   TEACHING — TIDAL POOL
============================================ */

.teach-slide .section-heading {
  margin-bottom: 10px;
}

.teach-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 21px;
}

.teach-intro {
  font-size: 13px;
  color: #63828d;
  line-height: 1.55;
}

.teach-view-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.teach-view-button {
  background: #ffffffb8;
  border: 1px solid #cde7e2;
  color: #287686;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 11px;
  white-space: nowrap;
}

.teach-view-button[aria-pressed=true] {
  background: #d9f5ec;
  border-color: #94dbd1;
}

.teach-grid {
  display: grid;
  grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr);
  gap: 20px;
  align-items: stretch;
  padding-bottom: 16px;
}

/* Carousel */

.teach-gallery {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  background: #fffdfde0;
  border-radius: 24px;
}

.teach-gallery-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.teach-eyebrow {
  font-size: 10px;
  letter-spacing: .13em;
  font-weight: 850;
  color: #078d95;
}

.teach-gallery-top>span:last-child {
  font-size: 11px;
  color: #76989c;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.teach-gallery-viewport {
  height: 405px;
  border-radius: 17px;
  background: #1f4854;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.teach-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  transition: opacity .65s ease, visibility .65s ease;
  overflow: hidden;
}

.teach-gallery-slide.is-current {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.teach-gallery-blur {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(22px) brightness(.68);
  transform: scale(1.1);
}

.teach-gallery-image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.teach-gallery-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  min-height: 73px;
  padding: 27px 17px 15px;
  background: linear-gradient(transparent,rgba(5,35,49,.79));
  color: #fff;
}

.teach-gallery-slide figcaption strong {
  font-size: 13.5px;
  font-weight: 760;
  line-height: 1.35;
}

.teach-gallery-slide figcaption span {
  font-size: 10px;
  white-space: nowrap;
  color: #d9f8f4;
  font-weight: 800;
}

.teach-gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 13px 2px 0;
}

.teach-gallery-dots,
.teach-gallery-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.teach-gallery-dots {
  flex-wrap: wrap;
}

.teach-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: #c5e5e2;
  padding: 0;
  transition: width .2s,background .2s;
}

.teach-dot.is-current {
  width: 22px;
  background: #008fd1;
}

.teach-icon-button {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid #c7e6e2;
  background: #f5fffb;
  color: #127788;
  font-size: 18px;
  display: grid;
  place-items: center;
  line-height: 1;
}

.teach-icon-button:hover {
  background: #dff8f1;
}

.teach-gallery-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 1px;
  font-size: 12.5px;
  line-height: 1.62;
  color: #5d7d87;
}

.teach-gallery-note>span {
  font-size: 22px;
  line-height: 1;
  color: #00aeb5;
}

/* Two course cards */

.teach-course-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.teach-course {
  padding: 22px;
  background: #fffdfde0;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.teach-course::before {
  content: '';
  position: absolute;
  right: -32px;
  top: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 24px solid #dff9ef44;
  pointer-events: none;
}

.teach-course-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  position: relative;
}

.teach-course-header span:first-child {
  font-size: 10px;
  letter-spacing: .09em;
  color: #078e95;
  font-weight: 800;
}

.teach-course-header span:last-child {
  font-size: 9.5px;
  letter-spacing: .08em;
  color: #7397a0;
  font-weight: 780;
  text-align: right;
}

.teach-course h3 {
  position: relative;
  font: 800 25px/1.2 var(--display);
  letter-spacing: -.045em;
  color: var(--navy);
  margin: 7px 0 4px;
}

.teach-course-period {
  font-size: 11px;
  color: #6b929c;
}

.teach-course-description {
  font-size: 13px;
  line-height: 1.65;
  color: #557985;
  margin: 13px 0;
}

.teach-course-rule {
  height: 1px;
  background: #e0efeb;
  margin: 13px 0;
}

.teach-course-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.teach-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #9ee1d6;
  background: #f2fffb;
  border-radius: 999px;
  padding: 10px 13px;
  color: #167982;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 780;
  line-height: 1.3;
  white-space: nowrap;
}

.teach-pill:hover {
  background: #d7f7ed;
}

.teach-pill-blue {
  background: #edf8fe;
  border-color: #addff2;
  color: #167da2;
}

.teach-pill-blue:hover {
  background: #def1fd;
}

.teach-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 11px;
}

.teach-chips span {
  font-size: 10px;
  color: #57858f;
  background: #eef9f8;
  border: 1px solid #d8ebe7;
  border-radius: 999px;
  padding: 7px 9px;
}

.teach-course-note {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 14px;
  background: linear-gradient(100deg,#e6faf2,#e3f7fb);
  padding: 10px 12px;
  margin-top: 14px;
}

.teach-note-icon {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0a9ea1;
  font-size: 17px;
}

.teach-course-note div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.teach-course-note strong {
  font-size: 11px;
  color: #246a7a;
}

.teach-course-note div>span {
  font-size: 10px;
  color: #628790;
  line-height: 1.4;
}

/* Popups */

.teach-modal {
  position: fixed;
  width: min(670px,calc(100vw - 28px));
  max-height: 80dvh;
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fafffd;
  color: #194456;
  box-shadow: 0 24px 90px #17435b54;
}

.teach-modal::backdrop {
  background: #08384daa;
  backdrop-filter: blur(3px);
}

.teach-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 23px;
  border-bottom: 1px solid #dfefea;
}

.teach-modal-head h3 {
  font: 800 21px/1.3 var(--display);
  margin: 7px 0 0;
  color: #153e54;
}

.teach-modal-close {
  border: 0;
  background: #e0f8f2;
  color: #147c84;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
}

.teach-modal-content {
  padding: 18px 23px 24px;
}

.teach-popup-intro {
  font-size: 12.5px;
  color: #567987;
  line-height: 1.7;
  margin: 0 0 11px;
}

.teach-resource-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid #e0efec;
}

.teach-resource-row strong {
  display: block;
  font-size: 13px;
  color: #1d4756;
}

.teach-resource-row p {
  font-size: 11px;
  color: #718b92;
  margin: 5px 0 0;
  line-height: 1.55;
}

.teach-resource-status {
  white-space: nowrap;
  background: #edf7f4;
  border: 1px solid #d9eae6;
  border-radius: 999px;
  padding: 7px 9px;
  color: #6b8b90;
  font-size: 10px;
  font-weight: 750;
}

.teach-resource-link {
  white-space: nowrap;
  font-size: 11px;
  color: #0087a9;
  font-weight: 800;
  text-decoration: none;
}

.teach-photo-modal {
  width: min(1000px,calc(100vw - 25px));
}

.teach-photo-content {
  padding: 16px;
  display: grid;
  place-items: center;
}

.teach-photo-content img {
  max-width: 100%;
  max-height: 70dvh;
  object-fit: contain;
  border-radius: 12px;
}

/* PDF grid preview */

.teach-slide.teach-pdf-preview .teach-gallery-viewport {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  overflow: visible;
  cursor: default;
  background: transparent;
}

.teach-slide.teach-pdf-preview .teach-gallery-slide {
  position: relative;
  inset: auto;
  display: block;
  visibility: visible;
  opacity: 1;
  aspect-ratio: 4/3;
  border-radius: 10px;
  background: #1e5360;
  overflow: hidden;
}

.teach-slide.teach-pdf-preview .teach-gallery-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.teach-slide.teach-pdf-preview .teach-gallery-slide figcaption {
  min-height: 0;
  padding: 16px 7px 7px;
}

.teach-slide.teach-pdf-preview .teach-gallery-slide figcaption strong {
  font-size: 9px;
}

.teach-slide.teach-pdf-preview .teach-gallery-slide figcaption span {
  display: none;
}

.teach-slide.teach-pdf-preview .teach-gallery-controls {
  display: none;
}

/* Responsive */

@media (max-width:1000px) {
  .teach-grid {
    grid-template-columns: 1fr;
  }

  .teach-gallery-viewport {
    height: 390px;
  }

  .teach-overview {
    flex-wrap: wrap;
  }
}

@media (max-width:640px) {
  .teach-slide .section-title {
    font-size: 35px;
  }

  .teach-gallery {
    padding: 13px;
  }

  .teach-gallery-viewport {
    height: 330px;
  }

  .teach-course {
    padding: 17px;
  }

  .teach-course h3 {
    font-size: 22px;
  }

  .teach-course-description {
    font-size: 12.5px;
  }

  .teach-resource-row {
    align-items: start;
    flex-wrap: wrap;
  }

  .teach-gallery-slide figcaption strong {
    font-size: 12px;
  }
}

/* Print: carousel becomes a six-photo grid */

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  html, body {
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    background: white !important;
  }

  .deck {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
  }

  .header, .footer {
    display: none !important;
  }

  .slide-stage {
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
  }

  .slide:not(.is-active) {
    display: none !important;
  }

  .slide.is-active {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    animation: none !important;
    padding: 0 !important;
  }

  .teach-view-actions,
  .teach-gallery-controls,
  .teach-modal {
    display: none !important;
  }

  .teach-grid {
    grid-template-columns: .9fr 1.1fr !important;
    gap: 10px !important;
  }

  .teach-gallery,
  .teach-course {
    padding: 11px !important;
    box-shadow: none !important;
    break-inside: avoid;
  }

  .teach-course-stack {
    gap: 9px !important;
  }

  .teach-course h3 {
    font-size: 19px !important;
  }

  .teach-course-description {
    font-size: 10px !important;
    margin: 7px 0 !important;
  }

  .teach-gallery-viewport {
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 5px !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .teach-gallery-slide {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    aspect-ratio: 4/3 !important;
    border-radius: 8px !important;
  }

  .teach-gallery-image {
    position: absolute !important;
    inset: 0 !important;
    object-fit: cover !important;
  }

  .teach-gallery-slide figcaption {
    min-height: 0 !important;
    padding: 12px 5px 5px !important;
  }

  .teach-gallery-slide figcaption strong {
    font-size: 8px !important;
  }

  .teach-gallery-slide figcaption span {
    display: none !important;
  }

  .teach-slide .section-title {
    font-size: 30px !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .teach-gallery-slide,
  .teach-dot {
    transition: none !important;
  }
}

/* =========================================
   FIELDWORK EXPERIENCE — TIDAL POOL
========================================= */

.f3-board {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding-bottom: 20px;
}

.f3-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 27px;
  align-items: stretch;

  padding: 26px 29px;
  border-radius: 25px;

  background: rgba(255,255,255,.9);
  border: 1px solid #d3eae6;

  overflow: hidden;
}

/* Tidal Pool gradient accent */

.f3-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;

  background: linear-gradient(
    90deg,
    #00cec8 0%,
    #24edaa 50%,
    #008fd1 100%
  );
}

/* Left panel */

.f3-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.f3-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 15px;
}

.f3-logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.f3-logos {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* White logo containers */

.f3-logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 5px;
  border-radius: 13px;

  background: #ffffff;
  border: 1px solid #d5ebe7;

  overflow: hidden;
  flex-shrink: 0;
}

.f3-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* MarkPlus logo — white badge */

.f3-logo-markplus {
  width: 132px;
  height: 52px;
  padding: 8px 10px;

  background: #ffffff;
  border: 1px solid #d5ebe7;
}

.f3-logo-markplus img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  /* Converts the transparent white logo
     into a dark navy monochrome logo. */
  filter:
    brightness(0)
    saturate(100%)
    invert(19%)
    sepia(25%)
    saturate(1050%)
    hue-rotate(159deg)
    brightness(95%)
    contrast(94%);
}

/* Institution name and date */

.f3-organization {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.45;
  text-transform: uppercase;
  color: #078f99;
}

.f3-date {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  color: #648b96;
}

/* Position and description */

.f3-title {
  margin: 0 0 7px;
  color: #153c50;
  font: 800 24px/1.22 var(--display);
  letter-spacing: -.04em;
}

.f3-role {
  font-size: 12px;
  font-weight: 750;
  color: #147b8e;
  margin-bottom: 13px;
  line-height: 1.5;
}

.f3-description {
  margin: 0;
  color: #496f7e;
  font-size: 13px;
  line-height: 1.75;
}

/* Right panel */

.f3-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 18px 22px;
  border-radius: 19px;

  background: linear-gradient(
    125deg,
    #e3faf1,
    #dff5fc
  );

  border: 1px solid #ccebe5;
}

.f3-panel-heading {
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .12em;
  color: #078f99;
}

.f3-task-list {
  display: flex;
  flex-direction: column;
}

.f3-task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;

  font-size: 12.5px;
  line-height: 1.6;
  color: #356b7b;
}

.f3-task + .f3-task {
  border-top: 1px solid #c9e7e2;
}

.f3-task-icon {
  display: grid;
  place-items: center;

  width: 28px;
  height: 28px;
  flex: 0 0 28px;

  border-radius: 9px;
  background: #ffffff;
  color: #008fb3;

  font-size: 16px;
  font-weight: 700;
}

.f3-task-text {
  flex: 1;
  min-width: 0;
}

/* Responsive design */

@media (max-width: 1000px) {
  .f3-card {
    gap: 20px;
    padding: 22px;
  }

  .f3-title {
    font-size: 22px;
  }

  .f3-description {
    font-size: 12.5px;
  }
}

@media (max-width: 780px) {
  .f3-card {
    grid-template-columns: 1fr;
  }

  .f3-panel {
    padding: 17px 19px;
  }
}

@media (max-width: 520px) {
  .f3-card {
    padding: 18px 16px;
    border-radius: 19px;
    gap: 17px;
  }

  .f3-card-head {
    align-items: flex-start;
  }

  .f3-logo {
    width: 41px;
    height: 41px;
  }

  .f3-logo-markplus {
    width: 101px;
    height: 41px;
    padding: 6px;
  }

  .f3-organization {
    font-size: 9px;
  }

  .f3-date {
    font-size: 9px;
  }

  .f3-title {
    font-size: 21px;
  }

  .f3-description {
    font-size: 12px;
  }

  .f3-task {
    font-size: 12px;
  }
}

/* FIX — MarkPlus logo on white background */

.f3-logo-markplus {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

/* Dark lettering */
.f3-logo-markplus img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;

  filter: brightness(0) saturate(100%)
          invert(19%) sepia(25%)
          saturate(1050%) hue-rotate(159deg)
          brightness(95%) contrast(94%);
}

/* Restore the original purple M and white circle */
.f3-logo-markplus::after {
  content: "";
  position: absolute;
  inset: 8px 10px;

  background-image: url("assets/Logo-MarkPlus-Fieldwork.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;

  clip-path: inset(0 74% 0 0);
  pointer-events: none;
}
/* ===========================================================
   UNIQUE / BLUE–GREEN GRADIENT PALETTE · GLASS FINISH
   Visual-only adjustments to approved pages. No layout replacement.
   Palette references user's Gradient sample, Nov 2026.
   =========================================================== */
:root {
  --navy:#0a1730; --ink:#1b4261; --body:#395d78; --muted:#7191a4;
  --blue:#2760a5; --turquoise:#63e5fb; --mint:#75ffce; --leaf:#89fe9e;
  --paper:#f9fcff; --pale:#eaf9f7; --pale-blue:#e7f3ff; --line:#d6e8ef;
  --purple:#7c86ff; --royal:#003b8b; --cobalt:#144a9a;
  --sky:#68a5ff; --ice:#62c5ff; --cyan:#63e5fb;
  --lagoon:#34a7b7; --teal:#357c89; --jade:#30b892;
  --seaglass:#6fd3bd; --bright-mint:#75ffce; --citrus:#abff72;
  --olive:#55a158; --fern:#3b8b52; --soft-green:#8cc478;
}
body { background:linear-gradient(142deg,#e6f0ff 0%,#eef9ff 47%,#effff6 100%); }
.deck {
  background:linear-gradient(142deg,rgba(255,255,255,.97) 0%,rgba(248,252,255,.96) 62%,rgba(244,255,249,.95) 100%);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 24px 70px rgba(14,49,95,.14), inset 0 2px 0 rgba(255,255,255,.95);
}
.deck::before { /* structured coordinate-grid motif instead of background rings */
  content:"";position:absolute;right:-65px;top:125px;width:510px;height:520px;
  z-index:-1;pointer-events:none;border-radius:0;box-shadow:none;
  background-image:linear-gradient(rgba(39,96,165,.065) 1px, transparent 1px),linear-gradient(90deg,rgba(39,96,165,.065) 1px,transparent 1px),linear-gradient(145deg,transparent 43%,rgba(48,184,146,.11) 44%,transparent 45%);
  background-size:27px 27px,27px 27px,100% 100%;
  mask-image:linear-gradient(90deg,transparent,black 40%,black 100%);
  opacity:.72;
}
.deck::after {content:"";position:absolute;z-index:7;pointer-events:none;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#0a1730 0 5%,#003b8b 5% 10%,#144a9a 10% 15%,#2760a5 15% 20%,#7c86ff 20% 25%,#68a5ff 25% 30%,#62c5ff 30% 35%,#63e5fb 35% 40%,#34a7b7 40% 45%,#357c89 45% 50%,#30b892 50% 55%,#6fd3bd 55% 60%,#75ffce 60% 65%,#89fe9e 65% 70%,#8cc478 70% 75%,#55a158 75% 80%,#71db24 80% 85%,#9eff39 85% 90%,#abff72 90% 95%,#deff40 95%);
}
.header {background:linear-gradient(95deg,rgba(255,255,255,.78),rgba(242,249,255,.68));border-bottom-color:#d9e9f1;}
.mark-icon {background:linear-gradient(137deg,#003b8b,#2760a5 58%,#30b892);box-shadow:inset 0 1px 0 #ffffff66,0 5px 12px #003b8b2b;}
.mark-icon span {color:#75ffce;}
.nav-button.active {background:linear-gradient(130deg,#dceaff,#e0f9f5);color:#003b8b;box-shadow:inset 0 1px white,0 3px 9px #1d6a9c15;border:1px solid #cfe6f2;}
.nav-button:hover {background:#e8f3ff;color:#144a9a;}
.section-label,.small-heading {color:#2760a5;}
.section-rule {background:linear-gradient(90deg,#62c5ff,#34a7b7,#abff72);}
.section-title {color:#0a3064;}
.glass-panel {
  background:linear-gradient(148deg,rgba(255,255,255,.97) 0%,rgba(253,254,255,.95) 46%,rgba(244,250,255,.92) 100%);
  border:1px solid rgba(205,228,241,.94);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.97),0 12px 35px rgba(21,68,127,.075),0 2px 8px rgba(24,84,124,.045);
}
.hero-art {background:linear-gradient(154deg,#d9e8ff 0%,#c7f4ff 38%,#cbffea 78%,#e7ffb9 100%);}
.hero-circle-one {background:linear-gradient(130deg,rgba(124,134,255,.3),rgba(99,229,251,.2));}
.hero-circle-two {border-color:rgba(255,255,255,.28);}
.hero-caption-card {box-shadow:inset 0 1px #fff,0 18px 38px #154a8a24;}
.identity-line {background:linear-gradient(180deg,#7c86ff,#62c5ff,#30b892);}
.hero-title>span {color:#2760a5;}.hero-period {color:#34a7b7;}
.about-copy::before {background:linear-gradient(#abff72,#30b892,#2760a5);}
.statement-panel {background:linear-gradient(130deg,#d5ffe8,#def9ff 67%,#dae9ff);}
.statement-icon,.statement-text em {color:#008caf;}
.details-panel {background:linear-gradient(148deg,#fff,#f5fbff);}
.detail-item {border-top-color:#dcebed;}
.ed3-proof {background:linear-gradient(145deg,#e8f1ff,#e7fcf8 58%,#eaffef);border-color:#d5e9f0;}
.ed3-gpa {background:linear-gradient(140deg,#e2edff,#e6fcf4);}
.ed3-pill,.ed3-direct-links a.ed3-pub-bubble {background:linear-gradient(160deg,#fff,#eaf6ff);border-color:#b4ddec;color:#205b91;}
.ed3-photo {border-color:#b4ddec;}
.teach-gallery,.teach-course {background:linear-gradient(145deg,#fff,#f6faff 72%,#f4fff8);box-shadow:inset 0 2px 0 #fff,0 14px 33px #214f8a11;}
.teach-course-note {background:linear-gradient(100deg,#e1f3ff,#e0fbf2 65%,#f1ffdc);}
.teach-dot.is-current {background:#7c86ff;}
.teach-pill {background:linear-gradient(110deg,#f5faff,#ecfcf6);border-color:#b9deeb;}
.f3-card {background:linear-gradient(140deg,#fff 0%,#f7fbff 74%,#f5fff8 100%);border-color:#d4e8f2;box-shadow:inset 0 2px #fff,0 12px 36px #194d8c12;}
.f3-card::before {background:linear-gradient(90deg,#003b8b,#7c86ff,#62c5ff,#34a7b7,#75ffce,#abff72);}
.f3-panel {background:linear-gradient(133deg,#e6f0ff,#e1faff 46%,#e7ffe5 100%);border-color:#d0e5eb;}
.f3-task-icon {color:#2760a5;box-shadow:0 3px 8px #285d9b10;}
.f3-logo {border-color:#d2e3ef;}
.lab-illustration {background:linear-gradient(135deg,#afd8ff,#63e5fb 49%,#75ffce);}
.lab-illustration-2 {background:linear-gradient(135deg,#e6f9ff,#6fd3bd 55%,#89fe9e);}
.lab-illustration-3 {background:linear-gradient(135deg,#d6e6ff,#7c86ff66 40%,#abff72);}
.lab-card:nth-child(1) {border-top:3px solid #2760a5;}
.lab-card:nth-child(2) {border-top:3px solid #34a7b7;}
.lab-card:nth-child(3) {border-top:3px solid #55a158;}
.contact-panel {background:linear-gradient(156deg,#003b8b,#2760a5 55%,#008fc8);box-shadow:inset 0 1px #ffffff50,0 24px 65px #003b8b32;}
.contact-orbit span:nth-child(1) {background:#75ffce;}
.contact-orbit span:nth-child(2) {background:#63e5fb;}
.contact-orbit span:nth-child(3) {background:#2760a5;}
.progress-track span {background:linear-gradient(90deg,#7c86ff,#62c5ff,#34a7b7,#abff72);}

/* ===========================================================
   PUBLICATIONS & WRITING — approved two-card composition
   Scoped classes avoid changing Education, Teaching & Contact.
   =========================================================== */
.pw-slide .section-heading {margin-bottom:10px;}
.pw-intro {color:#617d91;font-size:14px;line-height:1.72;margin:0 0 31px;max-width:650px;}
.pw-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0 0 20px;}
.pw-card {min-height:305px;display:flex;flex-direction:column;align-items:flex-start;position:relative;isolation:isolate;padding:28px 30px 25px;overflow:hidden;border-radius:25px;border:1px solid #e5edf6;
 background:linear-gradient(146deg,#fff 0%,#f3f9ff 48%,#e8f4ff 100%);box-shadow:inset 0 2px 0 #fff,0 15px 41px #1b579319,0 0 0 1px #d0e5f1;transition:transform .2s,box-shadow .2s;}
.pw-card:hover {transform:translateY(-2px);box-shadow:inset 0 2px #fff,0 21px 51px #1b579326;}
.pw-card:before {content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#003b8b,#7c86ff 31%,#62c5ff 65%,#75ffce);}
.pw-card:after {content:"";position:absolute;top:-92px;right:-56px;width:310px;height:180px;background:linear-gradient(150deg,#ffffffbb,rgba(255,255,255,.40) 35%,transparent 51%);transform:rotate(-12deg);pointer-events:none;z-index:-1;}
.pw-card-writing {background:linear-gradient(145deg,#fff 0%,#f4fbff 49%,#effcf0 100%);}
.pw-card-writing:before {background:linear-gradient(90deg,#2760a5,#34a7b7 43%,#30b892 73%,#abff72);}
.pw-card-head {width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.pw-card-icon {width:55px;height:55px;display:grid;place-items:center;background:linear-gradient(135deg,#dceaff,#e5f8ff);color:#215ca0;border-radius:17px;box-shadow:inset 0 2px #fff,0 5px 12px #1e57931c;}
.pw-card-writing .pw-card-icon {background:linear-gradient(135deg,#dff1ff,#e0fce9);color:#167e82;}
.pw-card-icon svg,.pw-dialog-icon svg,.pw-published-symbol svg,.pw-sheet-symbol svg {width:26px;height:26px;}
.pw-card-note {font-size:10px;color:#6c94ae;letter-spacing:.12em;font-weight:800;}
.pw-color-dots {display:flex;gap:6px;}.pw-color-dots i {height:9px;width:9px;border-radius:50%;box-shadow:inset 0 1px #fff6;}
.pw-color-dots i:nth-child(1){background:#7c86ff}.pw-color-dots i:nth-child(2){background:#62c5ff}.pw-color-dots i:nth-child(3){background:#63e5fb}.pw-color-dots i:nth-child(4){background:#75ffce}.pw-color-dots i:nth-child(5){background:#abff72}
.pw-card h3 {color:#153b67;font:800 25px/1.22 var(--display);letter-spacing:-.045em;margin:20px 0 10px;}
.pw-card p {color:#5c7a8f;font-size:13.5px;line-height:1.72;margin:0 0 27px;max-width:400px;}
.pw-action {margin-top:auto;padding:12px 17px;display:inline-flex;gap:23px;align-items:center;border:1px solid #1b5b9d;border-radius:12px;background:linear-gradient(118deg,#003b8b,#2760a5);color:#fff;font-size:12.5px;font-weight:800;box-shadow:inset 0 1px #ffffff52,0 9px 20px #003b8b30;}
.pw-card-writing .pw-action {background:linear-gradient(118deg,#2760a5,#357c89);border-color:#3276a2;}
.pw-action:hover {filter:brightness(1.09)}.pw-action span {font-size:19px;line-height:1;}

/* Native dialogs sit in the top layer, above the carousel and header. */
.pw-dialog {padding:0;width:min(1100px,calc(100vw - 32px));max-width:none;max-height:min(820px,calc(100dvh - 35px));border-radius:26px;border:1px solid #d4e8f0;color:#173b60;overflow:hidden;
 background:linear-gradient(135deg,#fff,#f1f8ff 64%,#f7fff9);box-shadow:0 36px 100px #051b3d70, inset 0 2px #fff;}
.pw-dialog::backdrop {background:#081e3c90;backdrop-filter:blur(8px);}
.pw-dialog:before {content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#003b8b 0 14%,#7c86ff 14% 28%,#62c5ff 28% 42%,#63e5fb 42% 56%,#34a7b7 56% 70%,#30b892 70% 84%,#abff72 84%);z-index:2;}
.pw-dialog[open] {display:flex;flex-direction:column;}
.pw-dialog-heading {padding:21px 25px 18px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #d9e9f0;background:linear-gradient(105deg,#fff,#f5faff);flex:0 0 auto;}
.pw-dialog-title {display:flex;align-items:center;gap:12px;min-width:0;}
.pw-dialog-icon {height:43px;width:43px;flex:0 0 43px;border-radius:12px;display:grid;place-items:center;color:#2760a5;background:linear-gradient(125deg,#dceaff,#e2f9f2);box-shadow:inset 0 2px #fff;}
.pw-dialog-heading h3 {font:800 18px/1.25 var(--display);margin:0;color:#143f70;letter-spacing:-.03em;}
.pw-dialog-heading p {font-size:11.5px;color:#7791a2;margin:5px 0 0;line-height:1.4;}
.pw-close {flex:0 0 38px;width:38px;height:38px;background:#fff;border:1px solid #d0e2ee;color:#506e84;font-size:23px;border-radius:12px;display:grid;place-items:center;}
.pw-close:hover {background:#eaf6ff;}
.pw-tabbar {display:flex;gap:8px;flex-wrap:wrap;padding:15px 24px;background:linear-gradient(110deg,#fff,#f1f9ff);border-bottom:1px solid #dbeaf1;flex:0 0 auto;}
.pw-tab {border:1px solid transparent;border-radius:11px;padding:10px 16px;color:#627e96;background:transparent;font-weight:800;font-size:12px;}
.pw-tab:hover {background:#e4f2ff;color:#2760a5;}
.pw-tab[aria-selected="true"] {border-color:#7c86ff;background:linear-gradient(120deg,#e0e9ff,#dffaf6);color:#003b8b;box-shadow:inset 0 1px white,0 0 0 2px #7c86ff25;}
.pw-science-body {min-height:0;display:grid;grid-template-columns:330px 1fr;overflow:auto;flex:1;}
.pw-paper-list,.pw-article-list {min-height:0;overflow:auto;padding:23px 18px 24px 23px;background:linear-gradient(145deg,#eaf4ff,#effcf9);border-right:1px solid #d9e8ef;}
.pw-side-eyebrow {color:#2760a5;font-weight:850;font-size:10px;letter-spacing:.12em;margin:0 0 16px;}
.pw-paper-option,.pw-article-option {display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;padding:15px 14px;margin-bottom:11px;border-radius:15px;background:linear-gradient(135deg,#fff,#fcfdff);border:1px solid #d5e7f0;box-shadow:inset 0 1px #fff,0 4px 9px #164d8011;color:#183b62;position:relative;transition:transform .18s,border-color .18s;}
.pw-paper-option:hover,.pw-article-option:hover {border-color:#68a5ff;transform:translateY(-1px);}
.pw-paper-option[aria-selected="true"],.pw-article-option[aria-selected="true"] {background:linear-gradient(115deg,#e5efff,#e9fff4);border-color:#62c5ff;box-shadow:0 0 0 1px #68a5ff33,0 10px 20px #1760a51a;}
.pw-paper-option[aria-selected="true"]:before,.pw-article-option[aria-selected="true"]:before {content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:linear-gradient(#7c86ff,#34a7b7,#30b892);border-radius:3px;}
.pw-option-kicker {color:#367cb2;font-size:10px;font-weight:850;letter-spacing:.075em;}
.pw-paper-option strong,.pw-article-option strong {font-size:13.3px;line-height:1.48;font-weight:800;}
.pw-option-meta {font-size:11px;line-height:1.5;color:#6c8b9a;}
.pw-side-note {font-size:11px;color:#7893a2;line-height:1.6;margin:14px 6px;}
.pw-paper-detail,.pw-preview-area {min-width:0;min-height:0;overflow:auto;padding:23px 27px 28px;background:linear-gradient(130deg,#fff,#f6fbff 72%,#f5fff9);}
.pw-paper-sheet {max-width:100%;border:1px solid #d8e8f0;border-radius:20px;min-height:350px;padding:28px;background:linear-gradient(140deg,#fff,#f8fbff 68%,#f7fff8);box-shadow:inset 0 1px #fff,0 14px 34px #1b539015;}
.pw-paper-sheet-top {display:flex;justify-content:space-between;align-items:center;gap:10px;}
.pw-data-label {color:#2760a5;font-size:10px;letter-spacing:.12em;font-weight:850;}
.pw-sheet-symbol {color:#2760a5;background:linear-gradient(140deg,#dbeaff,#e3fbef);border-radius:12px;padding:10px;display:grid;place-items:center;}
.pw-paper-sheet h4 {margin:18px 0 10px;font:800 clamp(19px,2.2vw,26px)/1.24 var(--display);letter-spacing:-.045em;color:#153a65;}
.pw-paper-venue {color:#69879a;font-size:12px;line-height:1.5;}
.pw-paper-rule {height:1px;background:linear-gradient(90deg,#a9c9eb,#cdece4,#f2ffc9);margin:21px 0;}
.pw-paper-fact {margin:0 0 20px;}.pw-paper-fact span {font-size:10px;font-weight:850;color:#2760a5;letter-spacing:.1em;}
.pw-paper-fact p {margin:7px 0 0;color:#58788e;font-size:13px;line-height:1.7;}
.pw-paper-note {padding-top:12px;border-top:1px solid #e1edf1;font-size:11px;line-height:1.7;color:#76909f;}
.pw-published-view {grid-column:1/-1;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;min-height:330px;padding:35px 42px;background:linear-gradient(135deg,#fff 0%,#edf7ff 70%,#eefff4);overflow:hidden;}
.pw-published-symbol {height:54px;width:54px;display:grid;place-items:center;color:#2760a5;background:linear-gradient(130deg,#dceaff,#e0fbf4);border-radius:16px;box-shadow:inset 0 2px #fff;}
.pw-published-copy {z-index:1;max-width:500px;}
.pw-published-copy h4 {font:800 25px/1.25 var(--display);color:#1a4978;letter-spacing:-.04em;margin:9px 0;}
.pw-published-copy p {color:#668496;font-size:13px;line-height:1.7;margin:0 0 17px;}
.pw-education-link {background:transparent;border:0;border-bottom:2px solid #7c86ff;padding:0 0 5px;color:#2760a5;font-size:12px;font-weight:850;}
.pw-education-link:hover {color:#003b8b;}
.pw-published-pattern {position:absolute;right:-40px;top:-16px;width:335px;height:300px;opacity:.45;pointer-events:none;background-image:linear-gradient(#68a5ff4d 1px,transparent 1px),linear-gradient(90deg,#68a5ff4d 1px,transparent 1px),linear-gradient(137deg,transparent 30%,#75ffce7a 31%,transparent 32%,transparent 52%,#7c86ff4d 53%,transparent 54%);background-size:24px 24px,24px 24px,100% 100%;mask-image:linear-gradient(90deg,transparent,black 60%);}
.pw-empty {grid-column:1/-1;padding:35px;color:#6d8898;}
.pw-article-layout {display:grid;grid-template-columns:340px minmax(0,1fr);overflow:auto;flex:1;min-height:0;}
.pw-browser {background:#fff;border:1px solid #dce9ef;border-radius:20px;overflow:hidden;box-shadow:0 16px 35px #0b427a18;}
.pw-browser-top {height:37px;padding:0 14px;display:flex;align-items:center;gap:14px;background:linear-gradient(90deg,#eaf4ff,#eff9f7);border-bottom:1px solid #deeaef;}
.pw-window-dots {display:flex;gap:5px;}.pw-window-dots i {height:8px;width:8px;border-radius:50%;background:#a8bed1;}.pw-window-dots i:first-child {background:#7c86ff;}.pw-window-dots i:last-child {background:#89fe9e;}
.pw-browser-url {background:white;border:1px solid #e1ebef;border-radius:8px;padding:4px 10px;color:#7c91a0;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:340px;}
.pw-browser-page {padding:24px 26px;}
.pw-media-title {font:800 25px/1 Georgia,serif;letter-spacing:-.04em;color:#1c3457;}
.pw-article-date {font-size:10px;color:#3c80ac;font-weight:850;letter-spacing:.09em;margin:17px 0 0;}
.pw-browser h4 {font:800 clamp(20px,2.2vw,27px)/1.2 Georgia,serif;letter-spacing:-.03em;color:#24384b;margin:10px 0 8px;}
.pw-dek {font:14px/1.55 Georgia,serif;color:#667b87;margin:0;}
.pw-feature-image {height:178px;position:relative;overflow:hidden;border-radius:12px;margin:16px 0 12px;background:linear-gradient(132deg,#a3c4ff,#c9eaff 40%,#afffe6 75%,#89fe9e);}
.pw-feature-image img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%;z-index:1;}
.pw-feature-image img[hidden] {display:none;}
.pw-feature-lines {position:absolute;inset:0;opacity:.7;background:repeating-linear-gradient(122deg,transparent 0 35px,#ffffff60 36px 37px,transparent 38px 73px);}
.pw-portrait-fallback {position:absolute;right:13px;top:6px;font:900 75px/1 var(--display);color:#2760a566;}
.pw-feature-image:after {content:"";position:absolute;z-index:2;bottom:0;left:0;right:0;height:65%;background:linear-gradient(transparent,#133b5d93);}
.pw-image-credit {position:absolute;z-index:3;bottom:12px;left:13px;font-size:10px;font-weight:800;color:white;}
.pw-byline {font-size:11px;font-weight:800;color:#37617b;margin:10px 0 5px;}
.pw-summary {color:#6a8190;font-size:12px;line-height:1.66;margin:4px 0 0;}
.pw-article-footer {display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:12px;}
.pw-article-footer>span {font-size:10.5px;color:#7c95a2;line-height:1.5;}
.pw-read-link {display:inline-flex;align-items:center;padding:10px 14px;background:linear-gradient(110deg,#003b8b,#2760a5);border-radius:10px;color:#fff;text-decoration:none;font-size:11px;font-weight:850;box-shadow:inset 0 1px #ffffff56,0 7px 16px #0a45922a;}
.pw-read-link:hover {filter:brightness(1.1);}
@media(max-width:840px) {
 .pw-article-layout,.pw-science-body {grid-template-columns:1fr;}
 .pw-article-list,.pw-paper-list {border-right:0;border-bottom:1px solid #dbeaf0;max-height:225px;}
 .pw-dialog {max-height:calc(100dvh - 22px);width:calc(100vw - 20px);}
 .pw-published-view {min-height:260px;padding:25px;}
}
@media(max-width:640px) {
 .pw-cards {grid-template-columns:1fr;gap:13px;}
 .pw-card {min-height:235px;padding:21px 23px;}
 .pw-card h3 {font-size:22px;}
 .pw-card p {font-size:12.5px;}
 .pw-intro {font-size:12.5px;margin-bottom:20px;}
 .pw-dialog-heading {padding:16px;}
 .pw-dialog-heading h3 {font-size:16px;}
 .pw-dialog-heading p {font-size:10px;}
 .pw-article-list,.pw-paper-list {max-height:210px;padding:15px;}
 .pw-paper-detail,.pw-preview-area {padding:15px;}
 .pw-browser-page {padding:17px;}
 .pw-feature-image {height:145px;}
 .pw-tabbar {padding:12px;gap:3px;}
 .pw-tab {font-size:10.5px;padding:9px 12px;}
 .pw-paper-sheet {padding:19px;}
 .pw-paper-sheet h4 {font-size:20px;}
 .contact-orbit {display:flex;position:relative;margin-top:23px;bottom:auto;left:0;height:45px;width:auto;}
 .contact-orbit span {transform:scale(.7);transform-origin:left center;}
}
@media print { .pw-dialog {display:none!important;} .pw-card {break-inside:avoid;} }

/* =========================================
   HOME — OPTION C / SOFT WINDOW
   ========================================= */

.home-editorial {
  position: relative;
  padding: 16px 0 5px;
  border-radius: 12px;

  background:
    radial-gradient(
      ellipse at 100% 105%,
      #abff722a,
      transparent 48%
    ),
    linear-gradient(
      112deg,
      #f7fbff 0%,
      #ffffff 60%,
      #f3fff7 100%
    );
}

/* Subtle data grid in the background */

.home-editorial::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 22%;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(#357c8909 1px, transparent 1px),
    linear-gradient(90deg, #357c8909 1px, transparent 1px);

  background-size: 32px 32px;
  mask-image: linear-gradient(to left, #0006, transparent);
}

/* Main editorial layout */

.home-editorial-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  align-items: center;

  min-height: 560px;
  flex: 1;
}

/* Photo container */

.home-soft-photo-cell {
  position: relative;
  min-width: 0;
  height: 505px;

  margin: 23px 2% 27px clamp(18px, 3.6vw, 58px);
}

.home-soft-window {
  position: absolute;
  inset: 0;
  isolation: isolate;

  border: 1px solid #dceaf0;
  border-radius: 42px 42px 120px 42px;

  background: linear-gradient(
    140deg,
    #f9fdff 0%,
    #ecf8fb 58%,
    #f3fff9 100%
  );

  box-shadow:
    0 15px 35px #175c7220,
    inset 0 1px #ffffff;
}

/* Soft detail across the photo frame */

.home-soft-window::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      transparent 0 79%,
      #63e5fb3b 80% 81%,
      transparent 82%
    ),
    linear-gradient(
      0deg,
      transparent 0 88%,
      #7c86ff25 89%,
      transparent 90%
    );

  pointer-events: none;
}

/* Portrait */

.home-soft-picture {
  position: absolute;
  inset: 19px 11% 17px;

  overflow: hidden;

  background: #f7f9fa;
  border: 1px solid #e4e9eb;
  border-radius: 200px 200px 95px 95px;

  box-shadow: 0 9px 22px #20436114;
}

.home-soft-portrait {
  display: block;
  width: 100%;
  height: 100%;

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

  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 84%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 84%,
    transparent 100%
  );
}

.home-soft-monogram {
  display: grid;
  place-items: center;
  height: 100%;

  font: 800 110px/1 var(--display);
  color: #2760a5;

  background: linear-gradient(145deg, #dceaff, #edfff7);
}

/* Small research label */

.home-soft-microdata {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 25px;

  color: #4c8296;
  font-size: 8px;
  font-weight: 820;
  letter-spacing: .12em;
}

/* Decorative gradient rule */

.home-soft-fine-rule {
  position: absolute;
  z-index: 3;
  bottom: 50px;
  right: 0;

  width: 112px;
  height: 2px;
  border-radius: 10px;

  background: linear-gradient(
    90deg,
    #7c86ff,
    #63e5fb,
    #75ffce
  );
}

/* Curiosity card */

.home-soft-curiosity {
  position: absolute;
  z-index: 4;
  left: -10px;
  bottom: 18px;

  display: flex;
  align-items: center;
  gap: 12px;

  min-width: 200px;
  padding: 12px 15px;

  background: #ffffffed;
  border: 1px solid #d5e8f4;
  border-radius: 16px;

  box-shadow:
    0 14px 30px #174d8127,
    inset 0 1px #ffffff;

  backdrop-filter: blur(12px);

  transform: rotate(-3deg);

  font-size: 11px;
  line-height: 1.35;
  color: #50768a;
}

.home-soft-curiosity strong {
  display: block;
  color: #124e8d;
  font-size: 11px;
  font-weight: 870;
}

.home-soft-star {
  font-size: 24px;
  color: #24bcae;
}

/* Text on the right */

.home-editorial-copy {
  min-width: 0;
  padding:
    30px clamp(20px, 4.5vw, 76px)
    30px clamp(28px, 4.8vw, 76px);
}

.home-editorial-overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;

  color: #167b98;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .18em;
}

.home-editorial-overline-rule {
  width: 46px;
  height: 2px;
  border-radius: 10px;

  background: linear-gradient(
    90deg,
    #7c86ff,
    #62c5ff,
    #30b892,
    #89fe9e
  );
}

.home-editorial-name {
  margin: 0 0 24px;

  color: #0a1730;
  font: 900 clamp(47px, 5.4vw, 82px)/1.09 var(--display);
  letter-spacing: -.077em;
}

.home-editorial-name em {
  font-style: normal;
  color: #2760a5;
}

.home-editorial-intro {
  margin-bottom: 28px;
  padding: 3px 0 5px 18px;
  border-left: 4px solid #62c5ff;
}

.home-editorial-intro strong {
  display: block;

  font-size: clamp(13px, 1.3vw, 18px);
  line-height: 1.45;
  letter-spacing: -.027em;

  color: #193a60;
  font-weight: 800;
}

.home-editorial-intro p {
  max-width: 445px;
  margin: 9px 0 0;

  color: #55788a;
  font-size: 13px;
  line-height: 1.77;
}

/* Areas of work */

.home-editorial-themes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;

  border-top: 1px solid #d6e7ee;
  padding-top: 17px;
}

.home-editorial-themes span {
  display: flex;
  align-items: center;
  gap: 7px;

  color: #2c6b86;
  font-size: 10px;
  font-weight: 850;
}

.home-editorial-themes i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c86ff;
}

.home-editorial-themes span:nth-child(2) i {
  background: #34a7b7;
}

.home-editorial-themes span:nth-child(3) i {
  background: #89fe9e;
}

/* Tablet */

@media (max-width: 1160px) and (min-width: 761px) {
  .home-editorial-grid {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  }

  .home-soft-photo-cell {
    margin-left: 15px;
    height: 460px;
  }

  .home-editorial-copy {
    padding: 25px 16px 25px 25px;
  }

  .home-editorial-name {
    font-size: clamp(45px, 5.4vw, 73px);
  }
}

/* Mobile */

@media (max-width: 760px) {
  .home-editorial {
    padding: 15px 0 24px;
  }

  .home-editorial-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 18px;
  }

  .home-soft-photo-cell {
    height: 390px;
    margin: 0 clamp(12px, 4vw, 42px);
  }

  .home-editorial-copy {
    padding: 6px 9px 20px;
  }

  .home-editorial-overline {
    margin-bottom: 14px;
  }

  .home-editorial-name {
    font-size: clamp(46px, 12vw, 73px);
    margin-bottom: 20px;
  }

  .home-editorial-intro {
    margin-bottom: 23px;
  }

  .home-editorial-intro p {
    font-size: 12.5px;
  }
}

/* Small phones */

@media (max-width: 390px) {
  .home-soft-photo-cell {
    height: 340px;
  }

  .home-soft-picture {
    inset: 23px 10% 14px;
  }

  .home-soft-curiosity {
    min-width: 0;
    padding: 9px 11px;
    font-size: 10px;
  }

  .home-editorial-name {
    font-size: 45px;
  }
}

/* =========================================
   CONTACT — SAVE AS PDF BUTTON
========================================= */

.contact-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  align-self: flex-start;
  margin-top: 16px;

  padding: 11px 17px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 12px;

  background: linear-gradient(
    130deg,
    #ffffff,
    #e8f4ff 70%,
    #e8fff5
  );

  color: #17518d;

  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;

  box-shadow:
    inset 0 1px #ffffff,
    0 9px 22px rgba(0,35,85,.18);

  cursor: pointer;
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.contact-pdf-button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px #ffffff,
    0 13px 26px rgba(0,35,85,.24);
}

.contact-pdf-button:focus-visible {
  outline: 3px solid #75ffce;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-pdf-button {
    transition: none;
  }
}

/* =======================================================
   PROJECT LAB — dashboards + automation research
   ======================================================= */
#dashboard-lab .lab-projects { grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch; }
#dashboard-lab .lab-project-card { min-width:0; min-height:365px; padding:24px; background:linear-gradient(147deg,#ffffff,#f0f7ff 72%,#ebfff7); border:1px solid #d6e7ef; border-top:4px solid #7c86ff; box-shadow:0 13px 28px #174a7b13,inset 0 1px #fff; }
#dashboard-lab .lab-project-2 {border-top-color:#34a7b7;}
#dashboard-lab .lab-project-3 {border-top-color:#30b892;}
.lab-project-top{display:flex;justify-content:space-between;gap:8px;align-items:start;width:100%;flex-wrap:wrap;}
.lab-project-type{font-size:9px;font-weight:850;letter-spacing:.11em;color:#326da6;}
#dashboard-lab .lab-project-top .lab-status{margin:0;background:#eaf3ff;border:1px solid #cfdef2;color:#265e8d;border-radius:99px;padding:6px 9px;font-size:9px;letter-spacing:.06em;}
.lab-project-glyph{display:grid;place-items:center;width:57px;height:57px;margin-top:3px;border-radius:18px;background:linear-gradient(135deg,#dceaff,#dffaf0);color:#2a67a3;font-size:31px;font-weight:500;}
#dashboard-lab .lab-project-card h3{margin:1px 0 0;font-size:clamp(19px,1.9vw,25px);color:#153c64;}
#dashboard-lab .lab-project-card p{font-size:13px;line-height:1.65;color:#4c7086;}
.lab-project-note{font-size:11px;line-height:1.55;color:#5c8295;padding:11px 12px;background:#e9f6f8;border-radius:11px;margin-top:auto;width:100%;}
@media(max-width:1000px){#dashboard-lab .lab-projects{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){#dashboard-lab .lab-projects{grid-template-columns:1fr;}#dashboard-lab .lab-project-card{min-height:300px;}}

/* =======================================================
   SCIENTIFIC PUBLICATIONS — concise portfolio summaries
   ======================================================= */
.pw-science-caption{padding:13px 25px;background:linear-gradient(90deg,#edf5ff,#edfff8);font-size:12px;line-height:1.5;color:#5b8198;border-bottom:1px solid #d9e9f0;}
.pw-science-body:has(.pw-research-summary){display:block;overflow:auto;}
.pw-research-summary{padding:22px 26px 27px;background:linear-gradient(130deg,#fff,#f6fbff 72%,#f5fff9);}
.pw-research-intro{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:17px;}
.pw-research-intro .pw-side-eyebrow{margin:0;white-space:nowrap;}
.pw-research-intro p{font-size:12px;color:#65869b;line-height:1.6;margin:0;max-width:590px;}
.pw-research-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.pw-research-card{background:linear-gradient(143deg,#fff,#f4f9ff);border:1px solid #d5e7f0;border-top:3px solid #7c86ff;border-radius:17px;padding:20px;min-height:265px;display:flex;flex-direction:column;gap:12px;box-shadow:0 9px 24px #1a54880e;}
.pw-research-card:nth-child(2){border-top-color:#34a7b7;}
.pw-research-card:nth-child(3){border-top-color:#30b892;}
.pw-research-card-top{display:flex;justify-content:space-between;align-items:start;gap:7px;flex-wrap:wrap;color:#306a9c;font-size:9px;font-weight:800;letter-spacing:.08em;}
.pw-research-card-top span:last-child{background:#eaf6f6;border-radius:8px;padding:5px 6px;letter-spacing:0;color:#307b88;}
.pw-research-card h4{font:800 19px/1.32 var(--display);letter-spacing:-.035em;color:#174572;margin:0;}
.pw-research-card p{font-size:12.5px;line-height:1.65;color:#5b7e92;margin:0;}
.pw-research-card small{font-size:10px;line-height:1.5;color:#658da3;margin-top:auto;}
.pw-research-education{margin-top:18px;}
@media(max-width:840px){.pw-research-cards{grid-template-columns:1fr;}.pw-research-card{min-height:unset;}.pw-research-intro{display:block;}.pw-research-intro p{margin-top:8px;}}
@media(max-width:640px){.pw-research-summary{padding:17px;}.pw-science-caption{padding:11px 16px;}}

/* =============================================================
   APPROVED RESEARCH IN PROGRESS — LOCALIZED CSS ADD-ON
   Add at the END of the existing styles.css, do not replace it.
   Only #pwScienceDialog is affected.
   ============================================================= */
#pwScienceDialog {
  background:
    radial-gradient(ellipse at 95% 95%,rgba(112,255,201,.13),transparent 35%),
    linear-gradient(145deg,#fff,#f4faff 62%,#f0fff8);
}
#pwScienceDialog .pw-science-body {
  display:block;
  flex:1 1 auto;
  min-width:0;
  min-height:0;
  overflow:auto;
  background:
    radial-gradient(ellipse at 93% 97%,rgba(111,253,205,.14),transparent 40%),
    radial-gradient(ellipse at 4% 82%,rgba(126,187,254,.11),transparent 42%),
    linear-gradient(90deg,rgba(72,151,197,.043) 1px,transparent 1px) 0 0/34px 34px,
    linear-gradient(rgba(72,151,197,.043) 1px,transparent 1px) 0 0/34px 34px,
    linear-gradient(130deg,#fff,#f2faff 60%,#effff8);
}
#pwScienceDialog .pw-research-summary {
  padding:20px 24px 25px;
}
#pwScienceDialog .pw-research-published-first {
  margin:0 0 20px;
  padding:0 0 18px;
  border-bottom:1px solid #dcecf4;
}
#pwScienceDialog .pw-research-published-label {
  display:block;
  margin:0 0 10px;
  color:#2b779d;
  font-size:10px;
  font-weight:850;
  letter-spacing:1.45px;
}
#pwScienceDialog .pw-research-published-button {
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 15px;
  border-radius:15px;
  border:1px solid #a9d4e9;
  color:#174f90;
  background:linear-gradient(120deg,#e8f4ff,#f1faff 55%,#e4fff2);
  box-shadow:inset 0 1px #fff,0 10px 22px #18558313;
  font-size:15px;
  font-weight:850;
  text-align:left;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease;
}
#pwScienceDialog .pw-research-published-button:hover {
  transform:translateY(-2px);
  box-shadow:0 14px 25px #1855831f;
}
#pwScienceDialog .pw-research-published-icon {
  flex:0 0 40px;
  height:40px;
  width:40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(125deg,#d9eaff,#d2fff1);
  color:#2760a5;
}
#pwScienceDialog .pw-research-published-icon svg {
  height:23px;
  width:23px;
}
#pwScienceDialog .pw-research-published-copy {display:block;}
#pwScienceDialog .pw-research-published-copy small {
  display:block;
  margin-top:3px;
  color:#6d8da4;
  font-weight:550;
  font-size:11px;
}
#pwScienceDialog .pw-research-published-arrow {
  margin-left:8px;
  font-size:18px;
}
#pwScienceDialog .pw-research-intro {
  margin:0 0 16px;
}
#pwScienceDialog .pw-research-intro-title {
  color:#205e9e;
  font-size:12px;
  font-weight:900;
  letter-spacing:1.55px;
}
#pwScienceDialog .pw-research-intro p {
  margin:7px 0 0;
  color:#698ba3;
  font-size:12.5px;
  line-height:1.55;
}
#pwScienceDialog .pw-research-cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px;
  align-items:stretch;
}
#pwScienceDialog .pw-research-card-illustrated {
  --pw-research-accent:#62c5ff;
  position:relative;
  z-index:0;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  min-height:306px;
  padding:18px 17px 16px;
  overflow:hidden;
  border:1px solid #cfe4ed;
  border-top:3px solid var(--pw-research-accent);
  border-radius:20px;
  background:linear-gradient(145deg,#fff,#f7fbff 46%,#eef8ff 83%,#ecfff6);
  box-shadow:0 13px 32px rgba(27,80,118,.105),inset 0 1px #fff;
  transition:transform .18s ease,box-shadow .18s ease;
}
#pwScienceDialog .pw-research-card-illustrated:nth-child(1) {background:linear-gradient(145deg,#fff,#f4f6ff 60%,#f0fbff);}
#pwScienceDialog .pw-research-card-illustrated:nth-child(2) {background:linear-gradient(145deg,#fff,#f0f8ff 62%,#e8fff8);}
#pwScienceDialog .pw-research-card-illustrated:nth-child(3) {background:linear-gradient(145deg,#fff,#f3fbff 55%,#eafff8);}
#pwScienceDialog .pw-research-card-illustrated:nth-child(4) {background:linear-gradient(145deg,#fff,#f3fbff 42%,#edfff7);}
#pwScienceDialog .pw-research-card-illustrated:nth-child(5) {background:linear-gradient(145deg,#fff,#f5f8ff 54%,#ecfff6);}
#pwScienceDialog .pw-research-card-illustrated::before {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  top:-114px;
  right:-87px;
  width:238px;
  height:190px;
  border-radius:48%;
  background:radial-gradient(ellipse,rgba(108,198,239,.16),transparent 73%);
}
#pwScienceDialog .pw-research-card-illustrated::after {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  top:-70px;
  right:-34px;
  width:162px;
  height:148px;
  transform:rotate(-20deg);
  border:1px solid rgba(91,177,211,.17);
  border-radius:28px;
  background:linear-gradient(145deg,rgba(255,255,255,.45),rgba(95,202,232,.09));
}
#pwScienceDialog .pw-research-card-illustrated:hover {
  transform:translateY(-3px);
  box-shadow:0 21px 39px rgba(27,80,118,.16),inset 0 1px #fff;
}
#pwScienceDialog .pw-research-meta {
  position:relative;
  z-index:1;
  min-height:29px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
#pwScienceDialog .pw-research-status {
  max-width:100%;
  padding:6px 9px;
  border:1px solid #d7e9ef;
  border-radius:9px;
  background:linear-gradient(105deg,rgba(226,242,255,.98),rgba(227,255,244,.95));
  box-shadow:inset 0 1px white;
  color:#376e88;
  text-align:center;
  font-size:9.5px;
  font-weight:850;
  line-height:1.35;
}
#pwScienceDialog .pw-research-card-illustrated h4 {
  position:relative;
  z-index:1;
  min-height:44px;
  margin:0;
  color:#163e6d;
  font:800 17px/1.28 var(--display, "DM Sans", sans-serif);
  letter-spacing:-.48px;
}
#pwScienceDialog .pw-research-card-illustrated p {
  position:relative;
  z-index:1;
  min-height:51px;
  margin:0;
  color:#637f99;
  font-size:11.7px;
  line-height:1.55;
}
#pwScienceDialog .research-visual {
  position:relative;
  flex:0 0 91px;
  height:91px;
  min-height:91px;
  margin-top:auto;
  padding:9px 10px 3px;
  overflow:hidden;
  border:1px solid rgba(178,215,231,.62);
  border-radius:13px;
  background:linear-gradient(120deg,rgba(231,242,255,.66),rgba(250,254,255,.85) 47%,rgba(227,255,244,.67));
  box-shadow:inset 0 1px #fff,0 5px 12px rgba(51,122,163,.045);
}
#pwScienceDialog .research-visual::before {
  content:"";
  position:absolute;
  pointer-events:none;
  inset:0;
  background:
    linear-gradient(rgba(93,147,180,.045) 1px,transparent 1px) 0 0/15px 15px,
    linear-gradient(90deg,rgba(93,147,180,.045) 1px,transparent 1px) 0 0/15px 15px;
}
#pwScienceDialog .research-visual-label {
  position:relative;
  z-index:1;
  color:#5790ad;
  font-size:8.4px;
  font-weight:850;
  letter-spacing:1.15px;
}
#pwScienceDialog .research-visual svg {
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  max-width:340px;
  height:68px;
  margin:-3px auto 0;
}
#pwScienceDialog .pw-research-foot {
  margin-top:0;
  padding:0;
  color:#7897ae;
  font-size:9.6px;
  line-height:1.35;
}
#pwScienceDialog .pw-empty {grid-column:1/-1;}
@media(max-width:1000px) {
  #pwScienceDialog .pw-research-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  #pwScienceDialog .pw-research-card-illustrated {min-height:300px;}
}
@media(max-width:670px) {
  #pwScienceDialog .pw-research-summary {padding:17px 15px 20px;}
  #pwScienceDialog .pw-research-cards {grid-template-columns:1fr;}
  #pwScienceDialog .pw-research-card-illustrated {min-height:0;}
  #pwScienceDialog .pw-research-card-illustrated h4,
  #pwScienceDialog .pw-research-card-illustrated p {min-height:0;}
  #pwScienceDialog .pw-research-published-button {width:100%;font-size:13.5px;}
}
@media(prefers-reduced-motion:reduce) {
  #pwScienceDialog .pw-research-card-illustrated,
  #pwScienceDialog .pw-research-published-button {transition:none;}
}


/* =============================================================
   USER APPROVED 22 NOV — PUBLICATIONS & WRITING HERO (NO LEFT CARD)
   Scoped to #publications. The remaining seven pages are untouched.
   ============================================================= */
@media (min-width: 921px) {
  #publications.pw-slide.is-active {
    display:grid;
    grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr);
    grid-template-rows:auto auto;
    align-content:center;
    align-items:start;
    column-gap:clamp(23px,3.2vw,55px);
    padding:50px 15px 76px;
    position:relative;
    isolation:isolate;
    background:radial-gradient(ellipse at 20% 42%,rgba(110,213,254,.14),transparent 52%),
               radial-gradient(ellipse at 83% 84%,rgba(100,245,191,.17),transparent 43%),
               linear-gradient(115deg,rgba(255,255,255,.68),rgba(244,251,255,.5));
  }
  #publications.pw-slide::before {
    content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
    background:repeating-radial-gradient(ellipse at 64% -18%,transparent 0 32px,rgba(78,158,200,.085) 33px 34px,transparent 35px 59px);
    mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.65),transparent 95%);
  }
  #publications .pw-hero-heading {grid-column:1;grid-row:1;align-self:end;margin-bottom:20px;}
  #publications .pw-intro {grid-column:1;grid-row:2;align-self:start;max-width:440px;margin:0;padding:8px 14px 9px 19px;border-left:3px solid #65c7e6;background:linear-gradient(90deg,#def4ff80,transparent 80%);font-size:clamp(14px,1.25vw,18px);line-height:1.8;color:#517d98;}
  #publications .pw-cards {grid-column:2;grid-row:1 / span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.7vw,21px);align-items:stretch;margin:0;transform:translateY(20px);}
  #publications .pw-card {min-height:412px;padding:26px 23px 22px;border-radius:25px;box-shadow:inset 0 1px #fff,0 17px 39px #1b517923;}
  #publications .pw-card h3 {font-size:clamp(20px,1.8vw,27px);margin:29px 0 13px;letter-spacing:-.05em;}
  #publications .pw-card p {font-size:clamp(12px,.98vw,14px);line-height:1.72;}
  #publications .pw-action {width:100%;justify-content:space-between;min-height:49px;padding:11px 15px;}
}
#publications .pw-hero-heading {background:transparent;border:0;border-radius:0;box-shadow:none;}
#publications .pw-hero-title {
  font:850 clamp(48px,5.4vw,83px)/1.055 var(--display, sans-serif);
  color:#0d356a;letter-spacing:-.064em;margin:28px 0 0;
  background:linear-gradient(140deg,#0b234e 0%,#0d4e85 72%,#2465a8);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 7px 15px #214e8e14);
}
#publications .pw-hero-second {display:block;color:#2760a5;background:linear-gradient(115deg,#174e9c 5%,#2c70b7 68%,#4ca0ce);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
#publications .pw-hero-dot {-webkit-text-fill-color:#34a7b7;color:#34a7b7;}
#publications .pw-card {background-image:linear-gradient(138deg,#fff 5%,#f3f9ff 55%,#e2eeff);}
#publications .pw-card-writing {background-image:linear-gradient(138deg,#fff 5%,#f4fcff 50%,#e6fff3);}
#publications .pw-card:after {content:"";right:-32px;top:-48px;width:170px;height:151px;transform:rotate(-20deg);border:1px solid #a1d3ef6c;border-radius:27px;background:linear-gradient(140deg,#6dc5ef16,#76e7ed0e);}
#publications .pw-card:before {height:4px;}
#publications .pw-card-note {line-height:1.5;font-size:9.3px;text-align:right;}
#publications .pw-card-icon {flex:0 0 53px;width:53px;height:53px;}
#publications .pw-color-dots i {width:7px;height:7px;}
@media(max-width:920px) {
  #publications.pw-slide.is-active {display:flex;flex-direction:column;gap:11px;padding:20px 10px 34px;background:radial-gradient(ellipse at 16% 29%,#e1f5ff80,transparent 55%),radial-gradient(ellipse at 97% 90%,#e5fff280,transparent 60%);}
  #publications .pw-hero-title {font-size:clamp(43px,7.5vw,66px);margin:10px 0 0;}
  #publications .pw-intro {font-size:13.5px;line-height:1.7;border-left:2px solid #74cde2;padding-left:12px;margin:4px 0 18px;}
  #publications .pw-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:15px;}
  #publications .pw-card {min-height:290px;}
}
@media(max-width:560px){#publications .pw-cards{grid-template-columns:1fr;}#publications .pw-card{min-height:260px;}#publications .pw-hero-title{font-size:44px;}}

/* CURRENT WRITING — preserve the approved compact, semantic SVG icons. */
#pwArticleDialog .pw-article-list {width:auto;}
#pwArticleDialog .pw-writing-option {
  display:flex;flex-direction:column;gap:10px;width:100%;padding:14px 15px;
  margin:0 0 13px;border:1px solid #d5e8f2;border-radius:17px;
  background:linear-gradient(145deg,#fff,#f9fcff);box-shadow:inset 0 1px #fff,0 8px 17px #1a568416;
  color:#1b4674;text-align:left;cursor:pointer;
}
#pwArticleDialog .pw-writing-option.is-active {
  border-color:#80c3ff;border-left:4px solid #53bfff;padding-left:12px;
  background:linear-gradient(135deg,#eaf5ff,#e6fff3);box-shadow:0 11px 23px #2f84b51b;
}
#pwArticleDialog .pw-writing-option-top {display:flex;gap:10px;align-items:center;}
#pwArticleDialog .pw-writing-topic-icon, #pwArticleDialog .pw-writing-sheet-icon, #pwArticleDialog .pw-writing-sheet-mark, #pwArticleDialog .pw-writing-stage-icon {
  display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;
  color:#297bb2;background:linear-gradient(135deg,#dfedff,#d9fff1);
}
#pwArticleDialog .pw-writing-topic-icon.is-protest, #pwArticleDialog .pw-writing-sheet-icon.is-protest, #pwArticleDialog .pw-writing-sheet-mark.is-protest {background:linear-gradient(130deg,#e2e8ff,#edf1ff);color:#6677dc;}
#pwArticleDialog .pw-writing-topic-icon svg, #pwArticleDialog .pw-writing-sheet-icon svg, #pwArticleDialog .pw-writing-sheet-mark svg, #pwArticleDialog .pw-writing-stage-icon svg {
  display:block!important;width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;stroke:currentColor;
}
#pwArticleDialog .pw-writing-type {color:#5282b4;font-size:9px;letter-spacing:1px;font-weight:850;}
#pwArticleDialog .pw-writing-option-title {display:block;color:#1e4776;font-size:13px;font-weight:850;line-height:1.5;}
#pwArticleDialog .pw-writing-option-stage {display:flex;align-items:center;gap:9px;color:#7795aa;font-size:11px;line-height:1.4;}
#pwArticleDialog .pw-writing-stage-dot {flex:none;width:7px;height:7px;border-radius:50%;background:#43b5eb;box-shadow:0 0 0 4px #dff3ff;}
#pwArticleDialog .pw-current-area {display:block;min-width:0;}
#pwArticleDialog .pw-current-area[hidden], #pwArticleDialog .pw-preview-area[hidden] {display:none!important;}
#pwArticleDialog .pw-writing-sheet {
  position:relative;display:flex;flex-direction:column;gap:0;min-height:100%;padding:28px 30px;
  overflow:hidden;border:1px solid #d3e8f4;border-radius:21px;
  background:linear-gradient(135deg,#fff,#f5faff 57%,#eafff5 100%);
  box-shadow:inset 0 1px #fff,0 11px 30px #13508214;
}
#pwArticleDialog .pw-writing-sheet-accent {position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#2257a5,#758dff,#62c5ff,#75ffce);}
#pwArticleDialog .pw-writing-sheet-head {display:flex;align-items:center;justify-content:space-between;gap:16px;}
#pwArticleDialog .pw-writing-sheet-kicker-wrap {display:flex;align-items:center;gap:12px;}
#pwArticleDialog .pw-writing-sheet-icon {width:42px;height:42px;}
#pwArticleDialog .pw-writing-sheet-mark {width:44px;height:44px;opacity:.95;}
#pwArticleDialog .pw-writing-sheet-kicker {color:#3676af;font-size:10px;letter-spacing:1.5px;font-weight:850;}
#pwArticleDialog .pw-writing-sheet-title {font:800 clamp(20px,2.15vw,29px)/1.28 var(--display, sans-serif);color:#1b4774;letter-spacing:-.04em;margin:20px 0 15px;}
#pwArticleDialog .pw-writing-sheet-summary {color:#6386a2;font-size:14px;line-height:1.7;margin:0 0 16px;}
#pwArticleDialog .pw-writing-chip-row {display:flex;flex-wrap:wrap;gap:8px;margin:3px 0 18px;}
#pwArticleDialog .pw-writing-chip {border:1px solid #d1e8f1;background:linear-gradient(120deg,#ebf6ff,#e8fbf2);border-radius:11px;padding:7px 13px;color:#336fa7;font-weight:800;font-size:11px;}
#pwArticleDialog .pw-writing-divider {height:1px;background:linear-gradient(90deg,#b0cfee,#c6eee0);margin:3px 0 18px;}
#pwArticleDialog .pw-writing-stage-label {display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:1px;font-weight:850;color:#3265ad;}
#pwArticleDialog .pw-writing-stage-icon {width:20px;height:20px;background:none;}
#pwArticleDialog .pw-writing-stage-icon svg {width:17px!important;height:17px!important;}
#pwArticleDialog .pw-writing-stage-text {color:#6787a7;margin:7px 0 18px;font-size:13px;}
#pwArticleDialog .pw-writing-note {border-top:1px solid #dcecf3;padding-top:18px;color:#8da4b6;font-size:11px;line-height:1.6;margin-top:auto;}
#pwArticleDialog .pw-article-option {min-width:0;}
#pwArticleDialog .pw-article-option strong {font-size:13px;}
@media(max-width:640px) {#pwArticleDialog .pw-writing-sheet {padding:19px 18px;}#pwArticleDialog .pw-writing-sheet-kicker{font-size:9px;}}

/* Consolidated Published Research — 7 actual links, without touching Education modals. */
#pwPublishedResearchDialog .pw-published-research-content {overflow:auto;padding:25px 28px;flex:1;min-height:0;background:linear-gradient(145deg,#fff,#f6fbff 65%,#f1fff8);}
#pwPublishedResearchDialog .pw-published-group + .pw-published-group {padding-top:23px;margin-top:24px;border-top:1px solid #d4eaf2;}
#pwPublishedResearchDialog .pw-published-group-head {margin-bottom:15px;}
#pwPublishedResearchDialog .pw-published-group-head h4 {margin:0 0 4px;color:#214d77;font:800 19px/1.4 var(--display, sans-serif);}
#pwPublishedResearchDialog .pw-published-group-head p {margin:0;color:#7996a8;font-size:12px;}
#pwPublishedResearchDialog .pw-published-group-items {display:grid;gap:9px;}
#pwPublishedResearchDialog .pw-published-entry {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;border-radius:13px;border:1px solid #d5e9f4;background:linear-gradient(125deg,#fff,#eff9ff);text-decoration:none;box-shadow:inset 0 1px white,0 5px 12px #1d5b8d0a;}
#pwPublishedResearchDialog .pw-published-entry:hover {border-color:#81c2ea;box-shadow:0 9px 19px #1b5b8d15;}
#pwPublishedResearchDialog .pw-published-entry-copy {display:grid;gap:6px;}
#pwPublishedResearchDialog .pw-published-entry-copy small {font-size:10px;letter-spacing:1px;font-weight:850;color:#2990af;text-transform:uppercase;}
#pwPublishedResearchDialog .pw-published-entry-copy strong {font-size:13px;line-height:1.45;color:#235071;}
#pwPublishedResearchDialog .pw-published-external {font-size:18px;color:#2c8eb0;}
@media(max-width:640px){#pwPublishedResearchDialog .pw-published-research-content{padding:17px 15px;}}

/* Project Lab: fallback only; these rules apply to the existing semantic card markup. */
#dashboard-lab .lab-projects {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;flex:1;min-height:0;}
#dashboard-lab .lab-project-card {position:relative;display:flex;flex-direction:column;min-width:0;gap:0;min-height:325px;padding:25px 25px 21px;border:1px solid #d1e8ef;border-top:3px solid #7c86ff;border-radius:22px;background:linear-gradient(138deg,#fff,#f3f9ff 72%,#ecfff7);box-shadow:inset 0 1px #fff,0 13px 28px #1c648f12;}
#dashboard-lab .lab-project-card:nth-child(2) {border-top-color:#34a7b7;background:linear-gradient(138deg,#fff,#f0faff 72%,#eafff9);}
#dashboard-lab .lab-project-card:nth-child(3) {border-top-color:#30b892;background:linear-gradient(138deg,#fff,#f5faff 72%,#edfff6);}
#dashboard-lab .lab-project-top {display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px;}
#dashboard-lab .lab-project-type {font-size:10px;letter-spacing:1.1px;color:#327ab6;font-weight:850;}
#dashboard-lab .lab-status {flex:none;font-size:10px;font-weight:800;letter-spacing:.4px;color:#326da6;padding:7px 11px;border:1px solid #cfe1f0;background:#eaf3ff;border-radius:30px;}
#dashboard-lab .lab-project-glyph {width:61px;height:61px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(130deg,#dcecff,#dcfff0);color:#2e80b1;font-size:32px;font-weight:400;margin:18px 0 15px;}
#dashboard-lab .lab-project-card h3 {font:800 clamp(18px,2vw,25px)/1.25 var(--display, sans-serif);letter-spacing:-.045em;color:#17416c;margin:0 0 13px;}
#dashboard-lab .lab-project-card p {font-size:13px;line-height:1.7;color:#5d8297;margin:0 0 20px;}
#dashboard-lab .lab-project-note {margin-top:auto;padding:14px;border-radius:13px;background:linear-gradient(115deg,#ecf5fc,#e9f8f3);color:#6e8ea6;font-size:11.5px;line-height:1.6;}
@media(max-width:900px){#dashboard-lab .lab-projects{grid-template-columns:1fr;}#dashboard-lab .lab-project-card{min-height:260px;}}


/* Maintain the approved two-line titles on the two glossy front cards. */
@media(min-width:921px){#publications .pw-card h3{max-width:215px;}}

/* ==============================================================
   UNIQUE PORTFOLIO — CONTACT ONLY · 22 NOV 2026
   Keeps all other sections, navigation, and print/PDF styles intact.
   ============================================================== */
#contact.contact-slide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 84% at 11% 49%, rgba(104,191,239,.102), transparent 78%),
    radial-gradient(ellipse 58% 67% at 80% 100%, rgba(94,235,197,.105), transparent 74%),
    linear-gradient(111deg, rgba(252,254,255,.50), rgba(246,252,255,.18) 62%, rgba(247,255,252,.30));
}
#contact.contact-slide::before {
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  inset: -20% 43% -6% -29%;
  background:
    repeating-radial-gradient(ellipse at 85% 8%, transparent 0 32px, rgba(77,154,206,.077) 33px 34px, transparent 35px 59px),
    radial-gradient(ellipse at 17% 82%, rgba(137,228,247,.13), transparent 73%);
  -webkit-mask-image:radial-gradient(ellipse at 49% 51%, #000 19%, rgba(0,0,0,.75) 53%, transparent 88%);
  mask-image:radial-gradient(ellipse at 49% 51%, #000 19%, rgba(0,0,0,.75) 53%, transparent 88%);
}
#contact.contact-slide::after {
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  right:-7%; bottom:-24%;
  width:44%; height:57%;
  border-radius:45%;
  background:repeating-radial-gradient(ellipse at 54% 85%, transparent 0 23px,rgba(40,156,174,.048) 24px 25px,transparent 26px 48px);
  transform:rotate(-17deg);
}
#contact .contact-grid {
  position:relative;
  z-index:1;
  grid-template-columns:minmax(0,1.08fr) minmax(350px,.92fr);
  gap:clamp(28px,4vw,58px);
  align-items:center;
}
#contact .contact-left {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-self:center;
  min-height:0;
  padding:21px 2px 22px 5px;
}
#contact .contact-left h2 {
  margin:23px 0 15px;
  font-size:clamp(65px,7.4vw,111px);
}
#contact .contact-left > p {
  max-width:505px;
  margin:0;
  font-size:14px;
  line-height:1.8;
}
#contact .contact-research {
  position:relative;
  max-width:535px;
  margin:25px 0 0;
  padding:15px 22px 16px 19px;
  border-left:3px solid #50b8d4;
  border-radius:0 15px 15px 0;
  background:linear-gradient(95deg,rgba(221,243,255,.55),rgba(230,255,246,.22) 75%,transparent);
}
#contact .contact-research h3 {
  font:800 10.5px/1.55 "Manrope","DM Sans",sans-serif;
  letter-spacing:.145em;
  color:#21669d;
  margin:0 0 11px;
}
#contact .contact-research p {
  margin:0;
  max-width:500px;
  font-size:12.75px;
  line-height:1.72;
  color:#577b92;
  letter-spacing:.003em;
}
#contact .contact-research em {font-style:italic;color:#2469a0;font-weight:700;}
#contact .contact-orbit {margin-top:21px;}
/* Compact but breathable links: six channels + original print button now fit together. */
#contact .contact-panel {
  position:relative;
  z-index:1;
  min-height:0;
  padding:25px 30px 25px;
}
#contact .contact-panel-top {margin-bottom:14px;}
#contact .contact-row {padding:11px 0;}
#contact .contact-symbol {padding:9px;flex:none;}
#contact .contact-panel .contact-pdf-button {margin-top:16px;}
#contact .contact-sig {padding-top:19px;}
@media (min-width:761px) and (max-height:810px) {
  #contact .contact-left h2 {font-size:clamp(62px,7.1vw,102px);margin:17px 0 11px;}
  #contact .contact-research {margin-top:18px;padding-top:12px;padding-bottom:12px;}
  #contact .contact-row {padding:9px 0;}
  #contact .contact-panel {padding-top:21px;padding-bottom:21px;}
  #contact .contact-sig {padding-top:14px;}
}
@media (max-width:760px) {
  #contact.contact-slide {overflow:visible;}
  #contact.contact-slide::before {inset:-4% 5% 42% -40%;opacity:.65;}
  #contact.contact-slide::after {opacity:.5;}
  #contact .contact-grid {grid-template-columns:1fr;gap:22px;}
  #contact .contact-left {min-height:0;padding:12px 0 8px;align-self:stretch;}
  #contact .contact-left h2 {font-size:clamp(58px,12vw,78px);margin:15px 0 14px;}
  #contact .contact-left > p {font-size:13px;line-height:1.8;}
  #contact .contact-research {margin-top:22px;padding:13px 12px 14px 16px;}
  #contact .contact-research h3 {font-size:10px;}
  #contact .contact-research p {font-size:12px;}
  #contact .contact-orbit {display:none;}
  #contact .contact-panel {min-height:0;padding:24px 22px;}
  #contact .contact-panel-top {margin-bottom:13px;}
  #contact .contact-row {padding:10px 0;}
}
@media (prefers-reduced-motion:reduce) {
  #contact.contact-slide {scroll-behavior:auto;}
}


/* FINAL QA — preserve approved Publications layout; protect 'Writing' descender. */
#publications .pw-hero-title {line-height:1.14; padding-bottom:.10em; overflow:visible;}
#publications .pw-hero-second {line-height:1.16; padding-bottom:.09em; overflow:visible;}

/* CONTACT APPROVED — organic note v3, left-column refinements only.
   Right Connect with Me markup/icons/order stay IDENTICAL to the accepted source. */
#contact.contact-slide {
  position:relative; isolation:isolate; overflow:hidden;
  background:
    radial-gradient(ellipse 52% 71% at 13% 52%,rgba(101,196,242,.14) 0%,transparent 80%),
    radial-gradient(ellipse 45% 64% at 74% 90%,rgba(100,239,192,.14) 0%,transparent 75%),
    radial-gradient(ellipse 36% 41% at 75% 12%,rgba(125,157,252,.065) 0%,transparent 78%),
    linear-gradient(111deg,#fdfeff,#fafdff 51%,#f5fff9);
}
#contact.contact-slide::before{
  content:"";position:absolute;pointer-events:none;z-index:0;inset:-25% -14% -23% -18%;
  background:repeating-radial-gradient(ellipse at 40% -5%,transparent 0 34px,rgba(64,147,198,.072) 35px 36px,transparent 37px 61px);
  -webkit-mask-image:linear-gradient(105deg,rgba(0,0,0,.82),rgba(0,0,0,.46) 55%,transparent 98%);
  mask-image:linear-gradient(105deg,rgba(0,0,0,.82),rgba(0,0,0,.46) 55%,transparent 98%);
}
#contact.contact-slide::after{content:"";position:absolute;pointer-events:none;z-index:0;right:-4%;bottom:-34%;width:65%;height:85%;border-radius:50%;transform:rotate(-13deg);background:repeating-radial-gradient(ellipse at 60% 80%,transparent 0 22px,rgba(47,165,178,.064) 23px 24px,transparent 25px 44px)}
#contact .contact-graph-paper{position:absolute;z-index:0;pointer-events:none;right:0;top:9%;width:34%;height:80%;opacity:.48;background:linear-gradient(90deg,rgba(93,163,208,.1) 1px,transparent 1px) 0 0/28px 28px,linear-gradient(rgba(93,163,208,.1) 1px,transparent 1px) 0 0/28px 28px;-webkit-mask-image:linear-gradient(90deg,transparent,#000);mask-image:linear-gradient(90deg,transparent,#000)}
#contact .contact-grid{position:relative;z-index:1;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(32px,4.5vw,70px);align-items:center;min-height:100%;}
#contact .contact-left{display:flex;flex-direction:column;justify-content:center;align-self:center;min-height:0;max-width:580px;padding:18px 0 22px;}
#contact .contact-left h2{
  position:relative;line-height:1.10;letter-spacing:-.069em;max-width:100%;font-size:clamp(63px,6.6vw,98px);margin:24px 0 12px;padding-bottom:.07em;
  background:linear-gradient(155deg,#061c44 8%,#103765 49%,#174877 76%,#092247 98%);
  background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 2px 0 rgba(255,255,255,.65)) drop-shadow(0 9px 16px rgba(39,101,132,.11));
}
#contact .contact-left h2 em{
  display:block;font-style:normal;
  background:linear-gradient(139deg,#095a56 1%,#238e77 32%,#6fac56 67%,#a3cb5c 100%);
  background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 1px 1px rgba(255,255,255,.7)) drop-shadow(0 6px 13px rgba(31,149,110,.16));
  padding-bottom:.06em;
}
#contact .contact-left > p.contact-intro{
  position:relative;max-width:540px;margin:15px 0 0 -8px;padding:16px 26px 18px 21px;
  border-radius:31px 55px 42px 24px / 24px 47px 30px 40px;
  background:radial-gradient(ellipse 85% 93% at 57% 49%,rgba(222,251,238,.34),rgba(238,251,249,.15) 63%,transparent 100%);
  color:#567e94;line-height:1.8;font-weight:500;font-size:clamp(13.5px,1.1vw,15px);box-shadow:none;border:0;
}
#contact .contact-intro::before{content:"";position:absolute;left:1px;top:10px;bottom:10px;width:3px;border-radius:99px;background:linear-gradient(180deg,#75c8e8 4%,#54bdba 52%,#87d09b 95%);opacity:.8}
#contact .contact-research{
  position:relative;max-width:555px;margin:17px 0 0;padding:20px 26px 18px 24px;
  border:0;border-radius:70px 26px 65px 30px;
  background:radial-gradient(ellipse 87% 95% at 49% 46%,rgba(211,252,230,.67),rgba(228,251,245,.4) 60%,rgba(229,255,247,0) 100%);
  box-shadow:none;
}
#contact .contact-research::before{content:"";position:absolute;left:3px;top:8px;bottom:8px;width:2px;inset:8px auto 8px 3px;border-radius:50%;background:linear-gradient(#b0cb79,#43af92 50%,transparent)}
#contact .contact-research::after{content:"";position:absolute;right:13px;top:-16px;height:62px;width:94px;border:1px solid rgba(83,156,110,.12);border-radius:52% 48% 50% 50%;transform:rotate(-26deg);pointer-events:none}
#contact .contact-research-head{display:flex;align-items:center;gap:11px;margin-bottom:12px;position:relative;z-index:1}
#contact .contact-announcement-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:15px 18px 15px 4px;color:#398765;background:linear-gradient(145deg,#f3ffe2,#e0ffed);border:1px solid #cce9d5}
#contact .contact-announcement-icon svg{width:19px;height:19px}
#contact .contact-research h3{font:800 11px/1.5 var(--display);letter-spacing:.11em;color:#3a8068;margin:0}
#contact .contact-research p{font-size:13.1px;line-height:1.75;color:#52778c;margin:0;position:relative;z-index:1;max-width:525px}
#contact .contact-research .contact-research-link{color:#24836b;font-weight:800;font-style:italic;text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:#70bfa8;text-underline-offset:3px}
#contact .contact-research .contact-research-link:hover{color:#17644e}
#contact .contact-research p strong{color:#327b6a;font-weight:800}
#contact .contact-orbit{position:static;display:flex;align-items:center;gap:9px;margin:16px 0 0 2px;width:auto;height:auto}
#contact .contact-orbit span{display:block;width:12px;height:12px;background:#75f3c6;border-radius:50%}
#contact .contact-orbit span:nth-child(2){width:18px;height:18px;background:#57d9ee}
#contact .contact-orbit span:nth-child(3){width:13px;height:13px;background:#2c65ac}
/* Keep six original contact links, same icons, and the existing PDF button. */
@media (min-width:761px) and (max-height:810px){
  #contact .contact-left h2{font-size:clamp(58px,6.2vw,87px);margin:15px 0 8px}
  #contact .contact-research{margin-top:8px;padding-top:13px;padding-bottom:11px}
  #contact .contact-left > p.contact-intro{padding-top:10px;padding-bottom:10px;margin-top:6px}
  #contact .contact-orbit{margin-top:10px}
}
@media(max-width:760px){
  #contact.contact-slide{overflow:visible}
  #contact .contact-grid{grid-template-columns:1fr;gap:25px}
  #contact .contact-left{padding:12px 0 8px;max-width:none}
  #contact .contact-left h2{font-size:clamp(54px,11vw,78px);margin:13px 0 8px}
  #contact .contact-left > p.contact-intro{margin-left:0;padding:14px 18px 17px;font-size:13px}
  #contact .contact-research{max-width:none;padding:17px 18px 16px 20px;margin-top:15px}
  #contact .contact-research h3{font-size:10px}
  #contact .contact-research p{font-size:12.5px}
  #contact .contact-orbit{margin-top:12px}
  #contact .contact-graph-paper{width:70%;opacity:.35}
}

/* Mobile QA: prevent decorative contour overflow outside the rounded viewport. */
@media screen and (max-width:760px){
  html,body{max-width:100%;overflow-x:clip;}
}
