/* ============================================================
   TAMIN — Tamil Nadu Minerals Limited
   Light "marble & stone" identity: warm off-white / marble
   backgrounds, charcoal text, maroon + gold accents, with
   TAMIN's black-gold marble on the hero and CTA.
   Montserrat throughout · looping hero + re-triggering reveals.
   ============================================================ */

:root {
  /* Accents */
  --red:      #9e2b1e;   /* TAMIN maroon-red */
  --red-2:    #c0392b;
  --gold:     #b98a34;
  --gold-2:   #d5a648;

  /* Neutrals / marble */
  --charcoal: #33343a;      /* granite grey — dark section fills (nav, why, topbar) */
  --charcoal-2: #42434a;
  --granite-deep: #22232a;  /* deeper granite — footer, kept distinct from sections */
  --ink:    #26272c;        /* dark granite — text & headings */
  --slate:  #55514a;
  --steel:  #837e75;
  --line:   #e6e1d8;
  --cream:  #f7f5f0;
  --cream-2:#efece5;
  --white:  #ffffff;

  --saffron: #ff9933;
  --green:   #138808;

  --maxw: 1240px;
  --bannerw: 1440px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-cycle: 6s;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: 100%; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--cream); line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; }

/* Light marble backdrop used on stone sections */
.marble-bg {
  background:
    radial-gradient(ellipse 60% 50% at 18% 22%, rgba(120,110,90,0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 78% 68%, rgba(90,80,60,0.07), transparent 60%),
    repeating-linear-gradient(122deg, rgba(150,140,120,0.05) 0 2px, transparent 2px 38px),
    linear-gradient(135deg, #f3efe7 0%, #faf8f3 45%, #f1ede4 100%);
}

/* ---------- Type ---------- */
.overline { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.overline::before { content: ""; width: 32px; height: 2px; background: var(--gold); }
.overline.light { color: var(--gold-2); }
.overline.light::before { background: var(--gold-2); }
.display { font-weight: 700; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.04; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink); }
.display.light { color: var(--white); }
.lede { margin-top: 1.6rem; max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--slate); }
.lede.light { color: var(--cream-2); }
.section { padding: clamp(48px, 6.5vw, 96px) 0; position: relative; }

/* ---------- Overlap stacking cards (About → Products → Colours → Process)
   Each card scrolls fully — all content visible — while its rounded top
   overlaps the previous card, so they read as a stack. ---------- */
.stack { position: relative; }
.stack-card { position: sticky; padding-block: clamp(30px, 3.6vw, 56px);
  border-radius: 34px 34px 0 0; overflow: hidden; box-shadow: 0 -26px 60px rgba(0,0,0,0.3); }
.stack-card:nth-child(1) { top: 58px; z-index: 1; min-height: calc(100vh - 58px); }
.stack-card:nth-child(2) { top: 74px; z-index: 2; min-height: calc(100vh - 74px); }
.stack-card:nth-child(3) { top: 90px; z-index: 3; min-height: calc(100vh - 90px); }
.stack-card:nth-child(4) { top: 106px; z-index: 4; min-height: calc(100vh - 106px); }
.stack-card > .container { width: 100%; }
/* Desktop: compact the grids so a whole section fits inside the pinned card */
@media (min-width: 821px) {
  .stack-card { padding-block: clamp(22px, 2.8vw, 42px); display: flex; flex-direction: column; justify-content: center; }
  .stack-card .section-head { margin-bottom: clamp(12px, 1.8vw, 24px); }
  .stack-card .display { font-size: clamp(1.7rem, 3.3vw, 2.9rem); }
  .stack-card .lede { font-size: clamp(0.94rem, 1.25vw, 1.06rem); margin-top: 0.9rem; }
  .stack-card.products .display { font-size: clamp(1.6rem, 2.9vw, 2.5rem); }
  .stack-card.products .product-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .stack-card.products .product-media { height: 98px; }
  .stack-card.products .product-body { padding: 11px 15px 14px; border-top-width: 3px; }
  .stack-card.products .product-body h3 { font-size: 0.98rem; margin-bottom: 0.3rem; }
  .stack-card.products .product-body p { font-size: 0.82rem; line-height: 1.45; }
  .stack-card.colours .swatch-grid { grid-template-columns: repeat(7, 1fr); gap: 16px; }
  .stack-card.colours .swatch { aspect-ratio: 4 / 5; }
  .stack-card.colours .swatch figcaption { padding: 14px 14px; font-size: 0.86rem; }
  .stack-card.about .stat-grid { margin-top: clamp(24px, 3vw, 40px); }
}
/* Mobile: drop the pinning so every section scrolls normally */
@media (max-width: 820px) {
  .stack-card,
  .stack-card:nth-child(1), .stack-card:nth-child(2),
  .stack-card:nth-child(3), .stack-card:nth-child(4) { position: relative; top: auto; min-height: auto; }
  .stack-card { border-radius: 22px 22px 0 0; }
}
.section-head { max-width: 900px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.section-head .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 15px 32px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 40px; transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.btn-solid { background: var(--gold); color: var(--charcoal); box-shadow: 0 10px 28px rgba(185,138,52,0.35); }
.btn-solid:hover { transform: translateY(-3px); background: var(--gold-2); box-shadow: 0 16px 36px rgba(185,138,52,0.45); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,0.1); border-color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.tricolour { height: 4px; background: linear-gradient(90deg, var(--saffron) 0 33.33%, #fff 33.33% 66.66%, var(--green) 66.66% 100%); }
.topbar { background: var(--charcoal); color: var(--cream-2); font-size: 0.82rem; overflow: hidden; }
.ticker { display: flex; overflow: hidden; min-height: 40px; align-items: center; white-space: nowrap; }
.ticker-track { display: inline-flex; flex-shrink: 0; min-width: 100%; will-change: transform; animation: tickerScroll 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; padding: 0 2.6rem; letter-spacing: 0.02em; color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
.ticker-item:hover { color: var(--gold-2); }
.ticker-item::before { content: "●"; margin-right: 2.6rem; color: var(--gold-2); font-size: 0.6rem; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead-inner { max-width: var(--bannerw); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.masthead-brand { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); }
.tamin-logo { height: clamp(46px, 6vw, 64px); width: auto; flex-shrink: 0; }
.emblem { width: clamp(48px, 6vw, 62px); height: auto; flex-shrink: 0; }
.masthead-titles { display: flex; flex-direction: column; gap: 3px; }
.m-name { font-size: clamp(1.05rem, 2.1vw, 1.5rem); font-weight: 700; color: var(--ink); line-height: 1.15; }
.m-eng { font-size: clamp(0.82rem, 1.5vw, 1rem); font-weight: 600; letter-spacing: 0.03em; color: var(--red); }
.masthead-aside { display: flex; align-items: center; gap: 12px; padding-left: 22px; border-left: 2px solid var(--gold); }
.m-note { font-size: 0.76rem; font-weight: 600; color: var(--slate); line-height: 1.35; }

/* Nav actions — language toggle + mobile menu button */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-lang { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: #fff; font-family: inherit; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; padding: 7px 16px; border-radius: 40px; cursor: pointer; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.nav-lang:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.nav-cart { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.4); background: transparent; color: #fff; border-radius: 50%; cursor: pointer; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.nav-cart svg { width: 20px; height: 20px; }
.nav-cart:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 0.64rem; font-weight: 700; line-height: 1; border-radius: 20px; transform: scale(0); transform-origin: center; transition: transform 0.25s var(--ease); }
.cart-count.has { transform: scale(1); }
.nav-cart.bump { animation: cartBump 0.4s var(--ease); }
@keyframes cartBump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.18); } }

.site-nav { position: sticky; top: 0; z-index: 100; background: var(--charcoal); box-shadow: 0 2px 16px rgba(0,0,0,0.25); }
.nav-inner { max-width: var(--bannerw); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; min-height: 58px; }
.nav-brand { color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.16em; }
.main-nav { display: flex; gap: clamp(14px, 2vw, 32px); }
.main-nav a { color: rgba(255,255,255,0.82); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; padding: 8px 0; position: relative; transition: color 0.3s var(--ease); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--gold-2); transition: width 0.35s var(--ease); }
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: 0.3s var(--ease); }

/* ============================================================
   HERO — full-bleed gravel background, white text, moving bg
   ============================================================ */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--granite-deep); min-height: clamp(460px, 68vh, 620px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: -4%; z-index: 0; background-size: cover; background-position: center; animation: heroPan 34s ease-in-out infinite; }
