/* ============================================================
   JODHANA STONES MINES — Design System
   Converted from React/Tailwind/Lovable to Vanilla CSS
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700;800&display=swap');

/* ── CSS Custom Properties (Token System) ──────────────────── */
:root {
  /* Brand palette — oklch converted to hex/hsl equivalents */
  --sand:        #f0e8d5;   /* oklch(0.94 0.025 75)  sand beige */
  --sand-deep:   #e6d8b8;   /* oklch(0.88 0.04  70)  deeper sand */
  --stone:       #b8a89a;   /* oklch(0.72 0.012 60)  stone grey */
  --charcoal:    #2e2926;   /* oklch(0.24 0.012 60)  charcoal */
  --earth:       #7a5c3e;   /* oklch(0.42 0.07  45)  earth brown */
  --rust:        #a0572a;   /* oklch(0.55 0.13  40)  warm accent */

  --background:        #faf8f4;
  --foreground:        #2b2521;
  --card:              #ffffff;
  --card-foreground:   #2b2521;
  --primary:           #2e2926;
  --primary-foreground:#faf8f4;
  --secondary:         #f0e8d5;
  --secondary-foreground: #2e2926;
  --muted:             #f2ede4;
  --muted-foreground:  #7a6e63;
  --accent:            #a0572a;
  --accent-foreground: #faf8f4;
  --border:            #ddd3c0;
  --input:             #ddd3c0;
  --ring:              #a0572a;

  --radius:     0.5rem;

  --shadow-elegant: 0 10px 30px -12px rgba(46, 41, 38, 0.18);
  --shadow-soft:    0 4px  16px  -6px rgba(46, 41, 38, 0.12);
  --gradient-warm:  linear-gradient(135deg, #f0e8d5 0%, #e6d8b8 100%);
  --gradient-earth: linear-gradient(135deg, #7a5c3e 0%, #a0572a 100%);
  --gradient-hero:  linear-gradient(180deg, rgba(30,24,20,0.55) 0%, rgba(30,24,20,0.85) 100%);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout Utility ─────────────────────────────────────────── */
.container-x {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
  max-width: 80rem;
}
@media (min-width: 640px)  { .container-x { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-x { padding-inline: 2rem; } }

/* ── Animation Utilities ────────────────────────────────────── */
/* Page entry animations */
body {
  opacity: 0;
  animation: bodyFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes bodyFadeIn {
  to { opacity: 1; }
}

.hero-inner > *, .page-hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-inner > *:nth-child(1), .page-hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2), .page-hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(3), .page-hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(4), .page-hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(5), .page-hero-content > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered reveals */
.animate-ready {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.animate-ready.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Image reveal scaling effect */
.img-reveal-wrap {
  overflow: hidden;
  position: relative;
}
.img-reveal-wrap img {
  transform: scale(1.12);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.img-reveal-wrap.in-view img {
  transform: scale(1);
}

/* Timeline animations */
.timeline::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline.in-view::before {
  transform: scaleY(1);
}
.timeline-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Premium hovers */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  will-change: transform, box-shadow;
}
.hover-lift:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px -15px rgba(46, 41, 38, 0.15), 0 0 0 1px rgba(160, 87, 42, 0.1);
  border-color: var(--accent);
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,248,244,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.scrolled {
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -15px rgba(46,41,38,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem; /* Increased for mobile logo size */
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
  .header-inner {
    height: 6.8rem; /* Increased for desktop logo size */
  }
}
.site-header.scrolled .header-inner {
  height: 4.8rem; /* Smooth height shrink on scroll mobile */
}
@media (min-width: 768px) {
  .site-header.scrolled .header-inner {
    height: 5.5rem; /* Smooth height shrink on scroll desktop */
  }
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.35rem 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar-logo {
  height: 4.5rem;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 0.375rem;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
  .navbar-logo {
    height: 7rem;
  }
}
.site-header.scrolled .navbar-logo {
  height: 3.8rem;
}
@media (min-width: 768px) {
  .site-header.scrolled .navbar-logo {
    height: 4.6rem;
  }
}
.logo-icon {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  transition: transform 0.2s;
}
.logo-link:hover .logo-icon { transform: scale(1.05); }
.logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) { .logo-name { font-size: 1.125rem; } }
.logo-sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}
@media (min-width: 768px) { .logo-sub { font-size: 0.75rem; } }

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(43,37,33,0.80);
  border-radius: 0.375rem;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header right */
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.btn-call {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.btn-call:hover { opacity: 0.9; }
@media (min-width: 768px) { .btn-call { display: inline-flex; } }

/* Hamburger button */
.menu-btn {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  transition: background 0.2s;
}
.menu-btn:hover { background: var(--secondary); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.menu-btn svg { width: 1.25rem; height: 1.25rem; }

/* Mobile menu */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.mobile-nav.open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

.mobile-nav-inner {
  padding-block: 0.75rem;
  display: flex;
  flex-direction: column;
}
.mobile-nav-link {
  padding-block: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(221,211,192,0.60);
  color: var(--foreground);
  transition: color 0.2s;
}
.mobile-nav-link:last-of-type { border-bottom: none; }
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--accent); font-weight: 600; }

.btn-call-mobile {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  margin-top: 4rem;
}

.footer-grid {
  padding-block: 3.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: repeat(2,1fr); align-items: start; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; align-items: start; } }

.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo-img {
  height: 4.5rem;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 0.5rem;
}
.footer-logo-icon {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-foreground);
  flex-shrink: 0;
}
.footer-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
}
.footer-logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.70;
}
.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.80;
  line-height: 1.6;
}

