/* Mineral Enterprises — corporate mining & trading theme */

:root {
  --color-bg: #f7f5f0;
  --color-bg-dark: #0f1a14;
  --color-bg-green: #0f1a14;
  --color-bg-gold-section: linear-gradient(180deg, #0f1a14 0%, #1a1610 35%, #252015 70%, rgba(200, 149, 46, 0.14) 100%);
  --color-bg-card: #ffffff;
  --color-primary: #1b3d2f;
  --color-primary-light: #2d5a45;
  --color-accent: #c8952e;
  --color-accent-light: #e4b04a;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-border: #e2ddd4;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(15, 26, 20, 0.06);
  --shadow-md: 0 8px 32px rgba(15, 26, 20, 0.1);
  --shadow-lg: 0 20px 60px rgba(15, 26, 20, 0.15);
  --radius: 4px;
  --max-width: 1200px;
  --header-height: 80px;
  --logo-mark-height: 48px;
  --logo-name-nudge: -5px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-muted);
  max-width: 640px;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-dark {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-dark:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(15, 26, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 149, 46, 0.15);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-shrink: 1;
  min-width: 0;
  max-width: calc(100% - 52px);
}

.logo-mark {
  height: var(--logo-mark-height);
  width: auto;
  flex-shrink: 0;
  display: block;
  line-height: 0;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.logo-mark img,
.logo-mark svg {
  height: var(--logo-mark-height);
  width: auto;
  display: block;
  object-fit: contain;
  object-position: top left;
  background: none !important;
  box-shadow: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 1;
  min-width: 0;
  padding: 0;
  margin: 0;
  min-height: var(--logo-mark-height);
  justify-content: flex-start;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-block;
  padding: 0 0 0.32rem;
  margin: var(--logo-name-nudge) 0 0;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.92);
}

.logo-tagline {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-accent);
}

.nav-desktop a.active::after,
.nav-desktop a:hover::after {
  width: 100%;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-bg-dark);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(200, 149, 46, 0.2);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.875rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-bg-dark);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 26, 20, 0.88) 0%, rgba(27, 61, 47, 0.72) 50%, rgba(15, 26, 20, 0.85) 100%),
    url("../assets/images/hero-mining.jpg") center/cover no-repeat;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8952e' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(200, 149, 46, 0.15);
  border: 1px solid rgba(200, 149, 46, 0.35);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Stats bar */
.stats-bar {
  background: var(--color-primary);
  padding: 3rem 0;
  border-top: 3px solid var(--color-accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  color: #fff;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc {
  margin-inline: auto;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Value chain timeline */
.value-chain {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.chain-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

.chain-track::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent) 8%, var(--color-accent) 92%, transparent);
  z-index: 0;
}

.chain-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.chain-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-accent-light);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chain-step:hover .chain-icon {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px var(--color-accent), 0 8px 24px rgba(27, 61, 47, 0.2);
}

.chain-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.chain-step p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Featured product card spans full width on large screens optional - keep 3 col */
.product-card--featured .product-image {
  height: 220px;
}

/* Immersive scroll section */
.scroll-story {
  background: var(--color-bg-dark);
}

.immersive-scroll {
  position: relative;
  min-height: calc(140vh + var(--step-count, 5) * 36vh);
  padding: 0;
  background: var(--color-bg-dark);
}

.immersive-scroll--compact {
  min-height: calc(120vh + var(--step-count, 1) * 28vh);
}

.immersive-bg {
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
  transition: background-image 0.6s ease, transform 0.5s ease;
}

.immersive-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 26, 20, 0.68) 0%, rgba(15, 26, 20, 0.45) 40%, rgba(15, 26, 20, 0.82) 100%);
  pointer-events: none;
  z-index: 1;
}

.immersive-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  padding-top: calc(var(--header-height) + 2rem);
}

.immersive-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.immersive-intro .section-title,
.immersive-intro .section-desc {
  color: #fff;
}

.immersive-intro .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.immersive-steps {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
  display: grid;
  gap: 14vh;
  padding-bottom: 40vh;
}

