:root{
    --ink:#1E2A22;
    --sidewalk:#E7E2D6;
    --sidewalk-2:#DBD4C4;
    --brick:#9A4B36;
    --brick-dark:#7C3B29;
    --leaf:#445F3C;
    --amber:#D9A441;
    --paper:#F6F2E9;
    --text:#26241F;
    --text-soft:#57544B;
    --line: rgba(38,36,31,0.14);
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    color:var(--text);
    font-family:'Public Sans', sans-serif;
    -webkit-font-smoothing:antialiased;
    background-image:linear-gradient(180deg, rgba(30,42,34,0.86), rgba(30,42,34,0.93)), url('assets/hero.jpg');
    background-size:cover;
    background-position:50% 20%;
    background-repeat:no-repeat;
    background-attachment:fixed;
  }
  @media (max-width: 860px){
    body{background-attachment:scroll;}
  }
  img{max-width:100%;display:block;}
  a{color:inherit;}
  .wrap{max-width:1120px;margin:0 auto;padding:0 32px;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--brick-dark);
    display:flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:18px;height:1px;
    background:var(--brick-dark);
    display:inline-block;
  }
  h1,h2,h3{
    font-family:'Newsreader', serif;
    font-weight:500;
    margin:0;
    color:var(--ink);
  }
  p{margin:0;line-height:1.6;}
  .btn{
    font-family:'Public Sans', sans-serif;
    font-weight:600;
    font-size:15px;
    letter-spacing:0.01em;
    padding:14px 26px;
    border-radius:3px;
    border:1px solid transparent;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn-primary{
    background:var(--amber);
    color:#2A1E0B;
    box-shadow:0 1px 0 rgba(0,0,0,0.15);
  }
  .btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(217,164,65,0.35);}
  .btn-ghost{
    background:transparent;
    color:var(--paper);
    border-color:rgba(246,242,233,0.35);
  }
  .btn-ghost:hover{border-color:rgba(246,242,233,0.7);}
  .btn-dark{
    background:var(--ink);
    color:var(--paper);
  }
  .btn-dark:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,0.25);}

  /* NAV */
  header{
    position:sticky;top:0;z-index:50;
    background:rgba(231,226,214,0.88);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  nav{
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 32px;
    max-width:1120px;margin:0 auto;
  }
  .logo{
    display:flex;align-items:center;gap:10px;
    font-family:'Newsreader', serif;
    font-size:19px;
    font-weight:600;
    color:var(--ink);
    text-decoration:none;
  }
  .logo-mark{
    width:26px;height:26px;
    flex-shrink:0;
  }
  .nav-links{
    display:flex;gap:34px;
    font-size:14.5px;
    font-weight:500;
  }
  .nav-links a{text-decoration:none;color:var(--text-soft);transition:color .15s ease;}
  .nav-links a:hover{color:var(--ink);}
  .nav-right{display:flex;align-items:center;gap:22px;}

  /* HERO */
  .hero{
    position:relative;
    min-height:92vh;
    display:flex;
    align-items:flex-end;
    color:var(--paper);
    overflow:hidden;
  }
  .hero::after{
    content:"";
    position:absolute;inset:0;
    background:linear-gradient(180deg, rgba(20,25,18,0.05) 0%, rgba(20,25,18,0.25) 55%, rgba(18,22,15,0.85) 96%);
  }
  .hero-inner{
    position:relative;z-index:2;
    padding:0 32px 72px;
    max-width:1120px;margin:0 auto;
    width:100%;
  }
  .hero-eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:var(--amber);
    margin-bottom:22px;
    display:flex;align-items:center;gap:10px;
  }
  .hero-eyebrow::before{content:"";width:18px;height:1px;background:var(--amber);}
  .hero h1{
    font-size:clamp(32px, 4.4vw, 58px);
    line-height:1.14;
    letter-spacing:-0.01em;
    color:#FBF7EE;
    max-width:22ch;
  }
  .hero h1 em{
    font-style:italic;
    color:var(--amber);
  }
  .hero-sub{
    margin-top:24px;
    font-size:17px;
    line-height:1.65;
    max-width:58ch;
    color:rgba(251,247,238,0.82);
  }
  .hero-cta{
    margin-top:38px;
    display:flex;gap:16px;flex-wrap:wrap;
  }

  /* STREET DIVIDER — signature element */
  .street{
    position:relative;
    height:64px;
    margin:0 auto;
    max-width:1120px;
  }
  .street::before{
    content:"";
    position:absolute;
    left:32px;right:32px;top:50%;
    height:2px;
    background:var(--ink);
    opacity:0.16;
  }
  .street .lane{
    position:absolute;left:32px;right:32px;top:50%;
    height:2px;
    transform:translateY(-1px);
    background-image:repeating-linear-gradient(90deg, var(--amber) 0 22px, transparent 22px 44px);
    opacity:0.9;
  }

  /* WHY SECTION */
  section{padding:104px 0;}
  .why{
    background:rgba(231,226,214,0.94);
    backdrop-filter:blur(6px);
  }
  .why-grid{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:64px;
    align-items:start;
  }
  .why h2{
    font-size:clamp(26px,3vw,36px);
    line-height:1.22;
  }
  .why-body p{font-size:17px;color:var(--text-soft);}
  .why-body p + p{margin-top:14px;}
  .why-quote{
    margin-top:30px;
    padding-left:20px;
    border-left:2px solid var(--brick);
    font-family:'Newsreader', serif;
    font-style:italic;
    font-size:20px;
    color:var(--ink);
    line-height:1.5;
  }

  /* HOW IT WORKS */
  .how{
    background:rgba(246,242,233,0.94);
    backdrop-filter:blur(6px);
  }
  .how-head{
    display:flex;justify-content:space-between;align-items:flex-end;
    flex-wrap:wrap;gap:24px;
    margin-bottom:56px;
  }
  .how-head h2{font-size:clamp(30px,3.6vw,44px);max-width:14ch;}
  .steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0;
    border-top:1px solid var(--line);
  }
  .step{
    padding:36px 28px 8px;
    border-right:1px solid var(--line);
    position:relative;
  }
  .step:last-child{border-right:none;}
  .step-num{
    font-family:'IBM Plex Mono', monospace;
    font-size:13px;
    color:var(--brick);
    background:var(--sidewalk);
    border:1px solid var(--line);
    width:34px;height:34px;
    border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    position:absolute;
    top:-17px;left:28px;
  }
  .step h3{
    font-size:22px;
    margin-top:20px;
    margin-bottom:12px;
  }
  .step p{color:var(--text-soft);font-size:15.5px;}

  /* PLEDGE */
  .pledge{
    background:rgba(30,42,34,0.92);
    backdrop-filter:blur(6px);
    color:var(--paper);
  }
  .pledge-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:64px;
    align-items:center;
  }
  .pledge h2{
    color:#FBF7EE;
    font-size:clamp(30px,3.6vw,44px);
    line-height:1.16;
  }
  .pledge p.lead{
    margin-top:18px;
    color:rgba(246,242,233,0.72);
    font-size:16.5px;
    max-width:44ch;
  }
  .pledge-form{
    background:rgba(246,242,233,0.05);
    border:1px solid rgba(246,242,233,0.16);
    border-radius:6px;
    padding:32px;
  }
  .pledge-line{
    font-family:'Newsreader', serif;
    font-style:italic;
    font-size:16.5px;
    color:rgba(246,242,233,0.85);
    margin-bottom:22px;
    line-height:1.55;
  }
  .field{margin-bottom:14px;}
  .field label{
    display:block;
    font-size:12.5px;
    font-family:'IBM Plex Mono', monospace;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:rgba(246,242,233,0.55);
    margin-bottom:7px;
  }
  .field input{
    width:100%;
    background:rgba(246,242,233,0.06);
    border:1px solid rgba(246,242,233,0.2);
    border-radius:3px;
    padding:12px 14px;
    color:#FBF7EE;
    font-family:'Public Sans', sans-serif;
    font-size:15px;
  }
  .field input::placeholder{color:rgba(246,242,233,0.35);}
  .field input:focus{outline:2px solid var(--amber);outline-offset:1px;border-color:transparent;}
  .pledge-form .btn{width:100%;justify-content:center;margin-top:6px;}
  .pledge-note{
    font-size:12.5px;
    color:rgba(246,242,233,0.4);
    margin-top:14px;
    line-height:1.5;
  }
  .success{
    display:none;
    text-align:center;
    padding:20px 8px;
  }
  .success.show{display:block;}
  .success .check{
    width:40px;height:40px;
    border-radius:50%;
    background:var(--amber);
    display:flex;align-items:center;justify-content:center;
    margin:0 auto 16px;
    color:#2A1E0B;
    font-size:20px;
  }
  .success h3{color:#FBF7EE;font-size:19px;margin-bottom:8px;}
  .success p{color:rgba(246,242,233,0.65);font-size:14.5px;}
  .pledge-form.hidden-form{display:none;}

  /* FOOTER */
  footer{
    background:rgba(30,42,34,0.95);
    backdrop-filter:blur(6px);
    border-top:1px solid rgba(246,242,233,0.1);
    padding:40px 0 32px;
  }
  .footer-row{
    display:flex;justify-content:space-between;align-items:center;
    flex-wrap:wrap;gap:20px;
  }
  .footer-logo{
    display:flex;align-items:center;gap:10px;
    font-family:'Newsreader', serif;
    font-size:16px;
    color:var(--paper);
  }
  .footer-tag{
    font-size:13px;
    color:rgba(246,242,233,0.45);
    max-width:38ch;
  }
  .footer-links{display:flex;gap:24px;font-size:13.5px;}
  .footer-links a{text-decoration:none;color:rgba(246,242,233,0.55);}
  .footer-links a:hover{color:var(--paper);}
  .footer-bottom{
    margin-top:26px;padding-top:22px;
    border-top:1px solid rgba(246,242,233,0.08);
    font-size:12px;color:rgba(246,242,233,0.35);
    display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
  }

  @media (max-width: 860px){
    .nav-links{display:none;}
    .why-grid, .pledge-grid{grid-template-columns:1fr;gap:40px;}
    .steps{grid-template-columns:1fr;}
    .step{border-right:none;border-bottom:1px solid var(--line);padding-bottom:32px;}
    .step:last-child{border-bottom:none;}
    .hero{min-height:100vh;}
  }

  /* MAP SECTION */
  .map-section{
    background:rgba(246,242,233,0.96);
    backdrop-filter:blur(6px);
  }
  .map-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:24px;
    margin-bottom:32px;
  }
  .map-head h2{
    font-size:clamp(26px,3vw,36px);
    line-height:1.22;
    margin-top:14px;
    max-width:16ch;
  }
  .map-note{
    max-width:36ch;
    font-size:15px;
    color:var(--text-soft);
    line-height:1.55;
  }
  .map-container{
    width:100%;
    height:460px;
    border-radius:6px;
    border:1px solid var(--line);
    overflow:hidden;
    background:var(--sidewalk-2);
  }
  .map-status{
    margin-top:12px;
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px;
    color:var(--text-soft);
    letter-spacing:0.02em;
  }
  .leaflet-popup-content-wrapper{
    border-radius:4px;
    font-family:'Public Sans', sans-serif;
  }
  .pin-popup{font-size:13.5px;line-height:1.5;}
  .pin-popup strong{font-family:'Newsreader', serif;font-size:15px;}

  @media (max-width: 860px){
    .map-container{height:340px;}
  }

  @media (prefers-reduced-motion: reduce){
    *{transition:none !important;}
    html{scroll-behavior:auto;}
  }

  /* ============ NEWS PAGE ============ */
  .page-hero{
    background:var(--ink);
    color:var(--paper);
    padding:88px 0 64px;
  }
  .page-hero h1{
    color:#FBF7EE;
    font-size:clamp(32px,4.2vw,50px);
    line-height:1.14;
    max-width:18ch;
  }
  .page-hero p{
    margin-top:18px;
    max-width:56ch;
    color:rgba(246,242,233,0.78);
    font-size:16.5px;
    line-height:1.6;
  }

  .explainer{
    background:var(--paper);
    padding:80px 0;
    border-bottom:1px solid var(--line);
  }
  .explainer-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
  }
  .explainer-card{
    background:var(--sidewalk);
    border:1px solid var(--line);
    border-radius:6px;
    padding:28px;
  }
  .explainer-card h3{
    font-size:19px;
    margin-bottom:10px;
  }
  .explainer-card p{
    font-size:14.5px;
    color:var(--text-soft);
    line-height:1.6;
  }
  .explainer-card .tag{
    display:inline-block;
    font-family:'IBM Plex Mono', monospace;
    font-size:11px;
    letter-spacing:0.06em;
    text-transform:uppercase;
    padding:4px 9px;
    border-radius:3px;
    margin-bottom:12px;
  }
  .tag-news{background:rgba(68,95,60,0.14);color:var(--leaf);}
  .tag-commentary{background:rgba(154,75,54,0.14);color:var(--brick-dark);}

  .explainer-note{
    margin-top:36px;
    padding:22px 24px;
    border-left:2px solid var(--brick);
    font-size:15px;
    color:var(--text-soft);
    line-height:1.65;
    max-width:70ch;
  }

  .posts{
    background:var(--sidewalk);
    padding:80px 0 100px;
  }
  .posts h2{
    font-size:clamp(26px,3vw,36px);
    margin-bottom:8px;
  }
  .posts-sub{
    color:var(--text-soft);
    font-size:15px;
    margin-bottom:44px;
    max-width:56ch;
  }
  .post{
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:6px;
    padding:28px 30px;
    margin-bottom:20px;
  }
  .post-meta{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
    flex-wrap:wrap;
  }
  .post-date{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px;
    color:var(--text-soft);
    letter-spacing:0.02em;
  }
  .post h3{
    font-size:21px;
    margin-bottom:10px;
    line-height:1.3;
  }
  .post p{
    font-size:15px;
    color:var(--text-soft);
    line-height:1.6;
  }
  .post-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:14px;
    font-size:14px;
    font-weight:600;
    color:var(--brick-dark);
    text-decoration:none;
  }
  .post-link:hover{text-decoration:underline;}

  @media (max-width: 860px){
    .explainer-grid{grid-template-columns:1fr;}
  }