@keyframes heroPan {
  0%   { transform: scale(1.06) translate(-1.4%, -0.8%); }
  50%  { transform: scale(1.1) translate(1.4%, 0.8%); }
  100% { transform: scale(1.06) translate(-1.4%, -0.8%); }
}
.hero-scrim { position: absolute; inset: 0; z-index: 1; background:
    linear-gradient(100deg, rgba(8,8,11,0.95) 0%, rgba(8,8,11,0.75) 28%, rgba(8,8,11,0.32) 60%, rgba(8,8,11,0) 92%),
    radial-gradient(65% 95% at 92% 42%, rgba(255,214,150,0.20), transparent 72%); }
.hero-content { position: relative; z-index: 2; max-width: 880px; padding-left: clamp(20px, 6vw, 96px); padding-right: 20px; padding-block: clamp(48px, 7vw, 90px); }
.hero .overline.light { color: var(--gold-2); }
.hero .overline.light::before { background: var(--gold-2); }
.hero-title { font-weight: 800; font-size: clamp(2.6rem, 8vw, 6.2rem); line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 1.6rem; color: #fff; }
/* STONE: stays gold; a slow diagonal highlight sweeps left → right, on loop */
.hero-title .stone { position: relative; display: inline-block; color: var(--gold-2); }
.hero-title .stone::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,247,220,0.98) 50%, transparent 58%);
  background-repeat: no-repeat; background-size: 240% 100%; background-position: 170% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: stoneSweep 3.6s ease-in-out infinite;
}
@keyframes stoneSweep {
  0%   { background-position: 170% 0; }
  55%  { background-position: -70% 0; }
  100% { background-position: -70% 0; }
}
.hero-lede { max-width: 66ch; font-size: clamp(1.02rem, 1.5vw, 1.26rem); color: var(--cream-2); font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }
.hero .btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: clamp(14px, 1.6vw, 22px); margin-top: 2.6rem; max-width: 640px; }
.hstat { padding-right: clamp(12px, 1.4vw, 20px); border-right: 1px solid rgba(255,255,255,0.22); }
.hstat:last-child { border-right: 0; }
.hstat-v { display: block; font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 800; color: var(--gold-2); line-height: 1; letter-spacing: -0.01em; }
.hstat-v.hstat-word { font-size: clamp(1.02rem, 1.7vw, 1.4rem); text-transform: uppercase; }
.hstat-l { display: block; margin-top: 8px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--cream-2); line-height: 1.35; }
.scroll-cue { position: absolute; left: 50%; transform: translateX(-50%); bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--cream-2); font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; z-index: 3; }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(#fff, transparent); animation: cueDrop 2s var(--ease) infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.about-copy { display: flex; flex-direction: column; justify-content: center; }
.about-copy .display { font-size: clamp(1.5rem, 3vw, 2.45rem); margin-bottom: 1.3rem; }
.about-text p { color: var(--slate); font-size: 1.02rem; }
.about-text p + p { margin-top: 1.1rem; }
.about-figure { overflow: hidden; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(30,26,20,0.16); min-height: 340px; }
.about-figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.8s var(--ease); }
.about-figure:hover img { transform: scale(1.08); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(52px, 8vw, 96px); }
.stat { border-top: 3px solid var(--gold); padding-top: 20px; }
.stat-num { display: block; font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--red); line-height: 1; letter-spacing: -0.03em; }
.stat-label { margin-top: 0.8rem; color: var(--steel); font-size: 0.92rem; }

