:root {
  --bg: #0b1822;
  --bg-soft: #112833;
  --panel: #f4f5f3;
  --surface: #ffffff;
  --text: #192d33;
  --muted: #58717a;
  --brand: #d4a65d;
  --brand-deep: #b8863e;
  --brand-soft: #f2e6d6;
  --line: rgba(17, 40, 51, 0.12);
  --shadow: 0 28px 60px rgba(5, 20, 26, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #f7f5f0;
  line-height: 1.6;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-tag {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.06em;
  max-width: 740px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
  max-width: 720px;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 24, 34, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, #f5d39d 100%);
  color: #12232d;
  font-weight: 900;
}

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

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text small {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: #fff;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--brand);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.hero {
  position: relative;
  background-image: url("../images/banner.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero h1{max-width: 850px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  letter-spacing: -0.06em;

}


.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.page-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(8, 20, 29, 0.88), rgba(8, 20, 29, 0.45));
}

.page-hero .hero-content {
  padding: 110px 0 70px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 800px;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-about {
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80");
}

.hero-projects {
  background-image: url("https://images.unsplash.com/photo-1578574577315-3fbeb0cecdc2?auto=format&fit=crop&w=1800&q=80");
}

.hero-graphite {
  background-image: url("https://images.unsplash.com/photo-1518828830528-0cf2f4c2c7b2?auto=format&fit=crop&w=1800&q=80");
}

.hero-mozambique {
  background-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1800&q=80");
}

.hero-contact {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80");
}

.hero-news {
  background-image: url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1800&q=80");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 29, 0.82), rgba(8, 20, 29, 0.42));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 130px 0 110px;
}

.eyebrow {
  display: inline-block;
  background: rgba(212, 166, 93, 0.12);
  border: 1px solid rgba(212, 166, 93, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #edddb9;
  margin-bottom: 18px;
}

.hero-content p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 40px;
}

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

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #12232d;
  box-shadow: 0 14px 32px rgba(184, 134, 62, 0.25);
}

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

.btn-outline {
  border-color: rgba(17, 40, 51, 0.18);
  background: transparent;
  color: var(--text);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.hero-stats li {
  min-width: 160px;
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.79);
  font-size: 0.9rem;
}

.intro-band {
  background: var(--bg-soft);
  color: #fff;
  padding: 36px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: end;
}

.intro-grid h2 {
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  margin-bottom: 0;
  max-width: 560px;
  color: #fff;
}

.intro-grid p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: 1fr 0.95fr;
}

.two-col.top {
  align-items: start;
}

.image-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
}

.feature-list div,
.detail-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 18px 32px rgba(15, 37, 48, 0.04);
}

.feature-list strong,
.detail-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-list span,
.detail-box span,
.detail-box p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 720px;
}

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

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card,
.info-card,
.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 32px rgba(15, 37, 48, 0.04);
}

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

.card-image {
  height: 260px;
  background-size: cover;
  background-position: center;
}

.card-one {
  background-image: url("https://images.unsplash.com/photo-1578574577315-3fbeb0cecdc2?auto=format&fit=crop&w=1200&q=80");
}

.card-two {
  background-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1200&q=80");
}

.card-three {
  background-image: url("https://images.unsplash.com/photo-1518828830528-0cf2f4c2c7b2?auto=format&fit=crop&w=1200&q=80");
}

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

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3,
.info-card h3,
.content-card h3 {
  margin-top: 16px;
  font-size: 1.5rem;
  color: var(--text);
}

.project-card .card-body a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--brand-deep);
  font-weight: 700;
}

.graphite-section,
.soft-section {
  background: linear-gradient(180deg, rgba(237, 233, 222, 0.5), rgba(255, 255, 255, 0.9));
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-deep);
  font-weight: 800;
}

.stats-panel,
.highlight-panel {
  display: grid;
  gap: 18px;
}

