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

body.about-page { background: #EDEAE1; color: #201F1A; }

.about-italic { color: #B7C98C; font-style: italic; }
.about-italic-green { color: #5D9B5D; font-style: italic; }

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

/* ============ HERO ============ */
.about-hero { position: relative; min-height: 560px; background: #0c0c08; color: #F3F2EC; }
.about-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
  z-index: 0;
}
.about-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,6,0.55) 0%, rgba(10,10,6,0.35) 40%, rgba(8,8,5,0.82) 100%);
  z-index: 1;
}
.about-hero-title {
  position: relative; z-index: 3;
  padding-top: 90px; padding-bottom: 70px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center;
}
.about-hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 42px; line-height: 1.25;
  margin: 0 0 24px; color: #fff; max-width: 560px;
}
.about-hero-p {
  font-size: 14.5px; line-height: 1.95; font-weight: 300;
  color: rgba(243,242,236,0.85);
  margin: 0;
  border-left: 2px solid #5D9B5D;
  padding-left: 24px;
  max-width: 480px;
}
.about-hero-p strong { font-weight: 600; color: #fff; }
.about-hero-imgwrap {
  position: relative; height: 250px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.about-hero-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.4s ease .25s, transform 1.6s cubic-bezier(.22,1,.36,1) .25s;
}
.about-hero.is-visible .about-hero-img { opacity: 1; transform: scale(1); }

/* ============ WHAT DRIVES US ============ */
.drive { background: #EDEAE1; color: #201F1A; padding: 80px 0; }
.drive-head { text-align: center; margin-bottom: 56px; }
.drive-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 34px; line-height: 1.3;
  margin: 0 auto; color: #201F1A; white-space: nowrap;
}
.drive-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
.principle {
  text-align: center; padding: 0 36px; cursor: pointer;
}
.principle.reveal {
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
}
.drive.is-visible .principle.reveal { opacity: 1; transform: translateY(0); }
.drive.is-visible .principle:nth-child(1) { transition-delay: .25s; }
.drive.is-visible .principle:nth-child(2) { transition-delay: .4s; }
.drive.is-visible .principle:nth-child(3) { transition-delay: .55s; }
.drive.is-visible .principle:hover { transform: translateY(-4px) scale(1.06); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.principle svg { margin-bottom: 16px; }
.principle-h {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 17px; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 8px;
}
.principle-p {
  font-size: 13px; line-height: 1.7; font-weight: 300;
  color: rgba(32,31,26,0.65); max-width: 230px; margin: 0 auto;
}

/* ============ THE QUARRY ============ */
.about-quarry { background: #0F0F0A; color: #F3F2EC; padding: 100px 0; }
.about-quarry-head { text-align: center; margin-bottom: 50px; }
.about-quarry-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 36px; margin: 0;
}
.aerial-wrap {
  position: relative; max-width: 760px; margin: 0 auto 60px;
  border-radius: 16px; overflow: hidden;
}
.aerial-img {
  width: 100%; height: 260px; object-fit: cover; display: block;
  clip-path: inset(0 100% 0 0); transform: scale(1.12);
  transition: clip-path 1.1s cubic-bezier(.22,1,.36,1) .2s, transform 1.6s ease .2s;
}
.about-quarry.is-visible .aerial-img { clip-path: inset(0 0 0 0); transform: scale(1); }
.aerial-shade-1 {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,10,0.85) 0%, rgba(15,15,10,0.15) 30%, transparent 55%);
  pointer-events: none;
}
.aerial-shade-2 {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 40px 6px rgba(15,15,10,0.5);
  pointer-events: none;
}
.quarry-detail {
  display: grid; grid-template-columns: 0.5fr 1fr 0.6fr; gap: 40px;
  align-items: center; padding: 0 24px;
}
.bahia-map {
  width: 100%; max-width: 280px; display: block; cursor: pointer;
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease .3s, transform .8s cubic-bezier(.22,1,.36,1) .3s, filter .3s ease;
}
.about-quarry.is-visible .bahia-map { opacity: 1; transform: translateY(0); }
.bahia-map:hover { transform: scale(1.07); filter: brightness(1.12); transition: transform .35s cubic-bezier(.34,1.56,.64,1), filter .3s ease; }
.quarry-p {
  font-size: 14.5px; line-height: 1.9; font-weight: 300;
  color: rgba(243,242,236,0.85); margin: 0; text-align: center;
  max-width: 420px; justify-self: center; cursor: pointer;
  border-radius: 8px; padding: 6px;
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s ease .5s, transform .8s cubic-bezier(.22,1,.36,1) .5s;
}
.about-quarry.is-visible .quarry-p { opacity: 1; transform: translateY(0); }
.about-quarry.is-visible .quarry-p:hover { transform: scale(1.03); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.quarry-p strong { font-weight: 600; color: #fff; }
.pills { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.pill {
  display: flex; align-items: center; gap: 12px;
  background: #5D9B5D; color: #fff; border: 1px solid #5D9B5D;
  border-radius: 22px; padding: 10px 20px; font-size: 13px; cursor: pointer;
  opacity: 0; transform: translateX(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1), background .3s ease, color .3s ease, box-shadow .3s ease;
}
.about-quarry.is-visible .pill { opacity: 1; transform: translateX(0); }
.about-quarry.is-visible .pill:nth-child(1) { transition-delay: .6s; }
.about-quarry.is-visible .pill:nth-child(2) { transition-delay: .85s; }
.about-quarry.is-visible .pill:nth-child(3) { transition-delay: 1.1s; }
.about-quarry.is-visible .pill:hover {
  background: #fff; color: #5D9B5D;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 24px rgba(93,155,93,0.28);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .3s ease, color .3s ease, box-shadow .3s ease;
}
.pill strong { font-weight: 600; }
.pill-ico {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pill-ico span {
  width: 9px; height: 9px; background: currentColor;
  -webkit-mask: url(../assets/icons/icon-arrow.png) center/contain no-repeat;
  mask: url(../assets/icons/icon-arrow.png) center/contain no-repeat;
  display: block;
}

/* ============ OWNED QUARRY MARQUEE ============ */
.ticker { background: #0F0F0A; overflow: hidden; padding: 10px 0; }
.ticker-top { border-bottom: 1px solid rgba(93,155,93,0.35); }
.ticker-bot { border-top: 1px solid rgba(93,155,93,0.35); }
.ticker-track { display: flex; width: max-content; }
.ticker-track-ltr { animation: marquee-ltr-slow 48s linear infinite; }
.ticker-track-rtl { animation: marquee-rtl-slow 48s linear infinite; }
.ticker-span {
  display: flex; white-space: nowrap;
  font-size: 11px; letter-spacing: 2px; font-weight: 500;
  color: #5D9B5D; text-transform: uppercase;
}
@keyframes marquee-ltr-slow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rtl-slow { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.owned {
  position: relative; min-height: 190px;
  display: flex; align-items: center; overflow: hidden; cursor: pointer;
}
.owned-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); filter: brightness(1);
  transition: transform .9s cubic-bezier(.22,1,.36,1), filter .9s ease;
}
.owned:hover .owned-img { transform: scale(1.1); filter: brightness(1.08); }
.owned-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,6,0.9) 0%, rgba(10,10,6,0.65) 35%, rgba(10,10,6,0.25) 70%, rgba(10,10,6,0.15) 100%);
  pointer-events: none;
}
.owned-content { position: relative; z-index: 2; padding: 34px 0 34px 40px; }
.owned-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 30px; line-height: 1.2;
  color: #fff; margin-bottom: 6px; text-transform: uppercase;
}
.owned-p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.9); }
.owned.is-visible .owned-h1, .owned.is-visible .owned-p { opacity: 1; transform: translateY(0); }
.owned-h1, .owned-p { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.owned.is-visible .owned-p { transition-delay: .15s; }

/* ============ GLOBAL PRESENCE ============ */
.about-global { position: relative; background: #EDEAE1; color: #201F1A; padding: 50px 0; overflow: hidden; }
.about-global-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 50px; align-items: center;
}
.about-global-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 34px; line-height: 1.25;
  margin: 0 0 20px; color: #201F1A;
}
.about-global-p {
  font-size: 14px; line-height: 1.9; font-weight: 300;
  color: rgba(32,31,26,0.75); margin: 0; max-width: 400px;
}
.about-global-p strong { font-weight: 600; }
.about-global .ak { white-space: nowrap; }
.world-outer {
  position: relative; width: 100%; max-width: 600px;
  aspect-ratio: 764/525; margin-left: auto; cursor: pointer;
  transform-origin: center;
  opacity: 0; transform: scale(0.94); filter: saturate(1) brightness(1);
  transition: opacity 1s ease .2s, transform .5s cubic-bezier(.22,1,.36,1), filter .4s ease;
}
.about-global.is-visible .world-outer { opacity: 1; transform: scale(1); }
.about-global.is-visible .world-outer:hover {
  transform: scale(1.06);
  filter: saturate(1.55) brightness(1.05) contrast(1.04);
}
.world-mask {
  position: relative; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at center, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 65% at center, #000 45%, transparent 100%);
}
.world-mask img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* ============ CTA PARTNERSHIP ============ */
.about-cta {
  position: relative; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer;
}
.about-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);
}
.about-cta:hover .about-cta-img { transform: scale(1.1); }
.about-cta-shade { position: absolute; inset: 0; background: rgba(8,8,5,0.6); pointer-events: none; }
.about-cta-inner { position: relative; text-align: center; padding: 60px 40px; }
.about-cta-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 32px; color: #F3F2EC; margin: 0 0 28px;
}
.about-cta-h2 .word { color: #8FCB6A; }
.about-cta-inner .reveal.d1 { transition-delay: .2s; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .about-hero { min-height: 0; }
  .about-hero-title { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; padding-bottom: 56px; }
  .about-hero-imgwrap { height: 220px; -webkit-mask-image: none; mask-image: none; }
  .drive-h2 { white-space: normal; font-size: 28px; }
  .drive-grid { grid-template-columns: 1fr; gap: 44px; }
  .quarry-detail { grid-template-columns: 1fr; gap: 30px; justify-items: center; }
  .quarry-p { justify-self: stretch; }
  .about-global-grid { grid-template-columns: 1fr; gap: 34px; }
  .world-outer { margin: 0 auto; }
}
@media (max-width: 600px) {
  .about-hero-title { padding-top: 40px; }
  .about-hero-h1 { font-size: 32px; }
  .about-hero-p { font-size: 13.5px; }
  .drive { padding: 56px 0; }
  .principle { padding: 0 6px; }
  .about-quarry { padding: 60px 0; }
  .about-quarry-h2 { font-size: 28px; }
  .aerial-wrap { margin-bottom: 40px; }
  .quarry-detail { padding: 0; }
  .pills { max-width: 320px; }
  .about-global { padding: 48px 0 64px; }
  .about-global-h2 { font-size: 28px; }
  .owned { min-height: 160px; }
  .owned-content { padding: 26px 22px; }
  .owned-h1 { font-size: 26px; }
  .about-cta-h2 { font-size: 26px; }
}