/* ============================================================
   PRODUCTS — light marble background, image cards
   ============================================================ */
.products { background:
    linear-gradient(160deg, rgba(16,16,22,0.60) 0%, rgba(24,24,30,0.72) 100%),
    url('../assets/marble-black-gold.jpg') center / cover no-repeat;
  background-color: #1c1c22; }
.products .section-head .display { color: #fff; }
.products .section-head .overline { color: var(--gold-2); }
.products .section-head .overline::before { background: var(--gold-2); }
.products .section-head .lede { color: var(--cream-2); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(30,26,20,0.06); cursor: pointer; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(30,26,20,0.16); }
.product-media { height: 190px; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.08); }
.product-body { padding: 22px 24px 26px; border-top: 3px solid var(--gold); }
.product-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; transition: color 0.35s var(--ease); }
.product-card:hover .product-body h3 { color: var(--red); }
.product-body p { color: var(--steel); font-size: 0.95rem; }

/* ============================================================
   WHY CHOOSE US — dark section
   ============================================================ */
.why { position: relative; overflow: hidden; background:
    linear-gradient(155deg, rgba(32,33,39,0.80) 0%, rgba(46,48,54,0.62) 55%, rgba(30,31,37,0.82) 100%),
    url('../assets/granite-texture.webp') center / cover no-repeat;
  background-color: var(--charcoal); }
