/* Amplitude Metals: palette taken from the logo and investor deck */
:root {
  --navy: #06253a;
  --navy-2: #0d3550;
  --gold: #d5af34;
  --gold-ink: #8a6a0e;
  --frost: #e3e9ed;      /* deck footer band */
  --snow: #f6f8f9;
  --slate: #4b6274;
  --line: #cfd8de;

  --bg: var(--snow);
  --surface: #ffffff;
  --tint: var(--frost);
  --ink: var(--navy);
  --ink-soft: var(--slate);
  --accent-ink: var(--gold-ink);

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wide: 112;
  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.5rem + 3vw, 4.2rem);
  --step-4: clamp(4.5rem, 2rem + 10vw, 11rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 8rem);
  --radius: 4px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #051c2c; --surface: #0a2a40; --tint: #082437; --ink: #e8eef2;
    --ink-soft: #a7b8c5; --accent-ink: var(--gold); --line: #1e4560;
  }
}
:root[data-theme="dark"] {
  --bg: #051c2c; --surface: #0a2a40; --tint: #082437; --ink: #e8eef2;
  --ink-soft: #a7b8c5; --accent-ink: var(--gold); --line: #1e4560;
}

*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(5rem + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
sup { font-size: 0.65em; line-height: 0; color: var(--ink-soft); }
h1, h2, h3, h4 { font-variation-settings: "wdth" var(--wide); line-height: 1.1; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); font-weight: 650; }
h3 { font-size: var(--step-1); font-weight: 650; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #e8eef2; --ink-soft: #a7b8c5; --line: #1e4560; }
.lede { font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft); max-width: 40rem; margin-top: 1.25rem; }
.intro { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.small { font-size: var(--step--1); color: var(--ink-soft); }
.aside { margin-top: 2rem; color: var(--ink-soft); max-width: 44rem; padding-left: 1rem; border-left: 3px solid var(--gold); }

/* Buttons */
.btn { display: inline-block; font-weight: 600; text-decoration: none; padding: .85rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #e4c25a; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .25s, box-shadow .25s; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; height: 4.5rem; }
.nav__logo img { width: clamp(84px, 9vw, 112px); height: auto; }
.nav__inner { height: 5rem; }
.nav .logo-dark { display: none; }
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a { color: #fff; text-decoration: none; font-weight: 500; font-size: var(--step--1); }
.nav__links a:hover { color: var(--gold); }
.nav__links .nav__cta { border: 1.5px solid var(--gold); padding: .5rem 1rem; border-radius: var(--radius); }
.nav__toggle { display: none; color: #fff; background: none; border: 1.5px solid rgba(255,255,255,.6); border-radius: var(--radius); padding: .45rem .9rem; font: inherit; font-size: var(--step--1); cursor: pointer; }
.nav.is-solid { background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,.08); }

@media (max-width: 52rem) {
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: calc(5rem + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy); padding: .5rem var(--gutter) 1.5rem; display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .8rem 0; font-size: var(--step-0); width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links .nav__cta { border: 0; color: var(--gold); }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,37,58,.88) 0%, rgba(6,37,58,.55) 45%, rgba(6,37,58,.05) 80%), linear-gradient(0deg, rgba(6,37,58,.75), rgba(6,37,58,0) 50%); }
.hero__body { position: relative; padding-block: 7rem clamp(3rem, 8vh, 6rem); }
.hero__company { display: inline-block; font-weight: 600; font-size: var(--step-1); font-variation-settings: "wdth" 118; letter-spacing: .01em; color: #fff; padding-bottom: .4rem; border-bottom: 3px solid var(--gold); margin-bottom: clamp(1.25rem, 3vh, 2rem); }
.hero h1 { font-size: var(--step-3); font-weight: 700; max-width: 17ch; hyphens: manual; font-variation-settings: "wdth" 116; }
.hero__lede { font-size: var(--step-1); line-height: 1.45; max-width: 36rem; margin-top: 1.25rem; color: #dfe7ec; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split--flip .split__text { order: 2; }
.split--tight { margin-top: clamp(3rem, 6vw, 5rem); grid-template-columns: 1.3fr .7fr; }
.split__text > p { margin-top: 1.1rem; max-width: 38rem; }
.split__text h3 + p { margin-top: .9rem; }
@media (max-width: 52rem) { .split, .split--tight { grid-template-columns: 1fr; } .split--flip .split__text { order: 0; } }

.points { margin-top: 2.5rem; display: grid; gap: 1.6rem; }
.points > div { padding-left: 1.25rem; border-left: 3px solid var(--gold); }
.points dt { font-weight: 650; font-size: var(--step-1); font-variation-settings: "wdth" 106; }
.points dd { color: var(--ink-soft); margin-top: .25rem; max-width: 36rem; }

/* Maps */
.map figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: .75rem; max-width: 40rem; }
.zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: zoom-in; overflow: hidden; }
.zoom img { width: 100%; transition: transform .4s; }
.zoom:hover img { transform: scale(1.02); }
.map--small { max-width: 22rem; }

/* Showings: the signature moment */
.showings__head { display: grid; gap: .5rem; }
.showings__count { font-variation-settings: "wdth" 125; font-weight: 800; font-size: var(--step-1); color: var(--gold); line-height: 1; }
.showings__count span { display: block; font-size: var(--step-4); letter-spacing: -0.04em; line-height: .85; }
.showings__head h2 { color: #fff; font-size: var(--step-2); }
.showings__fig { margin-block: clamp(2.5rem, 6vw, 4rem); }
.belt { width: 100%; height: auto; overflow: visible; }
.belt--narrow { display: none; }
@media (max-width: 40rem) { .belt--wide { display: none; } .belt--narrow { display: block; } }
.belt__band { fill: rgba(255,255,255,.04); stroke: rgba(213,175,52,.35); stroke-width: 1.5; }
.dot { fill: none; stroke: #7f97a8; stroke-width: 1.8; }
.dot--drilled { fill: var(--gold); stroke: var(--gold); }
.belt__scale line { stroke: #7f97a8; stroke-width: 1.5; }
.showings__fig figcaption { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: .9rem; font-size: var(--step--1); color: #a7b8c5; }
.key::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .5rem; vertical-align: -.05rem; }
.key--found::before { border: 1.8px solid #7f97a8; }
.key--drilled::before { background: var(--gold); }
.scale { margin-left: auto; }
.showings__text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); color: #c9d5dd; max-width: 64rem; }
@media (max-width: 52rem) { .showings__text { grid-template-columns: 1fr; } .scale { margin-left: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .js .dot--drilled { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i) * 110ms + 200ms); }
  .js .showings.is-seen .dot--drilled { transform: scale(1); }
}

/* Targets */
.targets { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.targets__map { position: sticky; top: 6rem; }
.target-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.target { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.target h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.target__size { font-size: var(--step--1); color: var(--accent-ink); font-weight: 600; margin-top: .3rem; }
.target p:last-child { margin-top: .5rem; color: var(--ink-soft); }
.target--lead { grid-column: 1 / -1; border-top: 3px solid var(--gold); }
.target--lead h3 { font-size: var(--step-2); }
.target--lead p:last-child { color: var(--ink); font-size: var(--step-1); line-height: 1.45; max-width: 40rem; }
.tag { font-size: .75rem; font-weight: 600; font-variation-settings: "wdth" 100; letter-spacing: .01em; background: var(--gold); color: var(--navy); padding: .2rem .55rem; border-radius: 2px; }
@media (max-width: 64rem) { .targets { grid-template-columns: 1fr; } .targets__map { position: static; max-width: 30rem; } }
@media (max-width: 36rem) { .target-list { grid-template-columns: 1fr; } }

/* Technical details */
.tech { margin-top: 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.tech summary::-webkit-details-marker { display: none; }
.tech summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent-ink); }
.tech[open] summary::after { content: "–"; }
.tech__body { padding-bottom: 1.5rem; display: grid; gap: 1rem; font-size: var(--step--1); color: var(--ink-soft); overflow-x: auto; }
.tech table { border-collapse: collapse; width: 100%; min-width: 34rem; }
.tech caption { text-align: left; font-weight: 600; color: var(--ink); padding-bottom: .5rem; }
.tech th, .tech td { text-align: left; padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tech th { color: var(--ink); font-weight: 600; }
.tech strong { color: var(--ink); }
.tech--inline { margin-top: 2rem; }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.bars { display: grid; gap: 2.25rem; }
.bar__label { font-weight: 650; margin-bottom: .75rem; }
.bar__row { display: grid; grid-template-columns: 6.5rem 1fr 5.5rem; align-items: center; gap: .75rem; margin-top: .45rem; font-size: var(--step--1); }
.bar__name { color: var(--ink-soft); }
.bar__track { height: 1.1rem; background: color-mix(in srgb, var(--ink) 7%, transparent); border-radius: 2px; overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); background: #8fa3b1; }
.bar__fill--us { background: var(--gold); }
.bar__val { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.bar__text { color: var(--ink-soft); max-width: 30rem; }
.compare__side > p { margin-top: 1.5rem; color: var(--ink-soft); }
@media (max-width: 52rem) { .compare { grid-template-columns: 1fr; } }

/* Team */
.group { font-size: var(--step-0); font-weight: 650; color: var(--accent-ink); margin: 2.5rem 0 1.25rem; font-variation-settings: "wdth" 100; }
.intro + .group { margin-top: 0; }
.people { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.75rem 2rem; }
.person { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: start; }
.person img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.person h4 { font-size: var(--step-0); font-weight: 650; }
.role { font-size: var(--step--1); color: var(--accent-ink); font-weight: 600; }
.person p:last-child { font-size: var(--step--1); color: var(--ink-soft); margin-top: .35rem; line-height: 1.5; }

/* Ownership */
.own { max-width: 56rem; }
.own__bar { display: flex; height: 3.5rem; border-radius: var(--radius); overflow: hidden; }
.own__seg { width: var(--w); }
.own__seg--1, .sw--1 { background: var(--gold); }
.own__seg--2, .sw--2 { background: var(--navy-2); }
.own__seg--3, .sw--3 { background: #8fa3b1; }
.own__key { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 1rem; font-size: var(--step--1); color: var(--ink-soft); }
.own__key strong { color: var(--ink); margin-right: .3rem; font-size: var(--step-0); }
.sw { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; margin-right: .5rem; vertical-align: -.05rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .own__seg--2, :root:not([data-theme="light"]) .sw--2 { background: #3d6a8a; } }
:root[data-theme="dark"] .own__seg--2, :root[data-theme="dark"] .sw--2 { background: #3d6a8a; }

/* Timeline: a real sequence */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.5rem 1.5rem; position: relative; }
.timeline li { position: relative; padding-top: 1.75rem; border-top: 2px solid #2b5170; }
.timeline li::before { content: ""; position: absolute; top: -.5rem; left: 0; width: .9rem; height: .9rem; border-radius: 50%; background: var(--navy); border: 2px solid #7f97a8; }
.timeline li.done { border-top-color: var(--gold); }
.timeline li.done::before { background: var(--gold); border-color: var(--gold); }
.timeline li.now::before { background: var(--navy); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(213,175,52,.25); }
.timeline time { font-weight: 650; color: var(--gold); font-variation-settings: "wdth" 110; display: block; }
.timeline p { color: #c9d5dd; margin-top: .35rem; font-size: var(--step--1); line-height: 1.5; }
.now__tag { position: absolute; top: -2.1rem; left: 1.4rem; font-size: .75rem; font-weight: 600; color: var(--navy); background: var(--gold); padding: .1rem .5rem; border-radius: 2px; }
@media (max-width: 64rem) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36rem) {
  .timeline { grid-template-columns: 1fr; gap: 0; border-left: 2px solid #2b5170; margin-left: .4rem; }
  .timeline li { border-top: 0; padding: 0 0 1.5rem 1.5rem; }
  .timeline li::before { left: -.55rem; top: .3rem; }
  .now__tag { position: static; display: inline-block; margin-top: .4rem; }
}

/* Contact */
.contact { background: var(--surface); }
.contact__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.contact__card { display: grid; grid-template-columns: 6rem 1fr; gap: 1.25rem; align-items: center; padding: 1.75rem; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); background: var(--bg); }
.contact__card img { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; }
.contact__name { font-weight: 650; font-size: var(--step-1); }
.contact__card .btn { margin-top: 1rem; font-size: var(--step--1); word-break: break-word; }
@media (max-width: 52rem) { .contact__inner { grid-template-columns: 1fr; } .contact__card { grid-template-columns: 1fr; } }

/* Glossary */
.glossary { padding-block: clamp(3rem, 6vw, 5rem); background: var(--tint); }
.glossary h2 { font-size: var(--step-2); }
.terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.5rem 2.5rem; margin-top: 2rem; }
.terms dt { font-weight: 650; }
.terms dd { color: var(--ink-soft); font-size: var(--step--1); margin-top: .2rem; }

/* Footer */
.footer { background: var(--navy); color: #a7b8c5; padding-block: 3.5rem; font-size: var(--step--1); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid #1e4560; }
.footer__top img { width: 110px; }
.footer__top p { text-align: right; }
.footer a { color: var(--gold); }
.footer__legal { display: grid; gap: 1rem; padding-top: 2rem; max-width: 60rem; line-height: 1.55; font-size: .8rem; }
.footer__legal strong { color: #dfe7ec; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; margin: auto; }
.lightbox::backdrop { background: rgba(6,37,58,.92); }
.lightbox img { max-width: 96vw; max-height: 88vh; width: auto; border-radius: var(--radius); background: #fff; }
.lightbox form { text-align: right; margin-bottom: .5rem; }
.lightbox__close { background: var(--gold); color: var(--navy); border: 0; font: inherit; font-weight: 600; padding: .45rem 1rem; border-radius: var(--radius); cursor: pointer; }

/* Revisions: layouts without maps */
.why { display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem clamp(2rem, 6vw, 5rem); align-items: start; }
.why .lede { grid-column: 1; }
.why h2 { grid-column: 1; }
.why .points { grid-column: 2; grid-row: 1 / span 2; margin-top: .5rem; }
@media (max-width: 52rem) { .why { grid-template-columns: 1fr; grid-template-rows: auto; } .why .points { grid-column: 1; grid-row: auto; margin-top: 1.5rem; } }

.targets { display: block; }
.target-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.target--lead { grid-column: 1 / -1; }
@media (max-width: 64rem) { .target-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .target-list { grid-template-columns: 1fr; } }

.compare__side > p:first-child { margin-top: 0; }
.compare__side > p + p { color: var(--ink); font-size: var(--step-1); line-height: 1.45; }
.bar__note { display: block; font-weight: 400; font-size: var(--step--1); color: var(--ink-soft); }
.bar__row { grid-template-columns: 9rem 1fr 5.5rem; }
@media (max-width: 36rem) { .bar__row { grid-template-columns: 6.5rem 1fr 4.5rem; } }

.cratons { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cratons__text p + p { margin-top: 1.1rem; }
.cratons__text p { max-width: 38rem; }
.cratons__second { margin-top: 2rem; }
.cratons__src { margin-top: 1rem; }
@media (max-width: 52rem) { .cratons { grid-template-columns: 1fr; } }

.person--wide { grid-column: 1 / -1; }
.person--wide p:last-child { max-width: 46rem; }

.gp { margin-top: clamp(3rem, 6vw, 4.5rem); max-width: 44rem; padding-left: 1.25rem; border-left: 3px solid var(--gold); }
.gp p { margin-top: .9rem; }
