:root {
  --ink: #15130f;
  --coal: #0f1210;
  --charcoal: #1b1c18;
  --muted: #6d6a61;
  --line: rgba(30, 28, 21, 0.12);
  --paper: #fbf7ed;
  --ivory: #fffdf7;
  --gold: #d7a94d;
  --gold-dark: #946f24;
  --green: #1c4a3a;
  --green-soft: #dfeade;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 17, 12, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(9, 10, 8, 0.78), rgba(9, 10, 8, 0.12));
  backdrop-filter: blur(14px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215, 169, 77, 0.6);
  border-radius: 50%;
  color: #f5d486;
  background: radial-gradient(circle at 35% 30%, rgba(245, 212, 134, 0.28), rgba(19, 21, 18, 0.92) 62%);
  font-size: 14px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: rgba(255, 253, 247, 0.68);
  font-size: 12px;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(12, 14, 12, 0.42);
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 253, 247, 0.82);
  font-size: 14px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
  background: rgba(215, 169, 77, 0.16);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(12, 14, 12, 0.6);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 920px;
  padding: 148px 0 160px;
  color: var(--white);
  overflow: hidden;
  background: var(--coal);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("../img/field-mining-site.jpeg");
  background-size: cover;
  background-position: center 45%;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.94) 0%, rgba(9, 11, 10, 0.74) 46%, rgba(9, 11, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(15, 18, 16, 0.96) 0%, rgba(15, 18, 16, 0.08) 42%),
    radial-gradient(circle at 72% 40%, rgba(215, 169, 77, 0.18), rgba(215, 169, 77, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #f0ca76;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--gold-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 253, 247, 0.84);
  font-size: 19px;
}

.hero-actions,
.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn.primary {
  color: #15110a;
  background: linear-gradient(135deg, #f0d184, var(--gold) 58%, #b8872c);
  box-shadow: 0 14px 34px rgba(215, 169, 77, 0.28);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 253, 247, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.btn.full {
  width: 100%;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  width: min(var(--max), calc(100% - 40px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 253, 247, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(14, 16, 14, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel article {
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid rgba(255, 253, 247, 0.1);
}

.hero-panel article:last-child {
  border-right: 0;
}

.hero-panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 253, 247, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

.trust-strip {
  background: var(--green);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
  min-height: 128px;
  padding: 28px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 8px;
  color: #fff4cf;
  font-size: 17px;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding: 110px 0;
}

.intro {
  background:
    linear-gradient(180deg, rgba(251, 247, 237, 0.98), rgba(255, 253, 247, 0.96)),
    radial-gradient(circle at 80% 20%, rgba(215, 169, 77, 0.22), rgba(215, 169, 77, 0) 34%);
}

.field-gallery {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(244, 236, 219, 0.98)),
    var(--paper);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.gallery-heading > p {
  color: var(--muted);
  font-size: 17px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
}

.photo-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 28, 21, 0.14);
  background: var(--charcoal);
  box-shadow: 0 20px 48px rgba(18, 17, 12, 0.1);
}

.photo-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-tile.tall {
  grid-row: span 2;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.photo-tile:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.02);
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(12, 13, 11, 0), rgba(12, 13, 11, 0.82));
  pointer-events: none;
}

.photo-tile figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 54px;
  align-items: start;
}

.section-copy > p:not(.eyebrow),
.section-heading > p,
.investment-header > p,
.mission-card > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.feature-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 45px rgba(18, 17, 12, 0.08);
}

.feature-card.highlight {
  grid-row: span 2;
  min-height: 516px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(17, 20, 18, 0.2), rgba(17, 20, 18, 0.94)),
    radial-gradient(circle at 30% 20%, rgba(240, 209, 132, 0.8), rgba(148, 111, 36, 0.05) 42%),
    #181915;
}

.feature-card.highlight h3,
.feature-card.highlight p {
  color: var(--white);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(215, 169, 77, 0.16);
}

.highlight .icon {
  color: #ffe0a2;
  background: rgba(255, 253, 247, 0.12);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 22px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid rgba(30, 28, 21, 0.12);
}

