:root {
  --night: #06121b;
  --night2: #0b1d28;
  --gold: #c9922e;
  --gold-lt: #e7be6e;
  --paper: #f5f6f4;
  --surface: #ffffff;
  --ink: #0a1822;
  --muted: #5c6c73;
  --rule: #d9dedb;
  --maxw: 1220px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #07141d;
    --surface: #0c1e29;
    --ink: #e7edec;
    --muted: #94a7ae;
    --rule: #1d333e;
  }
}
:root[data-theme="dark"] {
  --paper: #07141d;
  --surface: #0c1e29;
  --ink: #e7edec;
  --muted: #94a7ae;
  --rule: #1d333e;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Archivo",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: "Newsreader", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.012em;
  margin: 0;
  line-height: 1.1;
}
a {
  color: inherit;
}
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 18, 27, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}
.mark .glyph {
  width: 30px;
  height: 30px;
  flex: none;
}
.mark b {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: 21px;
}
.mark i {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold-lt);
  display: block;
  margin-top: 1px;
}
nav {
  display: flex;
  gap: 28px;
}
nav a {
  color: #c4d1d6;
  text-decoration: none;
  font-size: 14.5px;
  padding: 8px 0;
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}
nav a:hover::after,
nav a:focus-visible::after {
  right: 0;
}
nav a:hover {
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 2px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: #0a1822;
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #eaf1f2;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-lt);
}
.navtoggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #eaf1f2;
  padding: 9px 13px;
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* hero */
.hero {
  position: relative;
  background: var(--night);
  color: #edf3f4;
  padding: 96px 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1100px 620px at 74% 34%,
      rgba(201, 146, 46, 0.2),
      transparent 62%
    ),
    radial-gradient(
      760px 520px at 8% 6%,
      rgba(62, 120, 140, 0.22),
      transparent 65%
    );
}
.mapwrap {
  position: absolute;
  top: 0%;
  left: 14%;
  width: 104%;
  opacity: 0.95;
  pointer-events: none;
}
.mapwrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.dot {
  fill: rgba(160, 196, 210, 0.2);
}
.arc {
  fill: none;
  stroke: url(#arcgrad);
  stroke-width: 1.6;
}
.hub {
  fill: var(--gold);
}
.hub-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  opacity: 0.6;
}
.hub-label {
  fill: #f0f5f6;
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-lt);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  max-width: 15ch;
  color: #fff;
  margin-bottom: 26px;
}
.hero h1 .thin {
  color: var(--gold-lt);
}
.hero p.lede {
  max-width: 52ch;
  color: #b9cacf;
  font-size: 1.1rem;
  margin: 0 0 38px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 96px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 2;
}
.stats div {
  padding: 30px 26px 40px 0;
}
.stats strong {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: #fff;
  line-height: 1;
}
.stats span {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: #93a9b0;
  line-height: 1.45;
}

/* sections */
section {
  padding: 104px 0;
}
.sec-head {
  max-width: 64ch;
  margin-bottom: 54px;
}
.sec-head h2 {
  font-size: clamp(1.9rem, 3.7vw, 2.9rem);
  margin-bottom: 16px;
}
.sec-head p {
  color: var(--muted);
  margin: 0;
  max-width: 58ch;
}
.dark {
  background: var(--night2);
  color: #e9f0f1;
}
.dark .sec-head p {
  color: #a6bbc1;
}
.dark .sec-head h2 {
  color: #fff;
}

