  /* ============ TOKENS ============ */
  :root{
    --paper: #F7F3E8;
    --paper-2: #F0EAD9;
    --ink: #16222F;
    --ink-soft: #4A5560;
    --line: #D8D0BB;
    --marine: #2F5D50;
    --marine-deep: #203F37;
    --ochre: #B9812E;
    --clay: #8C3B2B;
    --white: #FCFAF3;
    --surface: var(--paper);
    --surface-2: var(--paper-2);
    --text: var(--ink);
    --text-muted: var(--ink-soft);
    --border: var(--line);
  }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --paper: #12181D;
      --paper-2: #182027;
      --ink: #EDE7D6;
      --ink-soft: #A9B0B4;
      --line: #2C363D;
      --marine: #5C9385;
      --marine-deep: #223832;
      --ochre: #D9A24F;
      --clay: #C06B54;
      --white: #EDE7D6;
      --surface: var(--paper);
      --surface-2: var(--paper-2);
      --text: var(--ink);
      --text-muted: var(--ink-soft);
      --border: var(--line);
    }
  }
  :root[data-theme="dark"]{
    --paper: #12181D;
    --paper-2: #182027;
    --ink: #EDE7D6;
    --ink-soft: #A9B0B4;
    --line: #2C363D;
    --marine: #5C9385;
    --marine-deep: #223832;
    --ochre: #D9A24F;
    --clay: #C06B54;
    --white: #EDE7D6;
    --surface: var(--paper);
    --surface-2: var(--paper-2);
    --text: var(--ink);
    --text-muted: var(--ink-soft);
    --border: var(--line);
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--surface);
    color:var(--text);
    font-family:'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  img{max-width:100%;display:block;}
  a{color:inherit;}
  .wrap{max-width:1120px;margin:0 auto;padding:0 24px;}
  h1,h2,h3,h4{
    font-family:'Fraunces', Georgia, serif;
    font-weight:600;
    margin:0;
    line-height:1.12;
    letter-spacing:-0.01em;
  }
  p{margin:0;}
  section{position:relative;}
  .code-tag{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px;
    letter-spacing:0.03em;
    color:var(--marine);
    border:1px solid var(--border);
    padding:4px 10px;
    border-radius:3px;
    background:var(--surface-2);
  }
  .section-head{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:16px;
    margin-bottom:44px;
  }
  .section-head h2{
    font-size:clamp(28px,4vw,40px);
    max-width:14ch;
  }
  .section-head .dash{
    flex:1;
    height:1px;
    background:var(--border);
    min-width:40px;
  }
  .lede{
    max-width:56ch;
    color:var(--text-muted);
    font-size:17px;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:13px 26px;
    border-radius:2px;
    font-size:15px;
    font-weight:600;
    text-decoration:none;
    border:1px solid transparent;
    cursor:pointer;
    transition:transform .15s ease, background .15s ease, border-color .15s ease;
  }
  .btn:focus-visible{outline:2px solid var(--ochre); outline-offset:3px;}
  .btn-primary{background:var(--marine); color:var(--white);}
  .btn-primary:hover{background:var(--marine-deep);}
  .btn-outline{border-color:var(--ink); color:var(--text); background:transparent;}
  .btn-outline:hover{border-color:var(--marine); color:var(--marine);}
  .btn-on-dark{border-color:rgba(237,231,214,.55); color:#F5F1E4;}
  .btn-on-dark:hover{border-color:#F5F1E4;}

  /* ============ NAV ============ */
  header.site{
    position:sticky; top:0; z-index:50;
    background:color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--border);
  }
  .nav-inner{
    display:flex;align-items:center;justify-content:space-between;
    padding:16px 24px; max-width:1120px; margin:0 auto;
  }
  .brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);}
  .brand .mark{
    width:34px;height:34px;border:1.5px solid var(--ink);border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    font-family:'Fraunces',serif;font-weight:600;font-size:15px;
    flex-shrink:0;
  }
  .brand .name{font-family:'Fraunces',serif;font-weight:600;font-size:19px;letter-spacing:0.01em;}
  nav.links{display:flex;gap:30px;align-items:center;}
  nav.links a{font-size:14.5px;text-decoration:none;color:var(--text-muted);}
  nav.links a:hover{color:var(--marine);}
  .nav-cta{display:flex;gap:12px;align-items:center;}
  .hamburger{display:none;background:none;border:1px solid var(--border);border-radius:3px;padding:8px 10px;cursor:pointer;}
  .hamburger span{display:block;width:18px;height:1.5px;background:var(--text);margin:4px 0;}
  .mobile-panel{display:none;flex-direction:column;gap:2px;padding:8px 24px 20px;border-top:1px solid var(--border);}
  .mobile-panel a{padding:12px 4px;text-decoration:none;color:var(--text);border-bottom:1px solid var(--border);font-size:15px;}
  .mobile-panel.open{display:flex;}

  @media (max-width:860px){
    nav.links{display:none;}
    .nav-cta .btn-outline{display:none;}
    .hamburger{display:inline-block;}
  }

  /* ============ HERO ============ */
  .hero{
    background:linear-gradient(180deg,#14202D,#101A24);
    color:#F2EEDE;
    padding:76px 0 60px;
    overflow:hidden;
  }
  [data-theme="light"] .hero, :root:not([data-theme="dark"]) .hero{ }
  .hero-inner{
    display:grid;
    grid-template-columns:1fr;
    gap:36px;
  }
  .hero-eyebrow{
    font-family:'IBM Plex Mono',monospace;
    font-size:12.5px;
    letter-spacing:0.03em;
    color:#D9A24F;
    margin-bottom:18px;
    display:inline-block;
  }
  .hero h1{
    font-size:clamp(36px,6.2vw,64px);
    color:#F7F3E4;
    max-width:15ch;
  }
  .hero .sub{
    margin-top:18px;
    font-size:18px;
    color:#BFC8C4;
    max-width:52ch;
  }
  .hero-ctas{margin-top:32px;display:flex;gap:14px;flex-wrap:wrap;}
  .hero-map{width:100%;margin-top:8px;}
  .route-line{
    stroke-dasharray:400;
    stroke-dashoffset:400;
    animation:draw 2.4s ease-out forwards;
  }
  .route-line.d1{animation-delay:.1s}
  .route-line.d2{animation-delay:.25s}
  .route-line.d3{animation-delay:.4s}
  .route-line.d4{animation-delay:.55s}
  .route-line.d5{animation-delay:.7s}
  .route-line.d6{animation-delay:.85s}
  .route-line.d7{animation-delay:1s}
  .route-line.d8{animation-delay:1.15s}
  .node-pop{opacity:0;animation:pop .5s ease-out forwards;}
  .node-pop.d1{animation-delay:1.4s}
  .node-pop.d2{animation-delay:1.55s}
  .node-pop.d3{animation-delay:1.7s}
  .node-pop.d4{animation-delay:1.85s}
  .node-pop.d5{animation-delay:2s}
  .node-pop.d6{animation-delay:2.15s}
  .node-pop.d7{animation-delay:2.3s}
  .node-pop.d8{animation-delay:2.45s}
  @keyframes draw{to{stroke-dashoffset:0;}}
  @keyframes pop{from{opacity:0;transform:translateY(4px);} to{opacity:1;transform:translateY(0);}}
  @media (prefers-reduced-motion: reduce){
    .route-line{stroke-dashoffset:0;animation:none;}
    .node-pop{opacity:1;animation:none;}
  }

  /* ============ GENERIC SECTION ============ */
  .section{padding:84px 0;border-bottom:1px solid var(--border);}
  .section.alt{background:var(--surface-2);}

  /* ABOUT */
  .about-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:start;}
  .approach-chain{
    display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px;
    font-family:'IBM Plex Mono',monospace;font-size:13.5px;
  }
  .approach-chain .node{
    border:1px solid var(--border);padding:8px 14px;border-radius:3px;background:var(--surface);
  }
  .approach-chain .arrow{color:var(--marine);}
  .about-note{margin-top:28px;padding-top:24px;border-top:1px solid var(--border);color:var(--text-muted);font-size:15px;}

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

  /* PRODUCTS - manifest ledger */
  .ledger{border-top:1px solid var(--border);}
  .ledger-row{
    display:grid;
    grid-template-columns:150px 1fr;
    gap:28px;
    padding:30px 0;
    border-bottom:1px solid var(--border);
  }
  .ledger-row .lcode{
    font-family:'IBM Plex Mono',monospace;
    font-size:13px;
    color:var(--marine);
    padding-top:4px;
  }
  .ledger-row h3{font-size:20px;margin-bottom:12px;}
  .item-tags{display:flex;flex-wrap:wrap;gap:8px 10px;}
  .item-tags span{
    font-size:14px;color:var(--text-muted);
    padding:4px 0;
  }
  .item-tags span:not(:last-child)::after{content:"·";margin-left:10px;color:var(--border);}
  .products-note{
    margin-top:30px;padding:18px 20px;border-left:2px solid var(--ochre);
    background:var(--surface-2);color:var(--text-muted);font-size:14.5px;
  }
  @media (max-width:640px){
    .ledger-row{grid-template-columns:1fr;gap:8px;}
  }

  /* TWO-COL PANELS (buyers/suppliers) */
  .panel{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;}
  .field-list{margin-top:26px;display:flex;flex-direction:column;}
  .field-list .f{
    display:flex;justify-content:space-between;gap:16px;
    padding:14px 0;border-bottom:1px solid var(--border);font-size:15px;
  }
  .field-list .f .k{color:var(--text-muted);}
  .field-list .f .v{font-weight:600;text-align:right;}

  .service-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--border);margin-top:26px;border:1px solid var(--border);}
  .service-item{background:var(--surface);padding:24px;}
  .service-item h4{font-size:16.5px;margin-bottom:8px;}
  .service-item p{font-size:14.5px;color:var(--text-muted);}
  @media (max-width:860px){ .panel{grid-template-columns:1fr;gap:40px;} .service-grid{grid-template-columns:1fr;} }

  /* MARKETS */
  .markets-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;}
  .market-group h3{font-size:16px;text-transform:none;color:var(--marine);margin-bottom:14px;font-family:'IBM Plex Sans';font-weight:600;}
  .market-group ul{list-style:none;margin:0;padding:0;}
  .market-group li{
    padding:11px 0;border-bottom:1px solid var(--border);font-size:15.5px;
    display:flex;align-items:center;gap:10px;
  }
  .market-group li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ochre);flex-shrink:0;}
  .markets-note{margin-top:32px;color:var(--text-muted);font-size:15px;max-width:60ch;}
  @media (max-width:640px){ .markets-grid{grid-template-columns:1fr;gap:30px;} }

  /* WHY */
  .why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);border:1px solid var(--border);margin-top:0;}
  .why-item{background:var(--surface);padding:30px 26px;}
  .why-item h4{font-size:17px;margin-bottom:10px;}
  .why-item p{font-size:14.5px;color:var(--text-muted);}
  @media (max-width:860px){ .why-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:560px){ .why-grid{grid-template-columns:1fr;} }

  /* HOW IT WORKS - waypoint timeline */
  .timeline{position:relative;margin-top:20px;}
  .tl-item{
    display:grid;grid-template-columns:64px 1fr;gap:24px;
    padding:0 0 44px;position:relative;
  }
  .tl-item:last-child{padding-bottom:0;}
  .tl-rail{
    position:relative;display:flex;justify-content:center;
  }
  .tl-rail::before{
    content:"";position:absolute;top:0;bottom:-44px;left:50%;width:1px;
    background:var(--border);transform:translateX(-50%);
  }
  .tl-item:last-child .tl-rail::before{display:none;}
  .tl-dot{
    width:38px;height:38px;border-radius:50%;border:1.5px solid var(--marine);
    background:var(--surface);color:var(--marine);
    display:flex;align-items:center;justify-content:center;
    font-family:'IBM Plex Mono',monospace;font-size:13px;font-weight:600;
    position:relative;z-index:1;
  }
  .tl-content h4{font-size:18px;margin-bottom:6px;}
  .tl-content p{color:var(--text-muted);font-size:15px;max-width:56ch;}

  /* QUALITY */
  .quality-box{
    border:1px solid var(--border);padding:44px;background:var(--surface-2);
    display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:start;
  }
  .seal{
    width:64px;height:64px;border-radius:50%;border:1.5px solid var(--clay);color:var(--clay);
    display:flex;align-items:center;justify-content:center;font-family:'IBM Plex Mono',monospace;
    font-size:10.5px;text-align:center;line-height:1.2;flex-shrink:0;
  }
  @media (max-width:560px){ .quality-box{grid-template-columns:1fr;} }

  /* CONTACT */
  .contact-section{background:linear-gradient(180deg,#14202D,#101A24);color:#F2EEDE;border-bottom:none;}
  .contact-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;}
  .contact-grid h2{color:#F7F3E4;font-size:clamp(28px,4vw,40px);max-width:16ch;}
  .contact-grid .lede{color:#BFC8C4;margin-top:16px;}
  .contact-block{margin-top:10px;}
  .contact-block h4{font-family:'IBM Plex Mono',monospace;font-size:12.5px;color:#D9A24F;font-weight:500;margin-bottom:10px;letter-spacing:.03em;}
  .contact-block .row{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:15px;}
  .contact-block a{text-decoration:none;color:#F2EEDE;}
  .contact-block a:hover{color:#D9A24F;}
  .contact-meta{margin-top:36px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);color:#8E9791;font-size:14px;}
  @media (max-width:860px){ .contact-grid{grid-template-columns:1fr;gap:36px;} }

  /* FOOTER */
  /* LANG TOGGLE */
  .lang-toggle{
    background:none;border:none;cursor:pointer;
    font-family:'IBM Plex Sans';font-size:14px;color:var(--text-muted);
    padding:8px 4px;display:flex;align-items:center;gap:6px;
  }
  .lang-toggle .sep{color:var(--border);}
  .lang-toggle .ar{font-family:'IBM Plex Sans Arabic','IBM Plex Sans';}
  .lang-toggle span.active{color:var(--marine);font-weight:600;}
  .lang-toggle:hover{color:var(--marine);}
  @media (max-width:860px){ .lang-toggle{padding-right:4px;} }

  /* ============ ARABIC / RTL ============ */
  html[lang="ar"] body{
    font-family:'IBM Plex Sans Arabic','IBM Plex Sans','Tahoma',sans-serif;
  }
  html[lang="ar"] h1,
  html[lang="ar"] h2,
  html[lang="ar"] h3,
  html[lang="ar"] h4{
    font-family:'Cairo','IBM Plex Sans Arabic',sans-serif;
    font-weight:700;
    letter-spacing:0;
  }
  html[lang="ar"] .hero-eyebrow,
  html[lang="ar"] .lang-toggle,
  html[lang="ar"] .modal-sub,
  html[lang="ar"] .form-note{
    font-family:'IBM Plex Sans Arabic','IBM Plex Sans',sans-serif;
  }
  html[lang="ar"] .lcode,
  html[lang="ar"] .code-tag,
  html[lang="ar"] .tl-dot,
  html[lang="ar"] .seal{
    direction:ltr;
  }
  html[lang="ar"] .field-list .f,
  html[lang="ar"] .contact-block .row{
    direction:rtl;
  }

  /* TOAST */
  .toast{
    position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(20px);
    background:var(--ink);color:var(--paper);
    padding:13px 22px;border-radius:3px;font-size:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.25);
    z-index:200;opacity:0;pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
    max-width:88vw;text-align:center;
  }
  .toast.show{opacity:1;transform:translateX(-50%) translateY(0);}

  /* MODALS */
  .modal-overlay{
    position:fixed;inset:0;background:rgba(14,20,26,.72);
    display:none;align-items:flex-start;justify-content:center;
    padding:40px 20px;overflow-y:auto;z-index:150;
  }
  .modal-overlay.open{display:flex;}
  .modal-box{
    background:var(--surface);border:1px solid var(--border);
    max-width:600px;width:100%;padding:36px;margin:auto 0;
    position:relative;
  }
  .modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:6px;}
  .modal-head h3{font-size:24px;}
  .modal-close{
    background:none;border:1px solid var(--border);border-radius:50%;
    width:32px;height:32px;flex-shrink:0;cursor:pointer;color:var(--text);
    font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;
  }
  .modal-close:hover{border-color:var(--marine);color:var(--marine);}
  .modal-sub{color:var(--text-muted);font-size:14.5px;margin-top:4px;margin-bottom:24px;}
  .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;}
  .form-field{display:flex;flex-direction:column;gap:6px;}
  .form-field.full{grid-column:1 / -1;}
  .form-field label{font-size:12.5px;color:var(--text-muted);font-family:'IBM Plex Mono',monospace;letter-spacing:.02em;}
  .form-field input,.form-field textarea{
    font-family:'IBM Plex Sans';font-size:15px;color:var(--text);
    background:transparent;border:none;border-bottom:1px solid var(--border);
    padding:8px 2px;outline:none;
  }
  .form-field input:focus,.form-field textarea:focus{border-bottom-color:var(--marine);}
  .form-field textarea{resize:vertical;min-height:70px;font-family:'IBM Plex Sans';}
  .form-actions{margin-top:28px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
  .form-note{font-size:13px;color:var(--text-muted);margin-top:16px;}
  @media (max-width:560px){ .form-grid{grid-template-columns:1fr;} .modal-box{padding:26px;} }

  footer{padding:40px 0;background:#101A24;color:#8E9791;}
  .footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;align-items:center;}
  .footer-brand{font-family:'Fraunces',serif;font-weight:600;color:#F2EEDE;font-size:17px;}
  .footer-links{display:flex;gap:18px;flex-wrap:wrap;font-size:13.5px;}
  .footer-links a{text-decoration:none;color:#8E9791;}
  .footer-links a:hover{color:#D9A24F;}
  .footer-copy{font-size:13px;margin-top:6px;color:#6B746E;}
