.how-we-work-page { background: var(--ivory); color: var(--black); overflow-x: clip; }
.how-we-work-page .site-header { background: rgba(11, 11, 10, 0.34); }
.how-we-work-page .site-header.scrolled { background: rgba(11, 11, 10, 0.92); }

.how-hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.92), rgba(10, 13, 18, 0.78));
  color: #fff;
}

.how-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(194, 154, 67, 0.14), transparent 30%),
    radial-gradient(circle at 70% 18%, rgba(59, 122, 135, 0.2), transparent 26%),
    linear-gradient(120deg, rgba(9, 12, 15, 0.65), rgba(22, 28, 33, 0.8));
  opacity: 0;
  animation: heroFade 1.2s ease forwards;
}

.how-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 90px;
}

.how-hero-copy { max-width: 760px; }
.how-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(24px);
}
.how-hero .eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(194, 154, 67, 0.8);
}
.how-hero .eyebrow-separator {
  width: 52px;
  height: 1px;
  background: rgba(255,255,255,0.36);
}

.hero-main-title {
  margin: 0;
  font: 600 clamp(3.2rem, 6vw, 6rem)/0.86 var(--serif);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}
.hero-main-title .line-mask {
  display: block;
  overflow: hidden;
}
.hero-main-title .line-mask > span {
  display: block;
  transform: translateY(120%);
  opacity: 0;
}
.hero-main-title .accent-line {
  color: var(--light-gold);
}

.how-hero-text {
  max-width: 620px;
  margin: 30px 0 28px;
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(28px);
}

.hero-actions .button {
  min-width: 200px;
}

.how-hero-visual {
  position: relative;
  height: 520px;
  border: 1px solid rgba(216, 183, 101, 0.26);
  border-radius: 32px;
  background: rgba(13, 22, 28, 0.42);
  box-shadow: inset 0 0 40px rgba(255,255,255,0.04), 0 34px 80px rgba(1, 4, 6, 0.45);
  transform: scale(0.94);
  opacity: 0;
  overflow: hidden;
}
.how-hero-visual::before,
.how-hero-visual::after {
  content: "";
  position: absolute;
  inset: 10% 12%;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}
.how-hero-visual::after {
  inset: 18% 21%;
  border-color: rgba(194,154,67,0.18);
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 58%, transparent 100%);
}

.workflow-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.workflow-visual svg {
  width: 88%;
  height: auto;
  overflow: visible;
}