.footer-col-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-list { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; opacity: 0.85; }
.footer-list a:hover { color: var(--accent); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; opacity: 0.85; }
.footer-contact-item { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-contact-item svg { width: 1rem; height: 1rem; margin-top: 0.125rem; flex-shrink: 0; color: var(--accent); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-contact-item .break-all { word-break: break-all; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-bottom-inner {
  padding-block: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.70;
  text-align: center;
}
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; text-align: left; } }
.footer-powered {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  opacity: 0.70;
  white-space: nowrap;
}
.footer-powered a {
  color: var(--accent);
  font-weight: 600;
  transition: opacity 0.2s;
}
.footer-powered a:hover { opacity: 0.85; }

/* ── WHATSAPP FAB ───────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: grid;
  place-items: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6);
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.10); }
.whatsapp-fab svg { width: 1.75rem; height: 1.75rem; }

/* ── HERO (HOME) ────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--primary-foreground);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { min-height: 92vh; } }

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05); /* Dims slightly more and sharpens contrast for stellar text readability */
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,16,14,0.65) 0%, rgba(20,16,14,0.55) 40%, rgba(10,8,7,0.92) 100%);
  z-index: -1;
}
.hero-content { position: relative; z-index: 2; padding-block: 5rem 7rem; }
@media (min-width: 768px) { .hero-content { padding-block: 7rem; } }
.hero-inner { max-width: 48rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(4px);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  border: 1px solid rgba(255,255,255,0.20);
}
.hero-badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-title {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 6vw, 4.375rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero-desc {
  margin-top: 1.5rem;
  font-size: 1rem;
  opacity: 0.90;
  max-width: 42rem;
  line-height: 1.7;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.125rem; } }

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
  max-width: 36rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
}
@media (min-width: 768px) { .hero-stats { gap: 2rem; } }

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--primary);
  color: var(--primary-foreground);
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,16,14,0.7) 0%, rgba(10,8,7,0.92) 100%);
  z-index: -1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 4rem 6rem;
}
@media (min-width: 768px) { .page-hero-content { padding-block: 6rem; } }
.page-hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .page-hero-eyebrow { font-size: 0.875rem; } }
.page-hero-title {
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-weight: 700;
  max-width: 48rem;
  line-height: 1.1;
}
.page-hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1rem;
  opacity: 0.85;
  max-width: 42rem;
  line-height: 1.7;
}
@media (min-width: 768px) { .page-hero-subtitle { font-size: 1.125rem; } }

