/*
Theme Name: Auric Metal Corp
Theme URI: https://auricmetalcorp.com
Author: Auric Build Team
Author URI: https://auricmetalcorp.com
Description: Custom theme for Auric Metal Corp — precious metals mining, refining, vaulting and bullion trading. Includes secure Investor Portal presentation layer.
Version: 2.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: auric-metal-corp
Tags: business, finance, custom-menu, custom-logo, responsive
*/

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

:root {
  --bg-primary: #0A0E1A;
  --bg-secondary: #0F1628;
  --bg-card: #141D35;
  --bg-elevated: #1A2545;
  --text-primary: #F0F2F4;
  --text-secondary: #959FB5;
  --text-muted: #5E6B8A;
  --gold: #CD7F32;
  --gold-light: #E09E5A;
  --gold-dark: #B06828;
  --gold-subtle: rgba(205, 127, 50, 0.08);
  --gold-glow: rgba(205, 127, 50, 0.15);
  --border-subtle: rgba(205, 127, 50, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(205, 127, 50, 0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(10,14,26,0.95) 60%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img,
.nav-logo .custom-logo {
  height: 54px;
  width: auto;
  max-width: 260px;
  border-radius: 0;
  display: block;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.footer-brand .nav-logo-text { margin-bottom: 16px; display: inline-block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links > a, .nav-dropdown > a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-links > a::after, .nav-dropdown > a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links > a:hover, .nav-dropdown > a:hover { color: var(--gold); }
.nav-links > a:hover::after, .nav-dropdown > a:hover::after { width: 100%; }
.nav-links > a.active, .nav-dropdown.active > a { color: var(--gold); }
.nav-links > a.active::after, .nav-dropdown.active > a::after { width: 100%; }

.nav-login-btn {
  background: var(--gold);
  color: #0A0E1A !important;
  padding: 8px 20px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all .2s !important;
  text-decoration: none;
}
.nav-login-btn:hover {
  background: #b86e2a;
  color: #0A0E1A !important;
}
.nav-login-btn::after { display: none !important; }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a .arrow { font-size: 8px; transition: var(--transition); }
.nav-dropdown:hover > a .arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav-dropdown-menu a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  color: var(--gold);
  background: var(--gold-subtle);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(205,127,50,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 70% 80%, rgba(205,127,50,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 50%, #0A0E1A 0%, #0A0E1A 100%);
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.85) 0%, rgba(10,14,26,0.4) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-subtle);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 800px;
}
.hero h1 .highlight {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
  color: var(--bg-primary);
}
.btn-primary svg { width: 18px; height: 18px; transition: var(--transition); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  font-family: var(--font-sans);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}
.hero-stat h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--gold);
  font-weight: 600;
}
.hero-stat p {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* ── Section Common ── */
section { padding: 100px 48px; }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title .highlight {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.section-header {
  margin-bottom: 60px;
}

/* ── Services Grid (4 cards) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-card .icon-box {
  width: 52px; height: 52px;
  background: var(--gold-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card .icon-box svg { width: 26px; height: 26px; color: var(--gold); }
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── About Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 60px rgba(10,14,26,0.6);
}
.about-image .accent-block {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
}
.about-content h2 { margin-bottom: 24px; }
.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}
.about-content strong { color: var(--gold); font-weight: 500; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.about-feature svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* ── Services Overview (cards with images) ── */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.overview-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.overview-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-glow);
}
.overview-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.overview-card-body { padding: 28px; }
.overview-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.overview-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.overview-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.overview-card .card-link:hover { gap: 14px; }
.overview-card .card-link svg { width: 16px; height: 16px; }

/* ── Features / Why Choose Us ── */
.features-section {
  background: var(--bg-secondary);
}
.features-header {
  text-align: center;
  margin-bottom: 56px;
}
.features-header .section-desc { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-glow);
}
.feature-card .icon-circle {
  width: 56px; height: 56px;
  background: var(--gold-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card .icon-circle svg { width: 26px; height: 26px; color: var(--gold); }
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Process Steps ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.process-step:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-glow);
}
.process-step-num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--bg-primary);
}
.process-step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Values Grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 70%);
}
.cta-banner * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--bg-primary);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(0,0,0,0.6);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 32px;
}
.cta-banner .btn-primary {
  background: var(--bg-primary);
  color: var(--gold);
  display: inline-flex;
}
.cta-banner .btn-primary:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