.why::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 55% at 88% 12%, rgba(213,166,72,0.18), transparent 60%),
              radial-gradient(50% 50% at 5% 95%, rgba(213,166,72,0.10), transparent 55%); }
.why-deco { position: absolute; right: clamp(-40px, -2vw, 0px); top: 50%; transform: translateY(-50%); z-index: 0; width: clamp(240px, 34vw, 460px); color: var(--gold-2); opacity: 0.16; pointer-events: none; }
.why-deco svg { width: 100%; height: auto; display: block; animation: whyDecoSpin 40s linear infinite; transform-origin: center; }
@keyframes whyDecoSpin { to { transform: rotate(360deg); } }
.why > .container { position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.why-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); backdrop-filter: blur(8px); transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease); }
.why-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.1); border-color: rgba(213,166,72,0.4); }
.why-ico { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 18px; background: rgba(213,166,72,0.12); border: 1px solid rgba(213,166,72,0.28); margin-bottom: 1.3rem; }
.why-ico img { width: 46px; height: 46px; object-fit: contain; }
.why-text { color: #fff; font-size: 1.06rem; font-weight: 500; line-height: 1.5; }

/* Go-Green approach card — its gear icon rotates (the only animation) */
.why-ico-gear img { animation: gearSpin 7s linear infinite; }
@keyframes gearSpin { to { transform: rotate(360deg); } }

/* ============================================================
   GRANITE COLOURS
   ============================================================ */
.colours { background:
    linear-gradient(rgba(244,242,238,0.40), rgba(238,236,230,0.52)),
    url('../assets/hero-marble.jpg') center / cover no-repeat;
  background-color: var(--cream-2); }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.swatch { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 22px rgba(30,26,20,0.12); cursor: pointer; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.swatch:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 50px rgba(30,26,20,0.3); }
.swatch:hover img { transform: scale(1.1); }
.swatch figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.72)); }

/* ============================================================
   WORK PROCESS
   ============================================================ */
.process { background: var(--cream); }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px); }
.process-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(30,26,20,0.06); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.process-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(30,26,20,0.14); }
.process-media { position: relative; height: clamp(200px, 26vw, 280px); overflow: hidden; }
.process-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.process-card:hover .process-media img { transform: scale(1.06); }
.process-num { position: absolute; left: 18px; bottom: 14px; z-index: 1; font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; width: 48px; height: 48px; display: grid; place-items: center; background: var(--red); border-radius: 12px; box-shadow: 0 8px 22px rgba(158,43,30,0.4); }
.process-body { padding: clamp(24px, 3vw, 38px); border-left: 5px solid var(--gold); }
.process-card h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; color: var(--ink); margin-bottom: 0.9rem; }
.process-card p { color: var(--slate); font-size: 1.02rem; }

