@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500&display=swap');

:root{
  --ink:#0a0a0a;
  --grey-line:#0a0a0a;
  --grey-placeholder:#cfcfcf;
  --grey-placeholder-text:#6b6b6b;
  --grey-soft:#8a8a8a;
  --bg:#ffffff;
  --max:1400px;
  --gutter:max(48px, calc((100vw - var(--max)) / 2 + 48px));
}

*{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:'Jost', -apple-system, Helvetica, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.4;
}

a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--gutter);
}

/* ================= HEADER ================= */
header.site-header{
  background:linear-gradient(to top, #dcdcdc 0%, #ffffff 65%);
  position:sticky;
  top:0;
  z-index:20;
}
.header-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:26px var(--gutter) 20px;
  display:flex;
  justify-content:flex-end;
}
nav.site-nav{
  display:flex;
  align-items:baseline;
  gap:48px;
}
nav.site-nav a{
  font-weight:500;
  font-size:16px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--ink);
  padding-bottom:4px;
  border-bottom:2px solid transparent;
  transition:border-color .15s ease;
}
nav.site-nav a:hover,
nav.site-nav a[aria-current="page"]{
  border-bottom-color:var(--ink);
}

/* ================= LOGO ================= */
.brand-logo{
  width:100%;
  max-width:460px;
  height:auto;
}

/* ================= LANDING HERO ================= */
.hero{
  padding:88px 0 56px;
}
.hero-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:stretch;
  gap:48px;
}
.hero-brand{
  flex:1 1 380px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height:150px;
}
.contact-email{
  width:100%;
  padding-left:9.8%;
  margin-top:auto;
  margin-bottom:auto;
  font-weight:700;
  font-size:21px;
  letter-spacing:0.01em;
}
.contact-email a{
  text-decoration:underline;
  text-underline-offset:3px;
}
.hero-traits{
  flex:2 1 520px;
  display:flex;
  flex-wrap:wrap;
  gap:64px;
}
.trait-col{
  min-width:200px;
}
.trait-lede{
  font-style:italic;
  font-weight:400;
  font-size:20px;
  margin-bottom:18px;
  color:var(--ink);
}
.trait-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.trait-list li{
  font-weight:700;
  font-size:21px;
  letter-spacing:0.01em;
}
.trait-col.caps .trait-list li{
  text-transform:uppercase;
}

/* ================= PROJECTS SECTION (landing) ================= */
.projects-section{
  padding:0 0 96px;
}
.section-rule{
  border:none;
  border-top:3px solid var(--grey-line);
  margin-bottom:28px;
}
.section-heading{
  font-weight:800;
  font-size:26px;
  text-transform:uppercase;
  letter-spacing:0.02em;
  margin-bottom:36px;
}

/* ================= ABOUT SECTION (landing) ================= */
.about-section{
  padding:0 0 120px;
}
.about-content{
  max-width:68ch;
}
.about-statement{
  font-weight:300;
  font-size:19px;
  line-height:1.6;
  color:#1a1a1a;
  margin-bottom:32px;
}
.about-name{
  font-weight:800;
  font-size:20px;
  letter-spacing:0.01em;
  margin-bottom:12px;
}
.about-bio{
  font-weight:300;
  font-size:19px;
  line-height:1.6;
  color:#1a1a1a;
  margin-bottom:20px;
}
.about-cv{
  font-weight:300;
  font-size:19px;
  line-height:1.6;
  color:#1a1a1a;
}
.about-cv a{
  text-decoration:underline;
  text-underline-offset:3px;
  font-weight:700;
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:40px 32px;
}
.project-card{
  display:block;
}
.project-thumb{
  width:100%;
  aspect-ratio:4/3;
  background:var(--grey-placeholder);
  margin-bottom:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.project-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.project-thumb.is-diagram{
  background:#ffffff;
  border:1px solid #e2e2e2;
}
.project-thumb.is-diagram img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.project-thumb-label{
  font-size:13px;
  color:var(--grey-placeholder-text);
  letter-spacing:0.04em;
  text-transform:uppercase;
}
.project-card-title{
  font-weight:700;
  font-size:20px;
  margin-bottom:4px;
}
.project-card-sub{
  font-weight:400;
  font-size:16px;
  color:#3a3a3a;
}

/* ================= PROJECT PAGE ================= */
.project-page{
  padding-top:64px;
  padding-bottom:120px;
}
.project-page-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);
  gap:64px;
  align-items:start;
}
.project-info{
  padding-top:0;
}
.project-title-rule{
  border:none;
  border-top:3px solid var(--grey-line);
  margin-bottom:20px;
}
.project-title{
  font-weight:800;
  font-size:44px;
  line-height:1.12;
  letter-spacing:-0.01em;
  margin-bottom:32px;
}
.project-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px 0;
  font-weight:700;
  font-size:14px;
  letter-spacing:0.05em;
  text-transform:uppercase;
  margin-bottom:32px;
}
.project-tags span + span{
  position:relative;
  padding-left:20px;
}
.project-tags span + span::before{
  content:"|";
  position:absolute;
  left:6px;
  color:var(--grey-soft);
  font-weight:400;
}
.project-subhead{
  font-weight:400;
  font-size:28px;
  line-height:1.35;
  margin-bottom:28px;
}
.project-description{
  max-width:56ch;
}
.project-section{
  margin-bottom:28px;
}
.project-section:last-child{
  margin-bottom:0;
}
.project-section-label{
  font-weight:700;
  font-size:14px;
  letter-spacing:0.05em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.project-section p{
  font-weight:300;
  font-size:19px;
  line-height:1.6;
  color:#1a1a1a;
}

.project-source-rule{
  border:none;
  border-top:1px solid #cfcfcf;
  max-width:56ch;
  margin:32px 0 24px;
}
.project-source{
  max-width:56ch;
}
.project-learn-more,
.project-footnote{
  font-style:italic;
  font-weight:300;
  font-size:17px;
  line-height:1.6;
  color:#1a1a1a;
}
.project-learn-more{
  margin-bottom:12px;
  word-break:break-word;
}
.project-learn-more a{
  text-decoration:underline;
}
.project-footnote{
  color:#3a3a3a;
}

.project-hero-figure{
  width:100%;
}
.project-hero-image{
  width:100%;
  aspect-ratio:4/3;
  background:var(--grey-placeholder);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.project-hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.project-hero-image.is-diagram{
  aspect-ratio:auto;
  background:#ffffff;
}
.project-hero-image.is-diagram img{
  width:100%;
  height:auto;
  object-fit:contain;
}
.project-hero-image span{
  font-style:italic;
  font-weight:400;
  font-size:18px;
  color:var(--grey-placeholder-text);
}
.project-caption{
  font-style:italic;
  font-weight:400;
  font-size:16px;
  color:#3a3a3a;
  margin-top:14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width:860px){
  :root{ --gutter:28px; }
  .header-inner{ justify-content:center; padding-top:20px; }
  nav.site-nav{ gap:20px; flex-wrap:wrap; justify-content:center; max-width:none; width:auto; }
  .hero{ padding:56px 0 40px; }
  .hero-traits{ gap:36px; }
  .project-page-grid{ grid-template-columns:1fr; }
  .project-title{ font-size:34px; }
  .project-subhead{ font-size:23px; }
  .brand-logo{ max-width:300px; }
  .hero{ padding-bottom:32px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
}