.visual-line,
.visual-route,
.visual-connector {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-route {
  stroke: rgba(104, 162, 177, 0.7);
  stroke-width: 2.5;
  stroke-dasharray: 12 12;
  opacity: 0.9;
}

.visual-connector {
  stroke: rgba(216,183,101,0.92);
  stroke-width: 2.5;
  stroke-dasharray: 200 200;
  animation: drawLine 4.5s ease forwards;
}

.visual-grid-node {
  fill: rgba(255,255,255,0.96);
  stroke: rgba(216,183,101,0.82);
  stroke-width: 2;
}

.visual-core {
  fill: rgba(216,183,101,0.1);
  stroke: rgba(216,183,101,0.7);
  stroke-width: 2;
}

.visual-glass {
  fill: rgba(255,255,255,0.05);
  stroke: rgba(255,255,255,0.14);
  stroke-width: 2;
}

.how-hero-visual.is-animated { animation: visualFloat 9s ease-in-out infinite alternate; }

.section-shell {
  padding: 118px 0;
}
.section-shell.section-ivory { background: var(--ivory); }
.section-shell.section-white { background: #fff; }
.section-shell.section-charcoal { background: var(--charcoal); color: #fff; }
.section-shell.section-dark { background: var(--black); color: #fff; }

.section-head {
  margin-bottom: 56px;
}

.section-head .display-title {
  max-width: 780px;
}

.section-copy {
  max-width: 620px;
  color: rgba(11,11,10,0.76);
}
.section-charcoal .section-copy {
  color: rgba(255,255,255,0.7);
}

.approach-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(11,11,10,0.2);
  border-bottom: 1px solid rgba(11,11,10,0.2);
}

.approach-row {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(180px, 240px) minmax(0, 1fr) 32px;
  gap: 26px;
  align-items: center;
  min-height: 145px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(11,11,10,0.18);
  transition: background .25s ease, transform .25s ease;
}
.approach-row:last-child { border-bottom: none; }
.approach-row:hover { background: rgba(194,154,67,0.04); }
.approach-row:hover .approach-arrow { transform: translateX(8px); }
.approach-row:hover .approach-title { transform: translateX(8px); }

.approach-num {
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.approach-title {
  margin: 0;
  font: 600 clamp(2.2rem, 3vw, 3rem)/0.95 var(--sans);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transition: transform .25s ease;
}
.approach-text {
  margin: 0;
  max-width: 700px;
  color: rgba(11,11,10,0.7);
  font-size: 18px;
  line-height: 1.7;
}
.approach-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: rgba(194,154,67,0.75);
}
.approach-arrow {
  justify-self: end;
  font-size: 26px;
  color: var(--gold);
  transition: transform .25s ease;
}

.process-layout {
  position: relative;
  padding-top: 18px;
}
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}
.process-rail {
  position: absolute;
  top: 54px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}
.process-rail::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, rgba(216,183,101,0.8), rgba(216,183,101,0.2));
}
.process-step {
  position: relative;
  z-index: 1;
  padding-top: 26px;
  opacity: 0.55;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
}
.process-step.active {
  opacity: 1;
  transform: translateY(0);
}
.process-step .step-node {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(11,11,10,0.5);
  margin: 0 auto 24px;
  box-shadow: 0 0 0 0 rgba(194,154,67,0.25);
}
.process-step.active .step-node {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 10px rgba(194,154,67,0.12);
}
.process-step-num {
  display: block;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.process-step-title {
  margin: 0 0 15px;
  font: 600 clamp(1.8rem, 2vw, 2.2rem)/1 var(--sans);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: center;
}
.process-step-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

.buyer-split,
.supplier-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.buyer-split .left-col,
.supplier-split .right-col {
  max-width: 620px;
}
.buyer-split .right-col,
.supplier-split .left-col {
  position: relative;
  padding-left: 48px;
}
.supplier-split .left-col { padding-left: 0; padding-right: 48px; }
.process-vertical {
  position: relative;
  display: grid;
  gap: 18px;
}
.process-vertical::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(11,11,10,0.14);
}
.vertical-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 12px 0;
  opacity: 0;
  transform: translateX(25px);
}
.vertical-step .step-badge {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(194,154,67,0.35);
  background: rgba(194,154,67,0.08);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 50%;
  z-index: 1;
}
.vertical-step h3 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 2vw, 2rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.vertical-step p {
  margin: 0;
  color: rgba(11,11,10,0.72);
  font-size: 18px;
  line-height: 1.7;
}

.difference-grid {
  display: grid;
  gap: 26px;
}
.diff-item {
  position: relative;
  padding: 30px 0 26px;
  border-top: 1px solid rgba(11,11,10,0.16);
  overflow: hidden;
}
.diff-item:last-child { border-bottom: 1px solid rgba(11,11,10,0.16); }
.diff-index {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.diff-item h3 {
  margin: 0 0 12px;
  font: 600 clamp(2.2rem, 3.2vw, 4rem)/0.95 var(--sans);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.diff-item p {
  margin: 0;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(11,11,10,0.7);
}
.diff-item .diff-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: rgba(194,154,67,0.7);
}

.global-perspective-wrap {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 42px;
  align-items: center;
}
.global-visual {
  position: relative;
  min-height: 480px;
  border: 1px solid rgba(194,154,67,0.25);
  background: rgba(13, 22, 28, 0.25);
  overflow: hidden;
}
.global-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59,122,135,0.12), transparent 55%);
}
.global-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.global-visual .world-line {
  fill: none;
  stroke: rgba(255,255,255,0.45);
  stroke-width: 1.5;
}
.global-visual .market-route {
  fill: none;
  stroke: rgba(216,183,101,0.8);
  stroke-width: 2;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
}
.global-visual .market-node {
  fill: rgba(216,183,101,0.9);
}
.global-perspective-copy .display-title {
  max-width: 520px;
}
.global-perspective-copy .body-copy {
  margin-top: 22px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}
