body {
  padding: 50px;
  font:
    14px "Lucida Grande",
    Helvetica,
    Arial,
    sans-serif;
}

a {
  color: #00b7ff;
}

:root {
  --navy: #071521;
  --navy-dark: #041019;
  --navy-light: #0d2736;
  --navy-soft: #123445;
  --gold: #c9973e;
  --gold-light: #f1cf7e;
  --cream: #f5f0e6;
  --dark-text: #172731;
  --muted: #aebbc0;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
}

… * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 100;
  padding: 10px 15px;
  background: var(--gold);
  color: var(--navy);
  font-weight: bold;
}

.skip-link:focus {
  top: 15px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  background: rgba(7, 21, 33, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  /*color: var(--gold-light);*/
  color: white;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.logo-mark {
  height: 36px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  color: #dfe7e9;
  font-size: 0.9rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--gold-light);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(7, 21, 33, 0.97), rgba(7, 21, 33, 0.55)), radial-gradient(circle at 80% 30%, rgba(201, 151, 62, 0.32), transparent 28%), linear-gradient(135deg, #1a3b49, var(--navy) 72%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -35%;
  width: 80%;
  height: 75%;
  transform: rotate(-14deg);
  border-top: 1px solid rgba(241, 207, 126, 0.5);
  background: rgba(201, 151, 62, 0.08);
}

.hero::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 18%;
  width: 230px;
  height: 230px;
  transform: rotate(45deg);
  border: 1px solid rgba(241, 207, 126, 0.25);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: 40px;
}

.eyebrow,
.section-label {
  margin-bottom: 16px;
  /*color: var(--gold-light);*/
  color: white;
  /*font-size: 0.78rem;*/
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 26px;
  /*font-size: clamp(3rem, 8vw, 6.5rem);*/
  font-size: clamp(2rem, 8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-description {
  max-width: 660px;
  margin-bottom: 36px;
  color: #d3dfe2;
  font-size: 1.08rem;
}

.button {
  display: inline-block;
  border: 1px solid var(--gold);
  padding: 14px 23px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  transition: 0.25s ease;
}

.button:hover,
.button:focus {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.button.secondary {
  margin-left: 10px;
  background: transparent;
  color: var(--gold-light);
}

section {
  padding: 110px 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
}

.about {
  background: var(--cream);
  color: var(--dark-text);
}

.about .intro {
  color: #59676d;
}

.about-grid,
.development-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.about-photo {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid #ccc2b1;
  box-shadow: var(--shadow);
}

.about-photo-caption {
  display: block;
  margin: -12px 0 18px;
  color: #8a7a5c;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid #ccc2b1;
  background: #ccc2b1;
  box-shadow: var(--shadow);
}

.fact {
  min-height: 135px;
  padding: 26px;
  background: var(--cream);
}

.fact strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 1.9rem;
}

.fact span {
  color: #59676d;
  font-size: 0.87rem;
}

.projects {
  background: var(--navy-light);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.project-card {
  min-height: 325px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 27px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  transition: 0.25s ease;
}

.project-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.project-number {
  align-self: flex-start;
  margin-bottom: auto;
  color: var(--gold-light);
  font-weight: 900;
}

.project-card h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.project-card p {
  min-height: 52px;
  color: #c6d1d4;
  font-size: 0.9rem;
}

.project-tag {
  display: inline-block;
  width: fit-content;
  margin-top: 16px;
  padding: 5px 9px;
  border: 1px solid rgba(241, 207, 126, 0.52);
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.details-button {
  width: fit-content;
  margin-top: 16px;
  border: 0;
  border-bottom: 1px solid var(--gold-light);
  background: transparent;
  color: var(--gold-light);
  font-size: 0.82rem;
}

.minerals {
  background: #0a1d2a;
}

.mineral-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 42px;
}

.mineral {
  min-height: 190px;
  padding: 29px 23px;
  border-top: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
}

.mineral h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.mineral p {
  color: var(--muted);
  font-size: 0.9rem;
}

.development {
  background: var(--cream);
  color: var(--dark-text);
}

.development .section-label {
  color: var(--gold);
}

.development .intro {
  color: #59676d;
}

.timeline {
  margin-top: 30px;
  border-left: 1px solid #c5b9a6;
}

.timeline-item {
  position: relative;
  padding: 0 0 25px 28px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-item strong {
  display: block;
  margin-bottom: 3px;
}

.timeline-item span {
  color: #657278;
  font-size: 0.91rem;
}

.notice {
  padding: 29px;
  border-left: 3px solid var(--gold);
  background: #e8e0d2;
  color: #58656b;
  font-size: 0.9rem;
}

.notice strong {
  color: var(--dark-text);
}

.contact {
  background: linear-gradient(rgba(7, 21, 33, 0.95), rgba(7, 21, 33, 0.95)), linear-gradient(135deg, #59645f, #0e2737);
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.contact-box p {
  max-width: 680px;
  color: var(--muted);
}

.contact-note {
  margin-top: 15px;
  color: var(--gold-light) !important;
  font-size: 0.82rem;
}

footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: #89969b;
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 24px;
  width: auto;
  opacity: 0.85;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
}

.modal.active {
  display: grid;
}

.modal-content {
  position: relative;
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  color: var(--dark-text);
  box-shadow: var(--shadow);
}

.modal-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.modal-body {
  padding: 36px;
}

.modal-content h2 {
  color: var(--dark-text);
  font-size: 2.1rem;
}

.modal-content p {
  color: #58656b;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 21, 33, 0.55);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}

.modal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 25px;
}

.modal-meta div {
  padding: 15px;
  background: #e8e0d2;
}

.modal-meta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.78rem;
}

.modal-meta span {
  font-size: 0.9rem;
}

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

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 23px;
    background: var(--navy);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.active {
    display: flex;
  }

  .about-grid,
  .development-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mineral-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 23px;
    background: var(--navy);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.active {
    display: flex;
  }

  .about-grid,
  .development-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mineral-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 570px) {
  section {
    padding: 80px 0;
  }

  .project-grid,
  .mineral-grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .button.secondary {
    margin-top: 12px;
    margin-left: 0;
  }

  .contact-box {
    display: block;
    padding: 29px;
  }

  .contact-box .button {
    margin-top: 25px;
  }

  .modal-body {
    padding: 30px 22px;
  }

  .modal-meta {
    grid-template-columns: 1fr;
  }
}
