:root{--red:#6d1a22;--red-dark:#521319;--red-soft:#f6edef;--ink:#1c1c1c;--muted:#5d5a58;--line:#dfdcda;--paper:#fff;--off:#faf9f7;--serif:"Cormorant Garamond",Georgia,serif;--sans:"Jost",Arial,sans-serif;--nav-h:62px;--max:1120px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.72}img{display:block;max-width:100%}a{color:inherit}.shell{width:min(var(--max),calc(100% - 3rem));margin-inline:auto}.skip-link{position:fixed;z-index:999;top:-5rem;left:1rem;padding:.65rem 1rem;background:#fff;color:var(--red)}.skip-link:focus{top:1rem}
.site-header{position:sticky;z-index:100;top:0;height:var(--nav-h);background:var(--red);color:#fff}.nav{height:100%;display:flex;align-items:center;justify-content:space-between;gap:2rem}.brand{font-size:1rem;text-decoration:none;letter-spacing:.02em}.site-menu{height:100%;display:flex;align-items:center;gap:2.1rem;margin:0;padding:0;list-style:none}.site-menu>li{height:100%;display:flex;align-items:center;position:relative}.site-menu a{text-decoration:none;font-size:.9rem;opacity:.9}.site-menu a:hover,.site-menu a:focus-visible{opacity:1;text-decoration:underline;text-underline-offset:.22rem}.menu-button,.submenu-button{display:none;border:0;background:transparent;color:#fff;cursor:pointer}.submenu{visibility:hidden;position:absolute;top:100%;left:50%;min-width:220px;margin:0;padding:.55rem 0;list-style:none;background:var(--red-dark);box-shadow:0 14px 34px rgba(0,0,0,.2);opacity:0;transform:translate(-50%,-5px);transition:.18s}.submenu a{display:block;padding:.55rem 1rem;white-space:nowrap}.has-submenu:hover .submenu,.has-submenu:focus-within .submenu{visibility:visible;opacity:1;transform:translate(-50%,0)}
.home-hero{position:relative;min-height:540px;color:#fff;background:url('../images/hero.png') center 35%/cover no-repeat}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.52) 50%,rgba(0,0,0,.08))}.hero-content{position:relative;z-index:1;min-height:540px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-block:4rem}.eyebrow{margin:0 0 .7rem;color:var(--red);font-size:.74rem;font-weight:600;letter-spacing:.13em;text-transform:uppercase}.eyebrow.light{color:#f3d9dd}.hero-content h1{margin:0;font-family:var(--serif);font-size:clamp(3.3rem,7vw,5.7rem);line-height:.92;font-weight:600;letter-spacing:-.025em}.hero-bio{max-width:630px;margin:1.45rem 0 0;color:rgba(255,255,255,.9);font-size:1rem;font-weight:300;line-height:1.75}.button-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.8rem}.button{display:inline-flex;align-items:center;justify-content:center;padding:.67rem 1.35rem;border:1px solid var(--red);background:var(--red);color:#fff;text-decoration:none;font-size:.86rem;letter-spacing:.035em;transition:.18s}.button:hover{background:var(--red-dark)}.button.light{border-color:rgba(255,255,255,.82);background:transparent}.button.light:hover{background:#fff;color:var(--red)}
.home-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem;padding-block:4.5rem 5rem}.home-card{text-align:center}.home-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.home-card h2{margin:1rem 0 .25rem;font-family:var(--serif);font-size:1.45rem;font-weight:500}.home-card p{max-width:290px;margin:0 auto;color:var(--muted);font-size:.9rem}
.page-hero{padding:4.5rem 0 3.2rem;background:var(--off);border-bottom:1px solid var(--line)}.page-hero h1{max-width:850px;margin:0;font-family:var(--serif);font-size:clamp(2.8rem,6vw,4.8rem);line-height:1.04;font-weight:500;letter-spacing:-.025em}.page-hero p:last-child{max-width:690px;margin:1rem 0 0;color:var(--muted);font-size:1.02rem}.section{padding-block:4.5rem}.about-layout{display:grid;grid-template-columns:300px 1fr;gap:5rem;align-items:start}.profile-panel{position:sticky;top:calc(var(--nav-h) + 2rem);text-align:center}.profile-panel img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center top}.profile-panel h2{margin:1rem 0 .5rem;font-family:var(--serif);font-size:1.5rem;font-weight:500}.profile-links{display:flex;justify-content:center;flex-wrap:wrap;gap:.8rem}.profile-links a{color:var(--red);font-size:.86rem}.content-block+.content-block{margin-top:3.2rem}.content-block h2{margin:0 0 1rem;padding-bottom:.55rem;border-bottom:1px solid var(--line);font-family:var(--serif);font-size:2rem;font-weight:500}.content-block p{margin:0 0 1rem}.education-list{margin:0;padding-left:1.25rem}.education-list li{margin-bottom:.6rem}.muted{color:var(--muted)}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}.project-card{border:1px solid var(--line);background:#fff;text-decoration:none;transition:transform .2s,box-shadow .2s}.project-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(40,20,20,.08)}.project-card img{width:100%;height:190px;object-fit:cover;background:#f0efed}.project-card.contain img{object-fit:contain;padding:.5rem}.project-card-copy{padding:1.25rem}.project-card .institution{margin:0 0 .45rem;color:var(--red);font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase}.project-card h2{margin:0 0 .45rem;font-family:var(--serif);font-size:1.3rem;line-height:1.2;font-weight:600}.project-card p{margin:0;color:var(--muted);font-size:.86rem}
.project-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:4.5rem;align-items:start}.project-copy h1{margin:0 0 1.6rem;font-family:var(--serif);font-size:clamp(2.5rem,5vw,4rem);font-weight:500;line-height:1.04}.project-copy p{margin:0 0 1.15rem}.project-copy a{color:var(--red)}.project-sidebar{display:grid;gap:1rem}.project-sidebar figure{margin:0}.project-sidebar img{width:100%;max-height:420px;object-fit:contain;background:var(--off)}.project-sidebar figcaption{margin-top:.45rem;color:var(--muted);font-size:.8rem;font-style:italic}.project-nav{display:flex;justify-content:space-between;gap:1rem;margin-top:3rem;padding-top:1.2rem;border-top:1px solid var(--line)}.project-nav a{color:var(--red);font-weight:500}
.blog-list{display:grid}.post-card{display:grid;grid-template-columns:360px 1fr;gap:2rem;padding:2rem 0;border-top:1px solid var(--line);text-decoration:none}.post-card:last-child{border-bottom:1px solid var(--line)}.post-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.post-card time,.post-meta{color:var(--red);font-size:.75rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase}.post-card h2{margin:.4rem 0 .45rem;font-family:var(--serif);font-size:1.8rem;font-weight:500;line-height:1.15}.post-card p{margin:0;color:var(--muted)}.post-layout{width:min(720px,calc(100% - 3rem));margin:auto;padding-block:4.5rem}.post-layout h1{margin:.65rem 0 1.6rem;font-family:var(--serif);font-size:clamp(2.6rem,6vw,4.2rem);font-weight:500;line-height:1.04}.post-body p{margin:0 0 1.25rem}.post-body figure{margin:2rem 0}.post-body figcaption{margin-top:.45rem;color:var(--muted);font-size:.82rem;font-style:italic}.back-link{display:inline-block;margin-bottom:1.5rem;color:var(--red)}
footer{background:var(--red);color:#fff}.footer-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:2rem;color:rgba(255,255,255,.78);font-size:.8rem}.footer-inner div{display:flex;gap:1rem}.footer-inner a{color:#fff}
@media(max-width:850px){.project-grid{grid-template-columns:1fr 1fr}.about-layout,.project-layout{grid-template-columns:1fr;gap:2.5rem}.profile-panel{position:static;max-width:300px}.project-sidebar{grid-template-columns:1fr 1fr}.post-card{grid-template-columns:260px 1fr}}
@media(max-width:680px){.shell{width:min(var(--max),calc(100% - 2rem))}.menu-button{display:block;padding:.5rem}.site-menu{display:none;position:absolute;top:var(--nav-h);left:0;right:0;height:auto;flex-direction:column;align-items:stretch;gap:0;padding:.7rem 1rem 1rem;background:var(--red-dark)}.site-menu.open{display:flex}.site-menu>li{height:auto;display:block}.site-menu>li>a{display:inline-block;padding:.6rem}.has-submenu{position:relative}.submenu-button{display:inline-block;padding:.6rem;font-size:1rem}.submenu{display:none;visibility:visible;position:static;min-width:0;padding:0 0 .4rem 1rem;box-shadow:none;opacity:1;transform:none;background:transparent}.submenu.open{display:block}.has-submenu:hover .submenu,.has-submenu:focus-within .submenu{transform:none}.home-hero,.hero-content{min-height:500px}.hero-overlay{background:rgba(0,0,0,.63)}.home-cards,.project-grid{grid-template-columns:1fr}.page-hero{padding-block:3.2rem 2.5rem}.section{padding-block:3.5rem}.project-sidebar{grid-template-columns:1fr}.post-card{grid-template-columns:1fr;gap:1rem}.footer-inner{align-items:flex-start;flex-direction:column;justify-content:center;padding-block:1.2rem}.footer-inner div{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition-duration:.01ms!important}}

/* Original-site scale and rhythm */
.home-hero,.hero-content{min-height:530px}
.hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.75),rgba(0,0,0,.5) 50%,rgba(0,0,0,.05))}
.hero-content h1{font-size:clamp(2.8rem,5vw,4rem);line-height:1.05;font-weight:700;letter-spacing:0}
.hero-socials{display:flex;gap:.5rem;margin-top:1rem}
.hero-socials a{padding:.25rem .5rem;border:1px solid rgba(255,255,255,.65);color:#fff;text-decoration:none;font-size:.74rem}
.hero-socials a:hover{background:#fff;color:var(--red)}
.hero-bio{max-width:540px;margin-top:1.15rem;font-size:.96rem;line-height:1.8}
.section{padding-block:4rem 5rem}
.section-title{margin:0 0 2rem;padding-bottom:.65rem;border-bottom:1px solid var(--line);font-family:var(--serif);font-size:2rem;font-weight:400;line-height:1.2}
.project-copy h1{font-size:clamp(2rem,3.5vw,2.8rem);font-weight:400;line-height:1.15}
.post-layout h1{font-size:clamp(1.9rem,4vw,2.5rem);font-weight:600;line-height:1.2}
.profile-panel img{height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
.content-block h2,.section-title{border-bottom-width:2px;border-bottom-color:#c9c5c2}
body{font-size:17px;font-weight:400}
.site-menu a{font-size:1.02rem;font-weight:500}
.brand{font-size:1.05rem;font-weight:500}
.home-hero,.hero-content{min-height:490px}
.hero-bio{font-size:1.04rem;font-weight:400;line-height:1.72}
.home-cards{padding-top:.75rem;padding-bottom:3.5rem}

/* Keep typography consistent across every page. */
:root{--serif:Calibri,"Helvetica Neue",Arial,sans-serif;--sans:Calibri,"Helvetica Neue",Arial,sans-serif}
body{font-family:Calibri,"Helvetica Neue",Arial,sans-serif}
.hero-bio{font-size:1.18rem;line-height:1.62}
.hero-socials{gap:.65rem}
.hero-socials a{display:inline-flex;padding:0;border:0;background:transparent}
.hero-socials a:hover{background:transparent;opacity:.78}
.hero-socials img{width:31px;height:31px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}
.hero-socials img[src*="github"]{filter:brightness(0) invert(1)}
.profile-links{gap:1rem}
.profile-links a{display:inline-flex;align-items:center;gap:.38rem;text-decoration:none;font-size:.88rem}
.profile-links a:hover{text-decoration:underline;text-underline-offset:.2rem}
.profile-links img{width:20px;height:20px;object-fit:contain}
.footer-socials{align-items:center;gap:.8rem!important}
.footer-socials a{display:inline-flex}
.footer-socials img{width:21px;height:21px;filter:brightness(0) invert(1);opacity:.9}
.publication-links{margin:0 0 1.4rem;padding-left:1.25rem}
.publication-links li{margin-bottom:.65rem}

/* Burgundy section rules and Pacific Fusion project media. */
:root{--section-rule:#8a343c}
.content-block h2,.section-title{border-bottom:3px solid var(--section-rule)}
.project-nav{border-top:3px solid var(--section-rule)}
.blog-list{gap:3rem}
.post-card,.post-card:last-child{padding:0;border:0}
.pf-figure img{width:100%;height:auto;background:var(--off)}
.private-note{color:var(--muted);font-style:italic}
.home-hero,.home-cards{overflow-anchor:none}

/* Responsive layout: preserve desktop styling and adapt below phone widths. */
@media(max-width:680px){
  :root{--nav-h:58px}
  body{font-size:16px;line-height:1.62;overflow-wrap:anywhere}
  .shell{width:calc(100% - 1.5rem)}
  .brand{max-width:calc(100% - 72px);overflow:hidden;font-size:.96rem;white-space:nowrap;text-overflow:ellipsis}
  .menu-button{font:inherit;font-weight:600}
  .site-menu{max-height:calc(100vh - var(--nav-h));overflow-y:auto}
  .site-menu a{font-size:1rem}
  .home-hero{min-height:0;background-position:60% center}
  .hero-content{min-height:560px;padding-block:2.75rem;justify-content:center}
  .hero-content h1{font-size:clamp(2.35rem,12vw,3.25rem);line-height:1}
  .hero-socials{margin-top:.85rem}
  .hero-socials img{width:28px;height:28px}
  .hero-bio{max-width:100%;margin-top:1rem;font-size:1.06rem;line-height:1.52}
  .button-row{margin-top:1.25rem;gap:.55rem}
  .button{padding:.6rem 1rem;font-size:.9rem}
  .home-cards{gap:2rem;padding-block:2rem 3rem}
  .home-card img{height:auto;aspect-ratio:auto}
  .home-card h2{margin-top:.7rem;font-size:1.3rem}
  .section{padding-block:2.5rem 3.25rem}
  .section-title{margin-bottom:1.5rem;font-size:1.8rem}
  .about-layout{gap:2.25rem}
  .profile-panel{max-width:none}
  .profile-panel img{width:min(100%,360px);margin-inline:auto}
  .profile-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;width:min(100%,360px);margin-inline:auto}
  .profile-links a{justify-content:flex-start;min-width:0;padding:.6rem .7rem;font-size:1rem;line-height:1.2;white-space:nowrap}
  .profile-links img{flex:0 0 20px}
  .content-block+.content-block{margin-top:2.4rem}
  .content-block h2{font-size:1.65rem}
  .project-grid{gap:1.25rem}
  .project-card img{height:auto;max-height:none}
  .project-card-copy{padding:1rem}
  .project-card h2{font-size:1.25rem}
  .project-card p{font-size:.95rem}
  .project-layout{gap:2rem}
  .project-copy h1{font-size:2rem;line-height:1.12}
  .project-sidebar{grid-template-columns:1fr}
  .project-nav{align-items:flex-start;flex-direction:column}
  .blog-list{gap:2.75rem}
  .post-card{grid-template-columns:1fr;gap:1rem;padding:0}
  .post-card img{height:auto;aspect-ratio:auto}
  .post-card h2{font-size:1.65rem}
  .post-card p{font-size:1rem}
  .post-layout{width:calc(100% - 1.5rem);padding-block:2.75rem}
  .post-layout h1{font-size:2.1rem}
}

@media(max-width:390px){
  .hero-content{min-height:600px}
  .hero-content h1{font-size:2.25rem}
  .button-row{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .button-row .button:last-child{grid-column:1/-1}
}

@media(max-width:340px){
  .profile-links{grid-template-columns:1fr}
}


/* Mobile homepage: quieter image treatment and a more compact first screen. */
@media(max-width:680px){
  .home-hero{background-position:58% center}
  .hero-overlay{background:rgba(0,0,0,.78)}
  .hero-content{min-height:0;padding-block:2.4rem 2.7rem}
  .hero-content h1{max-width:330px;font-size:2.25rem;line-height:1.02}
  .hero-socials{gap:.55rem;margin-top:.75rem}
  .hero-socials img{width:25px;height:25px}
  .hero-bio{margin-top:.9rem;font-size:.98rem;line-height:1.48}
  .button-row{display:grid;grid-template-columns:1fr 1fr;width:min(100%,330px);gap:.6rem;margin-top:1.15rem}
  .button-row .button{min-height:44px;padding:.55rem .75rem;font-size:.9rem}
  .button-row .button:last-child{grid-column:1/-1}
}
@media(max-width:390px){
  .hero-content{min-height:0}
  .hero-content h1{font-size:2.05rem}
}


/* When project columns stack, keep media with the project before page navigation. */
@media(max-width:850px){
  .project-layout{display:flex;flex-direction:column;gap:2rem}
  .project-copy{display:contents}
  .project-copy>*{order:1}
  .project-sidebar{order:2}
  .project-nav{order:3;margin-top:.75rem}
}
