/* Lynx Mining & Exploration Services – earthy theme */
:root {
  /* Soil-inspired palette (aligned with logo) */
  --soil-dark: #5c3d2e;
  --soil-mid: #7d5a4a;
  --soil-warm: #9b7355;
  --terracotta: #b85c38;
  --terracotta-light: #c97b5a;
  --sand: #e8dcc8;
  --sand-light: #f5f0e8;
  --cream: #faf8f5;
  --charcoal: #2d2a26;
  --charcoal-soft: #4a4540;
  --white: #ffffff;
  --text: var(--charcoal);
  --text-muted: var(--charcoal-soft);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
}

a:hover {
  color: var(--terracotta-light);
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  background: var(--white);
  padding: 0.75rem 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.construction-banner {
  width: 100%;
  padding: 0.4rem 1.25rem;
  background: var(--soil-dark);
  color: var(--sand);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-link {
  display: block;
}

.logo {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--terracotta);
  text-decoration: none;
}

.btn-capability {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}

.btn-capability:hover {
  background: var(--terracotta-light);
  color: var(--white) !important;
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--soil-dark) 0%, var(--soil-mid) 40%, var(--terracotta) 100%);
  color: var(--white);
  padding: 3rem 1.25rem 4rem;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1.25rem;
}

.hero-intro {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.65;
}

.hero .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--white);
  color: var(--soil-dark);
}

.btn-primary:hover {
  background: var(--sand-light);
  color: var(--charcoal);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--soil-dark);
  margin: 0 0 2rem;
  text-align: center;
}

/* Services */
.section-services {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.service-card:last-child {
  margin-bottom: 0;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--soil-dark);
  margin: 0 0 0.5rem;
}

.service-desc {
  margin: 0 0 0.75rem;
  color: var(--text);
}

.service-list {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.service-list li {
  margin-bottom: 0.25rem;
}

.service-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Projects */
.section-projects {
  background: var(--sand-light);
}

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--sand);
  margin-bottom: 1.5rem;
}

.project-card:last-child {
  margin-bottom: 0;
}

.project-media {
  aspect-ratio: 16 / 10;
  background: var(--sand);
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 1.25rem 1.5rem;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--soil-dark);
  margin: 0 0 0.5rem;
}

.project-content p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
}

/* Contact */
.section-contact {
  background: linear-gradient(180deg, var(--soil-mid) 0%, var(--soil-dark) 100%);
  color: var(--white);
}

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

.contact-card {
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-name {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.contact-role {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.contact-detail {
  margin: 0 0 0.5rem;
}

.contact-detail a {
  color: var(--sand);
}

.contact-detail a:hover {
  color: var(--white);
  text-decoration: none;
}

.contact-label {
  margin-right: 0.35rem;
}

/* Footer */
.site-footer {
  background: var(--white);
  color: var(--charcoal);
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-top: 1px solid var(--sand);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 0.75rem;
  opacity: 0.9;
}

.footer-text {
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (min-width: 640px) {
  .logo {
    height: 73px;
  }

  .project-card {
    grid-template-columns: 280px 1fr;
  }

  .project-media {
    aspect-ratio: auto;
    min-height: 160px;
  }
}

@media (min-width: 900px) {
  .project-card {
    grid-template-columns: 340px 1fr;
  }
}