.trust-card {
  position: relative;
  min-height: 220px;
  padding: 32px 26px 24px;
  border: 1px solid rgba(11,11,10,0.12);
  background: rgba(255,255,255,0.02);
}
.trust-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(194,154,67,0.4);
}
.trust-card .trust-number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-card h3 {
  margin: 0 0 12px;
  font: 600 clamp(1.7rem, 2vw, 2.4rem)/1 var(--sans);
  letter-spacing: -0.03em;
}
.trust-card p {
  margin: 0;
  color: rgba(11,11,10,0.72);
  font-size: 18px;
  line-height: 1.7;
}

.faq-wrap {
  max-width: 980px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid rgba(11,11,10,0.12);
  background: rgba(255,255,255,0.2);
}
.faq-item:last-child { border-bottom: 1px solid rgba(11,11,10,0.12); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  background: transparent;
  border: 0;
  color: var(--black);
  text-align: left;
}
.faq-question {
  font: 600 clamp(1.4rem, 2vw, 2.1rem)/1.2 var(--sans);
  letter-spacing: -0.02em;
}
.faq-plus {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--black);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer p {
  margin: 0 0 0;
  padding: 0 0 28px;
  max-width: 760px;
  color: rgba(11,11,10,0.72);
  font-size: 18px;
  line-height: 1.7;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11,11,10,0.94), rgba(16,19,22,0.98));
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent);
  animation: drift 18s linear infinite;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 12% 18% 18% 18%;
  border: 1px solid rgba(194,154,67,0.12);
  border-radius: 50%;
  opacity: 0.66;
}
.cta-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.cta-wrap .eyebrow,
.cta-wrap .final-title,
.cta-wrap .final-copy,
.cta-wrap .hero-actions { opacity: 0; transform: translateY(26px); }

.page-shell { min-height: 72vh; }
.page-shell .display-title { max-width: 860px; }
@keyframes heroFade {
  to { opacity: 1; }
}
@keyframes visualFloat {
  0% { transform: scale(0.94) translateY(0); }
  100% { transform: scale(1) translateY(-8px); }
}
@keyframes drawLine {
  0% { stroke-dashoffset: 200; opacity: 0; }
  20% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes drift {
  0% { transform: translateX(-2%); }
  100% { transform: translateX(2%); }
}

@media (max-width: 1199.98px) {
  .how-hero-inner,
  .buyer-split,
  .supplier-split,
  .global-perspective-wrap {
    grid-template-columns: 1fr;
  }
  .how-hero-visual { height: 420px; }
  .buyer-split .right-col,
  .supplier-split .left-col { padding-left: 0; padding-right: 0; }
  .supplier-split .right-col { padding-left: 0; }
}

@media (max-width: 767.98px) {
  .section-shell { padding: 90px 0; }
  .how-hero { min-height: 76svh; }
  .how-hero-inner { gap: 32px; padding-top: 140px; padding-bottom: 70px; }
  .hero-main-title { font-size: clamp(2.8rem, 14vw, 4rem); }
  .how-hero-text { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .how-hero-visual { height: 340px; }
  .approach-row {
    grid-template-columns: 56px 1fr 28px;
    gap: 16px;
    min-height: 120px;
  }
  .approach-row .approach-text { grid-column: 2 / -1; }
  .process-track {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .process-rail { display: none; }
  .process-step { padding-top: 0; }
  .process-step .step-node { margin-bottom: 12px; }
  .buyer-split, .supplier-split { gap: 28px; }
  .vertical-step { grid-template-columns: 48px 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .faq-trigger { padding: 20px 0; }
}