.immersive-step {
  width: min(560px, 100%);
  background: rgba(15, 26, 20, 0.62);
  border: 1px solid rgba(228, 176, 74, 0.25);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  transform: translateY(24px);
  opacity: 0.72;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.immersive-step:nth-child(even) {
  justify-self: end;
}

.immersive-step > span:not(.section-label) {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--color-accent-light);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.immersive-step .section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.immersive-step h3 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.immersive-step p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.immersive-step.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(228, 176, 74, 0.65);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.immersive-step--wide {
  width: min(720px, 100%);
}

.immersive-step--center {
  justify-self: center !important;
  text-align: center;
}

.immersive-step--center .btn {
  margin-top: 1rem;
}

.immersive-outro {
  text-align: center;
  padding-bottom: 38vh;
  margin-top: -8vh;
}

.immersive-outro .btn-outline {
  color: #fff;
  border-color: rgba(228, 176, 74, 0.65);
}

.immersive-outro .btn-outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-dark);
}

.immersive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.immersive-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(228, 176, 74, 0.18);
  color: var(--color-accent-light);
}

.immersive-step .markets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.immersive-step .market-item {
  background: rgba(228, 176, 74, 0.15);
  border: 1px solid rgba(228, 176, 74, 0.35);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
}

/* About preview */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 120px;
  height: 120px;
  background: var(--color-accent);
  z-index: -1;
  border-radius: var(--radius);
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(27, 61, 47, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1rem;
}

.about-feature strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.about-feature span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Advantages */
.advantages {
  background: var(--color-bg-dark);
  color: #fff;
}

.advantages .section-label { color: var(--color-accent); }
.advantages .section-title { color: #fff; }
.advantages .section-desc { color: rgba(255, 255, 255, 0.65); }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 149, 46, 0.15);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(200, 149, 46, 0.35);
  transform: translateY(-4px);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}

.advantage-card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.advantage-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-body {
  padding: 1.5rem;
}

.product-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: rgba(27, 61, 47, 0.08);
  color: var(--color-primary);
  border-radius: 100px;
}

/* Applications — horizontal scroll gallery */
.applications {
  background: var(--color-bg-dark);
  padding-bottom: 4rem;
  overflow: hidden;
}

.applications .section-header {
  margin-bottom: 2.5rem;
}

.applications .section-label {
  color: var(--color-accent);
}

.applications .section-title {
  color: #fff;
}

.applications .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.app-scroll-outer {
  position: relative;
  width: 100%;
}

.app-scroll-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem max(1.25rem, calc((100vw - var(--max-width)) / 2 + 1.25rem)) 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) rgba(255, 255, 255, 0.08);
}

.app-scroll-track::-webkit-scrollbar {
  height: 6px;
}

.app-scroll-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.app-scroll-track::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 999px;
}

.app-card {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(200, 149, 46, 0.2);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(228, 176, 74, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.app-card:hover img {
  transform: scale(1.06);
}

.app-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 26, 20, 0.75) 70%, rgba(15, 26, 20, 0.95) 100%);
}

.app-card-overlay span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.app-card-overlay h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.4rem;
}

.app-card-overlay p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.app-scroll-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.app-scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 149, 46, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-accent-light);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.app-scroll-btn:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border-color: var(--color-accent);
}

.app-scroll-hint {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .app-scroll-hint {
    display: block;
  }
}

@media (min-width: 769px) {
  .app-scroll-hint {
    display: none;
  }
}

/* Packaging options (products page) */
.packaging-section {
  background: var(--color-bg-dark);
  padding: 5rem 0;
}

.packaging-section .section-label {
  color: var(--color-accent);
}

.packaging-section .section-title {
  color: #fff;
}

.packaging-section .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.packaging-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.packaging-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 149, 46, 0.22);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.packaging-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(228, 176, 74, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.packaging-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(200, 149, 46, 0.15);
  border: 2px solid rgba(200, 149, 46, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1;
}

.packaging-card h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.5rem;
}