/* ============================================================
   CTA — marble
   ============================================================ */
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(70px, 10vw, 130px) 0; }
.cta-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.cta-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(16,16,22,0.60) 0%, rgba(24,24,30,0.72) 100%); }
.cta-inner { position: relative; z-index: 2; max-width: 720px; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1.2rem; }
.cta-inner p { color: var(--cream-2); font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300; margin-bottom: 2.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--granite-deep); color: var(--cream-2); padding-top: clamp(54px, 7vw, 88px); border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(26px, 4vw, 48px); padding-bottom: clamp(36px, 5vw, 60px); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-logo-img { height: clamp(52px, 6vw, 64px); width: auto; }
.footer-brand p { color: var(--cream-2); font-size: 0.95rem; line-height: 1.5; }
.footer-brand strong { color: #fff; }
.footer-h { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,0.72); font-size: 0.9rem; transition: color 0.3s var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }

/* Footer contact — icon + detail rows */
.fcontact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.fcontact-ico { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(213,166,72,0.12); border: 1px solid rgba(213,166,72,0.28); color: var(--gold-2); }
.fcontact-ico svg { width: 18px; height: 18px; }
.fcontact-item p { color: rgba(255,255,255,0.78); font-size: 0.9rem; line-height: 1.5; }
.fcontact-item a { color: rgba(255,255,255,0.78); }
.fcontact-item a:hover { color: #fff; }
.footer-contact p { font-size: 0.9rem; margin-bottom: 10px; color: rgba(255,255,255,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); color: var(--cream-2); transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer-social a svg { width: 19px; height: 19px; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); transform: translateY(-2px); }

/* footer logo animation */
.flogo-ring { transform-box: fill-box; transform-origin: center; animation: flogoRing 16s linear infinite; }
@keyframes flogoRing { to { transform: rotate(360deg); } }
.flogo-gem { transform-box: fill-box; transform-origin: center; animation: flogoPulse 5s ease-in-out 1.4s infinite; }
.flogo-gem path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: flogoDraw 1.1s var(--ease) forwards; }
.flogo-gem path:nth-child(1){animation-delay:.05s}.flogo-gem path:nth-child(2){animation-delay:.35s}.flogo-gem path:nth-child(3){animation-delay:.45s}.flogo-gem path:nth-child(4){animation-delay:.55s}.flogo-gem path:nth-child(5){animation-delay:.65s}.flogo-gem path:nth-child(6){animation-delay:.75s}.flogo-gem path:nth-child(7){animation-delay:.85s}
@keyframes flogoDraw { to { stroke-dashoffset: 0; } }
@keyframes flogoPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.flogo-gleam { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: flogoGleam 5s ease-in-out 2.6s infinite; }
@keyframes flogoGleam { 0%{stroke-dashoffset:1;opacity:0} 8%{opacity:.9} 26%{stroke-dashoffset:0;opacity:.9} 38%{stroke-dashoffset:-1;opacity:0} 100%{stroke-dashoffset:-1;opacity:0} }
.footer-logo:hover svg { transform: scale(1.1); color: #fff; }

/* ============================================================
   SCROLL REVEAL (re-triggers each scroll)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }
.product-grid .reveal.in-view, .why-grid .reveal.in-view, .stat-grid .reveal.in-view, .swatch-grid .reveal.in-view, .process-grid .reveal.in-view, .pd-app-grid .reveal.in-view, .pd-quarry-row .reveal.in-view, .pd-facts .reveal.in-view, .pd-mini-stats .reveal.in-view, .pd-colours-row .reveal.in-view { transition-delay: var(--delay, 0s); }

/* alternate slide-in for product & process cards */
.product-card.reveal { transform: translateX(-60px); opacity: 0; }
.product-card:nth-child(even).reveal { transform: translateX(60px); }
.product-card.reveal.in-view { transform: none; opacity: 1; }
.process-card.reveal { transform: translateX(-60px); opacity: 0; }
.process-card:nth-child(even).reveal { transform: translateX(60px); }
.process-card.reveal.in-view { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stack-card { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; transform: none; }
  .why-deco svg { animation: none; }
  .hero-title .stone::after { display: none; }
  .flogo-ring, .flogo-gem, .flogo-gleam { animation: none; }
  .flogo-gem path { stroke-dashoffset: 0; animation: none; }
  .flogo-gleam { display: none; }
  .why-ico-gear img { animation: none; }
  .ticker-track { animation: none; }
  .scroll-cue i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-height: 380px; }
  .process-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; max-width: 420px; }
  .hero-stats .hstat:nth-child(even) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 330px); background: var(--charcoal); flex-direction: column; justify-content: center; padding: 40px; gap: 24px; transform: translateX(100%); transition: transform 0.5s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,0.4); }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 1rem; }
  .nav-toggle { display: flex; z-index: 120; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .topbar-gov { font-size: 0.68rem; }
}