/* ── SECTION WRAPPER ────────────────────────────────────────── */
.section {
  position: relative;
  padding-block: 4rem 6rem;
}
@media (min-width: 768px) { .section { padding-block: 6rem; } }

.section-bg-secondary { background: var(--secondary); }
.section-bg-charcoal  { background: var(--charcoal); color: var(--primary-foreground); }
.section-bg-primary   { background: var(--primary);  color: var(--primary-foreground); }
.section-overlay {
  position: relative;
  isolation: isolate;
}
.section-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,24,20,0.94) 0%, rgba(46,41,38,0.85) 100%);
  z-index: -1;
}

/* ── EYEBROW / SECTION HEADER ───────────────────────────────── */
.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--accent);
}
.section-header { text-align: center; max-width: 42rem; margin-inline: auto; }
.section-header.left { text-align: left; margin-inline: 0; }
.section-title { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; margin-top: 0.75rem; }
.section-title.invert { color: var(--primary-foreground); }

/* ── STAT COMPONENT ─────────────────────────────────────────── */
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
}
@media (min-width: 768px) { .stat-num { font-size: 1.875rem; } }
.stat-num.accent { color: var(--accent); }
.stat-label {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.75;
  color: var(--muted-foreground);
}
.stat-label.light { color: var(--muted-foreground); opacity: 1; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(160, 87, 42, 0.35);
}
.btn:active {
  transform: translateY(0);
}
.btn-accent          { background: var(--accent); color: var(--accent-foreground); padding: 0.875rem 1.5rem; }
.btn-accent-sm       { background: var(--accent); color: var(--accent-foreground); padding: 0.625rem 1.25rem; }
.btn-ghost           { background: rgba(255,255,255,0.10); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.30); color: var(--primary-foreground); padding: 0.875rem 1.5rem; }
.btn-ghost:hover     { background: rgba(255,255,255,0.25); }
.btn-ghost-dark      { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.20); color: var(--primary-foreground); padding: 1rem 1.5rem; }
.btn-ghost-dark:hover{ background: rgba(255,255,255,0.18); }
.btn-outline         { border: 1px solid var(--border); background: transparent; color: var(--foreground); padding: 0.625rem 1.25rem; }
.btn-outline:hover   { background: var(--secondary); border-color: var(--accent); }
.btn-link            { color: var(--accent); font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.375rem; transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-link:hover      { gap: 0.625rem; }

/* ── FEATURE CARDS (Why Choose Us) ─────────────────────────── */
.feature-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature-icon {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: var(--radius);
  background: rgba(160,87,42,0.10);
  color: var(--accent);
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; }
.feature-card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.feature-card p  { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* ── PRODUCTS GRID (home overview) ─────────────────────────── */
.products-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 1.25rem; }
.product-card-body h3 { font-size: 1.125rem; font-weight: 600; }
.product-card-body p  { margin-top: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ── SERVICES TILES (home dark) ────────────────────────────── */
.service-grid-dark {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .service-grid-dark { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid-dark { grid-template-columns: repeat(4, 1fr); } }

.service-tile {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.service-tile svg { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.service-tile h3  { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; }
.service-tile p   { margin-top: 0.375rem; font-size: 0.875rem; opacity: 0.80; line-height: 1.6; }

/* ── GALLERY PREVIEW (4 images) ─────────────────────────────── */
.gallery-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) { .gallery-grid { gap: 1rem; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── FULL GALLERY GRID ──────────────────────────────────────── */
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px)  { .gallery-full-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .gallery-full-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-full-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}
.gallery-full-item .aspect-sq { aspect-ratio: 1/1; overflow: hidden; }
.gallery-full-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-full-item:hover img { transform: scale(1.05); }
.gallery-full-item figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-box {
  border-radius: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 2rem 2rem 2rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-box { padding: 3.5rem; } }
@media (min-width: 1024px) { .cta-box { grid-template-columns: 1.4fr 1fr; } }
.cta-box-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.30;
  background-image: linear-gradient(135deg, rgba(160,87,42,0.4), transparent 60%);
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  pointer-events: none;
}
.cta-box > * { position: relative; }
.cta-box h2  { font-size: clamp(1.875rem, 3.5vw, 2.5rem); font-weight: 700; }
.cta-box p   { margin-top: 1rem; opacity: 0.85; max-width: 36rem; }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; align-self: center; }

/* ── MAP SECTION ────────────────────────────────────────────── */
.map-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .map-grid { grid-template-columns: 1fr 1.5fr; } }

.map-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: var(--card);
}
.map-card h3   { font-size: 1.25rem; font-weight: 600; }
.map-card p    { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.map-card ul   { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.map-card li   { display: flex; align-items: flex-start; gap: 0.5rem; }
.map-card li svg { width: 1rem; height: 1rem; margin-top: 0.125rem; flex-shrink: 0; color: var(--accent); }
.map-card li a:hover { color: var(--accent); }
.map-card .break-all { word-break: break-all; }
.map-iframe-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 20rem;
}
.map-iframe-wrap iframe { width: 100%; height: 100%; min-height: 20rem; display: block; border: 0; }

/* ── TWO-COL INTRO GRID ─────────────────────────────────────── */
.two-col {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .two-col { grid-template-columns: repeat(2, 1fr); } }

.intro-img-wrap { position: relative; padding-bottom: 2rem; padding-left: 1.5rem; }
.intro-img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-elegant); width: 100%; height: auto; }
.intro-badge {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--card);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-elegant);
  border: 1px solid var(--border);
  max-width: 14rem;
}
@media (min-width: 768px) { .intro-badge { display: block; } }
.intro-badge-num  { font-family: 'Playfair Display', Georgia, serif; font-size: 1.875rem; font-weight: 700; color: var(--accent); }
.intro-badge-text { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.15em; }

