@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,500;0,600&family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap');

  :root{
    --bg:#EEF1F4;
    --panel:#FFFFFF;
    --navy:#182B45;
    --slate:#5C6B7A;
    --green:#2E8B6E;
    --line: rgba(24,43,69,0.12);
  }

  *{ box-sizing:border-box; }
  body{
    margin:0;
    background:var(--bg);
    color:var(--navy);
    font-family:'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing:antialiased;
    line-height:1.55;
  }
  a{ color:inherit; }
  ::selection{ background:var(--green); color:#fff; }
  :focus-visible{ outline:2px solid var(--green); outline-offset:3px; }

  .wrap{ max-width:1040px; margin:0 auto; padding:0 32px; }

  /* NAV */
  header.site{
    position:sticky; top:0; z-index:20;
    background:rgba(238,241,244,0.9);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav-row{ display:flex; align-items:center; justify-content:space-between; padding:20px 0; }
  .nav-mark{ font-family:'IBM Plex Mono', monospace; font-size:14px; display:flex; align-items:center; gap:8px; }
  .dot{ width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px rgba(46,139,110,0.15); }
  nav.links{ display:flex; gap:26px; }
  nav.links a{ text-decoration:none; font-size:14px; color:var(--slate); }
  nav.links a:hover{ color:var(--navy); }

  /* HERO */
  .hero{ padding:80px 0 64px; }
  .hero .role{ font-family:'IBM Plex Mono', monospace; font-size:14px; color:var(--green); margin:0 0 16px; }
  .hero h1{
    font-family:'Source Serif 4', serif;
    font-weight:600;
    font-size:clamp(38px,5vw,58px);
    line-height:1.06;
    margin:0 0 20px;
    max-width:14ch;
  }
  .hero p.lede{ font-size:17px; color:var(--slate); max-width:58ch; margin:0 0 28px; }
  .actions{ display:flex; gap:14px; flex-wrap:wrap; }
  .btn{ display:inline-flex; align-items:center; gap:8px; padding:12px 20px; border-radius:3px; font-size:14px; font-weight:500; text-decoration:none; border:1px solid var(--navy); }
  .btn.primary{ background:var(--navy); color:#fff; }
  .btn.ghost{ background:transparent; color:var(--navy); }

  section{ padding:64px 0; border-top:1px solid var(--line); }
  .section-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:36px; gap:16px; }
  .section-head h2{ font-family:'Source Serif 4', serif; font-size:28px; font-weight:600; margin:0; }
  .section-head .tag{ font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--slate); white-space:nowrap; }

  /* EXPERTISE - hairline columns, no card fill */
  .expertise-grid{ display:grid; grid-template-columns:repeat(4,1fr); }
  .expertise-cell{ padding:0 26px; border-left:1px solid var(--line); }
  .expertise-cell:first-child{ border-left:none; padding-left:0; }
  .expertise-cell h3{ font-size:16px; font-weight:600; margin:0 0 10px; }
  .expertise-cell p{ font-size:14px; color:var(--slate); margin:0 0 14px; line-height:1.6; }
  .expertise-cell .tags{ font-size:0; }
  .expertise-cell .tag-pill{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px;
    color:var(--slate);
    padding:0;
  }
  .expertise-cell .tag-pill::after{ content:" · "; color:var(--green); }
  .expertise-cell .tag-pill:last-child::after{ content:""; }

  /* WHERE I HAVE WORKED - table-like list, dense like original */
  .work-table{ border-top:1px solid var(--line); }
  .work-row{
    display:grid;
    grid-template-columns: 140px 1fr 1fr;
    gap:24px;
    padding:20px 0;
    border-bottom:1px solid var(--line);
  }
  .work-row .period{ font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--slate); padding-top:2px; }
  .work-row .role{ font-size:15px; font-weight:600; margin:0 0 4px; }
  .work-row .org{ font-size:13px; color:var(--green); font-family:'IBM Plex Mono', monospace; margin:0; }
  .work-row .desc{ font-size:14px; color:var(--slate); margin:0 0 10px; line-height:1.6; }
  .work-row ul.bullets{ margin:0; padding-left:18px; }
  .work-row ul.bullets li{ font-size:14px; color:var(--slate); line-height:1.65; margin-bottom:3px; }
  .work-row p.closing{ font-size:14px; color:var(--slate); line-height:1.65; margin:0; }

  /* SELECTED WORK - editorial list, no cards */
  .selected-list{ border-top:1px solid var(--line); }
  .selected-row{
    display:grid;
    grid-template-columns: 1fr 1.4fr;
    gap:32px;
    padding:28px 0;
    border-bottom:1px solid var(--line);
    text-decoration:none;
    color:inherit;
    align-items:start;
  }
  .selected-row h3{ font-size:20px; margin:0 0 6px; font-family:'Source Serif 4', serif; font-weight:600; transition:color .15s ease; }
  .selected-row:hover h3{ color:var(--green); }
  .selected-row .stack-line{ font-size:13px; color:var(--slate); margin:0; font-family:'IBM Plex Mono', monospace; }
  .selected-row .desc{ font-size:14.5px; color:var(--slate); margin:0; line-height:1.65; }
  .selected-row ul.bullets{ padding-left:18px; }
  .selected-row ul.bullets li{ font-size:14px; color:var(--slate); line-height:1.6; margin-bottom:2px; }

  /* MY STORY - photo + text, like original */
  .story{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:48px; align-items:center; }
  .story .photo{
    aspect-ratio:4/5;
    border-radius:8px;
    background:
      radial-gradient(circle at 30% 20%, rgba(46,139,110,0.35), transparent 60%),
      var(--navy);
  }
  .story h2{ font-family:'Source Serif 4', serif; font-size:26px; margin:0 0 16px; font-weight:600; }
  .story p{ font-size:15px; color:var(--slate); margin:0 0 14px; max-width:56ch; line-height:1.7; }

  /* CTA */
  .cta-box{
    background:var(--navy); color:#fff; border-radius:10px; padding:56px 48px;
    display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap;
  }
  .cta-box h2{ font-family:'Source Serif 4', serif; font-size:30px; margin:0 0 8px; max-width:14ch; }
  .cta-box p{ color:#B9C4D0; margin:0; font-size:14px; }
  .cta-box .btn.primary{ background:var(--green); border-color:var(--green); color:#0D1F17; }

  footer{ padding:36px 0 56px; display:flex; justify-content:space-between; font-size:13px; color:var(--slate); font-family:'IBM Plex Mono', monospace; flex-wrap:wrap; gap:12px; border-top:1px solid var(--line); }
  footer a{ text-decoration:none; color:var(--slate); }
  footer a:hover{ color:var(--navy); }

  /* EDUCATION */
  .edu-card{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:8px;
    padding:32px 34px;
  }
  .edu-card .degree{ font-family:'Source Serif 4', serif; font-size:20px; font-weight:600; margin:0 0 4px; }
  .edu-card .school{ font-size:14px; color:var(--green); font-family:'IBM Plex Mono', monospace; margin:0 0 24px; }
  .edu-cols{ display:grid; grid-template-columns:1fr 1fr; gap:32px; }
  .edu-cols h4{ font-size:13px; text-transform:none; color:var(--slate); margin:0 0 12px; font-weight:600; }
  .edu-cols ul{ margin:0; padding-left:18px; }
  .edu-cols li{ font-size:14px; color:var(--navy); line-height:1.8; }

  /* INTERESTS */
  .interests-card{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:8px;
    padding:32px 34px;
  }
  .interests-card p{ font-size:15px; color:var(--slate); line-height:1.75; margin:0 0 20px; max-width:70ch; }
  .interest-tags{ display:flex; flex-wrap:wrap; gap:8px; }
  .interest-tags .tag-pill{
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px;
    color:var(--navy);
    background:var(--bg);
    border:1px solid var(--line);
    padding:5px 11px;
    border-radius:4px;
  }

  @media (max-width:980px){
    .expertise-grid{ grid-template-columns:repeat(2,1fr); row-gap:24px; }
    .expertise-cell:nth-child(2n+1){ border-left:none; padding-left:0; }
    .expertise-cell:nth-child(n+3){ border-left:none; padding-left:0; border-top:1px solid var(--line); padding-top:24px; }
  }
  @media (max-width:820px){
    .edu-cols{ grid-template-columns:1fr; }
  }
  @media (max-width:820px){
    .expertise-grid, .selected-grid{ grid-template-columns:1fr; }
    .expertise-cell{ border-left:none !important; padding-left:0 !important; border-top:1px solid var(--line); padding-top:24px; }
    .expertise-cell:first-child{ border-top:none; padding-top:0; }
    .work-row{ grid-template-columns:1fr; gap:6px; }
    .selected-row{ grid-template-columns:1fr; gap:8px; }
    .story{ grid-template-columns:1fr; }
    nav.links{ display:none; }
  }

/* =========================================
   PROJECT PAGE (product page template)
   ========================================= */

/* Back link */
.back-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:'IBM Plex Mono', monospace;
  font-size:13px;
  color:var(--slate);
  text-decoration:none;
  margin-bottom:28px;
}
.back-link:hover{ color:var(--navy); }

/* Project hero */
.project-hero{ padding:56px 0 48px; border-top:none; }
.project-hero .stack-line{
  font-family:'IBM Plex Mono', monospace;
  font-size:14px;
  color:var(--green);
  margin:0 0 16px;
}
.project-hero h1{
  font-family:'Source Serif 4', serif;
  font-weight:600;
  font-size:clamp(34px,4.6vw,50px);
  line-height:1.08;
  margin:0 0 18px;
  max-width:16ch;
}
.project-hero p.lede{
  font-size:17px;
  color:var(--slate);
  max-width:62ch;
  margin:0 0 28px;
}
.project-hero .actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* Meta row: role / timeline / stack, like a spec strip */
.project-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin:8px 0 0;
}
.project-meta .meta-item{
  padding:20px 24px 20px 0;
  border-left:1px solid var(--line);
}
.project-meta .meta-item:first-child{ border-left:none; padding-left:0; }
.project-meta .meta-item h4{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  color:var(--slate);
  margin:0 0 8px;
  font-weight:500;
}
.project-meta .meta-item p{
  font-size:14.5px;
  color:var(--navy);
  margin:0;
  line-height:1.6;
}

