:root{
    --paper:#EFEAE0;
    --ink:#1B1F1C;
    --ink-soft:#5B5F58;
    --bite:#C2461B;
    --bite-deep:#8F3213;
    --market:#1F6F6F;
    --market-deep:#154F4F;
    --line: rgba(27,31,28,0.14);
    --radius: 2px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'Space Grotesk', sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.display{
    font-family:'Fraunces', serif;
    font-weight:600;
    letter-spacing:-0.01em;
    margin:0;
  }
  a{color:inherit;text-decoration:none;}
  .wrap{max-width:1180px;margin:0 auto;padding:0 32px;}

  /* NAV */
  header.site{
    position:sticky; top:0; z-index:50;
    background:rgba(239,234,224,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
  }
  nav.wrap{
    display:flex; align-items:center; justify-content:space-between;
    height:76px;
  }
  .wordmark{
    font-family:'Fraunces', serif; font-weight:700; font-size:22px;
    letter-spacing:-0.02em;
  }
  .wordmark span{color:var(--bite);}
  .navlinks{display:flex; gap:36px; font-size:14px; letter-spacing:0.02em;}
  .navlinks a{opacity:0.75; transition:opacity .2s ease;}
  .navlinks a:hover{opacity:1;}
  .navlinks a:focus-visible, a:focus-visible{outline:2px solid var(--ink); outline-offset:3px;}

  .navright{ display:flex; align-items:center; gap:28px; }
  .langswitch{
    display:flex; border:1px solid var(--line); border-radius:20px; overflow:hidden;
  }
  .langswitch button{
    font-family:'Space Grotesk', sans-serif; font-size:12px; font-weight:600;
    letter-spacing:0.04em; background:none; border:none; padding:7px 14px;
    cursor:pointer; color:var(--ink-soft); transition:background .2s ease, color .2s ease;
  }
  .langswitch button.active{ background:var(--ink); color:var(--paper); }
  .langswitch button:focus-visible{ outline:2px solid var(--ink); outline-offset:-2px; }

  .door-icon{
    width:40px; height:40px; z-index:1; margin-bottom:18px;
    display:flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,0.16); border-radius:50%;
  }
  .door-icon svg{ width:20px; height:20px; }

  /* HERO */
  .hero{
    padding:28px 0 20px;
    min-height:calc(100dvh - 76px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-sizing:border-box;
  }
  .hero .wrap{
    display:flex; flex-direction:column; gap:10px;
  }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:0.09em;
    color:var(--ink);
  }
  .eyebrow::before{
    content:""; display:inline-block; width:18px; height:3px;
    background:var(--bite); border-radius:2px;
  }
  .hero h1{
    font-size:clamp(30px,3.8vw,44px);
    line-height:1.08;
    max-width:34ch;
  }
  .hero .sub{
    font-size:16px; color:var(--ink-soft); max-width:72ch; line-height:1.5;
    margin-top:2px;
  }

  /* GATEWAY — the signature element: two diverging doors */
  .gateway{
    margin-top:28px;
    display:grid;
    grid-template-columns:1fr 1fr;
    flex:1;
    min-height:320px;
    max-height:560px;
    position:relative;
  }
  .door{
    position:relative;
    display:flex; flex-direction:column; justify-content:flex-end;
    padding:44px;
    overflow:hidden;
    transition:flex-grow .45s cubic-bezier(.6,0,.2,1);
    isolation:isolate;
  }
  .door.bite{ background:linear-gradient(155deg, var(--bite) 0%, var(--bite-deep) 100%); }
  .door.market{ background:linear-gradient(205deg, var(--market) 0%, var(--market-deep) 100%); }
  .door::before{
    content:"";
    position:absolute; inset:0;
    background-image:radial-gradient(circle at 30% 20%, rgba(255,255,255,0.14), transparent 55%);
    z-index:0;
  }
  .door-tag{
    font-size:13px; letter-spacing:0.12em; text-transform:uppercase;
    color:rgba(255,255,255,0.78); z-index:1; margin-bottom:14px;
  }
  .door h2{
    color:#fff; font-size:clamp(28px,3.2vw,40px); z-index:1; line-height:1.05;
  }
  .door p{
    color:rgba(255,255,255,0.85); font-size:15px; margin-top:12px; max-width:34ch; z-index:1;
  }
  .door .go{
    z-index:1; margin-top:26px;
    display:inline-flex; align-items:center; gap:8px;
    color:#fff; font-size:14px; font-weight:600; letter-spacing:0.02em;
    padding:12px 0;
    border-top:1px solid rgba(255,255,255,0.35);
    width:fit-content;
  }
  .door .go svg{transition:transform .25s ease;}
  .door:hover .go svg{transform:translateX(5px);}
  .door:hover{flex-grow:1.06;}
  .gateway-seam{
    position:absolute; left:50%; top:0; bottom:0; width:1px;
    background:rgba(27,31,28,0.5); z-index:2;
  }
  .gateway-seam .mark{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    background:var(--paper); border:1px solid var(--line);
    width:52px; height:52px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-family:'Fraunces', serif; font-weight:700; font-size:18px;
  }

  /* TRUST STRIP */
  .trust{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:22px 0;
  }
  .trust .wrap{
    display:flex; justify-content:center; align-items:center;
    flex-wrap:wrap; gap:14px 36px;
  }
  .trust-item{
    display:flex; align-items:center; gap:9px;
    font-size:13.5px; letter-spacing:0.01em; color:var(--ink-soft);
  }
  .trust-item svg{ width:15px; height:15px; stroke:var(--bite); flex-shrink:0; }
  .trust-divider{ width:1px; height:14px; background:var(--line); }
  @media (max-width:700px){ .trust-divider{ display:none; } }

  /* ABOUT */
  .about{ padding:110px 0 90px; border-bottom:1px solid var(--line);}
  .about .wrap{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:start;}
  .about .eyebrow{margin-bottom:18px;}
  .about h2{ font-size:clamp(28px,3.4vw,40px); line-height:1.12; max-width:14ch;}
  .about-body p{ font-size:16px; line-height:1.7; color:var(--ink-soft); margin:0 0 16px;}
  .about-body p:last-child{margin-bottom:0;}

  .stats{ display:flex; gap:40px; margin-top:34px; flex-wrap:wrap;}
  .stat .n{ font-family:'Fraunces', serif; font-size:34px; font-weight:600;}
  .stat .l{ font-size:13px; color:var(--ink-soft); letter-spacing:0.02em; margin-top:2px;}

  /* FOOTER */
  footer{ background:var(--ink); border-top:none; padding:64px 0 0;}
  .foot-top{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:40px;
    padding-bottom:48px;
  }
  .foot-brand .wordmark{ font-size:19px; }
  .foot-brand p{ font-size:14px; color:rgba(239,234,224,0.6); line-height:1.6; margin:16px 0 0; max-width:32ch;}
  .foot-social{ display:flex; gap:12px; margin-top:20px; }
  .foot-social a{
    width:34px; height:34px; border-radius:50%; border:1px solid rgba(239,234,224,0.22);
    display:flex; align-items:center; justify-content:center;
    color:var(--paper);
    transition:background .2s ease, border-color .2s ease;
  }
  .foot-social a:hover{ background:var(--bite); border-color:var(--bite); }
  .foot-social a:hover svg{ stroke:#fff; }
  .foot-social svg{ width:15px; height:15px; stroke:var(--paper); transition:stroke .2s ease;}

  .foot-col h4{
    font-family:'Space Grotesk', sans-serif; font-size:13px; font-weight:700;
    text-transform:uppercase; letter-spacing:0.08em; color:rgba(239,234,224,0.5);
    margin:0 0 18px;
  }
  .foot-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:13px;}
  .foot-col a{ font-size:14px; color:var(--paper); opacity:0.82; transition:opacity .2s ease;}
  .foot-col a:hover{ opacity:1; }
  .foot-col .muted{ font-size:14px; color:rgba(239,234,224,0.55); }

  .foot-bottom{
    border-top:1px solid rgba(239,234,224,0.14);
    padding:22px 0;
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  }
  .foot-bottom .legal{ font-size:12px; color:rgba(239,234,224,0.5); }
  .foot-bottom-links{ display:flex; gap:22px; font-size:12px; }
  .foot-bottom-links a{ color:rgba(239,234,224,0.5); }
  .foot-bottom-links a:hover{ color:var(--paper); }

  @media (max-width:860px){
    .hero{ min-height:auto; }
    .gateway{ grid-template-columns:1fr; min-height:auto; max-height:none; }
    .door{ min-height:280px; }
    .gateway-seam{ display:none; }
    .about .wrap{ grid-template-columns:1fr; gap:28px; }
    .foot-top{ grid-template-columns:1fr 1fr; gap:32px; }
    .foot-brand{ grid-column:1 / -1; }
  }
/* Mobile nav fix: allow wrapping instead of horizontal overflow */
@media (max-width:640px){
  .wrap{ padding:0 20px; }
  nav.wrap{
    flex-wrap:wrap;
    height:auto;
    padding:14px 20px;
    row-gap:10px;
    justify-content:center;
  }
  .navright{
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
    width:100%;
  }
  .navlinks{
    gap:18px;
    font-size:13px;
    justify-content:center;
    width:100%;
  }
}