.check-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) { .check-list { grid-template-columns: repeat(2, 1fr); } }

.check-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; }
.check-item svg { width: 1.25rem; height: 1.25rem; color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }

/* ── MINING STATS BLOCK ─────────────────────────────────────── */
.stats-2x2 {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── MISSION/VISION CARDS ───────────────────────────────────── */
.mv-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .mv-grid { grid-template-columns: repeat(2, 1fr); } }

.mv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}
.mv-card .feature-icon { margin-bottom: 0; }
.mv-card h3 { margin-top: 1.25rem; font-size: 1.5rem; font-weight: 700; }
.mv-card p  { margin-top: 0.75rem; color: var(--muted-foreground); line-height: 1.7; }

/* ── FOUNDER CARD ───────────────────────────────────────────── */
.founder-card {
  max-width: 48rem;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .founder-card { padding: 3rem; } }
.founder-avatar {
  display: grid;
  place-items: center;
  margin-inline: auto;
  height: 6rem;
  width: 6rem;
  border-radius: 50%;
  background: rgba(160,87,42,0.10);
  color: var(--accent);
}
.founder-avatar svg { width: 3rem; height: 3rem; }
.founder-card h3 { margin-top: 1.5rem; font-size: 1.5rem; font-weight: 700; }
.founder-card .sub { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.15em; }
.founder-card p  { margin-top: 1.25rem; color: var(--muted-foreground); line-height: 1.7; }

/* ── CAPABILITIES GRID (About dark section) ─────────────────── */
.cap-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }

