:root{--ink:#182724;--forest:#1c3933;--sage:#8a9e88;--paper:#faf9f5;--muted:#6b7773;--accent:#c8d49f;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:82px}body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--sans);line-height:1.6}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid #c6d79b;outline-offset:5px}.wrap{width:min(1180px,calc(100% - 9vw));margin-inline:auto}.site-header{z-index:10;position:fixed;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:19px 4.5vw;color:#fff;transition:background .3s,color .3s,box-shadow .3s}.site-header.scrolled{background:rgba(250,249,245,.96);color:var(--ink);box-shadow:0 2px 24px #0000000b;backdrop-filter:blur(12px)}.brand{font-size:1.45rem;font-weight:700;letter-spacing:-.09em}.brand-dot,.accent{color:var(--accent)}.site-nav{display:flex;gap:clamp(13px,2.2vw,32px);align-items:center}.site-nav a{font-size:.77rem;letter-spacing:.03em;font-weight:600;transition:opacity .2s}.site-nav a:hover{opacity:.6}.menu-toggle{display:none;background:none;border:0;color:inherit;font-size:1.65rem;cursor:pointer}.hero{height:100svh;min-height:620px;position:relative;color:white;display:flex;align-items:center;overflow:hidden;background:#243f3c}.hero-photo{position:absolute;inset:-6%;background-image:url('https://images.unsplash.com/photo-1470252649378-9c29740c9fa8?auto=format&fit=crop&w=2000&q=85');background-size:cover;background-position:center 55%;transform:translate3d(0,var(--parallax,0px),0) scale(1.04);will-change:transform}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,28,27,.74),rgba(10,28,25,.2) 80%),linear-gradient(0deg,rgba(0,0,0,.26),transparent 30%)}.hero-content{z-index:1;padding-top:70px}.eyebrow{font-size:.67rem;font-weight:700;letter-spacing:.23em;text-transform:uppercase;color:#789084}.hero-eyebrow{color:#e0eac8}.hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(5rem,11vw,11.5rem);line-height:1.02;letter-spacing:-.07em;margin:15px 0 10px}.hero-subtitle{font-size:clamp(1.18rem,2vw,1.7rem);letter-spacing:.03em;margin:0}.hero-intro{font-size:1.02rem;max-width:410px;margin:32px 0}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;border-radius:2px;padding:14px 20px;font-size:.86rem;font-weight:700;transition:transform .2s,background .2s}.button:hover{transform:translateY(-3px)}.button-light{background:#f3f1e8;color:var(--forest)}.button-dark{background:var(--forest);color:#fff}.scroll-hint{position:absolute;bottom:35px;right:4.5vw;z-index:1;display:flex;gap:16px;align-items:center;letter-spacing:.21em;font-size:.65rem;font-weight:700}.scroll-hint span{font-size:1.7rem}.section{padding:135px 0}.split-layout{display:grid;grid-template-columns:1fr 1fr;gap:13%}h2{font-family:var(--serif);font-size:clamp(3rem,6.1vw,6rem);line-height:1.14;font-weight:400;letter-spacing:-.045em;margin:20px 0 0}h2 em,.image-break em{font-weight:400;color:#819783}.about-copy{padding-top:22px}.about-copy p{font-size:.98rem;color:var(--muted)}.about-copy .lead{color:var(--ink);font-size:1.4rem;line-height:1.55;margin-top:0}.link-row{display:flex;gap:20px;flex-wrap:wrap;margin-top:36px}.link-row a{font-weight:700;font-size:.82rem;border-bottom:1px solid;padding-bottom:5px}.image-break{height:470px;background-image:linear-gradient(#09282035,#09282070),url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1900&q=85');background-position:center;background-size:cover;background-attachment:fixed;display:grid;place-items:center;color:#fff}.image-break-overlay{width:100%}.image-break p{font-family:var(--serif);font-size:clamp(2.7rem,5vw,5rem);font-weight:400;line-height:1.2}.image-break em{color:#d3dfb9}.pale-section{background:#edf0e9}.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:55px}.section-heading h2{max-width:750px}.section-heading>p{max-width:260px;color:var(--muted);margin-bottom:8px;font-size:.95rem}.publication-list{border-top:1px solid #bdc8bf}.publication{display:grid;grid-template-columns:90px 1fr 36px;gap:20px;align-items:start;border-bottom:1px solid #bdc8bf;padding:30px 0}.pub-year{font-size:.83rem;font-weight:700;color:#6c8475}.publication h3{font-size:1.16rem;line-height:1.4;margin:0 0 8px}.publication p{margin:0;color:var(--muted);font-size:.86rem}.publication>a{font-size:1.8rem;font-weight:400}.footnote{font-size:.75rem;color:var(--muted);margin-top:26px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.info-card{min-height:275px;background:#f0f1eb;padding:35px;display:flex;flex-direction:column;align-items:start}.card-number{font-family:var(--serif);font-size:1.3rem;color:#7b9985}.info-card h3{font-family:var(--serif);font-weight:400;font-size:1.75rem;line-height:1.2;margin:auto 0 8px}.info-card p{color:var(--muted);font-size:.9rem;margin:0}.dark-section{background:#1c3933;color:#f8f8ee}.dark-section .eyebrow{color:#a6bda8}.dark-section .section-heading p,.dark-section .timeline-item p{color:#a8bbb1}.dark-section h2 em{color:#bed0af}.timeline{border-top:1px solid #60766b}.timeline-item{display:grid;grid-template-columns:35% 1fr;gap:20px;padding:29px 0;border-bottom:1px solid #60766b}.timeline-item>span{color:#cad5c5;font-size:.87rem}.timeline-item h3{font-size:1.2rem;margin:0}.timeline-item p{font-size:.85rem;margin:6px 0 0}.outreach-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.outreach-art{height:250px;display:grid;place-items:center;overflow:hidden}.art-one{background:radial-gradient(circle at 25% 40%,#e3dcb7 0 13%,transparent 14%),radial-gradient(circle at 70% 50%,#446c66 0 30%,transparent 31%),#b7c8ac}.art-two{background:radial-gradient(circle at 35% 40%,#f3dec2 0 23%,transparent 24%),radial-gradient(circle at 65% 65%,#6c8b83 0 25%,transparent 26%),#d6a87d}.outreach-art span{font-size:7rem;color:#fff9;transform:rotate(-13deg)}.outreach-card>.eyebrow{margin:25px 0 9px}.outreach-card h3{font-family:var(--serif);font-size:1.9rem;font-weight:400;margin:0}.outreach-card>p:last-child{color:var(--muted);font-size:.94rem;max-width:380px}.contact-section{background:#e0e8d8}.contact-content{text-align:center}.contact-content h2{font-size:clamp(3.5rem,7.5vw,7rem)}.contact-content p:not(.eyebrow){color:var(--muted);margin:25px 0 30px}.contact-content h2 em{color:#718c79}.site-footer{background:var(--forest);color:#cad9ce;padding:26px 0;font-size:.77rem}.footer-inner{display:flex;justify-content:space-between;gap:20px}.reveal{opacity:0;transform:translateY(25px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:translateY(0)}.skip-link{position:absolute;left:10px;top:-100px;background:#fff;color:#000;padding:10px;z-index:100}.skip-link:focus{top:10px}@media(max-width:760px){.site-header{padding:16px 6vw}.wrap{width:calc(100% - 12vw)}.menu-toggle{display:block}.site-nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;gap:0;align-items:stretch;background:var(--paper);color:var(--ink);padding:10px 6vw 20px;box-shadow:0 15px 25px #0001}.site-nav.open{display:flex}.site-nav a{padding:12px 0;border-bottom:1px solid #e2e5df}.hero{min-height:610px}.hero h1{font-size:clamp(4rem,15vw,7rem)}.hero-photo{background-position:60% center}.section{padding:85px 0}.split-layout{grid-template-columns:1fr;gap:35px}.about-copy{padding-top:0}.section-heading{display:block}.section-heading>p{max-width:450px}.cards{grid-template-columns:1fr}.info-card{min-height:220px}.outreach-grid{grid-template-columns:1fr}.image-break{background-attachment:scroll;height:350px}.publication{grid-template-columns:50px 1fr 23px;gap:9px}.publication h3{font-size:1rem}.timeline-item{grid-template-columns:1fr;gap:6px}.footer-inner{flex-direction:column;gap:5px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.hero-photo{transform:none!important}.button{transition:none}}

/* Sky & Earth theme: warm horizons, sage landscapes, deep-blue nights. */
:root{--ink:#243430;--forest:#192c32;--sage:#a9ad8b;--paper:#fcf9f2;--muted:#68736f;--accent:#f0a060}
.brand-dot,.accent{color:#f3a15c}
.hero{background:#192632}
.hero-photo{background-image:url('https://images.unsplash.com/photo-1470252649378-9c29740c9fa8?auto=format&fit=crop&w=2200&q=85');background-position:center 60%}
.hero-shade{background:linear-gradient(90deg,rgba(14,26,36,.76),rgba(24,29,36,.24) 85%),linear-gradient(0deg,rgba(18,27,41,.55),transparent 45%)}
.hero-eyebrow{color:#ffd5a3}
.button-light{background:#fff2dd;color:#29373a}
.eyebrow{color:#ae6b3f}
h2 em,.image-break em{color:#ca8655}
.image-break{background-image:linear-gradient(180deg,rgba(13,24,41,.23),rgba(12,21,39,.7)),url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?auto=format&fit=crop&w=1900&q=85');background-position:center 48%}
.image-break em{color:#ffc58e}
.pale-section{background:#f4eee3}
.publication-list,.publication{border-color:#ded1bf}
.pub-year{color:#ba7544}
.info-card{background:#f6efe4}
.card-number{color:#bd8252}
.dark-section,.site-footer{background:#101e2d}
.dark-section .eyebrow{color:#ffbb81}
.dark-section h2 em{color:#efac75}
.dark-section .timeline-item p,.dark-section .section-heading p{color:#b9c3cb}
.dark-section .timeline-item,.timeline{border-color:#354454}
.contact-section{background:#e8e1d2}
.contact-content h2 em{color:#ba7544}
.button-dark{background:#18293a}
.art-one{background:radial-gradient(circle at 30% 60%,#f5a85f 0 13%,transparent 14%),linear-gradient(160deg,#293d59 0%,#a86158 48%,#e4b787 72%,#586c5a 100%)}
.art-two{background:radial-gradient(circle at 68% 35%,#f3ddb1 0 4%,transparent 5%),radial-gradient(circle at 15% 20%,#fff 0 1px,transparent 2px),linear-gradient(145deg,#101e36,#40546a 66%,#bd855f)}

/* V2: personal night-sky mountain, terrestrial sunset hues and planetary atmosphere */
:root{--ink:#192735;--forest:#142439;--sage:#859585;--paper:#faf7f0;--muted:#66717c;--accent:#ed985d}
.hero{background:#0c1930}
.hero-photo{background-image:url('assets/ancares-sunset-banner.png');background-position:center 45%}
.hero-shade{background:linear-gradient(90deg,rgba(3,12,29,.74),rgba(3,12,29,.08) 85%),linear-gradient(0deg,rgba(3,12,29,.55),transparent 48%)}
.hero-eyebrow{color:#ffd2a5}
.hero h1{font-size:clamp(4.3rem,10vw,10.4rem)}
.button-light{background:#f7e8d5;color:#17263b}
.pale-section{background:#f1ece3}
.info-card{background:#f0e9df}
.research-section{background:#fffaf3}
.research-section .info-card{background:linear-gradient(160deg,#f8ecdc,#eee4d7);border-top:3px solid #ed985d}
.research-section .card-number{color:#bd7547;font-size:.7rem;letter-spacing:.12em;font-family:var(--sans);font-weight:700}
.image-break{background-image:linear-gradient(180deg,rgba(8,18,34,.20),rgba(8,18,34,.66)),url('assets/mountain-night-sky.png');background-position:center 70%}
.image-break em{color:#ffb57c}
.dark-section{background:#17263d}
.dark-section h2 em{color:#f0a36c}
.contact-section{background:#eee1d1}
.contact-content h2 em{color:#c87947}
.contact-placeholder{font-size:.9rem;color:#55616e}
.art-one{background:radial-gradient(circle at 34% 39%,#ffc880 0 13%,transparent 14%),linear-gradient(150deg,#142c48 0%,#c47562 65%,#f3c18b)}
.art-two{background:radial-gradient(circle at 70% 25%,#f5e8c4 0 5%,transparent 6%),linear-gradient(150deg,#0b1930,#3d526c 68%,#b77b5a)}
@media(max-width:760px){.hero-photo{background-position:55% center}}

/* Publication sync and professional links */
.underlined{text-decoration:underline;text-underline-offset:4px}.pub-status{padding:28px 0;color:var(--muted)}.publication a.pub-link{font-size:1.5rem;align-self:center;transition:transform .2s;color:#b96d3d}.publication a.pub-link:hover{transform:translate(3px,-3px)}.publication .pub-venue{font-style:italic}.contact-links{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin:28px 0}.contact-links a{display:inline-block;border-bottom:1px solid currentColor;font-weight:700;padding:8px 0}.contact-links a:hover{color:#bb7542} 

/* Publication authors, including highlighted site owner */
.publication .pub-authors{font-style:normal;font-size:.9rem;line-height:1.65;color:var(--ink);margin:0 0 7px}
.publication .pub-self{font-weight:700;color:#b96d3d}

/* V4: Research cards with scientific images and captions */
.research-section .section-heading{margin-bottom:26px}
.research-summary{max-width:950px;margin:0 0 45px}
.research-summary p{font-size:1.12rem;line-height:1.8;color:var(--muted)}
.research-cards{align-items:stretch}
.research-section .research-cards .info-card{padding:0;min-height:unset;overflow:hidden;display:flex;flex-direction:column}
.research-card-media{position:relative;margin:0;width:100%;aspect-ratio:16/10;background:#142235;overflow:hidden}
.research-card-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .7s ease}
.research-card-media img:hover{transform:scale(1.035)}
.research-card-media figcaption{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,#0b1327c7);color:#fff;font-size:.69rem;padding:28px 16px 12px}
.research-card-body{display:flex;flex:1;flex-direction:column;padding:26px 26px 32px}
.research-card-body .card-number{margin-bottom:16px}
.research-section .research-card-body h3{font-size:2rem;margin:0 0 18px}
.research-section .research-card-body p{line-height:1.72;font-size:.9rem;margin:0 0 14px}
.research-link{font-weight:700;font-size:.81rem;color:#af6537;border-bottom:1px solid #af6537;margin-top:auto;padding-top:12px;width:fit-content}
@media(max-width:760px){.research-card-body{padding:23px}.research-summary p{font-size:1rem}}

.research-card-media.methods-image img {
  object-fit: contain;
  background-color: #000;
}

/* V5: teaching and mentoring */
.teaching-section{background:#faf7f0}
.teaching-section .section-heading{margin-bottom:30px}
.teaching-section .section-heading>p{max-width:380px}
.teaching-affiliations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 28px}
.institution-wordmark{display:flex;align-items:center;gap:11px;min-height:82px;padding:14px;background:#fff;border:1px solid #e7dfd5;border-radius:4px;color:#25374a;font-size:.78rem;line-height:1.25;transition:border-color .2s,transform .2s}
.institution-wordmark:hover{border-color:#cf9167;transform:translateY(-2px)}
.institution-symbol{width:48px;height:48px;flex:0 0 48px;border-radius:3px;display:grid;place-items:center;font-size:1rem;letter-spacing:-.06em;background:#172c55;color:white;font-weight:700}
.institution-symbol.up{background:#9f2941;font-size:.75rem}.institution-symbol.psl{background:#122a83}.institution-symbol.obs{background:#0b376e}
.teaching-layout{display:grid;grid-template-columns:1.27fr 1fr;gap:20px;align-items:stretch}
.teaching-panel{background:#f0e9df;border-top:3px solid #ed985d;padding:32px;min-width:0}
.teaching-panel-kicker{font-size:.68rem;color:#bd7547;letter-spacing:.14em;font-weight:700;margin:0 0 14px}
.teaching-panel h3{font-family:var(--serif);font-size:clamp(1.7rem,2.4vw,2.35rem);font-weight:400;line-height:1.2;margin:0 0 16px}
.teaching-intro{color:var(--muted);font-size:.91rem;line-height:1.75;margin:0 0 25px}
.course-list{border-top:1px solid #d6c9b9}.course-item{display:flex;justify-content:space-between;align-items:start;gap:20px;border-bottom:1px solid #d6c9b9;padding:17px 0}
.course-item h4{font-size:.94rem;font-weight:600;line-height:1.4;margin:0 0 4px}.course-item span{font-size:.79rem;color:var(--muted)}.course-item>strong{font-size:.85rem;white-space:nowrap;color:#b96d3d}
.mentoring-entry{border-top:1px solid #d6c9b9;padding-top:25px;margin-top:26px}
.mentoring-degree{font-size:.67rem;letter-spacing:.14em;color:#b96d3d;font-weight:700}
.mentoring-entry h4{font-family:var(--serif);font-weight:400;font-size:2rem;margin:14px 0 10px}
.mentoring-thesis{font-size:1.04rem;line-height:1.65;color:var(--ink);font-style:italic}
.mentoring-credit{margin-top:35px;display:grid;gap:4px}.mentoring-credit span{font-size:.77rem;color:var(--muted)}.mentoring-credit strong{font-size:.95rem}
.research-card-media.methods-image img:hover{transform:none}
@media(max-width:900px){.teaching-affiliations{grid-template-columns:repeat(2,minmax(0,1fr))}.teaching-layout{grid-template-columns:1fr}}
@media(max-width:520px){.teaching-affiliations{grid-template-columns:1fr 1fr;gap:8px}.institution-wordmark{padding:9px;gap:7px;font-size:.68rem}.institution-symbol{width:35px;height:35px;flex-basis:35px;font-size:.72rem}.teaching-panel{padding:24px}}


/* V6: official institutional logos and academic timeline */
.teaching-affiliations{grid-template-columns:repeat(4,minmax(0,1fr))}
.institution-logo{display:flex;justify-content:center;align-items:center;height:115px;padding:16px;background:#fff;border:1px solid #e7dfd5;border-radius:4px;transition:border-color .2s,transform .2s}
.institution-logo:hover{border-color:#cf9167;transform:translateY(-2px)}
.institution-logo img{display:block;max-width:100%;width:100%;max-height:84px;height:100%;object-fit:contain}
.experience-section .timeline-item{grid-template-columns:minmax(175px,27%) 1fr;gap:30px;padding:34px 0}
.experience-section .timeline-item h3{font-size:1.3rem;margin:0 0 4px}
.experience-section .experience-org{color:#e8c2a5;font-weight:600;margin:4px 0 10px;font-size:.93rem}
.experience-section .experience-details>p:not(.experience-org){max-width:720px;line-height:1.7}
.experience-logos{display:flex;flex-wrap:wrap;gap:10px;margin-top:19px}
.experience-logo{width:155px;height:80px;background:#fff;border-radius:3px;padding:11px;display:flex;align-items:center;justify-content:center;transition:transform .2s}
.experience-logo:hover{transform:translateY(-2px)}
.experience-logo img{width:100%;height:100%;max-width:100%;object-fit:contain}
@media(max-width:850px){.teaching-affiliations{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.experience-section .timeline-item{grid-template-columns:1fr;gap:8px}.experience-logo{width:134px;height:70px}.institution-logo{height:94px;padding:12px}}


/* V7: portrait and projects */
.hero-eyebrow{letter-spacing:.17em}
.about-grid{display:grid;grid-template-columns:minmax(280px,.92fr) minmax(320px,1.08fr);gap:6.5%;align-items:start}
.about-intro{display:flex;flex-direction:column;gap:26px}
.about-portrait{margin:0;background:#efe7dc;padding:14px;border-radius:6px;box-shadow:0 12px 32px rgba(16,30,45,.08)}
.about-portrait img{display:block;width:100%;height:auto;border-radius:3px}
.about-copy{padding-top:8px}
.about-copy .lead{font-size:1.32rem}
.projects-section{background:#fffdf8}
.projects-section .section-heading>p{max-width:340px}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.project-card{background:#f5ede2;border-top:3px solid #ed985d;padding:24px 24px 28px;display:flex;flex-direction:column;min-width:0}
.project-card.active{background:linear-gradient(160deg,#fbefe1,#f2e3d4)}
.project-card-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;flex-wrap:wrap}
.project-type{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#b96d3d;font-weight:700}
.status-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#17263d;color:#fff;font-size:.66rem;letter-spacing:.08em;font-weight:700}
.project-card h3{font-family:var(--serif);font-size:2rem;line-height:1.1;font-weight:400;margin:0 0 10px}
.project-meta{color:#9a613d;font-weight:600;font-size:.88rem;margin:0 0 12px}
.project-card p{font-size:.92rem;line-height:1.75;color:var(--muted);margin:0}
.project-logo{height:110px;background:#fff;border:1px solid #eadcc9;border-radius:4px;padding:12px;display:flex;align-items:center;justify-content:center;margin:4px 0 16px}
.project-logo img{max-width:100%;max-height:100%;display:block;object-fit:contain}
.project-card.with-logo h3{margin-top:0}
@media(max-width:980px){.project-grid{grid-template-columns:1fr}.about-grid{grid-template-columns:1fr;gap:34px}.about-portrait{max-width:520px}}
@media(max-width:760px){.hero-eyebrow{letter-spacing:.13em}.about-copy .lead{font-size:1.22rem}.project-card{padding:22px}}

/* V8: expanded biography and compact project emblems */
.about-copy p{line-height:1.78;margin:0 0 1.1rem}
.about-copy .lead{line-height:1.65}
.bio-details{margin:1.25rem 0 1rem}
.bio-details summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.8rem;padding:.7rem 0;border-bottom:1px solid #b96d3d;color:#9f5c37;font-weight:700;font-size:.87rem}
.bio-details summary::-webkit-details-marker{display:none}
.bio-details summary span{transition:transform .25s ease}
.bio-details[open] summary span{transform:rotate(180deg)}
.bio-extra{padding-top:1.3rem;animation:bio-enter .35s ease-out}
@keyframes bio-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.project-logo{width:max-content;max-width:100%;height:auto;margin:6px 0 20px;padding:0;background:transparent;border:none;display:block;border-radius:0}
.project-logo img{display:block;width:auto;height:auto;max-height:126px;max-width:min(100%,170px);object-fit:contain;border-radius:3px}
@media(max-width:760px){.project-logo img{max-height:112px;max-width:150px}}
@media(prefers-reduced-motion:reduce){.bio-extra{animation:none}.bio-details summary span{transition:none}}


/* V10: circular Saturn and Mars website identity */
.site-header{padding-top:10px;padding-bottom:10px;min-height:74px}
.brand-logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1;letter-spacing:normal}
.brand-logo img{width:52px;height:52px;object-fit:contain;display:block;filter:drop-shadow(0 2px 5px rgba(0,0,0,.16))}
.brand-logo:hover img{transform:scale(1.06)}
.brand-logo img{transition:transform .2s}
/* Outreach list: simple chronology, no generic placeholder cards */
.outreach-section{background:#fbf7f0}
.outreach-list{list-style:none;margin:0;padding:0;border-top:1px solid #d8c8ba}
.outreach-entry{display:grid;grid-template-columns:minmax(125px,22%) 1fr;gap:24px;padding:26px 8px;border-bottom:1px solid #d8c8ba}
.outreach-date{font-size:.78rem;font-weight:700;letter-spacing:.09em;color:#af6a43;padding-top:7px}
.outreach-entry h3{font-family:var(--serif);font-size:clamp(1.15rem,2.15vw,1.62rem);font-weight:400;line-height:1.35;margin:0 0 7px}
.outreach-entry p{font-size:.94rem;color:var(--muted);margin:0;max-width:740px;line-height:1.7}
/* Contact: Candín photo, deep overlay and readable semi-transparent glass panel */
.contact-section{background-image:linear-gradient(100deg,rgba(7,20,32,.75),rgba(7,20,32,.39) 55%,rgba(7,20,32,.62)),url('assets/candin-ancares.jpg');background-color:#192b39;background-size:cover;background-position:center 51%;color:#fff;min-height:630px;display:grid;align-items:center;padding:95px 0}
.contact-content{width:min(900px,calc(100% - 9vw));background:rgba(12,28,40,.70);border:1px solid rgba(255,255,255,.2);border-radius:10px;padding:55px 50px;box-shadow:0 16px 60px rgba(0,0,0,.22);backdrop-filter:blur(5px)}
.contact-content .eyebrow{color:#eac09b}
.contact-content h2{font-size:clamp(3rem,6.6vw,6.2rem);color:#fff}
.contact-content h2 em{color:#f6bd8e}
.contact-content p:not(.eyebrow){color:#e8edf1}
.contact-links a{color:#fff;border-bottom-color:#efc6a3}
.contact-links a:hover{color:#ffcc9b}
@media(max-width:760px){.site-header{padding:10px 6vw}.brand-logo img{width:46px;height:46px}.outreach-entry{grid-template-columns:1fr;gap:2px;padding:20px 0}.contact-section{background-position:62% center;min-height:540px;padding:75px 0}.contact-content{width:calc(100% - 9vw);padding:38px 22px;backdrop-filter:blur(3px)}.contact-content h2{font-size:clamp(2.65rem,10vw,4.5rem)}}


/* V12: multipage navigation and clean inner-page presentation */
.site-nav a[aria-current="page"]{color:#f1b581;border-bottom:1px solid currentColor}
body:not(.page-home) .site-header{background:#101e2d;position:sticky;top:0}
body:not(.page-home) .site-header:not(.scrolled) .site-nav a{color:#f2eee8}
body:not(.page-home) .site-header .site-nav a[aria-current="page"]{color:#f1b581}
.page-banner{background-image:linear-gradient(180deg,rgba(8,18,34,.42),rgba(8,18,34,.64)),url('assets/ancares-sunset-banner.png');background-size:cover;background-position:center 45%;color:white;padding:118px 0 86px}
.page-banner-kicker{font-size:.7rem;letter-spacing:.22em;color:#efb88b;margin:0 0 20px;font-weight:650}
.page-banner h1{font-family:var(--serif);font-weight:400;letter-spacing:-.025em;font-size:clamp(3rem,7vw,6rem);line-height:1.06;margin:0}
body:not(.page-home) main>.section{padding-top:95px;min-height:55vh}
body.page-contact main>.contact-section{min-height:calc(100vh - 160px);padding:90px 0}
body.page-home .hero{min-height:100svh}
.home-explore{background:#fbf7f0}
.home-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.home-tile{display:flex;flex-direction:column;align-items:start;background:#fffdf8;border-top:3px solid #e79a65;color:#18283a;padding:32px;text-decoration:none;transition:transform .2s,box-shadow .2s}
.home-tile:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(15,32,45,.10)}
.home-tile>span{font-size:.67rem;letter-spacing:.16em;color:#a96743;font-weight:700}
.home-tile h3{font-family:var(--serif);font-size:clamp(1.85rem,3.1vw,2.55rem);font-weight:400;margin:14px 0 8px}
.home-tile p{color:#5f6269;line-height:1.7;margin:0 0 24px}
.home-tile b{color:#b76d40;font-weight:650;font-size:.83rem;margin-top:auto}
@media(max-width:760px){.home-tiles{grid-template-columns:1fr}.home-tile{padding:25px}.page-banner{padding:70px 0 52px}body:not(.page-home) main>.section{padding-top:65px}body:not(.page-home) .site-header .site-nav:not(.open){display:none}}

body.page-outreach .page-banner{background-image:linear-gradient(180deg,rgba(8,18,34,.35),rgba(8,18,34,.62)),url('assets/mountain-night-sky.png');background-position:center 58%}
.page-banner h1,.page-banner-kicker{text-shadow:0 2px 18px rgba(0,0,0,.28)}
@media(max-width:760px){.page-banner{background-position:58% center;padding:92px 0 64px}body.page-outreach .page-banner{background-position:60% center}.hero-photo{background-position:57% center}}

/* V14: accessible light/dark theme. Dark is the default. */
:root{color-scheme:dark}
:root[data-theme="light"]{color-scheme:light}
.site-nav{margin-left:auto}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;min-width:92px;padding:8px 11px;margin-left:17px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(12,25,40,.24);color:#fff;font-size:.75rem;font-weight:700;cursor:pointer;transition:background .2s,border-color .2s}
.theme-toggle:hover{background:rgba(255,255,255,.15);border-color:#ffd2a5}
.site-header.scrolled .theme-toggle{color:#192735;border-color:rgba(25,39,53,.35);background:rgba(25,39,53,.05)}
body:not(.page-home) .site-header.scrolled .theme-toggle{color:#192735}
.theme-toggle-icon{font-size:1.02rem;line-height:1}
@media(max-width:760px){.theme-toggle{margin-left:auto;margin-right:14px;min-width:75px;padding:7px 9px}.site-nav{margin-left:0}.menu-toggle{order:3}.site-nav{order:4}}
/* Warm midnight blue surfaces, neutral foreground and sunset accents. */
:root[data-theme="dark"]{--ink:#e9edf1;--forest:#142439;--paper:#0d1726;--muted:#bac4d0;--accent:#f1a46d;--sage:#9eafa9}
[data-theme="dark"] body{background:#0d1726;color:#e9edf1}
[data-theme="dark"] .site-header.scrolled{background:rgba(12,24,39,.96);color:#f1f3f5;box-shadow:0 2px 24px rgba(0,0,0,.3)}
[data-theme="dark"] .site-header.scrolled .theme-toggle{color:#f1f3f5;border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.06)}
[data-theme="dark"] body:not(.page-home) .site-header.scrolled .theme-toggle{color:#f1f3f5}
[data-theme="dark"] .site-nav a[aria-current="page"]{color:#ffbb89}
[data-theme="dark"] .about-section,[data-theme="dark"] .research-section,[data-theme="dark"] .projects-section,[data-theme="dark"] .teaching-section,[data-theme="dark"] .outreach-section,[data-theme="dark"] .home-explore{background:#101e30;color:#e9edf1}
[data-theme="dark"] .pale-section{background:#132237}
[data-theme="dark"] .about-copy .lead,[data-theme="dark"] .about-copy p,[data-theme="dark"] .section-heading>p,[data-theme="dark"] .research-summary p{color:#d1d9e3}
[data-theme="dark"] .info-card,[data-theme="dark"] .research-section .info-card,[data-theme="dark"] .project-card,[data-theme="dark"] .project-card.active,[data-theme="dark"] .teaching-panel,[data-theme="dark"] .home-tile{background:#1c2b3e;color:#e9edf1;border-top-color:#dd9160}
[data-theme="dark"] .project-card.active{background:linear-gradient(160deg,#273346,#1c2b3e)}
[data-theme="dark"] .home-tile p,[data-theme="dark"] .info-card p,[data-theme="dark"] .project-card p,[data-theme="dark"] .research-card-body p,[data-theme="dark"] .teaching-intro,[data-theme="dark"] .outreach-entry p{color:#bac4d0}
[data-theme="dark"] .home-tile>span,[data-theme="dark"] .home-tile b,[data-theme="dark"] .eyebrow,[data-theme="dark"] .project-type,[data-theme="dark"] .project-meta,[data-theme="dark"] .pub-year,[data-theme="dark"] .teaching-panel-kicker,[data-theme="dark"] .outreach-date{color:#f2b28b}
[data-theme="dark"] h2 em{color:#f1a46d}
[data-theme="dark"] .institution-wordmark{background:#213248;border-color:#405166;color:#e9edf1}
[data-theme="dark"] .course-list,[data-theme="dark"] .course-item,[data-theme="dark"] .publication-list,[data-theme="dark"] .publication,[data-theme="dark"] .outreach-list,[data-theme="dark"] .outreach-entry{border-color:#405166}
[data-theme="dark"] .publication p,[data-theme="dark"] .course-item span,[data-theme="dark"] .mentoring-credit span{color:#b8c3d0}
[data-theme="dark"] .publication .pub-authors,[data-theme="dark"] .mentoring-thesis{color:#e9edf1}
[data-theme="dark"] .pub-self,[data-theme="dark"] .publication a.pub-link,[data-theme="dark"] .research-link,[data-theme="dark"] .bio-details summary{color:#f1ad7e}
[data-theme="dark"] .about-portrait{background:#253449;box-shadow:0 12px 32px rgba(0,0,0,.28)}
[data-theme="dark"] .contact-section{color:#fff}
[data-theme="dark"] .contact-content{background:rgba(8,18,32,.82)}
[data-theme="dark"] .dark-section,[data-theme="dark"] .site-footer{background:#091321}
[data-theme="dark"] .site-footer{color:#c9d4df}
[data-theme="dark"] .menu-toggle{color:#fff}
@media(max-width:760px){[data-theme="dark"] .site-nav{background:#142236;color:#f1f3f5;box-shadow:0 15px 25px rgba(0,0,0,.3)}[data-theme="dark"] .site-nav a{border-color:#334459}[data-theme="light"] body:not(.page-home) .site-nav{background:#faf7f0;color:#192735}}
