/* =========================================================
   Yometa Resources Ltd — site stylesheet
   To re-skin the whole site, edit the colour variables below.
   ========================================================= */

:root {
  --navy: #0d1b2a;
  --navy-soft: #16293d;
  --ink: #17202b;
  --muted: #5d6b7a;
  --line: #e4e8ed;
  --paper: #ffffff;
  --sand: #f7f5f1;
  --copper: #b2662e;
  --copper-soft: #d29a63;
  --radius: 2px;
  --max: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* ---------- eyebrow / section headers ---------- */

.eyebrow {
  display: block;
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section--sand {
  background: var(--sand);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--copper);
  color: #fff;
}

.btn-primary:hover {
  background: #985625;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--copper);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-text small {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--copper);
}

.nav a[aria-current="page"] {
  border-bottom-color: var(--copper);
}

.nav-cta {
  padding: 11px 20px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(76vh, 720px);
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 8vw, 96px);
  color: #fff;
  background: var(--navy) url("../img/hero.svg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 27, 42, 0.35) 0%,
    rgba(13, 27, 42, 0.78) 62%,
    rgba(13, 27, 42, 0.92) 100%
  );
}

.hero .wrap {
  position: relative;
}

.hero h1 {
  max-width: 17ch;
}

.hero p {
  max-width: 56ch;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero .eyebrow {
  color: var(--copper-soft);
}

/* ---------- page header (inner pages) ---------- */

.page-head {
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 22ch;
}

.page-head p {
  color: var(--muted);
  max-width: 62ch;
  margin-top: 16px;
}

/* ---------- trust strip ---------- */

.trust {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
}

.trust li {
  padding: 22px 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.trust li:first-child {
  border-left: 0;
  padding-left: 0;
}

/* ---------- cards ---------- */

.grid {
  display: grid;
  gap: 26px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

a.card:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

a.card:hover .card-media img {
  transform: scale(1.03);
}

.card-body {
  padding: 24px 24px 28px;
}

.card-body h3 {
  margin-bottom: 8px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card-link {
  margin-top: 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: 0.02em;
}

/* ---------- split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- feature list ---------- */

.feature-list {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.feature-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- stats band ---------- */

.band {
  background: var(--navy);
  color: #fff;
  padding: clamp(56px, 7vw, 88px) 0;
}

.band h2 {
  max-width: 20ch;
}

.band .lede {
  color: rgba(255, 255, 255, 0.72);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.stats li {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 18px;
}

.stats strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stats span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.steps li {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--copper);
}

.steps h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.steps p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- table ---------- */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.table caption {
  caption-side: top;
  text-align: left;
  font-size: 0.84rem;
  color: var(--muted);
  padding-bottom: 14px;
}

.table th,
.table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--sand);
  border-top: 1px solid var(--line);
}

/* ---------- CTA band ---------- */

.cta {
  background: var(--sand);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
}

.cta h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 22ch;
}

.cta p {
  margin: 0 auto;
  max-width: 56ch;
  color: var(--muted);
}

.cta .btn-row {
  justify-content: center;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.info-list {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.info-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.info-list a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.info-list a:hover {
  border-bottom-color: var(--copper);
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  outline: none;
}

.form-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(48px, 6vw, 72px) 0 32px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.site-footer .brand-text strong,
.site-footer .brand-text small {
  color: #fff;
}

.site-footer .brand-text small {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer p {
  margin-top: 18px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- responsive ---------- */

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

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

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

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav li {
    border-bottom: 1px solid var(--line);
  }

  .nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 0;
  }

  .nav-cta {
    margin-top: 18px;
    justify-content: center;
  }

  .header-inner {
    position: relative;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-media img {
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .trust li {
    border-left: 0;
    padding-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

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

  .hero {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
