/* ===== Tokens ===== */
:root{
  --navy: #0d1830;
  --navy-deep: #0a1326;
  --cream: #fcfbf8;
  --cream-dim: #f3f0e8;
  --gold: #c9a15a;
  --gold-soft: #d9be8c;
  --ink: #1c2130;
  --ink-soft: #4a5064;
  --mist: #c7cede;
  --mist-dim: #8891a8;
  --line-on-navy: rgba(255,255,255,0.14);
  --line-on-cream: rgba(28,33,48,0.12);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --radius: 2px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,blockquote{ font-family: var(--font-display); margin: 0; font-weight: 500; }
p{ margin: 0; }
ul,ol{ margin:0; padding:0; list-style:none; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
  display: block;
}
.eyebrow-dark{ color: var(--gold); }

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 34px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn-gold{
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover{ background: var(--gold-soft); transform: translateY(-1px); }

.btn-outline{
  border-color: rgba(255,255,255,0.45);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover{ border-color: var(--cream); background: rgba(255,255,255,0.06); }

.btn-outline-nav{
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 13px 26px;
}
.btn-outline-nav:hover{ background: var(--gold); color: var(--navy-deep); }

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line-on-cream);
}
.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo{
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
  white-space: nowrap;
}
.logo span{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gold);
  margin-left: 4px;
  font-size: 1.05rem;
}
.main-nav{
  display: flex;
  gap: 40px;
  margin-left: auto;
  margin-right: 40px;
}
.main-nav a{
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a:hover::after{ right: 0; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  display: block; height: 1.5px; width: 100%;
  background: var(--ink);
}

/* ===== Hero ===== */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 100% at 20% 10%, #142348 0%, var(--navy) 45%, var(--navy-deep) 100%);
  overflow: hidden;
  padding: 96px 0 72px;
}
.hero-map{
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
}
.hero-map svg{ width: 100%; height: 100%; }
.dot-field circle{ fill: rgba(201,161,90,0.5); }
.arc-path{
  fill: none;
  stroke: url(#none);
  stroke: var(--gold);
  stroke-width: 1.6;
  opacity: 0.75;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-arc 2.4s ease-out 0.4s forwards;
}
@keyframes draw-arc{ to{ stroke-dashoffset: 0; } }
.node{
  fill: var(--gold-soft);
  filter: drop-shadow(0 0 6px rgba(217,190,140,0.9));
}
.pulse{ fill: var(--cream); filter: drop-shadow(0 0 5px rgba(255,255,255,0.9)); }

.hero-content{
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  width: 100%;
}
.hero h1{
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08;
  color: var(--cream);
  max-width: 15ch;
  font-weight: 500;
}
.hero-sub{
  margin-top: 28px;
  max-width: 46ch;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--mist);
  font-weight: 300;
}
.hero-actions{
  margin-top: 44px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal{
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero .eyebrow.reveal{ animation-delay: 0.15s; }
.hero h1.reveal{ animation-delay: 0.3s; }
.hero-sub.reveal{ animation-delay: 0.5s; }
.hero-actions.reveal{ animation-delay: 0.7s; }
@keyframes rise{ to{ opacity: 1; transform: translateY(0); } }

/* ===== Sections (shared) ===== */
.section{ padding: 120px 0; }
.section h2{
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.2;
  max-width: 16ch;
}
.section-lede{
  margin-top: 20px;
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ===== Services / Process ===== */
.services{ background: var(--cream); }

.eyebrow-rule{ position: relative; padding-bottom: 26px; }
.eyebrow-rule::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 1.5px;
  background: var(--gold);
}

.services h2{ margin-bottom: 56px; }

.process{
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-on-cream);
  border-left: 1px solid var(--line-on-cream);
}
.process-step{
  background: var(--cream);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--line-on-cream);
  border-bottom: 1px solid var(--line-on-cream);
}
.process-step:first-child,
.process-step:nth-child(2){ padding-top: 8px; }

