/* ============ Baimin Granitos — The Stone page (from The Stone.dc.html design) ============ */
/* Shares header, footer, buttons, kicker, .wrap, .reveal from style.css */

body.stone-page { background: #0F0F0A; color: #F3F2EC; }

.st-italic { font-style: italic; color: #5D9B5D; }
.st-italic-light { font-style: italic; color: #B7C98C; }

/* Kicker variants */
.sk { color: #5D9B5D; display: flex; align-items: center; gap: 10px; }
.sk .rule { width: 22px; height: 1px; background: #5D9B5D; display: inline-block; flex-shrink: 0; }
.sk-center { justify-content: center; }

@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes slowZoom { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes marquee-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbZoom { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.floatImg { animation: floatY 6.5s ease-in-out infinite; }

/* ============ HERO ============ */
.st-hero { position: relative; background: #0F0F0A; color: #F3F2EC; }
.st-hero-body {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center;
  padding: 56px 40px 70px;
}
.st-hero-kicker { margin-bottom: 22px; }
.st-hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 80px; line-height: 0.98; letter-spacing: 2px;
  margin: 0 0 10px; color: #fff;
}
.st-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 22px; color: #B7C98C; margin-bottom: 26px;
}
.st-hero-p {
  font-size: 14.5px; line-height: 1.95; font-weight: 300;
  color: rgba(243,242,236,0.82); margin: 0;
  border-left: 2px solid #5D9B5D; padding-left: 22px; max-width: 400px;
}
.st-hero-slab-wrap {
  position: relative; text-align: right;
  opacity: 0; transform: translateX(40px);
  transition: opacity 1.2s ease .3s, transform 1.3s cubic-bezier(.22,1,.36,1) .3s;
}
.st-hero.is-visible .st-hero-slab-wrap { opacity: 1; transform: translateX(0); }
.st-hero-slab {
  width: 100%; max-width: 560px; display: inline-block;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.55));
}

/* ============ ABOUT THE STONE ============ */
.st-about { background: #EDEAE1; color: #201F1A; padding: 96px 0; }
.st-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.st-about-imgwrap {
  overflow: hidden; border-radius: 14px;
  opacity: 0; transform: scale(0.94);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(.22,1,.36,1);
}
.st-about.is-visible .st-about-imgwrap { opacity: 1; transform: scale(1); }
.st-about-imgwrap img { width: 100%; height: 340px; object-fit: cover; border-radius: 14px; display: block; }
.st-about-kicker { margin-bottom: 16px; }
.st-about-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 46px; line-height: 1.1; margin: 0 0 22px; color: #201F1A;
}
.st-about-p {
  font-size: 15px; line-height: 1.95; font-weight: 300;
  color: rgba(32,31,26,0.72); margin: 0; max-width: 460px;
}
.st-about-p strong { font-weight: 600; }

/* ============ TICKER ============ */
.st-ticker {
  background: #0F0F0A; overflow: hidden; padding: 11px 0;
  border-top: 1px solid rgba(93,155,93,0.35); border-bottom: 1px solid rgba(93,155,93,0.35);
}
.st-ticker-track { display: flex; width: max-content; animation: marquee-ltr 40s linear infinite; }
.st-ticker-span {
  white-space: nowrap; font-size: 11px; letter-spacing: 2px; font-weight: 500;
  color: #5D9B5D; text-transform: uppercase;
}

/* ============ PROPERTIES ============ */
.st-prop { background: #0F0F0A; color: #F3F2EC; padding: 90px 0; }
.st-prop-head { text-align: center; margin-bottom: 60px; }
.st-prop-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 38px; margin: 0; color: #F3F2EC;
}
.st-prop-grid {
  max-width: 960px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 30px;
}
.propItem {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
}
.propItem.reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.st-prop.is-visible .propItem { opacity: 1; transform: translateY(0); }
.st-prop.is-visible .propItem:nth-of-type(1) { transition-delay: .2s; }
.st-prop.is-visible .propItem:nth-of-type(2) { transition-delay: .32s; }
.st-prop.is-visible .propItem:nth-of-type(3) { transition-delay: .44s; }
.st-prop.is-visible .propItem:nth-of-type(4) { transition-delay: .56s; }
.st-prop.is-visible .prop-cell-2 .propItem { transition-delay: .68s; }
.st-prop.is-visible .prop-cell-3 .propItem { transition-delay: .8s; }
.propItem svg { margin-bottom: 18px; transition: transform .28s cubic-bezier(.22,1,.36,1); }
.st-prop.is-visible .propItem:hover { transform: translateY(-8px); transition: transform .28s cubic-bezier(.22,1,.36,1); }
.propItem:hover svg { transform: scale(1.22); }
.prop-title {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12.5px;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 12px;
}
.prop-desc {
  font-size: 12.5px; line-height: 1.7; font-weight: 300;
  color: rgba(243,242,236,0.6); max-width: 190px;
}
.prop-cell-2 { grid-column: 2; }
.prop-cell-3 { grid-column: 3; }

/* ============ TECHNICAL DATA ============ */
.st-tech { background: #EDEAE1; color: #201F1A; padding: 90px 0; }
.st-tech-head { text-align: center; margin-bottom: 48px; }
.st-tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.st-tech-col.reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.st-tech.is-visible .st-tech-col { opacity: 1; transform: translateY(0); }
.st-tech.is-visible .st-tech-col.d1 { transition-delay: .15s; }
.st-tech.is-visible .st-tech-col.d2 { transition-delay: .28s; }
.st-tech-cardhead {
  background: #2A2A22; color: #F3F2EC; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 500; padding: 14px 22px; border-radius: 6px 6px 0 0;
}
.st-tech-table { background: #fff; border-radius: 0 0 6px 6px; overflow: hidden; }
.st-tech-row {
  display: flex; justify-content: space-between; padding: 15px 22px;
  border-bottom: 1px solid #EDEAE1; font-size: 13.5px;
}
.st-tech-row:last-child { border-bottom: none; }
.st-tech-row .lbl { font-weight: 600; }
.st-tech-row .val { color: rgba(32,31,26,0.7); }
.st-tech-minerals { background: #fff; border-radius: 0 0 6px 6px; padding: 8px 22px; }
.st-mineral {
  display: flex; align-items: center; gap: 14px; padding: 13px 0;
  border-bottom: 1px solid #EDEAE1;
}
.st-mineral:last-child { border-bottom: none; }
.st-mineral .m-name { width: 104px; font-size: 13.5px; font-weight: 500; }
.st-mineral .m-pct { width: 34px; font-size: 13px; color: rgba(32,31,26,0.7); }
.st-mineral .m-track {
  flex: 1; height: 9px; background: #EDEAE1; border-radius: 5px; overflow: hidden; display: block;
}
.st-mineral .m-bar {
  display: block; height: 100%; width: 0%; background: #5D9B5D; border-radius: 5px;
  transition: width 1s cubic-bezier(.22,1,.36,1);
}
.st-tech.is-visible .st-mineral .m-bar { width: var(--w); }
.st-tech.is-visible .st-mineral:nth-child(1) .m-bar { transition-delay: .3s; }
.st-tech.is-visible .st-mineral:nth-child(2) .m-bar { transition-delay: .42s; }
.st-tech.is-visible .st-mineral:nth-child(3) .m-bar { transition-delay: .54s; }
.st-tech.is-visible .st-mineral:nth-child(4) .m-bar { transition-delay: .66s; }
.st-tech.is-visible .st-mineral:nth-child(5) .m-bar { transition-delay: .78s; }

/* ============ PETROGRAPHY ============ */
.st-petro {
  position: relative; background: #EDEAE1; color: #201F1A; overflow: hidden;
  min-height: 400px; display: flex; align-items: center;
}
.st-petro-imgwrap { position: absolute; top: 0; right: 0; width: 60%; height: 100%; overflow: hidden; }
.st-petro-img {
  position: absolute; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
  animation: slowZoom 16s ease-in-out infinite;
}
.st-petro.is-visible .st-petro-img { opacity: 1; }
.st-petro-fade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #EDEAE1 0%, rgba(237,234,225,0.55) 34%, transparent 68%);
  pointer-events: none;
}
.st-petro-content { position: relative; z-index: 2; width: 100%; padding: 0 40px; }
.st-petro-inner { max-width: 460px; padding: 80px 0; }
.st-petro-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 44px; margin: 0 0 20px; color: #201F1A;
}
.st-petro-p {
  font-size: 14.5px; line-height: 1.9; font-weight: 300;
  color: rgba(32,31,26,0.72); margin: 0 0 28px;
}
.st-petro-p strong { font-weight: 600; color: #201F1A; }
.dllink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  color: #3B6B3B; padding-bottom: 9px; border-bottom: 1px solid rgba(93,155,93,0.4);
  cursor: pointer; transition: transform .3s ease, color .25s ease, border-color .25s ease;
}
.dllink:hover { transform: translateX(6px); color: #201F1A; border-color: #5D9B5D; }
.dllink-1 { margin-bottom: 20px; }

/* ============ APPLICATIONS ============ */
.st-apps { background: #EDEAE1; color: #201F1A; padding: 90px 0; }
.st-apps-head { text-align: center; margin-bottom: 56px; }
.st-apps-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 40px; margin: 0; color: #201F1A;
}
.st-apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.appcard {
  cursor: pointer;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .9s ease;
}
.st-apps.is-visible .appcard { opacity: 1; transform: translateY(0); }
.st-apps.is-visible .appcard:nth-child(1) { transition-delay: .1s; }
.st-apps.is-visible .appcard:nth-child(2) { transition-delay: .19s; }
.st-apps.is-visible .appcard:nth-child(3) { transition-delay: .28s; }
.st-apps.is-visible .appcard:nth-child(4) { transition-delay: .37s; }
.st-apps.is-visible .appcard:nth-child(5) { transition-delay: .46s; }
.st-apps.is-visible .appcard:nth-child(6) { transition-delay: .55s; }
.st-apps.is-visible .appcard:hover { transform: translateY(-8px); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.appcard-imgwrap { overflow: hidden; border-radius: 10px; margin-bottom: 18px; }
.appcard-imgwrap img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.appcard:hover .appcard-imgwrap img { transform: scale(1.08); }
.appcard-title {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 10px;
}
.appcard-desc { font-size: 13px; line-height: 1.7; font-weight: 300; color: rgba(32,31,26,0.62); }

/* ============ CTA ============ */
.st-cta {
  position: relative; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer;
}
.st-cta-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.st-cta:hover .st-cta-img { transform: scale(1.08); }
.st-cta-shade { position: absolute; inset: 0; background: rgba(8,8,5,0.62); pointer-events: none; }
.st-cta-inner { position: relative; text-align: center; padding: 60px 40px; }
.st-cta-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 40px; color: #F3F2EC; margin: 0 0 28px;
}
.st-cta-inner .reveal.d1 { transition-delay: .2s; }

/* ============ PDF MODAL ============ */
.pdf-modal {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(8,8,5,0.93);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 48px; animation: lbFade .3s ease;
}
.pdf-modal[hidden] { display: none; }
.pdf-box {
  width: min(880px, 100%); height: 100%;
  display: flex; flex-direction: column; gap: 16px;
  animation: lbZoom .35s cubic-bezier(.22,1,.36,1);
}
.pdf-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pdf-title { color: #7FB77F; }
.pdf-actions { display: flex; align-items: center; gap: 14px; }
.pdf-dl { padding: 11px 24px; font-size: 11px; }
.pdf-dl svg { margin-right: 8px; }
.pdf-frame {
  flex: 1; width: 100%; border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
  background: #2a2a24;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8,8,5,0.93);
  display: flex; align-items: center; justify-content: center;
  padding: 48px; cursor: zoom-out; animation: lbFade .3s ease;
}
.lightbox[hidden] { display: none; }
.lb-img {
  width: 100%; height: 100%;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  animation: lbZoom .35s cubic-bezier(.22,1,.36,1);
  cursor: zoom-in; transform: scale(1); transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.lb-img.zoomed { cursor: zoom-out; transform: scale(2.2); }
.lb-close {
  position: absolute; top: 26px; right: 34px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); background: rgba(15,15,10,0.5);
  color: #F3F2EC; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.lb-close:hover { background: #5D9B5D; transform: scale(1.08); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .st-hero-body { grid-template-columns: 1fr; gap: 30px; padding: 40px 40px 60px; }
  .st-hero-h1 { font-size: 60px; }
  .st-hero-slab-wrap { text-align: center; }
  .st-hero-slab { max-width: 420px; }
  .st-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .st-about-imgwrap { order: -1; }
  .st-prop-grid { grid-template-columns: 1fr 1fr; }
  .prop-cell-2, .prop-cell-3 { grid-column: auto; }
  .st-tech-grid { grid-template-columns: 1fr; }
  .st-petro-imgwrap { width: 100%; opacity: .28; }
  .st-apps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .st-hero-body { padding: 30px 22px 50px; }
  .st-hero-h1 { font-size: 46px; }
  .st-about { padding: 60px 0; }
  .st-about-h2 { font-size: 36px; }
  .st-prop { padding: 60px 0; }
  .st-prop-grid { grid-template-columns: 1fr; padding: 0 22px; }
  .st-prop-h2 { font-size: 30px; }
  .prop-desc { max-width: 260px; }
  .st-tech { padding: 60px 0; }
  .st-petro { min-height: 340px; }
  .st-petro-inner { padding: 56px 0; }
  .st-petro-h2 { font-size: 34px; }
  .st-apps { padding: 60px 0; }
  .st-apps-grid { grid-template-columns: 1fr; }
  .st-apps-h2 { font-size: 30px; }
  .st-cta-h2 { font-size: 30px; }
  .pdf-modal { padding: 16px; }
  .pdf-box { width: 100%; }
}