.packaging-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .packaging-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .packaging-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-inline: auto;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: var(--color-bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 26, 20, 0.95), rgba(27, 61, 47, 0.85)),
    url("../assets/images/hero-mining.jpg") center/cover;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 5px);
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid var(--color-bg);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Two column content */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.content-block h2 {
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  padding: 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.value-card h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Services */
.service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(200, 149, 46, 0.25);
  line-height: 1;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.service-list {
  margin-top: 0.75rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Quality */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cert-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.cert-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.cert-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cert-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.process-step h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(27, 61, 47, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-item a:hover {
  color: var(--color-accent);
}

.contact-form {
  background: var(--color-bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(27, 61, 47, 0.08);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
}

/* Map placeholder */
.map-placeholder {
  height: 300px;
  background: linear-gradient(135deg, #dde5df, #c8d4cc);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 3rem;
  border: 1px solid var(--color-border);
}

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-brand .footer-logo .logo-mark {
  line-height: 0;
}

.footer-brand .footer-logo .logo-mark img,
.footer-brand .footer-logo .logo-mark svg {
  height: var(--logo-mark-height);
  object-position: top left;
}

.footer-brand .footer-logo .logo-text {
  min-height: var(--logo-mark-height);
}

.footer-brand .footer-logo .logo-name {
  font-size: 1.55rem;
  margin-top: var(--logo-name-nudge);
  border-bottom-color: rgba(255, 255, 255, 0.92);
}

.footer-brand .footer-logo .logo-tagline {
  color: var(--color-accent-light);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--color-accent);
}

/* Markets strip */
.markets-strip {
  padding: 5rem 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.markets-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.market-item {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.market-item::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Site-wide brand theme — green sections followed by lighter gold */
.page-brand {
  background: var(--color-bg-green);
  color: rgba(255, 255, 255, 0.85);
}

.page-brand h2,
.page-brand h3,
.page-brand h4,
.page-brand .content-block h2,
.page-brand .section-title {
  color: #fff;
}

.page-brand .section-desc,
.page-brand .content-block p,
.page-brand .content-block li,
.page-brand .timeline-item p,
.page-brand .service-card p,
.page-brand .cert-card p,
.page-brand .process-step p,
.page-brand .contact-info > p,
.page-brand .contact-item span,
.page-brand .contact-item a {
  color: rgba(255, 255, 255, 0.65);
}

.page-brand .section-label {
  color: var(--color-accent-light);
}

/* Inner pages — alternate green then gold-tint sections */
.page-brand section.page-hero ~ section:nth-of-type(odd):not(.cta-banner):not(.advantages):not(.applications):not(.packaging-section) {
  background: var(--color-bg-green);
}

.page-brand section.page-hero ~ section:nth-of-type(even):not(.cta-banner):not(.advantages):not(.applications):not(.packaging-section),
.page-brand .section-gold {
  background: var(--color-bg-gold-section);
  border-top: 1px solid rgba(200, 149, 46, 0.2);
  border-bottom: 1px solid rgba(200, 149, 46, 0.12);
}

.page-brand .section-green {
  background: var(--color-bg-green);
}

.page-brand .value-card,
.page-brand .service-card,
.page-brand .product-card,
.page-brand .cert-card,
.page-brand .contact-form {
  background: rgba(15, 26, 20, 0.72);
  border-color: rgba(200, 149, 46, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.page-brand .service-card:hover,
.page-brand .product-card:hover {
  border-color: rgba(228, 176, 74, 0.45);
}

.page-brand .value-card h4,
.page-brand .process-step::before {
  color: var(--color-accent-light);
}

.page-brand .process-step h4 {
  color: rgba(255, 255, 255, 0.85);
}

.page-brand .contact-item-icon {
  background: rgba(200, 149, 46, 0.12);
}

.page-brand .contact-item strong {
  color: var(--color-accent-light);
}

.page-brand .form-group label {
  color: rgba(255, 255, 255, 0.75);
}

.page-brand .form-group input,
.page-brand .form-group select,
.page-brand .form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 149, 46, 0.28);
  color: #fff;
}

.page-brand .form-group input::placeholder,
.page-brand .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.page-brand .timeline {
  border-left-color: rgba(200, 149, 46, 0.35);
}

.page-brand .timeline-item::before {
  border-color: var(--color-bg-green);
}

.page-brand .product-body p {
  color: rgba(255, 255, 255, 0.62);
}

.page-brand .product-tag {
  background: rgba(200, 149, 46, 0.16);
  color: var(--color-accent-light);
}

.page-brand .btn-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 149, 46, 0.45);
  color: #fff;
}

.page-brand .btn-dark:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* Homepage sections */
.page-brand .value-chain {
  background: var(--color-bg-green);
  border-bottom: 1px solid rgba(200, 149, 46, 0.12);
}

.page-brand .value-chain .section-desc,
.page-brand #about .about-content > p,
.page-brand #products .section-desc,
.page-brand .markets-strip .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.page-brand .chain-icon {
  border-color: var(--color-bg-green);
}

.page-brand .chain-step h3 {
  color: #fff;
}

.page-brand .chain-step p {
  color: rgba(255, 255, 255, 0.58);
}

.page-brand #about {
  background: var(--color-bg-gold-section);
  border-top: 1px solid rgba(200, 149, 46, 0.2);
  border-bottom: 1px solid rgba(200, 149, 46, 0.12);
}

.page-brand .about-feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 149, 46, 0.18);
}

.page-brand .about-feature strong {
  color: #fff;
}

.page-brand .about-feature span {
  color: rgba(255, 255, 255, 0.55);
}

.page-brand #products {
  background: linear-gradient(180deg, rgba(27, 61, 47, 0.55) 0%, var(--color-primary) 100%);
}

