/* Palette sampled from the ASFM reference */
:root {
  --slate: #38566C;
  --surface: #0C1E2E;
  --surface-deep: #08151F;
  --gold: #C9984C;
  --gold-light: #D6AB68;
  --gold-dark: #B58540;
  --gold-pale: #E8CB9B;
  --coral: #D9604C;
  --navy: #10263A;
  --navy-raised: #18344C;
  --light: #F3F5F7;
  --white: #FFFFFF;
  --black: #000000;
  --ice: #A9C2D4;
  --on-dark: #DCE5EC;
  --on-dark-faint: #B9C8D4;
  --ink: #10263A;
  --ink-soft: #43525F;
  --line-dark: rgba(16, 38, 58, .13);
  --line-light: rgba(255, 255, 255, .13);
  --ease-reveal: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--navy);
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(201, 152, 76, .4); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Section bands */
.band { padding-block: clamp(80px, 11vw, 140px); }
.band--light { background: var(--light); }
.band--white { background: var(--white); }
.band--navy { background: var(--navy); color: var(--white); }

h1, h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-head { max-width: 760px; }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section-head--split h2 { max-width: 660px; }

.link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: color .15s ease;
}
.link:hover { color: var(--gold-dark); }

.fineprint {
  margin-top: 24px;
  font-size: 13px;
  color: var(--on-dark);
}
.fineprint--dark { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--small { padding: 9px 16px; font-size: 14px; border-radius: 9px; }

.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-light); }
.btn--gold:active { background: var(--gold-dark); }
.btn--glow { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 8px 24px -8px rgba(201, 152, 76, .6); }

.btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.btn--ghost:active { background: rgba(255, 255, 255, .12); }

.btn--dark { background: var(--white); color: var(--black); }

.btn--outline { border-color: var(--navy); color: var(--ink); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(16, 38, 58, 0);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(12, 30, 46, .92);
  border-bottom-color: var(--line-light);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

.nav {
  max-width: 1200px;
  height: 68px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: -0.01em;
  white-space: nowrap;
  justify-self: start;
}

.nav__links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 36px);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}
.nav__links a { transition: color .15s ease; }
.nav__links a:hover { color: var(--gold-light); }

.nav__toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
}

.nav__menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 24px;
  border-top: 1px solid var(--line-light);
  background: var(--surface);
  color: var(--white);
}
.nav__menu[hidden] { display: none; }
.nav__menu a {
  padding: 14px 0;
  font-size: 17px;
  border-bottom: 1px solid var(--line-light);
}
.nav__menu a:last-child { border-bottom: 0; }

@media (min-width: 1024px) {
  .nav { grid-template-columns: 1fr auto 1fr; }
  .nav__links { display: flex; }
  .nav__toggle, .nav__menu { display: none; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}

.hero__inner {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 104px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.04;
}

.hero__lead {
  margin-top: 24px;
  max-width: 520px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--on-dark);
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 36px;
  max-width: 480px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__actions .btn { flex: 1 1 auto; }

/* Hero deal panel: the stage steps forward on a timer in main.js */
.deal { position: relative; min-width: 0; }

.deal__glow {
  position: absolute;
  left: 50%;
  top: 14%;
  width: 420px;
  max-width: 100%;
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(201, 152, 76, .3), transparent);
  filter: blur(20px);
  transition: top 1.2s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.deal__panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--surface-deep));
  border: 1px solid var(--line-light);
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .15);
}

.deal__head, .deal__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.deal__head { border-bottom: 1px solid var(--line-light); }
.deal__foot {
  padding-block: 12px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  color: var(--on-dark-faint);
}

.deal__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--on-dark);
}
.deal__title svg { color: var(--gold-pale); }

.deal__badge {
  padding: 3px 9px;
  border: 1px solid rgba(232, 203, 155, .3);
  border-radius: 999px;
  background: rgba(201, 152, 76, .12);
  color: var(--gold-pale);
  font-size: 12px;
}

.deal__steps {
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
}
.deal__steps li { display: flex; gap: 14px; }

.deal__rail {
  flex: none;
  width: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.deal__num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: var(--surface-deep);
  color: var(--on-dark-faint);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  transition: all .5s ease;
}

.deal__line {
  flex: 1;
  width: 1px;
  min-height: 14px;
  background: var(--line-light);
  transition: background .5s ease;
}

.deal__row {
  flex: 1;
  min-width: 0;
  margin-bottom: 12px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: all .5s ease;
}
.deal__row > div { min-width: 0; }
.deal__row strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.deal__row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--on-dark-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal__status {
  flex: none;
  font-size: 12px;
  color: var(--on-dark-faint);
  transition: color .5s ease;
}

.deal__steps li.is-done .deal__num { color: var(--white); }
.deal__steps li.is-done .deal__line { background: rgba(232, 203, 155, .55); }
.deal__steps li.is-done .deal__status { color: var(--white); }