.cap-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.cap-card svg { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.cap-card h3  { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; }
.cap-card p   { margin-top: 0.375rem; font-size: 0.875rem; opacity: 0.80; line-height: 1.6; }

/* ── SERVICES PAGE CARDS ────────────────────────────────────── */
.services-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.service-card .feature-icon { margin-bottom: 0; }
.service-card h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 600; }
.service-card p  { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* ── PRODUCTS PAGE (alternating rows) ──────────────────────── */
.product-rows { display: flex; flex-direction: column; gap: 2.5rem; }

.product-row {
  display: grid;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  align-items: center;
}
@media (min-width: 1024px) { .product-row { grid-template-columns: repeat(2, 1fr); } }

.product-row-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
@media (min-width: 1024px) { .product-row-img { aspect-ratio: auto; height: 100%; } }
.product-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-row:hover .product-row-img img { transform: scale(1.05); }

.product-row-body { padding: 1.75rem; }
@media (min-width: 768px) { .product-row-body { padding: 2.5rem; } }

.product-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--accent);
}
.product-row h2  { margin-top: 0.5rem; font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; }
.product-row p   { margin-top: 1rem; color: var(--muted-foreground); line-height: 1.7; }
.product-apps-label {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: rgba(43,37,33,0.70);
  margin-bottom: 0.5rem;
}
.product-apps { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-app-tag {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
}
.product-row-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Alternate image right on desktop */
@media (min-width: 1024px) {
  .product-row.alt .product-row-img { order: 2; }
}

/* ── CONTACT PAGE ───────────────────────────────────────────── */
.action-cards {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) { .action-cards { grid-template-columns: repeat(3, 1fr); } }

.action-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.action-card .feature-icon { margin-bottom: 0; }
.action-card h3  { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 600; }
.action-card p   { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.action-card .cta-link {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s;
}
.action-card:hover .cta-link { gap: 0.625rem; }

.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
}
@media (min-width: 768px) { .contact-form-card { padding: 2.5rem; } }
.contact-form-card h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; }
.contact-form-card .sub { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

.form-grid { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.form-row-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: repeat(2, 1fr); } }

.form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(43,37,33,0.70);
}
.input-wrap { position: relative; }
.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
}
.input-icon svg { width: 1rem; height: 1rem; }
.form-input, .form-textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background: var(--background);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input  { padding: 0.625rem 0.75rem 0.625rem 2.5rem; }
.form-input.no-icon { padding-inline: 0.75rem; }
.form-textarea { padding: 0.625rem 0.75rem; resize: vertical; }
.form-input:focus, .form-textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(160,87,42,0.18);
}

.form-success {
  margin-top: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(160,87,42,0.30);
  background: rgba(160,87,42,0.08);
  padding: 1.5rem;
  font-size: 0.875rem;
}
.form-success .success-title { font-weight: 600; color: var(--accent); margin-bottom: 0.25rem; }
.form-success p { color: var(--muted-foreground); }

.business-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
}
.business-card h3 { font-size: 1.25rem; font-weight: 600; }
.business-card ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
.business-card li { display: flex; gap: 0.75rem; align-items: flex-start; }
.business-card li svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.125rem; color: var(--accent); }
.business-card li a:hover { color: var(--accent); }
.business-card li .break-all { word-break: break-all; }
.biz-name { font-weight: 600; }
.biz-sub  { color: var(--muted-foreground); font-size: 0.8125rem; }

.contact-details-col { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── PROJECTS GRID (embedded in About) ─────────────────────── */
.projects-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.project-card-img { aspect-ratio: 4/3; overflow: hidden; }
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-card-body { padding: 1.25rem; }
.project-card-body h3 { font-size: 1.125rem; font-weight: 600; }
.project-loc {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.project-loc svg { width: 0.875rem; height: 0.875rem; }
.project-card-body p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ── OUR STORY PAGE ─────────────────────────────────────────── */
.story-intro {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  padding-block: 4rem 2rem;
}
@media (min-width: 768px) { .story-intro { padding-block: 5rem 2rem; } }
.story-intro p {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-top: 1rem;
}
@media (min-width: 768px) { .story-intro p { font-size: 1.125rem; } }

/* Timeline */
.timeline { position: relative; padding-block: 2rem 4rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--sand-deep));
}
@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .timeline-item {
    padding-left: 0;
    padding-bottom: 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}

/* Timeline columns */
.timeline-img-col {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}
.timeline-img-col img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-item:hover .timeline-img-col {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}
.timeline-item:hover .timeline-img-col img {
  transform: scale(1.04);
}

.timeline-content-col {
  display: flex;
  flex-direction: column;
  position: relative;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-img-col {
    grid-column: 1;
    grid-row: 1;
  }
  .timeline-item:nth-child(odd) .timeline-content-col {
    grid-column: 2;
    grid-row: 1;
    padding-left: 2rem;
  }
  .timeline-item:nth-child(even) .timeline-img-col {
    grid-column: 2;
    grid-row: 1;
  }
  .timeline-item:nth-child(even) .timeline-content-col {
    grid-column: 1;
    grid-row: 1;
    padding-right: 2rem;
  }
}