/* ============================================================
   LIGHTBOX (granite colour viewer)
   ============================================================ */
.swatch { cursor: pointer; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,10,13,0.95); backdrop-filter: blur(4px); display: none; opacity: 0; transition: opacity 0.25s var(--ease); }
.lightbox.open { display: block; opacity: 1; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(14px, 3vw, 28px); z-index: 3; }
.lb-count { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; }
.lb-tools { display: flex; gap: 8px; }
.lb-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; border-radius: 10px; cursor: pointer; transition: background 0.25s var(--ease), border-color 0.25s var(--ease); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }
.lb-btn.is-zoomed .lb-zoom-v { display: none; }   /* + becomes − when zoomed in */
.lb-stage { position: absolute; inset: 68px clamp(56px, 8vw, 96px) 74px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lb-img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; transform: scale(1); transition: transform 0.28s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,0.5); user-select: none; -webkit-user-drag: none; }
.lb-img.zoomed { cursor: grab; touch-action: none; }
.lb-img.zoomed:active { cursor: grabbing; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); color: #fff; border-radius: 50%; cursor: pointer; z-index: 3; transition: background 0.25s var(--ease); }
.lb-nav svg { width: 24px; height: 24px; }
.lb-nav:hover { background: rgba(255,255,255,0.18); }
.lb-prev { left: clamp(12px, 2.5vw, 28px); }
.lb-next { right: clamp(12px, 2.5vw, 28px); }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: #fff; font-size: 0.98rem; font-weight: 600; letter-spacing: 0.04em; z-index: 3; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.lb-toast { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%) translateY(10px); background: var(--gold); color: var(--charcoal); font-size: 0.8rem; font-weight: 700; padding: 8px 18px; border-radius: 40px; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); z-index: 4; }
.lb-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 620px) {
  .lb-stage { inset: 62px 14px 66px; }
  .lb-nav { width: 40px; height: 40px; }
}

/* ============================================================
   HOVER MAGNIFIER (granite swatches — Amazon-style zoom)
   ============================================================ */
.swatch-zoom {
  position: fixed; top: 0; left: 0;
  width: 300px; height: 300px;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.92);
  box-shadow: 0 22px 60px rgba(0,0,0,0.5);
  background-color: #17171b;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s var(--ease);
  z-index: 900; overflow: hidden;
  will-change: transform, background-position;
}
.swatch-zoom.show { opacity: 1; transform: scale(1); }
.swatch-zoom .sz-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
}
.swatch-lens {
  position: fixed; top: 0; left: 0;
  border: 2px solid rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 12px rgba(0,0,0,0.35);
  border-radius: 6px;
  pointer-events: none; z-index: 899;
  opacity: 0; transition: opacity 0.16s var(--ease);
}
.swatch-lens.show { opacity: 1; }

/* ============================================================
   PRODUCT HOVER CARD (Granite Colours — e-commerce preview)
   ============================================================ */