.deal__steps li.is-active .deal__num {
  background: rgba(201, 152, 76, .25);
  border-color: rgba(232, 203, 155, .6);
  color: var(--gold-pale);
}
.deal__steps li.is-active .deal__row {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-light);
}
.deal__steps li.is-active .deal__status { color: var(--gold-pale); }

/* Trust strip */
.trust { background: var(--surface-deep); color: var(--white); }

.trust__inner {
  padding-block: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 48px;
}
.trust__inner > p {
  flex: 1 0 100%;
  font-size: 14px;
  color: var(--on-dark);
}
.trust ul {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  font-stretch: 92%;
}

/* Problem cells */
.cells {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

.cell {
  padding: 32px 28px 36px;
  background: var(--white);
  color: var(--slate);
  transition: background .2s ease;
}
.cell:hover { background: #FAFAFA; }
.cell h3 {
  margin-top: 40px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.cell p { font-size: 15px; color: var(--ink-soft); }

/* Commodities */
.commodities {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.commodity {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.commodity:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.commodity:target {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

.tile {
  position: relative;
  height: clamp(220px, 22vw, 260px);
  color: var(--black);
}
.tile--sulphur { background: var(--gold); }
.tile--copper { background: var(--coral); }
.tile--energy { background: var(--slate); color: var(--white); }

.tile__num, .tile__mass {
  position: absolute;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.tile__num { top: 20px; left: 24px; }
.tile__mass { right: 24px; bottom: 18px; }
.tile--energy .tile__mass { top: 20px; bottom: auto; }

.tile__sym {
  position: absolute;
  left: 20px;
  bottom: 2px;
  font-size: clamp(120px, 13vw, 156px);
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: -0.05em;
  line-height: 1;
}

.commodity__body { padding: 28px; }
.commodity h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.commodity__body > p { font-size: 15px; color: var(--ink-soft); }

.commodity dl { margin-top: 24px; font-size: 14px; }
.commodity dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding-block: 10px;
  border-top: 1px solid var(--line-dark);
}
.commodity dt { color: var(--ink-soft); }
.commodity dd { font-weight: 500; }

/* Process timeline */
.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px 0;
}

.step { padding-right: 32px; }
.step__track { display: flex; align-items: center; }
.step__dot {
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid rgba(16, 38, 58, .55);
}
.step__line {
  flex: 1;
  height: 1px;
  background: rgba(16, 38, 58, .28);
}
.step.is-first .step__dot { border-color: var(--gold-dark); }
.step.is-first .step__line { background: linear-gradient(90deg, var(--gold-dark), rgba(16, 38, 58, .28)); }
.step.is-last .step__line { background: linear-gradient(90deg, rgba(16, 38, 58, .28), transparent); }

.step__num {
  margin-top: 28px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.step h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step > p:last-child {
  max-width: 260px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* Markets */
.map {
  margin-top: 56px;
  padding: clamp(12px, 2.4vw, 28px);
  background: var(--navy-raised);
  border: 1px solid var(--line-light);
  border-radius: 20px;
}

.map__stage { position: relative; }
.map__stage img {
  width: 100%;
  height: auto;
  opacity: .38;
}
.map__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.map__routes .route {
  fill: none;
  stroke: var(--route, var(--gold));
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s cubic-bezier(.4, 0, .2, 1);
}
.map__routes.is-drawn .route { stroke-dashoffset: 0; }
.map__routes .port {
  fill: var(--route, var(--gold));
  stroke: var(--navy-raised);
  stroke-width: 2;
}

.map__note {
  margin-top: clamp(10px, 2vw, 18px);
  font-size: 14px;
  color: var(--on-dark);
}

.stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--navy-raised);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.stat:hover { border-color: rgba(255, 255, 255, .3); }
.stat.is-active { border-color: var(--stat, var(--gold)); }
.stat[data-market="sulphur"] { --stat: var(--gold); }
.stat[data-market="copper"] { --stat: var(--coral); }
.stat[data-market="energy"] { --stat: var(--ice); }

.stat__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--on-dark);
}
.stat__value {
  margin-top: 40px;
  font-size: clamp(52px, 5.6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 12px; font-size: 16px; }
.stat__source {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  color: var(--on-dark);
}

/* Enquiry builder */
.builder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
}

.builder__form {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.builder__form h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
}

.seg legend, .slider label, .field label {
  display: block;
  padding: 0;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seg label { flex: 1 1 auto; cursor: pointer; }
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg span {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.seg span:hover { border-color: var(--navy); }
.seg input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.slider__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.slider__head output {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.slider input {
  width: 100%;
  height: 24px;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  background: var(--white);
  font-size: 16px;
}
.field input:focus { border-color: var(--navy); outline: none; }
.field input::placeholder { color: #66737F; }

.builder__result {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
}
.builder__result p { color: var(--on-dark); font-size: 14px; }
.builder__primary {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}
.builder__result .builder__value {
  margin-top: 8px;
  min-height: 2.1em;
  color: var(--white);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.builder__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-block: 12px;
}
.builder__result .builder__sub {
  margin-top: 6px;
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.builder__result .builder__note {
  margin-bottom: auto;
  padding-bottom: 20px;
  font-size: 13px;
  text-wrap: pretty;
}

/* Contact / team */
.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 11vw, 140px);
  background: var(--navy);
  color: var(--white);
}

.contact__glow {
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(201, 152, 76, .22), transparent);
  pointer-events: none;
}

.contact__inner { position: relative; }
.contact__head { max-width: 720px; }
.contact__head h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
}
.contact__head p {
  margin-top: 24px;
  max-width: 520px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--on-dark);
}

.team {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.person {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--desk, var(--gold));
  border-radius: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.person:hover { transform: translateY(-2px); border-color: var(--desk, var(--gold)); }
.person--sulphur { --desk: var(--gold); }
.person--copper { --desk: var(--coral); }
.person--energy { --desk: var(--ice); }

.person__desk { font-size: 14px; color: var(--on-dark); }
.person h3 {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.person__role { margin-bottom: 20px; font-size: 15px; color: var(--on-dark); }
.person__line {
  padding-block: 2px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  transition: color .15s ease;
}
.person__line:hover { color: var(--gold-pale); }
.person__actions {
  margin-top: 24px;
  display: flex;
  gap: 8px;
}
.person__actions .btn { flex: 1; }

/* About */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about p {
  margin-top: 24px;
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 17px;
  text-wrap: pretty;
}

.chain {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--light);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}
.chain li {
  min-height: 118px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}
.chain li.is-result {
  background: rgba(201, 152, 76, .16);
  border-color: var(--gold);
}

/* Final CTA */
.final { padding-top: 0; }
.final__inner {
  padding-top: 48px;
  border-top: 1px solid var(--line-dark);
}
.final h2 {
  max-width: 620px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
}
.final__details {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}
.final__details p { font-size: 14px; color: var(--ink-soft); }
.final__details a, .final__details span {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.final__details a:hover { color: var(--gold-dark); }
.final__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.final__actions .btn { flex: 0 1 200px; }

/* Footer */
.footer { background: var(--surface); color: var(--white); }

.footer__grid {
  padding-block: 64px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 40px;
}
.footer__grid h2 {
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--coral);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}
.footer__grid nav a,
.footer__grid > div > a:not(.brand) {
  display: block;
  padding-block: 4px;
  font-size: 15px;
  color: var(--on-dark);
  transition: color .15s ease;
}
.footer__grid a:hover { color: var(--white); }
.footer__blurb {
  margin-top: 16px;
  max-width: 220px;
  font-size: 15px;
  color: var(--on-dark);
}
.footer__address { margin-top: 8px; font-size: 15px; color: var(--on-dark); }

.footer__bar { background: var(--surface-deep); }
.footer__bar-inner {
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--on-dark);
}

/* Mobile call and email bar */
.mobile-cta {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--line-light);
}
@media (min-width: 768px) {
  .mobile-cta { display: none; }
}

/* Scroll reveal, applied by main.js only to content below the fold */
.reveal-hidden { opacity: 0; transform: translateY(14px); }
.reveal-anim { transition: opacity .7s var(--ease-reveal), transform .7s var(--ease-reveal); }


/* Additions for the separate pages */
.nav__links a { position: relative; padding-block: 6px; }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}
.nav__menu a[aria-current="page"] { color: var(--gold-light); }

.hero__inner--single { grid-template-columns: minmax(0, 1fr); }
.hero__inner--single h1 { max-width: 860px; }
.hero .commodity { color: var(--ink); }
.hero .commodity:hover { transform: none; }

.commodity__more { display: inline-block; margin-top: 16px; }

.final--solo { padding-top: clamp(80px, 11vw, 140px); }
.final--solo .final__inner { padding-top: 0; border-top: 0; }

.contact--people { padding-top: 0; }
.team--people {
  margin-top: 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.member { padding: 0; overflow: hidden; }
.member img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.member__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.member h2 {
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.member .person__role { margin: 2px 0 0; font-size: 14px; color: var(--gold-pale); }
.member__bio { margin-top: 12px; font-size: 14px; color: var(--on-dark); }
.member .person__actions { margin-top: auto; padding-top: 20px; }

.who {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.who__card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
}
.who__card h3 {
  padding-bottom: 14px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.who__card li {
  padding-block: 10px;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
  color: var(--ink-soft);
}

.figure {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--navy-raised);
  border: 1px solid var(--gold);
  border-radius: 16px;
}
.figure--copper { border-color: var(--coral); }
.figure--energy { border-color: var(--ice); }
.figure .stat__value { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Keep all six links centred on narrow laptops */
@media (min-width: 1024px) and (max-width: 1120px) {
  .nav__links { gap: 16px; font-size: 14px; }
  .brand { font-size: 16px; }
}