/* Timeline dot */
.tl-dot {
  position: absolute;
  left: 0.75rem;
  top: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--background);
  box-shadow: 0 0 0 2px var(--accent);
  z-index: 1;
}
@media (min-width: 768px) {
  .tl-dot {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.tl-year-block { display: flex; flex-direction: column; }

.tl-year {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
@media (min-width: 768px) { .tl-year { font-size: 2.5rem; } }
.tl-era {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.tl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  margin-top: 1rem;
}
@media (min-width: 768px) { .tl-card { margin-top: 1.25rem; } }
.tl-card h3  { font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.tl-card p   { margin-top: 0.625rem; font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.7; }
.tl-card .highlight {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(160,87,42,0.08);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
}

/* Highlight card (relaunch) */
.tl-card.highlight-card {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--accent);
  box-shadow: 0 8px 32px -8px rgba(160,87,42,0.4);
}
.tl-card.highlight-card h3 { color: var(--primary-foreground); }
.tl-card.highlight-card p  { color: rgba(250,248,244,0.85); }
.tl-card.highlight-card .highlight { color: #fbbf6a; background: rgba(160,87,42,0.25); }

/* Story quote */
.story-quote {
  margin-block: 2rem 1rem;
  background: var(--secondary);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.story-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  pointer-events: none;
}
.story-quote blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.5;
  max-width: 40rem;
  margin-inline: auto;
  position: relative;
}
.story-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ── FLEX SECTION HEADER WITH LINK ──────────────────────────── */
.section-header-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

/* ── MINING EXPERTISE SECTION ───────────────────────────────── */
.expertise-img {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 20rem;
}
.expertise-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── UTILITY ─────────────────────────────────────────────────── */
.mt-3  { margin-top: 0.75rem;  }
.mt-4  { margin-top: 1rem;     }
.mt-5  { margin-top: 1.25rem;  }
.mt-6  { margin-top: 1.5rem;   }
.mt-7  { margin-top: 1.75rem;  }
.mt-8  { margin-top: 2rem;     }
.mt-10 { margin-top: 2.5rem;   }
.mt-12 { margin-top: 3rem;     }
.mt-14 { margin-top: 3.5rem;   }
.text-center { text-align: center; }
.max-w-2xl { max-width: 42rem; }
.mx-auto   { margin-inline: auto; }

/* SVG icons inline sizing */
.icon-sm { width: 1rem;    height: 1rem;    display: inline-block; vertical-align: middle; }
.icon-md { width: 1.25rem; height: 1.25rem; display: inline-block; vertical-align: middle; }
.icon-lg { width: 1.5rem;  height: 1.5rem;  display: inline-block; vertical-align: middle; }

/* ── LEADERSHIP SECTION ───────────────────────────────────────── */
.leadership-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:35px;
}

.leader-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    text-align:center;
    transition:.35s;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-soft);
}

.leader-card:hover{
    transform:translateY(-8px);
    box-shadow: var(--shadow-elegant);
}

.leader-image{
    width:100%;
    height:350px; /* Reduced from 420px to prevent severe side-cropping on landscape/square images */
    overflow:hidden;
    border-radius:18px 18px 0 0;
    background:#fcfbfa;
}

.leader-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center top;
    /* Softly fade the waistline to prevent hard cut-off edges
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 82%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 82%, rgba(0,0,0,0) 100%); */
}

.leader-content{
    padding:25px;
}

.leader-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.leader-content h3{
    font-size:19px;
    font-weight:700;
    color:#111;
    margin-bottom:18px;
    line-height:1.45;
}

.leader-content h3 span{
    font-weight:600;
    color: var(--accent);
}

.leader-content p{
    font-size:15px;
    line-height:1.8;
    color: var(--muted-foreground);
}