.page-brand .markets-strip {
  background: var(--color-bg-gold-section);
  border-color: rgba(200, 149, 46, 0.15);
}

.page-brand .market-item {
  color: rgba(255, 255, 255, 0.62);
}

/* Responsive */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .chain-track {
    grid-template-columns: repeat(3, 1fr);
  }
  .chain-track::before { display: none; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  :root {
    --logo-mark-height: 40px;
    --logo-name-nudge: -4px;
  }
  .logo-name { font-size: 1.32rem; }
  .logo-tagline { font-size: 0.6rem; letter-spacing: 0.14em; }
  .footer-brand .footer-logo .logo-name { font-size: 1.32rem; }

  .about-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .chain-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 420px;
    margin-inline: auto;
  }

  .chain-track::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--color-accent) 5%, var(--color-accent) 95%, transparent);
  }

  .chain-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem 1.25rem;
    text-align: left;
    align-items: start;
  }

  .chain-icon {
    margin: 0;
    grid-row: span 2;
  }

  .chain-step h3 {
    margin-bottom: 0.25rem;
    align-self: end;
  }

  .chain-step p {
    grid-column: 2;
  }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .advantages-grid,
  .products-grid,
  .cert-grid,
  .process-steps,
  .values-grid,
  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }
  :root {
    --logo-name-nudge: -3px;
  }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .header-inner { gap: 0.5rem; }
  .logo { gap: 0.5rem; max-width: calc(100% - 48px); }
  .logo-name { font-size: 1.15rem; }
  .logo-tagline { font-size: 0.54rem; letter-spacing: 0.12em; }
  .footer-brand .footer-logo .logo-name { font-size: 1.15rem; }
}

@media (max-width: 360px) {
  .logo-name { font-size: 1.05rem; }
  .logo-tagline { font-size: 0.5rem; letter-spacing: 0.1em; }
  .footer-brand .footer-logo .logo-name { font-size: 1.05rem; }
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  z-index: 1001;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Scroll reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-left {
  transform: translateX(-36px);
}

.reveal.reveal-right {
  transform: translateX(36px);
}

.reveal.reveal-scale {
  transform: scale(0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: 0.47s; opacity: 1; transform: none; }

/* Hero parallax layer */
.hero-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Smooth image loading */
img {
  background: var(--color-bg);
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img.is-loaded,
img:not([loading="lazy"]) {
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-bg { transition: none; }
}