.pcard {
  position: fixed; top: 0; left: 0; width: 548px; display: flex;
  background: var(--white); color: var(--ink);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 28px 70px rgba(20,18,14,0.35);
  border: 1px solid var(--line);
  z-index: 950;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s var(--ease), visibility 0.18s var(--ease);
}
.pcard.show { opacity: 1; visibility: visible; }
/* Left: live magnified view (Amazon-style inner zoom) */
.pcard-zoom { position: relative; flex: 0 0 232px; align-self: stretch; background-color: #17171b; background-repeat: no-repeat; background-position: center; background-size: cover; cursor: zoom-in; }
.pcard-zoom .pcard-hint { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; color: #fff; background: rgba(0,0,0,0.5); border-radius: 40px; backdrop-filter: blur(3px); pointer-events: none; }
.pcard-zoom .pcard-view { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; color: #fff; background: rgba(0,0,0,0.55); border-radius: 40px; backdrop-filter: blur(3px); cursor: pointer; }
.pcard-zoom .pcard-view svg { width: 13px; height: 13px; }
/* Right: details */
.pcard-body { flex: 1 1 auto; padding: 16px 18px 18px; }
.pcard-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.pcard-name { font-size: 1.14rem; font-weight: 700; margin: 3px 0 8px; color: var(--charcoal); }
.pcard-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.pcard-specs span { font-size: 0.7rem; font-weight: 600; color: var(--charcoal); background: var(--cream, #f2efe9); border: 1px solid var(--line); padding: 3px 9px; border-radius: 40px; }
.pcard-specs span.in-stock { color: #1c7a3d; border-color: rgba(28,122,61,0.35); background: rgba(28,122,61,0.08); }
.pcard-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 12px; }
.pcard-price strong { font-size: 1.4rem; font-weight: 800; color: var(--charcoal); }
.pcard-price span { font-size: 0.78rem; color: #7c766c; }
.pcard-qty { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pcard-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 40px; overflow: hidden; }
.pcard-stepper button { width: 32px; height: 34px; border: 0; background: var(--cream, #f2efe9); color: var(--charcoal); font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background 0.2s var(--ease); }
.pcard-stepper button:hover { background: var(--gold); color: #fff; }
.pcard-stepper input { width: 46px; height: 34px; border: 0; text-align: center; font-family: inherit; font-size: 0.92rem; font-weight: 700; color: var(--charcoal); -moz-appearance: textfield; }
.pcard-stepper input::-webkit-outer-spin-button, .pcard-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pcard-qty .qty-unit { font-size: 0.76rem; color: #7c766c; }
.pcard-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.82rem; color: #7c766c; margin-bottom: 12px; padding-top: 11px; border-top: 1px dashed var(--line); }
.pcard-total strong { font-size: 1.05rem; font-weight: 800; color: var(--charcoal); }
.pcard-add { width: 100%; border: 0; background: var(--charcoal); color: #fff; font-family: inherit; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em; padding: 12px; border-radius: 10px; cursor: pointer; transition: background 0.25s var(--ease), transform 0.15s var(--ease); }
.pcard-add:hover { background: var(--gold); }
.pcard-add:active { transform: scale(0.98); }
.pcard-add.added { background: #1c7a3d; }
@media (hover: none), (max-width: 820px) { .pcard { display: none; } }

/* ============================================================
   PRODUCT CARD as link + "View details" affordance
   ============================================================ */
a.product-card { display: block; text-decoration: none; color: inherit; }
.product-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; color: var(--red); }
.product-link svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
a.product-card:hover .product-link svg { transform: translateX(4px); }

/* ============================================================
   PRODUCT DETAIL PAGE  (pd-*)
   ============================================================ */
.pd-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.pd-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.pd-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,24,0.9) 0%, rgba(20,18,24,0.62) 45%, rgba(20,18,24,0.28) 100%); }
.pd-hero-inner { position: relative; z-index: 2; padding-block: clamp(40px, 7vw, 96px); color: #fff; }
.pd-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 18px; }
.pd-crumb a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.25s var(--ease); }
.pd-crumb a:hover { color: var(--gold-2, #d5a648); }
.pd-crumb span { color: rgba(255,255,255,0.55); }
.pd-crumb span[aria-current] { color: #fff; }
.pd-hero-title { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; line-height: 1.02; margin: 6px 0 16px; }
.pd-hero-lede { max-width: 640px; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: rgba(255,255,255,0.9); }
.pd-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.pd-section { padding-block: clamp(56px, 7vw, 104px); }
.pd-h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.pd-lede { margin-top: 1rem; }
.pd-body { margin-top: 1rem; color: var(--steel, #6b665d); font-size: 1rem; line-height: 1.75; max-width: 60ch; }

/* Detail-page stacked cards share the site's overlapping design */
.pd-card { background: var(--white); }
.pd-card-over { background: var(--cream); }
.pd-card-apps { background: var(--white); }
.pd-card-quarry { background:
    linear-gradient(160deg, rgba(16,16,22,0.60) 0%, rgba(24,24,30,0.72) 100%),
    url('../assets/marble-black-gold.jpg') center / cover no-repeat;
  background-color: #1c1c22; color: #fff; }

/* Overview */
.pd-overview { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; width: 100%; }
.pd-facts { list-style: none; margin: clamp(22px, 2.6vw, 32px) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
.pd-facts li { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; border-top: 1px solid var(--line); }
.pd-fact-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.pd-fact-v { font-size: 1rem; font-weight: 600; color: var(--ink); }
.pd-overview-aside { display: flex; flex-direction: column; gap: 18px; }
.pd-note-card { position: relative; background: var(--granite-deep); color: #fff; border-radius: 18px; padding: 26px 24px; overflow: hidden; }
.pd-note-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(213,166,72,0.35), transparent 70%); }
.pd-note-tag { display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); background: var(--gold-2, #d5a648); padding: 4px 12px; border-radius: 40px; }
.pd-note-card h3 { font-size: 1.5rem; font-weight: 800; margin: 14px 0 8px; }
.pd-note-card p { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.85); }
.pd-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pd-mini { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center; }
.pd-card-over .pd-mini { background: var(--cream-2, #efece5); }
.pd-mini-v { display: block; font-size: 1.4rem; font-weight: 800; color: var(--charcoal); }
.pd-mini-l { display: block; font-size: 0.7rem; font-weight: 600; color: var(--steel, #6b665d); margin-top: 4px; }
.pd-colours { margin-top: 2px; }
.pd-colours-h { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.pd-colours-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-colour-tile { width: 66px; text-align: center; }
.pd-colour-tile img { width: 66px; height: 66px; object-fit: cover; border-radius: 10px; display: block; box-shadow: 0 6px 16px rgba(30,26,20,0.16); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.pd-colour-tile:hover img { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 26px rgba(30,26,20,0.24); }
.pd-colour-tile figcaption { margin-top: 6px; font-size: 0.62rem; font-weight: 600; line-height: 1.25; color: var(--slate, #55514a); }

/* Our Quarries — image cards on a dark stone panel */
.pd-quarry-inner { width: 100%; }
.pd-card-quarry .display { color: #fff; }
.pd-card-quarry .lede { color: rgba(255,255,255,0.85); }
.pd-quarry-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.pd-quarry { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; overflow: hidden; transition: transform 0.4s var(--ease), background 0.4s var(--ease); }
.pd-quarry:hover { transform: translateY(-6px); background: rgba(255,255,255,0.12); }
.pd-quarry-media { position: relative; height: 168px; overflow: hidden; }
.pd-quarry-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.pd-quarry:hover .pd-quarry-media img { transform: scale(1.07); }
.pd-pin { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(16,15,18,0.72); color: var(--gold-2, #d5a648); backdrop-filter: blur(3px); }
.pd-pin svg { width: 21px; height: 21px; }
.pd-quarry-body { padding: 16px 18px 18px; }
.pd-quarry-body h3 { font-size: 1.16rem; font-weight: 700; color: #fff; margin-bottom: 7px; }
.pd-quarry-body p { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.8); }

/* Applications — image-topped cards */
.pd-app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.pd-app-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1020px; margin-inline: auto; }
.pd-app { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(30,26,20,0.07); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.pd-app:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(30,26,20,0.15); }
.pd-app-media { position: relative; height: 152px; overflow: hidden; }
.pd-app-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.pd-app:hover .pd-app-media img { transform: scale(1.07); }
.pd-app-ico { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--granite-deep); color: var(--gold-2, #d5a648); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.pd-app-ico svg { width: 21px; height: 21px; }
.pd-app-body { padding: 18px 18px 20px; border-top: 3px solid var(--gold); }
.pd-app-body h3 { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.pd-app-body p { font-size: 0.85rem; line-height: 1.55; color: var(--steel, #6b665d); }

/* Responsive */
@media (max-width: 900px) {
  .pd-overview { grid-template-columns: 1fr; }
  .pd-quarry-row { grid-template-columns: 1fr; }
  .pd-app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pd-app-grid { grid-template-columns: 1fr; }
  .pd-facts { grid-template-columns: 1fr; }
}