/* Highlight main card layout */
.leader-card.highlight-main {
    border: 2px solid var(--accent);
    box-shadow: 0 15px 35px -12px rgba(160, 87, 42, 0.25);
    background: linear-gradient(to bottom right, #ffffff, #faf8f4);
}

.leader-card.highlight-main:hover {
    box-shadow: 0 25px 50px -12px rgba(160, 87, 42, 0.35);
}

@media (min-width: 768px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .leader-card.highlight-main {
        grid-column: span 2;
        display: flex;
        flex-direction: row;
        text-align: left;
        align-items: stretch;
    }
    .leader-card.highlight-main .leader-image {
        width: 320px;
        height: auto;
        min-height: 365px;
        flex-shrink: 0;
        border-radius: 18px 0 0 18px;
    }
    .leader-card.highlight-main .leader-image img {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    }
    .leader-card.highlight-main .leader-content {
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .leader-card.highlight-main {
        grid-column: span 6;
    }
    .leader-card:not(.highlight-main) {
        grid-column: span 3;
    }
}


/* Background image enhancements for sections */
.section-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.22;
  filter: grayscale(80%) contrast(110%);
  pointer-events: none;
}

.cta-box-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.25;
  filter: grayscale(50%) contrast(115%);
  pointer-events: none;
}
.cta-box {
  position: relative;
  isolation: isolate;
  background: var(--charcoal);
  border-radius: 1.25rem;
}
.cta-box-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,24,20,0.92) 0%, rgba(46,41,38,0.85) 100%);
  z-index: -1;
}
.cta-box > *:not(.cta-box-bg-img):not(.cta-box-overlay) {
  position: relative;
  z-index: 2;
}

/* Header Navbar Logo Text next to image */
.logo-text {
  display: none;
  flex-direction: column;
  margin-left: 0.75rem;
}
@media (min-width: 1024px) {
  .logo-text {
    display: flex;
  }
}
.logo-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--foreground);
  line-height: 1.25;
}
.logo-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-top: 0.15rem;
  font-weight: 600;
}

/* Footer logo layout */
.footer-logo-img {
  height: 5.5rem; /* Increased logo size in footer */
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}
.footer-logo-img:hover {
  transform: scale(1.05);
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  margin-left: 0.85rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.footer-social{
    display:flex;
    gap:12px;
    margin-bottom:20px;
}

.footer-social a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.08);
    color:#fff;
    text-decoration:none;
    transition:.3s ease;
}

.footer-social a:hover{
    background:#b87442;
    border-color:#b87442;
    transform:translateY(-4px);
}

.footer-social i{
    font-size:18px;
}

/* ================= Footer Brand ================= */

.footer-brand{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logo{
    height: 6rem;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logo-title{
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.5px;
     font-family: 'Playfair Display', Georgia, serif;
}

.footer-logo-subtitle{
    color: var(--accent);
    font-size: 0.95rem;
    margin-top: 4px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ================= Laptop ================= */

@media (max-width:992px){

    .footer-logo{
        height: 5rem;
    }

    .footer-logo-title{
        font-size: 1.4rem;
    }

    .footer-logo-subtitle{
        font-size: 0.9rem;
    }

}

/* ================= Tablet ================= */

@media (max-width:768px){

    .footer-brand{
        gap: 12px;
    }

    .footer-logo{
        height: 4.5rem;
    }

    .footer-logo-title{
        font-size: 1.25rem;
    }

    .footer-logo-subtitle{
        font-size: 0.85rem;
    }

    .navbar-logo{
      height: 6rem;
    }

    .site-header.scrolled .navbar-logo {
  height: 5rem;
}

}

/* ================= Mobile ================= */

@media (max-width:576px){

    .footer-brand{
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-logo{
        height: 6rem;
    }

    .footer-logo-title{
        font-size: 1.1rem;
    }

    .footer-logo-subtitle{
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

}

/* ================= Small Mobile ================= */

@media (max-width:400px){

    .footer-logo{
        height: 3.2rem;
    }

    .footer-logo-title{
        font-size: 1rem;
    }

    .footer-logo-subtitle{
        font-size: 0.7rem;
    }
}