/* Screenshot frame */
.shot{
  width:100%;
  border-radius:8px;
  border:1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(24,43,69,0.035) 0 10px, transparent 10px 20px),
    var(--panel);
  aspect-ratio:16/10;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'IBM Plex Mono', monospace;
  font-size:13px;
  color:var(--slate);
  overflow:hidden;
}
.shot img{ width:100%; height:100%; object-fit:cover; display:block; }
.shot-caption{
  font-size:13px;
  color:var(--slate);
  margin:10px 2px 0;
}

/* Feature block: alternating image / text */
.feature-block{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:48px;
  align-items:center;
  padding:56px 0;
  border-top:1px solid var(--line);
}
.feature-block:first-child{ border-top:none; }
.feature-block.reverse{ grid-template-columns:0.9fr 1.1fr; }
.feature-block.reverse .feature-media{ order:2; }
.feature-block.reverse .feature-text{ order:1; }
.feature-text h3{
  font-family:'Source Serif 4', serif;
  font-size:24px;
  font-weight:600;
  margin:0 0 14px;
}
.feature-text p{
  font-size:15px;
  color:var(--slate);
  line-height:1.7;
  margin:0 0 14px;
  max-width:52ch;
}
.feature-text ul{ margin:0; padding-left:18px; }
.feature-text ul li{
  font-size:14.5px;
  color:var(--slate);
  line-height:1.75;
}

