/* =====================================================================
  HOW TO EDIT THIS PAGE
  ---------------------------------------------------------------
  1. Scroll to the "EDIT YOUR INFO HERE" block inside the <script>
     tag near the bottom of this file and swap in your own text.
  2. Colors come from the palette strip at the very top of the page —
     each section below picks it up as its background. To change the
     palette, edit the four --c-* hex values in :root at the top of
     the CSS.
  3. Save the file and reopen it in your browser to see changes.
===================================================================== */


:root{
    /* -------- the four palette colors -------- */
    --c-navy:#3368A0;
    --c-teal:#66A3BF;
    --c-mint:#C8DFDB;
    --c-cream:#F2EFE7;
    --c-ink:#14171F;

    --font-display:'Fraunces', serif;
    --font-body:'Inter', sans-serif;
    --font-mono:'JetBrains Mono', monospace;
    --maxw:1000px;
    --radius:2px;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--c-cream);
    color:var(--c-ink);
    font-family:var(--font-body);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  a{text-decoration:none;}
  a:focus-visible, button:focus-visible{outline:2px solid var(--c-navy); outline-offset:3px;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}

  /* -------- signature: the palette strip -------- */
  .palette-strip{height:7px; display:flex; width:100%;}
  .palette-strip span{flex:1;}
  .palette-strip .s1{background:var(--c-navy);}
  .palette-strip .s2{background:var(--c-teal);}
  .palette-strip .s3{background:var(--c-mint);}
  .palette-strip .s4{background:var(--c-cream);}

  .label{
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:0.12em;
    text-transform:uppercase;
  }

  /* ---------- top nav ---------- */
  header.topnav{
    position:sticky; top:0; z-index:50;
    background:rgba(242,239,231,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid rgba(20,23,31,0.1);
  }
  .navbar{
    display:flex; align-items:center; justify-content:space-between;
    max-width:var(--maxw); margin:0 auto; padding:16px 28px;
  }
  .navbar .brand{
    font-family:var(--font-display); font-weight:600; font-size:19px; letter-spacing:-0.01em;
    color:var(--c-ink);
  }
  .navbar nav{display:flex; gap:22px;}
  .navbar nav a{
    font-family:var(--font-mono); font-size:12.5px; letter-spacing:0.06em; text-transform:uppercase;
    color:var(--c-ink);
  }
  .navbar nav a:hover{color:var(--c-navy);}

  /* ---------- section theme shells ---------- */
  /* Each section owns one color from the palette, with text/card
     colors chosen per-band for contrast. */
  section, footer{padding:88px 0;}

  .theme-navy{ background:var(--c-navy); color:var(--c-cream); }
  .theme-navy .fg-soft{ color:rgba(242,239,231,0.75); }
  .theme-navy .card{ background:#2A567F; border:1px solid rgba(242,239,231,0.18); }
  .theme-navy .chip{ border:1px solid rgba(242,239,231,0.35); color:rgba(242,239,231,0.9); }

  .theme-mint{ background:var(--c-mint); color:var(--c-ink); }
  .theme-mint .fg-soft{ color:rgba(20,23,31,0.68); }
  .theme-mint .card{ background:var(--c-cream); border:1px solid rgba(20,23,31,0.1); }
  .theme-mint .chip{ border:1px solid rgba(20,23,31,0.25); color:var(--c-ink); background:rgba(255,255,255,0.4); }

  .theme-teal{ background:var(--c-teal); color:var(--c-ink); }
  .theme-teal .fg-soft{ color:rgba(20,23,31,0.7); }
  .theme-teal .card{ background:var(--c-cream); border:1px solid rgba(20,23,31,0.12); }
  .theme-teal .dot{ background:var(--c-cream); border:2px solid var(--c-navy); }

  .theme-cream{ background:var(--c-cream); color:var(--c-ink); }
  .theme-cream .fg-soft{ color:rgba(20,23,31,0.62); }
  .theme-cream .card{ background:#FFFFFF; border:1px solid rgba(20,23,31,0.12); }

  .section-head{ display:flex; align-items:baseline; gap:16px; margin-bottom:44px; }
  .section-head .num{ font-family:var(--font-mono); font-size:14px; }
  .section-head h2{ font-family:var(--font-display); font-weight:500; font-size:32px; margin:0; letter-spacing:-0.01em; }
  .section-head .rule{ flex:1; height:1px; background:currentColor; opacity:0.2; }

  /* ---------- hero (navy) ---------- */
  .hero .tag{
    display:inline-flex; align-items:center; gap:8px;
    font-family:var(--font-mono); font-size:12.5px;
    color:var(--c-mint); border:1px solid var(--c-mint);
    padding:5px 12px; border-radius:var(--radius); margin-bottom:26px;
  }
  .hero .tag::before{content:"●"; font-size:8px;}
  .hero h1{
    font-family:var(--font-display); font-weight:500;
    font-size:clamp(40px, 7vw, 74px); line-height:1.03;
    margin:0 0 18px; letter-spacing:-0.02em; color:var(--c-cream);
  }
  .hero h1 em{ font-style:italic; font-weight:500; color:var(--c-mint); }
  .hero .role{
    font-family:var(--font-mono); font-size:15px; margin:0 0 26px;
    text-transform:uppercase; letter-spacing:0.06em; color:rgba(242,239,231,0.85);
  }
  .hero p.tagline{ font-size:19px; max-width:600px; margin:0 0 34px; }
  .hero .actions{ display:flex; gap:14px; flex-wrap:wrap; }

  .btn{
    font-family:var(--font-mono); font-size:13px; text-transform:uppercase; letter-spacing:0.05em;
    padding:12px 20px; border-radius:var(--radius); display:inline-block; border:1px solid transparent;
  }
  .btn.on-dark.primary{ background:var(--c-cream); color:var(--c-navy); border-color:var(--c-cream); }
  .btn.on-dark.primary:hover{ background:var(--c-mint); border-color:var(--c-mint); }
  .btn.on-dark.ghost{ background:transparent; color:var(--c-cream); border-color:rgba(242,239,231,0.6); }
  .btn.on-dark.ghost:hover{ border-color:var(--c-cream); }
  .btn.on-light.primary{ background:var(--c-navy); color:var(--c-cream); border-color:var(--c-navy); }
  .btn.on-light.primary:hover{ background:#274F7C; }
  .btn.on-light.ghost{ background:transparent; color:var(--c-ink); border-color:rgba(20,23,31,0.4); }
  .btn.on-light.ghost:hover{ border-color:var(--c-ink); }

  .specsheet{
    margin-top:56px; display:grid; grid-template-columns:repeat(auto-fit, minmax(150px,1fr));
    border-top:1px solid rgba(242,239,231,0.25); border-bottom:1px solid rgba(242,239,231,0.25);
  }
  .specsheet div{ padding:16px 18px; border-left:1px solid rgba(242,239,231,0.25); }
  .specsheet div:first-child{ border-left:none; }
  .specsheet .k{ font-family:var(--font-mono); font-size:16px; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:6px; color:rgba(242,239,231,0.7); }
  .specsheet .v{ font-size:20px; font-weight:500; }

  /* ---------- about (mint) ---------- */
  .about-grid{ display:grid; grid-template-columns:1.5fr 1fr; gap:56px; }
  .about-grid p{ font-size:17px; margin:0 0 18px; }
  .about-grid p:first-child{ font-size:21px; font-family:var(--font-display); font-weight:400; line-height:1.5; }
  .skills-box{ padding:24px; }
  .skills-box .label{ margin-bottom:14px; }
  .skills-list{ display:flex; flex-wrap:wrap; gap:8px; }
  .skills-list span{ font-family:var(--font-mono); font-size:12.5px; padding:5px 10px; border-radius:var(--radius); }

  /* ---------- experience (teal) ---------- */
  .timeline{ border-left:1px solid rgba(93, 126, 218, 0.25); }
  .timeline-item{ position:relative; padding:40px 32px 40px 32px; }
  .timeline-item:last-child{ padding-bottom:2; }
  .timeline-item::before{
    content:""; position:absolute; left:-5px; top:6px; width:9px; height:9px; border-radius:50%;
  }
  .ti-top{ display:flex; flex-wrap:wrap; align-items:baseline; gap:10px; margin-bottom:6px; }
  .ti-top h3{ font-family:var(--font-display); font-weight:500; font-size:22px; margin:0; }
  .ti-top .period{ font-family:var(--font-mono); font-size:12.5px; color:var(--c-navy); margin-left:auto; }
  .ti-company{ font-size:14px; font-weight:500; margin-bottom:10px; }
  .ti-desc{ font-size:15.5px; max-width:640px; margin-bottom:12px; }
  .ti-tags{ display:flex; gap:8px; flex-wrap:wrap; }
  .ti-tags span{ font-family:var(--font-mono); font-size:11.5px; padding:3px 9px; border-radius:var(--radius); }

  /* ---------- projects (cream) ---------- */
  .projects-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:20px; }
  .project-card{
    padding:26px; display:flex; flex-direction:column;
    transition:border-color .15s ease, transform .15s ease;
  }
  .project-card:hover{ border-color:var(--c-navy); transform:translateY(-2px); }
  .project-card .p-year{ font-family:var(--font-mono); font-size:11.5px; color:var(--c-navy); margin-bottom:10px; }
  .project-card h3{ font-family:var(--font-display); font-weight:500; font-size:22px; margin:0 0 10px; }
  .project-card p{ font-size:14.5px; flex:1; margin:0 0 16px; }
  .project-card .p-tags{ display:flex; gap:7px; flex-wrap:wrap; margin-bottom:16px; }
  .project-card .p-tags span{ font-family:var(--font-mono); font-size:11px; }
  .project-card .p-tags span::after{ content:" ·"; opacity:0.4; }
  .project-card .p-tags span:last-child::after{ content:""; }
  .project-card .p-link{ font-family:var(--font-mono); font-size:12.5px; text-transform:uppercase; letter-spacing:0.04em; color:var(--c-navy); }
  .project-card .p-link:hover{ text-decoration:underline; }

  /* ---------- contact (navy) ---------- */
  .contact-inner{ display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:30px; }
  footer h2{ font-family:var(--font-display); font-weight:500; font-size:clamp(32px,5vw,52px); margin:0 0 14px; letter-spacing:-0.01em; color:var(--c-cream); }
  footer p.foot-lede{ font-size:16px; max-width:420px; margin:0 0 24px; }
  .contact-links{ display:flex; flex-direction:column; gap:10px; align-items:flex-end; }
  .contact-links a{ font-family:var(--font-mono); font-size:14px; color:var(--c-cream); }
  .contact-links a:hover{ color:var(--c-mint); }
  .foot-bottom{
    margin-top:56px; padding-top:20px; border-top:1px solid rgba(242,239,231,0.25);
    display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:11.5px;
    color:rgba(242,239,231,0.65); flex-wrap:wrap; gap:8px;
  }

  @media (max-width:760px){
    .navbar nav{ display:none; }
    .about-grid{ grid-template-columns:1fr; }
    .ti-top .period{ margin-left:0; }
    .contact-inner{ flex-direction:column; align-items:flex-start; }
    .contact-links{ align-items:flex-start; }
  }
  @media (prefers-reduced-motion:reduce){
    html{ scroll-behavior:auto; }
    .project-card{ transition:none; }
  }