.step-icon{
  color: var(--gold);
  width: 30px;
  height: 30px;
}
.step-icon svg{ width: 100%; height: 100%; }

.process-step h3{
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--navy);
}
.process-step p{
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 42ch;
}

/* ===== Shipping ===== */
.shipping{
  background: var(--navy-deep);
  color: var(--cream);
}
.shipping-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.shipping h2{ color: var(--cream); }
.shipping-copy p:not(.eyebrow){
  margin-top: 20px;
  max-width: 42ch;
  color: var(--mist);
  line-height: 1.65;
  font-weight: 300;
}
.shipping-copy .btn{ margin-top: 36px; }
.stat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-on-navy);
  border: 1px solid var(--line-on-navy);
}
.stat{
  background: var(--navy-deep);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num{
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-soft);
}
.stat-label{
  font-size: 0.82rem;
  color: var(--mist-dim);
  letter-spacing: 0.02em;
}

/* ===== About ===== */
.about{ background: var(--cream-dim); }
.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}
.about-copy p:not(.eyebrow){
  margin-top: 20px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 300;
}
.about-quote{
  border-left: 2px solid var(--gold);
  padding-left: 28px;
  align-self: center;
}
.about-quote blockquote{
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}

/* ===== Value Chain ===== */
.value-chain{ background: var(--cream-dim); }
.value-chain .section-lede{ margin-bottom: 56px; }

.value-steps{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 84px;
  position: relative;
}
.value-steps li{
  position: relative;
  padding: 0 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.value-steps li:not(:last-child)::after{
  content: "→";
  position: absolute;
  top: 6px;
  right: -6px;
  color: var(--gold);
  font-size: 1rem;
}
.value-num{
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--gold);
}
.value-steps h3{
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}
.value-steps p{
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.5;
}

.edge-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-cream);
  border: 1px solid var(--line-on-cream);
}
.edge-card{
  background: var(--cream);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.edge-num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
}
.edge-card h3{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
}
.edge-card p{
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 300;
}