.shipping {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(215, 169, 77, 0.2), rgba(215, 169, 77, 0) 30%),
    linear-gradient(135deg, #11130f, #1d211b 52%, #101310);
}

.shipping h2,
.shipping h3 {
  color: var(--white);
}

.shipping-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}

.media-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.12);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shipping .section-copy > p:not(.eyebrow) {
  color: rgba(255, 253, 247, 0.72);
}

.shipping-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.shipping-list article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 253, 247, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.shipping-list span {
  color: #f4cf7a;
  font-weight: 900;
  text-transform: uppercase;
}

.shipping-list p {
  margin: 0;
  color: rgba(255, 253, 247, 0.74);
}

.process {
  background: var(--ivory);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.timeline article {
  position: relative;
  min-height: 270px;
  padding: 72px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(18, 17, 12, 0.07);
}

.timeline span {
  position: absolute;
  top: 18px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #15110a;
  background: var(--gold);
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.investment {
  background:
    linear-gradient(180deg, rgba(28, 74, 58, 0.94), rgba(17, 26, 21, 0.98)),
    var(--green);
  color: var(--white);
}

.investment h2,
.investment h3 {
  color: var(--white);
}

.investment-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.investment-header > p {
  color: rgba(255, 255, 255, 0.74);
}

.investment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.investment-card {
  min-height: 360px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.investment-card.mineral {
  border-top: 4px solid var(--gold);
}

.investment-card.agriculture {
  border-top: 4px solid #a5c96b;
}

.investment-card.secure {
  border-top: 4px solid #9ac6d8;
}

.investment-card p,
.investment-card li {
  color: rgba(255, 255, 255, 0.72);
}

.investment-card ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.investment-card li {
  position: relative;
  padding-left: 20px;
}

.investment-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.mission {
  background: var(--paper);
}

.mission-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(223, 234, 222, 0.7)),
    var(--ivory);
  box-shadow: 0 24px 70px rgba(18, 17, 12, 0.1);
}

.contact {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 13, 11, 0.92), rgba(10, 13, 11, 0.7)),
    url("../img/gold-export-hero.png") center / cover;
}

.contact h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: 58px;
  align-items: start;
}

.contact-copy > p {
  color: rgba(255, 253, 247, 0.76);
}

.contact-points {
  margin-top: 30px;
}

.contact-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 999px;
  color: rgba(255, 253, 247, 0.84);
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.96);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2b271d;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 29, 20, 0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  min-height: 48px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 136px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(215, 169, 77, 0.18);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.site-footer {
  padding: 30px 0;
  color: var(--white);
  background: #0b0d0b;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 253, 247, 0.68);
  font-size: 14px;
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  outline: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    z-index: 30;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(12, 14, 12, 0.99);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    justify-content: center;
    min-height: 46px;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 42px;
  }

  .hero-bg {
    background-position: 64% center;
  }

  .hero-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(var(--max), calc(100% - 40px));
    margin: 54px auto 0;
    transform: none;
    grid-template-columns: 1fr;
  }

  .hero-panel article,
  .hero-panel article:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 247, 0.1);
  }

  .hero-panel article:last-child {
    border-bottom: 0;
  }

  .trust-grid,
  .split,
  .shipping-grid,
  .investment-header,
  .gallery-heading,
  .investment-grid,
  .mission-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .feature-stack {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .photo-tile.large,
  .photo-tile.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .feature-card.highlight {
    min-height: 360px;
    grid-row: auto;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 36px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 2px;
    height: auto;
  }

  .timeline article {
    min-height: auto;
    padding: 24px 24px 24px 82px;
  }

  .timeline span {
    top: 24px;
    left: 20px;
  }
}

@media (max-width: 680px) {
  .shell,
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding: 10px 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy,
  .section-copy > p:not(.eyebrow),
  .section-heading > p,
  .investment-header > p,
  .mission-card > p,
  .contact-copy > p {
    font-size: 16px;
  }

  .section {
    padding: 76px 0;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .btn {
    min-height: 50px;
  }

  .trust-grid div {
    min-height: auto;
    padding: 22px 18px;
  }

  .shipping-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mission-card,
  .contact-form {
    padding: 24px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
