/* ===== Sediment Mining Co LTD — Luxury Commodity Minimal ===== */
:root {
  --brandGold: #C18A1A;
  --ink: #0B0F14;
  --paper: #FCFCFB;
  --surface: #FFFFFF;
}

/* Global */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em;
  line-height: 1.2;
}
h1 { line-height: 1.1; }
h2 { line-height: 1.15; }
h3 { line-height: 1.25; }

  /* Header improvements */
  header {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(11, 15, 20, 0.06);
  }

/* Nav link (premium underline, subtle) */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.25rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(11, 15, 20, 0.78);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}
.nav-link:hover { color: rgba(11, 15, 20, 1); }
.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-0.25rem;
  height:1.5px;
  width:0;
  background: linear-gradient(90deg, transparent, var(--brandGold), transparent);
  transition: width .24s ease;
}
.nav-link:hover::after{ width:100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding: 0.78rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.btn:focus-visible {
  outline: 2px solid var(--brandGold);
  outline-offset: 2px;
}

.btn-ink {
  background: var(--ink);
  color: white;
  border-color: rgba(11,15,20,0.12);
  box-shadow: 0 10px 30px rgba(11, 15, 20, 0.12);
}
.btn-ink:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(11, 15, 20, 0.14);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(11,15,20,0.70);
}
.btn-outline:hover {
  transform: translateY(-1px);
  background: rgba(11,15,20,0.04);
  box-shadow: 0 4px 12px rgba(11, 15, 20, 0.08);
}

.btn-ghost {
  background: transparent;
  color: rgba(11,15,20,0.70);
  border-color: transparent;
}
.btn-ghost:hover {
  color: rgba(11,15,20,1);
  background: rgba(11,15,20,0.04);
}

.btn-gold {
  background: linear-gradient(135deg, #C18A1A, #E7C46B);
  color: rgba(11,15,20,0.95);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 16px 45px rgba(193, 138, 26, 0.20);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(193, 138, 26, 0.18);
}

.btn-outline-invert {
  background: transparent;
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-invert:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Premium blocks (editorial) */
.premium-block {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(11,15,20,0.08);
  border-radius: 18px;
  padding: 1.4rem 1.4rem;
  box-shadow: 0 4px 16px rgba(11, 15, 20, 0.04);
}
.premium-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(11,15,20,0.75);
  border: 1px solid rgba(11,15,20,0.10);
  background: linear-gradient(90deg, rgba(193,138,26,0.14), rgba(255,255,255,0.0));
}

/* Services cards */
.service-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(11,15,20,0.10);
  border-radius: 22px;
  padding: 1.5rem 1.5rem;
  box-shadow: 0 4px 16px rgba(11, 15, 20, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11, 15, 20, 0.08);
  border-color: rgba(193, 138, 26, 0.28);
}
.service-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
}
.service-tag{
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(11,15,20,0.92);
}
.service-arrow{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(11,15,20,0.04);
  color: rgba(11,15,20,0.70);
  transition: background .18s ease, color .18s ease;
}
.service-card:hover .service-arrow{
  background: rgba(193,138,26,0.16);
  color: rgba(11,15,20,0.92);
}
.service-desc{
  margin-top: 0.75rem;
  color: rgba(11,15,20,0.60);
  line-height: 1.7;
}

/* Location panel */
.location-panel{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.6rem;
  border-radius: 26px;
  border: 1px solid rgba(11,15,20,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.75));
  box-shadow: 0 26px 90px rgba(11, 15, 20, 0.08);
}
@media (min-width: 1024px){
  .location-panel{ grid-template-columns: 1.2fr 0.8fr; align-items: stretch; padding: 2rem; }
}

/* Gold glow behind hero panel */
.gold-glow { position: relative; }
.gold-glow::before{
  content:"";
  position:absolute;
  inset: -20px;
  background: radial-gradient(closest-side, rgba(193,138,26,0.26), transparent 68%);
  filter: blur(14px);
  opacity: 0.7;
  z-index: -1;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Image fallbacks */
.hero-image-fallback {
  background: linear-gradient(135deg, #C18A1A 0%, #E7C46B 50%, #C18A1A 100%);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}
.location-image-fallback {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.fallback-bg {
  background: linear-gradient(135deg, #C18A1A 0%, #E7C46B 50%, #C18A1A 100%);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-image-fallback,
  .location-image-fallback,
  .fallback-bg {
    animation: none !important;
    background: linear-gradient(135deg, #C18A1A 0%, #E7C46B 100%) !important;
  }
}
