:root{--ink:#16232a;--muted:#65706c;--paper:#f7f8f4;--white:#fff;--line:#e2e6df;--green:#426d5e;--green-deep:#183c39;--gold:#c4a274;--blue:#254d68;--font:-apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Arial,sans-serif;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.16}h1,h2{letter-spacing:-.045em}::selection{background:#bfd7ca;color:#182827}.container{max-width:1200px;margin:auto;padding-inline:35px}.site-header{border-bottom:1px solid var(--line);background:rgba(247,248,244,.94);position:sticky;top:0;z-index:50;backdrop-filter:blur(10px)}.nav{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:-.03em}.brand-mark{font-family:var(--serif);font-size:34px;line-height:1;color:var(--ink)}.brand-mark .dot{color:var(--green)}.brand-name{font-size:15px}.nav-links{display:flex;align-items:center;gap:36px;font-size:13px;color:#51625d;font-weight:550}.nav-links a:hover,.nav-cta:hover{color:var(--green)}.nav-cta{font-size:13px;font-weight:700;border-bottom:1px solid #a2b6ae;padding-bottom:6px}.nav-cta span{margin-left:12px}.hero{padding-top:93px;padding-bottom:105px;display:grid;grid-template-columns:minmax(0,1.32fr) minmax(310px,.78fr);gap:94px;align-items:center}.eyebrow,.kicker{font-size:11px;letter-spacing:.16em;font-weight:780;color:var(--green);line-height:1.5}.eyebrow{display:flex;gap:9px;align-items:center;margin-bottom:28px}.signal-dot{width:7px;height:7px;background:#6ba994;border-radius:50%;box-shadow:0 0 0 4px #dcebe3}.hero h1{max-width:780px;font-family:var(--serif);font-weight:400;font-size:clamp(41px,4.55vw,69px);line-height:1.1;margin-bottom:27px}.period{color:#8ba893}.hero-intro{color:#566560;font-size:16.5px;max-width:650px;line-height:1.85;margin-bottom:30px}.hero-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:24px;padding:15px 22px;border-radius:4px;border:1px solid transparent;font-size:13px;font-weight:700;line-height:1.2;transition:transform .18s,background .18s}.button:hover{transform:translateY(-2px)}.button.primary{background:#315e52;color:white}.button.primary:hover{background:#244b41}.button.subtle{color:#2a554a;background:transparent}.button.subtle:hover{background:#e8ede7}.button[disabled]{opacity:.5;cursor:not-allowed}.hero-footnote{margin-top:33px;color:#7b8781;font-size:12px}.sparkle{color:var(--green);margin-right:9px}.hero-aside{width:100%;min-height:448px;background:#e8eeea;border:1px solid #d4dfd8;border-radius:3px;padding:26px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:24px 26px 0 #edf1e9}.card-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800;letter-spacing:.13em;color:#47665e}.small-index{font-size:10px;letter-spacing:.14em;font-weight:700;color:#748b81}.molecule{padding:9px 0 0;align-self:center;width:100%}.molecule svg{width:100%;height:auto;filter:drop-shadow(0 14px 20px rgba(53,87,83,.1))}.card-foot{border-top:1px solid #c7d6cb;padding-top:20px}.card-foot p{font-family:var(--serif);font-size:24px;line-height:1.35;margin:13px 0 0;color:#2d5149}.metric-band{background:#1e3331;color:#f1f3ef}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding-block:34px}.metric{border-right:1px solid #3b514d;padding:12px 34px;display:flex;flex-direction:column;gap:6px}.metric:first-child{padding-left:0}.metric:last-child{border:0}.metric strong{font-size:35px;font-family:var(--serif);font-weight:400;letter-spacing:-.05em}.metric span{font-size:11px;color:#d2ddd5;letter-spacing:.025em;max-width:180px;line-height:1.5}.section{padding-block:112px;scroll-margin-top:80px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:70px;margin-bottom:43px}.section-heading h2{font:400 clamp(32px,3.6vw,49px)/1.14 var(--serif);max-width:690px;margin:12px 0 0}.section-description{font-size:13px;color:#78817b;max-width:310px;line-height:1.85;margin-bottom:3px}.research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.research-card{background:var(--white);border:1px solid var(--line);overflow:hidden;box-shadow:0 7px 23px #1d3c3410}.article-top{display:flex;align-items:center;justify-content:space-between;padding:19px 27px;font-size:10px;font-weight:750;color:#73817a;letter-spacing:.115em}.article-date{color:#8e968f}.research-art{height:165px;margin:0 18px;overflow:hidden}.research-art svg{width:100%;height:100%}.art-one{background:#eaf0e8}.art-two{background:#e9eff2}.research-body{padding:30px 28px 26px}.article-num{font-size:10px;letter-spacing:.13em;color:#789083;font-weight:750}.research-body h3{font-family:var(--serif);font-size:26px;font-weight:400;margin:12px 0 15px;letter-spacing:-.023em}.research-body p{font-size:13px;color:#687670;line-height:1.83;min-height:77px}.tag-row{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.tag-row span{background:#eff3ed;font-size:10px;padding:6px 9px;color:#416253;border-radius:3px}.research-bottom{padding-top:20px;border-top:1px solid #e7ece6;display:flex;align-items:center;justify-content:space-between;color:#567467;font-size:12px;font-weight:700}.arrow-glyph{font-size:20px;font-weight:400}.projects-section{background:#eff2ed}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{background:white;padding:27px;min-height:370px;display:flex;flex-direction:column;border:1px solid #e0e7df}.project-symbol{height:105px;display:flex;align-items:center;justify-content:center;margin-bottom:25px;font-family:var(--serif);font-size:59px;border-radius:2px}.project-symbol span{font-size:35px;align-self:center;color:#d3aa7c}.symbol-one{background:#e2eae6;color:#356c5c}.symbol-two{background:#e8edf1;color:#51708b}.symbol-three{background:#f1ede5;color:#a98c6e}.project-category{font-size:10px;color:#658070;letter-spacing:.12em;font-weight:800}.project-card h3{font:400 25px var(--serif);letter-spacing:-.02em;margin:10px 0 12px}.project-card p{color:#6d7a72;font-size:12.5px;line-height:1.82;flex:1}.project-foot{border-top:1px solid #e5e8e2;padding-top:19px;margin-top:24px;display:flex;justify-content:space-between;gap:10px;color:#6c796f;font-size:11px}.experience-list{border-top:1px solid #dce4dc}.experience-row{display:grid;grid-template-columns:160px 1fr 170px;gap:20px;align-items:center;padding:31px 4px;border-bottom:1px solid #dce4dc}.exp-period,.exp-meta{font-size:10px;color:#648071;font-weight:800;letter-spacing:.11em}.exp-meta{text-align:right}.experience-row h3{font:400 25px var(--serif);margin-bottom:7px}.experience-row p{font-size:12px;color:#7e877e;margin:0}.connect-section{padding:91px 0;background:#dfe9e0;scroll-margin-top:80px}.connect-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(200px,.6fr);gap:70px;align-items:center}.connect-layout h2{font:400 clamp(36px,3.8vw,52px)/1.16 var(--serif);max-width:680px;margin:13px 0 21px}.connect-layout p:not(.kicker){max-width:600px;font-size:14px;color:#62766c;line-height:1.85;margin-bottom:24px}.connect-decoration{min-height:230px;border:1px solid #adbfaf;display:flex;flex-direction:column;justify-content:space-between;padding:27px;color:#5c7b65}.connect-decoration span{font-family:var(--serif);font-size:25px;line-height:1.2;letter-spacing:-.02em}.connect-decoration strong{font-size:57px;font-weight:300;align-self:end}footer{background:#192b29;color:#d7e0d8;padding:27px 0 22px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px}.footer-note{letter-spacing:.13em;font-size:10px;color:#b7c8ba}.tracking-note{font-size:10px;color:#98aba0;margin-top:14px;line-height:1.6}
/* Private dashboard */
.admin-body{background:#f6f7f3}.dashboard-header{background:white;border-bottom:1px solid var(--line)}.dashboard-nav{display:flex;justify-content:space-between;align-items:center;height:78px}.admin-label{font-weight:400;color:#7f8c84}.dashboard-actions{display:flex;align-items:center;gap:21px}.dashboard-actions form{margin:0}.admin-site-link,.text-button{font-size:12px;color:#4b6259}.text-button{border:0;background:transparent}.text-button:hover,.admin-site-link:hover{text-decoration:underline}.dashboard-main{padding-top:54px;padding-bottom:65px}.dashboard-title-row{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:30px}.dashboard-title-row h1{font:400 45px var(--serif);margin:10px 0 13px}.dashboard-title-row p{color:#7b857d;font-size:13px;margin:0}.period-tabs{display:flex;gap:5px;background:#eaeee8;padding:4px;border-radius:5px;white-space:nowrap}.period-tabs a{padding:9px 13px;font-size:12px;color:#64766a;border-radius:3px}.period-tabs a.active{background:white;color:#335b4c;font-weight:700;box-shadow:0 1px 4px #0000000d}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.stat-card{background:white;border:1px solid var(--line);padding:24px 23px;display:flex;flex-direction:column;gap:8px}.stat-card>span{font-size:12px;color:#5f7266;font-weight:650}.stat-card strong{font:400 41px var(--serif);letter-spacing:-.05em;line-height:1.2}.stat-card small{color:#919b93;font-size:11px}.help-icon{cursor:help;color:#a0ada1}.dashboard-panels{display:grid;grid-template-columns:1.4fr 1fr;gap:19px;margin-top:20px}.panel{border:1px solid var(--line);background:white;padding:27px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.panel-heading h2{font:400 22px var(--serif);letter-spacing:-.02em;margin:0}.panel-heading span{font-size:10px;letter-spacing:.09em;color:#829186;font-weight:700}.panel-heading p{font-size:12px;color:#869489;margin:8px 0 0}.bar-chart{height:205px;display:flex;align-items:flex-end;justify-content:space-between;gap:9px;border-bottom:1px solid #e0e7de;margin-top:24px}.bar-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;height:100%;gap:5px;position:relative}.bar{background:#83a998;border-radius:3px 3px 0 0;width:100%;min-height:0;max-width:30px}.bar-num{font-size:9px;color:#7e9687;min-height:14px}.bar-label{font-size:9px;color:#a2aca4;white-space:nowrap;position:absolute;bottom:-22px}.chart-panel{padding-bottom:48px}.note-panel ul{padding-left:17px;margin:0}.note-panel li{font-size:12px;color:#78867b;line-height:1.65;margin-bottom:9px}.note-panel strong{color:#425d4e}.campaign-panel{margin-top:20px}.campaign-form{display:flex;gap:12px;align-items:flex-end;padding:20px;background:#f5f7f3;border:1px solid #e7eee5;margin:20px 0 25px}.campaign-form>div{flex:1}.campaign-form label,.login-card label{display:block;font-size:11px;font-weight:700;color:#587062;margin-bottom:8px}.campaign-form input,.login-card input{width:100%;border:1px solid #cbd8cd;border-radius:3px;padding:12px;font-size:13px;color:#273e36;background:white}.campaign-form .button{white-space:nowrap;height:44px}.table-scroller{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#88998a;font-weight:800;white-space:nowrap;border-bottom:1px solid #e5eae4;padding:12px 14px}td{padding:20px 14px;border-bottom:1px solid #edf0ea;color:#516c59;vertical-align:middle}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}tr:last-child td{border-bottom:0}.campaign-label{font-weight:750;color:#2c4235;white-space:nowrap}.campaign-organization{font-size:11px;color:#94a097;margin-top:3px}.copy-wrap{display:flex;gap:10px;align-items:center;max-width:340px}.link-code{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;max-width:200px;white-space:nowrap;color:#557a68}.copy-btn{background:#e9f0e9;border:0;color:#365d48;padding:7px 9px;border-radius:3px;font-size:11px}.copy-btn:hover{background:#dce9dd}.empty-table{text-align:center;padding:32px;color:#91a094}.dashboard-footer{color:#89988b;font-size:11px;margin-top:24px}.login-shell{max-width:510px;padding:36px 22px;margin:0 auto}.login-card{background:white;padding:38px;margin-top:52px;border:1px solid var(--line);box-shadow:0 12px 50px #152d1914}.login-card h1{font:400 36px var(--serif);margin:12px 0}.login-card p{font-size:13px;color:#6f8074;margin-bottom:30px}.login-card input{margin-bottom:18px}.login-card .button{width:100%}.form-error,.form-notice{background:#fff0e9;color:#935b40;padding:12px;font-size:12px;margin:15px 0;border:1px solid #f2d8c5}.form-notice{background:#eef2ec;color:#526e58;border-color:#d5e5d4}
@media(max-width:1000px){.hero{gap:44px}.hero-aside{min-height:388px;padding:20px}.hero h1{font-size:clamp(40px,4.6vw,57px)}.dashboard-panels{grid-template-columns:1fr}.metric{padding-inline:20px}}@media(max-width:750px){.container{padding-inline:22px}.nav{height:68px}.nav-links{display:none}.nav-cta{font-size:12px}.hero{padding-top:70px;padding-bottom:65px;grid-template-columns:1fr;gap:47px}.hero h1{font-size:clamp(40px,9vw,60px)}.hero-aside{min-height:325px;max-width:450px;box-shadow:14px 15px 0 #edf1e9}.molecule{width:70%}.metric-grid{grid-template-columns:repeat(2,1fr);row-gap:20px}.metric{padding:10px 22px!important}.metric:nth-child(2){border:0}.metric:nth-child(3){border-right:1px solid #3b514d}.section{padding-block:74px}.section-heading{flex-direction:column;align-items:flex-start;gap:18px}.section-heading h2{font-size:37px}.section-description{max-width:520px}.research-grid,.connect-layout{grid-template-columns:1fr}.project-grid{grid-template-columns:1fr}.project-card{min-height:285px}.project-symbol{height:85px;margin-bottom:18px}.experience-row{grid-template-columns:1fr auto;gap:8px}.experience-row .exp-period{grid-column:1/-1}.experience-row h3{font-size:22px}.exp-meta{font-size:9px}.connect-decoration{display:none}.footer-inner{flex-wrap:wrap}.dashboard-title-row{align-items:start;flex-direction:column}.dashboard-metrics{grid-template-columns:repeat(2,1fr)}.campaign-form{flex-direction:column;align-items:stretch}.campaign-form>div{width:100%}.dashboard-title-row h1{font-size:39px}}@media(max-width:410px){.brand-name{font-size:12px}.nav-cta{font-size:11px}.hero-actions{gap:8px}.button{font-size:12px;padding:14px}.metric strong{font-size:31px}.metric span{font-size:10px}.dashboard-metrics{gap:8px}.stat-card{padding:16px 13px}.stat-card strong{font-size:33px}.stat-card small{font-size:10px}}

/* v2 personal portfolio: use real portraits and real project screenshots, never stock stand-ins */
.nav-links{gap:25px}.hero{grid-template-columns:minmax(0,1.17fr) minmax(330px,.83fr);gap:74px;padding-top:80px;padding-bottom:94px}.handwritten-prefix{font:italic 25px/1.2 var(--serif);color:#416d5c;margin-bottom:16px}.hero h1{font-size:clamp(43px,4.65vw,69px)}.hero h1 em{font-weight:400;color:#507767}.hero-intro{font-size:16px;line-height:1.87}.portrait-card{margin:0;position:relative;transform:rotate(1.1deg)}.portrait-frame{aspect-ratio:4/4.85;background:#c6d8d1;overflow:hidden;border:12px solid #fff;box-shadow:0 24px 50px #17302920;position:relative}.portrait-frame>img{width:100%;height:100%;object-fit:cover;object-position:center 30%;display:block}.portrait-placeholder{width:100%;height:100%;background:linear-gradient(145deg,#dae4dc 0%,#b7cac2 65%,#91b5a6 100%);display:flex;flex-direction:column;justify-content:space-between;padding:25px}.portrait-monogram{font:400 clamp(82px,12vw,145px)/1 var(--serif);letter-spacing:-.12em;color:#567f6f;align-self:center;margin-top:28%}.portrait-monogram span{color:#ebf4e9}.portrait-placeholder-label{font-size:10px;line-height:1.6;color:#315d4e;font-weight:800;letter-spacing:.13em}.portrait-placeholder-label small{font-size:11px;font-weight:400;letter-spacing:0}.portrait-caption{display:flex;justify-content:space-between;gap:16px;padding-top:14px;color:#70847a;font-size:9px;letter-spacing:.13em;font-weight:800}.portrait-note{position:absolute;bottom:70px;right:-34px;max-width:180px;background:#edf0e7;padding:19px 22px;border:1px solid #d9e1d6;box-shadow:4px 8px 20px #1f35241c;font:italic 17px/1.3 var(--serif);color:#365f4b;transform:rotate(-5deg)}.portrait-note span{display:block;font-style:normal;font-size:20px;text-align:right;margin-top:9px;color:#96ae9b}.about-section{padding-top:110px;padding-bottom:112px}.about-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);gap:75px}.about-story p{color:#5f7066;font-size:15px;line-height:1.95;margin-bottom:18px}.about-story .about-lead{font:400 30px/1.37 var(--serif);color:#273e34;letter-spacing:-.02em;margin-bottom:30px}.about-lead em{font-style:normal;color:#4d7d65}.about-story strong{color:#315b47}.beyond-card{background:#eaf0e8;border:1px solid #dae4dc;padding:28px 30px}.beyond-heading{display:flex;justify-content:space-between;gap:20px;color:#4a6a57;font-size:10px;font-weight:800;letter-spacing:.12em;margin-bottom:17px}.beyond-heading span:last-child{font-size:18px}.beyond-item{display:grid;grid-template-columns:35px 1fr;gap:10px;border-top:1px solid #ccd9ce;padding:19px 0}.beyond-item:last-child{padding-bottom:0}.beyond-index{font:italic 18px var(--serif);color:#8ca396}.beyond-item h3{font:400 21px var(--serif);margin:0 0 8px}.beyond-item p{font-size:12px;color:#64766b;line-height:1.7;margin:0}.research-section{background:#fff}.research-card{box-shadow:none;background:#fff}.research-body p.learning-note{min-height:0;font-size:12px;background:#f2f5f0;border-left:2px solid #9bb8a5;padding:12px 15px;color:#54675b;margin-top:12px}.learning-note strong{color:#31594a}.research-bottom a,.project-foot a{color:#2f7557;text-decoration:underline;text-underline-offset:4px}.illustration-note{font-size:11px;color:#8a978b;text-align:right;margin:18px 0 0}.project-card{padding:21px 23px 27px}.project-media{height:170px;margin-bottom:26px;display:flex;align-items:center;justify-content:center;overflow:hidden}.project-media img{width:100%;height:100%;object-fit:contain;display:block}.project-media .project-symbol{margin:0;font-size:64px;height:auto}.project-card h3{font-size:26px}.project-card p{font-size:13px}.connect-subnote{font-size:12px!important;font-style:italic}.resume-coming{color:#506959;font-size:12px;font-style:italic}.metric strong{font-size:38px}.metric span{font-size:12px}.section{scroll-margin-top:85px}
@media(max-width:1000px){.hero{gap:40px;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr)}.portrait-note{right:-8px}.about-grid{gap:35px}}
@media(max-width:750px){.hero{grid-template-columns:1fr;padding-top:50px}.portrait-card{max-width:450px;width:88%;margin:0 auto 5px}.portrait-note{right:-26px}.about-grid{grid-template-columns:1fr;gap:32px}.about-story .about-lead{font-size:27px}.about-section{padding-top:75px;padding-bottom:75px}.research-section{padding-top:75px}.portrait-monogram{font-size:115px}.portrait-frame{aspect-ratio:4/4.5}.nav-links{display:none}}
@media(max-width:420px){.portrait-card{width:90%}.portrait-note{max-width:144px;font-size:14px;right:-17px;bottom:53px;padding:13px}.hero h1{font-size:42px}.beyond-card{padding:22px}.portrait-caption{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

.csv-export{color:#38705b;text-decoration:underline;text-underline-offset:3px;letter-spacing:0;text-transform:none;font-weight:700}

/* v3 — real source material, editorial hierarchy, substantial project case studies */
:root { --paper:#faf9f5; --ink:#20302f; --line:#e2e5de; --green:#496f63; --green-deep:#173d36; }
body { background:var(--paper); }
.site-header { background:rgba(250,249,245,.96); }
.nav { height:74px; }
.brand-mark { font-style:italic; font-weight:700; font-size:32px; letter-spacing:-.11em; }
.hero { padding-block:78px 88px; grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr); gap:66px; }
.hero h1 { font-size:clamp(43px,4.45vw,65px); max-width:735px; letter-spacing:-.048em; }
.hero h1 em { color:#447060; }
.hero-intro { line-height:1.82; max-width:630px; font-size:16px; }
.handwritten-prefix { color:#376e56; font-size:27px; }
.portrait-card { transform:rotate(1.15deg); }
.portrait-frame { aspect-ratio:4/4.85; border:9px solid #fff; box-shadow:0 24px 45px rgba(34,54,42,.16); }
.portrait-frame img { object-position:50% 29%; }
.portrait-note { color:#315e49; background:#f6f4e9; bottom:78px; right:-24px; font-size:17px; }
.metric-band { background:#213e37; }
.metric strong { font-size:clamp(26px,2.8vw,36px); white-space:nowrap; }
.metric:nth-child(4) strong { font-size:clamp(26px,2.65vw,34px); }
.about-story p { font-size:15.2px; line-height:1.9; }
.about-story .about-lead { font-size:clamp(26px,2.35vw,32px); max-width:690px; }
.about-grid { grid-template-columns:minmax(0,1.19fr) minmax(310px,.81fr); align-items:start; }
.inline-link { text-decoration:underline; text-underline-offset:4px; color:#2d7359; font-weight:650; }
.beyond-card { border-radius:3px; background:#f0f2e9; }
.beyond-footer { display:flex; justify-content:space-between; gap:10px; font-size:9px; font-weight:750; letter-spacing:.1em; color:#6d8274; border-top:1px solid #ced8ca; padding-top:18px; }
.research-section { background:#f6f8f4; }
.research-card { border:1px solid #e3e8e1; box-shadow:0 13px 32px rgba(24,53,41,.06); }
.research-card .research-body { padding:30px; }
.paper-visual { height:220px; margin:0 18px; display:flex; gap:19px; padding:20px 24px; justify-content:space-between; overflow:hidden; }
.mental-visual { background:linear-gradient(125deg,#e8eee7,#d7e7d9); }
.diabetes-visual { background:linear-gradient(125deg,#e6eef4,#d5e1ec); }
.paper-thumb { flex:0 0 38%; max-width:205px; background:white; box-shadow:9px 11px 20px rgba(32,49,47,.15); transform:rotate(-5deg); margin:2px 0 -60px 7px; overflow:hidden; border:4px solid white; }
.paper-thumb img { display:block; width:100%; height:auto; object-fit:contain; }
.paper-stat { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; flex:1; min-width:0; color:#285c4a; }
.diabetes-visual .paper-stat { color:#345c77; }
.paper-stat-label { font-size:9px; font-weight:850; letter-spacing:.13em; line-height:1.5; }
.paper-stat strong { font:400 clamp(36px,3.6vw,51px)/1.06 var(--serif); letter-spacing:-.05em; margin:14px 0 10px; white-space:nowrap; }
.paper-stat small { font-size:11.5px; line-height:1.65; font-weight:550; }
.research-body h3 { font-size:clamp(21px,2.1vw,27px); line-height:1.22; min-height:96px; }
.research-body p { min-height:0; font-size:13.1px; }
.research-bottom { gap:12px; }
.research-bottom a { color:#327257; }
.research-disclaimer, .source-note { color:#7a887b; margin:21px 0 0; font-size:11px; line-height:1.7; }
.projects-section { background:#f0f2ed; }
.projects-featured { margin-bottom:22px; }
.feature-project { background:white; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr); border:1px solid #dde4dc; overflow:hidden; }
.feature-image { position:relative; background:#1c2e43; display:flex; justify-content:center; align-items:center; min-height:364px; padding:15px; overflow:hidden; }
.feature-image img { width:100%; max-height:430px; height:auto; object-fit:contain; display:block; border-radius:6px; }
.project-image-caption { position:absolute; bottom:18px; left:22px; background:rgba(16,30,43,.9); border:1px solid rgba(255,255,255,.25); border-radius:3px; color:white; font-size:9px; letter-spacing:.12em; font-weight:800; padding:8px 10px; }
.feature-copy { padding:42px 37px; display:flex; flex-direction:column; justify-content:center; }
.feature-copy h3 { font:400 43px/1.13 var(--serif); letter-spacing:-.04em; margin:14px 0 17px; }
.feature-copy p { color:#66766a; font-size:14px; line-height:1.85; margin-bottom:25px; }
.project-evidence { display:flex; gap:24px; margin-bottom:25px; }
.project-evidence span { color:#7a887e; font-size:11px; }
.project-evidence strong { display:block; color:#365e50; font:400 29px/1.15 var(--serif); }
.project-link { color:#267352; font-size:13px; text-decoration:underline; text-underline-offset:4px; font-weight:700; width:max-content; }
.project-grid-v3 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.project-grid-v3 .project-card { padding:22px 24px 24px; min-height:0; }
.project-grid-v3 .project-media { height:257px; margin-bottom:24px; background:#eef3f5; border:1px solid #e3e9e6; }
.project-grid-v3 .project-media img { width:100%; height:100%; object-fit:contain; object-position:center; }
.project-grid-v3 .project-card:nth-child(2) .project-media { background:#efe8db; }
.project-grid-v3 .project-card:nth-child(2) .project-media img { object-fit:cover; }
.project-grid-v3 .project-category { margin-top:3px; }
.project-grid-v3 .project-card h3 { font-size:31px; margin-top:11px; }
.project-grid-v3 .project-card p { font-size:13.2px; line-height:1.83; }
.project-grid-v3 .project-foot { flex-wrap:wrap; }
.project-grid-v3 .project-foot span { letter-spacing:.04em; }
.experience-postscript { font:italic 16px/1.6 var(--serif); color:#6e8175; margin:28px 0 0; }
.connect-section { background:#e3eae0; }
.connect-layout h2 { max-width:700px; }
.footer-inner a:hover,.project-link:hover,.research-bottom a:hover,.project-foot a:hover { color:#8bbfa0; }
@media(max-width:1050px) {
  .hero { gap:40px; grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr); }
  .hero h1 { font-size:clamp(41px,4.8vw,57px); }
  .paper-visual { padding-inline:15px; gap:11px; }
  .paper-stat strong { font-size:38px; }
  .feature-copy { padding:26px 28px; }
  .feature-image { min-height:315px; }
  .research-body h3 { min-height:0; }
}
@media(max-width:750px) {
  .nav { height:68px; }
  .hero { display:grid; grid-template-columns:1fr; padding-top:54px; gap:37px; padding-bottom:70px; }
  .hero h1 { font-size:clamp(40px,9vw,58px); }
  .hero-intro { font-size:15px; }
  .portrait-card { width:min(80%,420px); margin:0 auto; }
  .portrait-frame { aspect-ratio:4/4.7; }
  .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .metric { min-height:115px; }
  .metric:nth-child(2) { border:0; }
  .metric:nth-child(3) { border-top:1px solid #47635b; }
  .metric:nth-child(4) { border-top:1px solid #47635b; }
  .about-grid, .research-grid, .project-grid-v3, .feature-project { grid-template-columns:1fr; }
  .feature-image { min-height:0; padding:22px; }
  .feature-image img { max-height:none; }
  .feature-copy { padding:32px 28px 36px; }
  .research-body h3 { min-height:0; }
  .project-grid-v3 .project-media { height:255px; }
  .section { padding-block:73px; }
  .section-heading { margin-bottom:32px; }
  .experience-row { grid-template-columns:1fr; }
  .exp-meta { text-align:left; }
}
@media(max-width:425px) {
  .container { padding-inline:21px; }
  .hero h1 { font-size:clamp(37px,9.3vw,43px); }
  .hero { padding-top:46px; }
  .handwritten-prefix { font-size:24px; }
  .hero-footnote { font-size:11px; }
  .portrait-card { width:87%; }
  .portrait-note { right:-18px; bottom:63px; }
  .about-story .about-lead { font-size:26px; }
  .paper-visual { height:195px; padding:17px 12px; }
  .paper-thumb { flex-basis:38%; }
  .paper-stat strong { font-size:clamp(29px,8.5vw,36px); }
  .paper-stat-label { font-size:8px; }
  .paper-stat small { font-size:10px; }
  .project-grid-v3 .project-media { height:200px; }
  .feature-copy h3 { font-size:35px; }
  .project-evidence { gap:23px; }
  .research-card .research-body { padding:22px; }
  .project-grid-v3 .project-card { padding:18px; }
  .footer-inner { gap:10px; }
}

/* Cloudflare dashboard uses buttons instead of links for time windows. */
.period-tabs button { border:0; background:transparent; padding:10px 13px; border-radius:6px; color:inherit; font:inherit; cursor:pointer; }
.period-tabs button.active { background:#1e2f3c; color:#fff; }
[hidden] { display:none !important; }