/* Full-width screenshot section (for wider views / flows) */
.wide-shot{ padding:56px 0; border-top:1px solid var(--line); }
.wide-shot h3{
  font-family:'Source Serif 4', serif;
  font-size:22px;
  font-weight:600;
  margin:0 0 24px;
}

/* Outcome / reflection panel */
.outcome{ padding:56px 0; border-top:1px solid var(--line); }
.outcome h2{
  font-family:'Source Serif 4', serif;
  font-size:26px;
  font-weight:600;
  margin:0 0 16px;
}
.outcome p{
  font-size:15px;
  color:var(--slate);
  line-height:1.75;
  max-width:66ch;
  margin:0 0 14px;
}

/* Next project link */
.next-project{
  padding:40px 0 64px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  flex-wrap:wrap;
}
.next-project .label{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  color:var(--slate);
  display:block;
  margin-bottom:6px;
}
.next-project a{
  font-family:'Source Serif 4', serif;
  font-size:22px;
  font-weight:600;
  text-decoration:none;
  color:var(--navy);
  transition:color .15s ease;
}
.next-project a:hover{ color:var(--green); }

@media (max-width:820px){
  .project-meta{ grid-template-columns:1fr; }
  .project-meta .meta-item{ border-left:none; padding-left:0; border-top:1px solid var(--line); padding-top:16px; }
  .project-meta .meta-item:first-child{ border-top:none; padding-top:20px; }
  .feature-block, .feature-block.reverse{ grid-template-columns:1fr; }
  .feature-block.reverse .feature-media, .feature-block.reverse .feature-text{ order:initial; }
}

.copy-email {
  transition: color .15s ease;
}

.copy-email:hover {
  color: var(--green);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  color: var(--navy);
  transition: background .15s ease, color .15s ease;
}

.icon-btn:hover {
  background: var(--navy);
  color: #fff;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}