/* ===== Founder ===== */
.founder-block{ margin-top: 96px; }
.founder-grid{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.founder-portrait{
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.founder-portrait span{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  color: var(--gold-soft);
}
.founder-copy h2{ color: var(--navy); margin-bottom: 6px; }
.founder-title{
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 22px;
}
.founder-copy > p{
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 300;
  max-width: 62ch;
  margin-bottom: 40px;
}
.foundation-list{
  display: flex;
  flex-direction: column;
}
.foundation-item{
  padding: 22px 0;
  border-top: 1px solid var(--line-on-cream);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
}
.foundation-item:last-child{ border-bottom: 1px solid var(--line-on-cream); }
.foundation-item h3{
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
}
.foundation-item p{
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 300;
}

/* ===== Case Studies ===== */
.case-studies{ background: var(--navy-deep); color: var(--cream); }
.case-studies h2{ color: var(--cream); }
.case-studies .eyebrow-rule::after{ background: var(--gold); }
.case-studies .section-lede{ color: var(--mist); margin-bottom: 56px; }

.case-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-on-navy);
  border: 1px solid var(--line-on-navy);
}
.case-card{
  background: var(--navy-deep);
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-tag{
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}
.case-card h3{
  font-size: 1.5rem;
  color: var(--cream);
  font-weight: 500;
}
.case-card p{
  font-size: 0.96rem;
  color: var(--mist);
  line-height: 1.6;
  font-weight: 300;
}
.why{ background: var(--navy-deep); color: var(--cream); }
.why-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.why-image{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.why-image svg{ width: 100%; height: 100%; display: block; }
.why-copy .eyebrow-rule{ padding-bottom: 22px; }
.why-copy h2{
  color: var(--cream);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  max-width: 15ch;
  margin-bottom: 32px;
}
.why-points{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}
.why-points p{
  color: var(--mist);
  line-height: 1.6;
  font-weight: 300;
  font-size: 1.02rem;
}
.why-points strong{
  color: var(--cream);
  font-weight: 600;
}

/* ===== CTA (container) ===== */
.cta{
  background: var(--cream-dim);
  text-align: center;
}
.cta-inner{ display: flex; flex-direction: column; align-items: center; }
.cta h2{ color: var(--navy); max-width: 20ch; }
.cta .section-lede{ color: var(--ink-soft); text-align: center; margin: 20px auto 0; }
.cta .btn{ margin-top: 40px; }

.btn-navy-solid{
  background: var(--navy-deep);
  color: var(--cream);
}
.btn-navy-solid:hover{ background: var(--navy); transform: translateY(-1px); }

/* ===== Documentation & Incoterms ===== */
.documentation{ background: var(--cream); padding-top: 100px; }
.documentation-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
.doc-list{
  display: flex;
  flex-direction: column;
}
.doc-list li{
  padding: 20px 0;
  border-bottom: 1px solid var(--line-on-cream);
  font-size: 1.05rem;
  color: var(--ink-soft);
  font-weight: 300;
}
.doc-list li:first-child{ padding-top: 0; }

.incoterms{ display: flex; flex-direction: column; gap: 30px; }
.incoterm h3{
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.incoterm p{
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 300;
  max-width: 48ch;
}
.incoterms .btn{ margin-top: 10px; align-self: flex-start; }

/* ===== Footer ===== */
.site-footer{
  background: var(--navy-deep);
  border-top: 1px solid var(--line-on-navy);
}
.footer-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 88px clamp(24px, 5vw, 64px) 56px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 64px;
}
.footer-brand .logo-footer{ color: var(--cream); font-size: 1.2rem; }
.footer-rule{
  display: block;
  width: 46px;
  height: 1.5px;
  background: var(--gold);
  margin: 22px 0;
}
.footer-brand p{
  color: var(--mist);
  line-height: 1.6;
  font-weight: 300;
  max-width: 32ch;
}
.footer-col{ display: flex; flex-direction: column; gap: 18px; }
.footer-col .eyebrow{ margin-bottom: 4px; }
.footer-link{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mist);
  font-weight: 300;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}
.footer-link svg{
  width: 17px; height: 17px;
  flex-shrink: 0;
  color: var(--gold);
}
a.footer-link:hover{ color: var(--cream); }

.footer-bottom{
  border-top: 1px solid var(--line-on-navy);
  padding: 26px clamp(24px, 5vw, 64px);
}
.footer-bottom p{
  max-width: var(--container);
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--mist-dim);
}

/* ===== Scroll reveal ===== */
.will-reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.will-reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile nav open state ===== */
@media (max-width: 760px){
  .main-nav{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line-on-cream);
    padding: 12px clamp(24px, 5vw, 64px) 24px;
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .main-nav.is-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .shipping-grid, .about-grid, .why-grid, .documentation-grid{ grid-template-columns: 1fr; gap: 48px; }
  .about-quote{ border-left: none; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 24px; }
  .process-step{ padding: 40px 32px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 40px; }
  .value-steps{ grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .value-steps li::after{ display: none; }
  .edge-grid{ grid-template-columns: 1fr; }
  .founder-grid{ grid-template-columns: 1fr; }
  .founder-portrait{ width: 140px; height: 140px; }
  .foundation-item{ grid-template-columns: 1fr; gap: 8px; }
  .case-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .main-nav{ display: none; }
  .btn-outline-nav{ display: none; }
  .nav-toggle{ display: flex; }
  .process{ grid-template-columns: 1fr; }
  .process-step:first-child, .process-step:nth-child(2){ padding-top: 40px; }
  .stat-grid{ grid-template-columns: 1fr; }
  .section{ padding: 84px 0; }
  .hero{ min-height: auto; padding-top: 72px; padding-bottom: 64px; }
}