.metric-box,
.highlight-box {
  background: linear-gradient(180deg, #0f2530, #0b1d27);
  color: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.metric-box strong,
.highlight-box strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.metric-box span,
.highlight-box span,
.highlight-box p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.mozambique-section,
.alt-section {
  background: #edf1ef;
}

.info-card {
  padding: 28px 22px 24px;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(212, 166, 93, 0.2), rgba(212, 166, 93, 0.5));
  color: var(--brand-deep);
  font-weight: 800;
}

.cta-band {
  background: linear-gradient(135deg, #0b1822, #163443);
  color: #fff;
  padding: 72px 0;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact-section {
  background: linear-gradient(180deg, #0b1822 0%, #102530 100%);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 40px;
  align-items: start;
}

.contact-copy h2,
.contact-copy p,
.contact-copy strong {
  color: #fff;
}

.contact-details {
  margin-top: 22px;
}

.contact-details p {
  margin-bottom: 10px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 13px 14px;
  color: #fff;
}

.contact-form option {
  color: #12232d;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.light-contact {
  background: #fff;
  color: var(--text);
}

.light-contact .contact-copy h2,
.light-contact .contact-copy p,
.light-contact .contact-copy strong {
  color: var(--text);
}

.light-contact .contact-copy p {
  color: var(--muted);
}

.light-contact .contact-form {
  background: #f7f5f0;
  border-color: var(--line);
}

.light-contact .contact-form label {
  color: var(--text);
}

.light-contact .contact-form input,
.light-contact .contact-form textarea,
.light-contact .contact-form select {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.prose-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.prose-list li {
  margin-bottom: 10px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 32px rgba(15, 37, 48, 0.04);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

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

.data-table th {
  background: #112833;
  color: #fff;
  font-size: 0.92rem;
}

.data-table td {
  color: var(--muted);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.news-list {
  display: grid;
  gap: 28px;
}

.news-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 32px rgba(15, 37, 48, 0.04);
}

.news-card.featured {
  grid-template-columns: 1.05fr 1fr;
}

.news-card-media {
  display: block;
  min-height: 240px;
  overflow: hidden;
}

.news-card.featured .news-card-media {
  min-height: 360px;
}

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

.news-card:hover .news-card-media img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.news-meta time {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.news-card-body h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.news-card-body h3 a {
  color: var(--text);
}

.news-card-body h3 a:hover,
.news-card-body h3 a:focus-visible {
  color: var(--brand-deep);
}

.news-card-body p {
  margin-bottom: 20px;
}

.news-link {
  margin-top: auto;
  color: var(--brand-deep);
  font-weight: 700;
}

.news-link:hover,
.news-link:focus-visible {
  text-decoration: underline;
}

.news-detail-summary {
  max-width: 760px;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 36px;
  align-items: start;
}

.news-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 32px rgba(15, 37, 48, 0.04);
}

.news-article-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.news-article-content {
  padding: 36px 34px 12px;
}

.news-article-content p {
  font-size: 1.06rem;
  line-height: 1.75;
}

.news-article-content h2 {
  margin-top: 28px;
  font-size: 1.7rem;
  max-width: none;
}

.news-article-content ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--muted);
}

.news-article-content li {
  margin-bottom: 10px;
}

.news-article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 34px 34px;
}

.news-sidebar {
  display: grid;
  gap: 22px;
}

.news-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 18px 32px rgba(15, 37, 48, 0.04);
}

.news-sidebar-card h3 {
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.related-news {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.related-news li a {
  display: block;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}

.related-news li a:hover,
.related-news li a:focus-visible {
  color: var(--brand-deep);
}

.related-news time {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.sidebar-links {
  display: grid;
  gap: 12px;
}

.sidebar-links a {
  color: var(--brand-deep);
  font-weight: 700;
}

.site-footer {
  background: #f7f5f0;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: rgba(11, 24, 34, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
  }

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

  .main-nav a.active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .intro-grid,
  .two-col,
  .contact-grid,
  .three-up,
  .two-up,
  .news-card,
  .news-card.featured,
  .news-detail-layout {
    grid-template-columns: 1fr;
  }

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

  .news-card-media,
  .news-card.featured .news-card-media {
    min-height: 220px;
  }

  .news-article-image img {
    height: 280px;
  }

  .news-article-content,
  .news-article-footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 76px 0;
  }

  .hero-content,
  .page-hero .hero-content {
    padding-top: 102px;
    padding-bottom: 84px;
  }

  .hero-stats {
    gap: 16px;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 22px 0;
  }
}