/* ── Page Banner (inner pages) ── */
.page-banner {
  padding: 140px 48px 80px;
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(205,127,50,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgba(205,127,50,0.03) 0%, transparent 70%);
}
.page-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }
.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  margin-bottom: 16px;
}
.page-banner h1 .highlight {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-banner p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ── Content Grid (inner pages) ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.content-grid.reverse {
  direction: rtl;
}
.content-grid.reverse > * { direction: ltr; }
.content-text h2 { margin-bottom: 20px; }
.content-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-text ul { list-style: none; margin: 20px 0; }
.content-text ul li {
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
}
.content-text ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 8px;
  top: 10px;
}
.content-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.content-image img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}
.content-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 60px rgba(10,14,26,0.6);
  pointer-events: none;
}
.content-image .accent-block {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 120px; height: 120px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* ── Mining Highlight Style ── */
.mining-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── Partners ── */
.partners-section {
  background: var(--bg-secondary);
  text-align: center;
}
.partners-section .section-desc { margin: 0 auto 48px; }
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.partner-item {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
  transition: var(--transition);
}
.partner-item:hover { opacity: 1; color: var(--text-primary); }

/* ── Map ── */
.map-section { padding-bottom: 0; }
.map-section .section-title { text-align: center; margin-bottom: 40px; }
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.map-wrapper iframe { width: 100%; height: 380px; display: block; border: none; }

/* ── Leadership Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

/* ── Footer ── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 48px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand .nav-logo-text { margin-bottom: 16px; display: inline-block; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-col p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .mining-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  nav { padding: 14px 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-dropdown > a { width: 100%; padding: 10px 0; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 0 16px;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 8px 16px; white-space: normal; }
  .nav-dropdown > a .arrow { display: none; }
  .menu-toggle { display: block; }
  .container { padding: 0 24px; }
  section { padding: 60px 24px; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .services-overview-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image img { height: 300px; }
  .about-features { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .mining-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-banner { padding: 48px 32px; }
  .partners-grid { gap: 24px; }
  .hero-stats { margin-top: 36px; }
  .page-banner { padding: 110px 24px 50px; }
  .content-grid { grid-template-columns: 1fr; gap: 36px; }
  .content-grid.reverse { direction: ltr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .section-title { font-size: 26px; }
}

/* ── Fade In ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Logo sizing ───────────────────────────────────────────────────────────
   The logo is a transparent PNG cropped tight to the wordmark, supplied at 3x
   (160px tall) so it stays sharp on retina displays while rendering at 54px.
   It scales down on smaller viewports so it never crowds the menu button. */
@media (max-width: 1024px) {
  .nav-logo img,
  .nav-logo .custom-logo { height: 46px; max-width: 210px; }
}

@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-logo img,
  .nav-logo .custom-logo { height: 40px; max-width: 180px; }
}

@media (max-width: 380px) {
  .nav-logo img,
  .nav-logo .custom-logo { height: 34px; max-width: 150px; }
}

/* ── Admin bar offset ──────────────────────────────────────────────────────
   The nav is position:fixed at top:0. WordPress reserves space for its admin
   bar with `html { margin-top: 32px }`, but fixed-position elements ignore
   that margin — so for logged-in users the admin bar sits on top of the nav
   and clips the logo. Offset the nav by the admin bar height instead.
   (32px desktop / 46px on the mobile breakpoint WordPress itself uses.) */
body.admin-bar nav { top: 32px; }

@media screen and (max-width: 782px) {
  body.admin-bar nav { top: 46px; }
}