/* commodity grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 30px 28px 32px;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.012)
  );
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.card:hover {
  border-color: rgba(201, 146, 46, 0.55);
  transform: translateY(-3px);
}
.card .art {
  height: 86px;
  margin-bottom: 22px;
}
.card .art svg {
  height: 100%;
  width: auto;
  display: block;
}
.card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 10px;
}
.card p {
  margin: 0 0 18px;
  color: #a6bbc1;
  font-size: 14.6px;
  line-height: 1.6;
}
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
}
.card li {
  font-size: 13.4px;
  color: #8fa6ad;
  padding: 3px 0;
}
.card li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
}

/* flow */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: s;
}
.flow li {
  list-style: none;
  position: relative;
  padding: 34px 24px 0 0;
}
.flow li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rule);
}
.flow li::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold);
}
.flow h3 {
  font-size: 1.2rem;
  margin-bottom: 9px;
}
.flow p {
  margin: 0;
  color: var(--muted);
  font-size: 14.4px;
  line-height: 1.55;
  padding-right: 16px;
}

/* terms */
.terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 32px 30px;
  position: relative;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--gold);
}
.panel h3 {
  font-size: 1.24rem;
  margin-bottom: 11px;
}
.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14.6px;
  line-height: 1.6;
}

/* offices */
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.office {
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
}
.office .top {
  background: var(--night);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.office .top h3 {
  color: #fff;
  font-size: 1.7rem;
}
.office .top span {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--gold-lt);
}
.office .body {
  padding: 28px 30px 30px;
}
.office address {
  font-style: normal;
  font-size: 1.04rem;
  line-height: 1.8;
}
.office .meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14.4px;
}
.office .meta b {
  color: var(--ink);
  font-weight: 600;
}

/* contact */
.contact {
  background: var(--night);
  color: #edf3f4;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 420px at 80% 20%,
    rgba(201, 146, 46, 0.2),
    transparent 60%
  );
}
.contact .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}
.contact h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.7vw, 2.9rem);
  margin-bottom: 16px;
}
.contact > .wrap > div > p {
  color: #b9cacf;
  margin: 0 0 30px;
  max-width: 48ch;
}
.channels {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.channels a,
.channels .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  text-decoration: none;
  color: #e9f1f2;
  font-size: 15.6px;
}
.channels a:hover {
  color: var(--gold-lt);
}
.channels em {
  font-style: normal;
  color: #fdfdfd;
  font-size: 12px;
  letter-spacing: 0.14em;
}

footer {
  background: #040d14;
  color: #7b9099;
  font-size: 13.5px;
  padding: 40px 0 52px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
footer p {
  margin: 0;
  max-width: 64ch;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .terms {
    grid-template-columns: 1fr 1fr;
  }
  .flow {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .mapwrap {
    left: 20%;
    opacity: 0.7;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 20px;
  }
  section {
    padding: 68px 0 20px 0px;
  }
  .hero {
    padding-top: 80px;
  }
  #trade {
    padding-top: 90px;
  }
  #how {
    padding-top: 90px;
  }
  #terms {
    padding-top: 90px;
  }
  #offices {
    padding-top: 90px;
  }
  .cta-row {
    margin-bottom: 56px;
  }
  .mapwrap {
    display: none;
  }
  .grid,
  .terms,
  .offices,
  .flow {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats div {
    padding: 22px 16px 26px 0;
  }
  .contact .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .flow li {
    padding: 26px 0 0;
  }
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--night);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 20px 18px;
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .navtoggle {
    display: block;
  }
  .masthead .btn {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .arc {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: draw 2.2s cubic-bezier(0.33, 0, 0.15, 1) 0.25s forwards;
  }
  .arc.a2 {
    animation-delay: 0.5s;
  }
  .arc.a3 {
    animation-delay: 0.75s;
  }
  .arc.a4 {
    animation-delay: 1s;
  }
  .arc.a5 {
    animation-delay: 1.25s;
  }
  .hubgroup {
    opacity: 0;
    animation: fade 0.8s ease 1.5s forwards;
  }
  .hub-ring {
    transform-origin: center;
    animation: pulse 3.4s ease-in-out 2.2s infinite;
  }
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes fade {
    to {
      opacity: 1;
    }
  }
  @keyframes pulse {
    0%,
    100% {
      opacity: 0.6;
      r: 11;
    }
    50% {
      opacity: 0.15;
      r: 17;
    }
  }
}
