/* =====================================================================
   About Page 
===================================================================== */

/* Design tokens (--d3-*) are defined once in tokens.css, loaded globally.
   The page hero lives in page_hero.css + partials/page_hero.php. */
.b-about {
  font-family: var(--d3-ff-body);
  color: var(--d3-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.b-about h1,
.b-about h2,
.b-about h3,
.b-about h4 {
  font-family: var(--d3-ff-disp);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.015em;
  font-weight: 600;
}

.b-about p { margin: 0; }
.b-about a { color: inherit; text-decoration: none; }
.b-about img { max-width: 100%; display: block; }

/* ============================================================
   WRAP
============================================================ */
.b-about .b-wrap {
  max-width: var(--d3-maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ============================================================
   KICKER
============================================================ */
.b-about .b-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--d3-ff-nav);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--d3-brand);
  margin: 0 0 1.2rem;
}

.b-about .b-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--d3-brand);
}

/* ============================================================
   STORY — full-width image + overlapping text panel
============================================================ */
.b-story {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--d3-white);
}

.b-story__visual {
  position: relative;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.b-story__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b-story__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 16, 49, .12) 100%);
  pointer-events: none;
}

.b-story__year-badge {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  bottom: -1px;
  background: var(--d3-brand);
  color: #fff;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: baseline;
  gap: .6rem;
  z-index: 2;
}

.b-story__year-badge .yr {
  font-family: var(--d3-ff-disp);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.b-story__year-badge .label {
  font-family: var(--d3-ff-nav);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .85;
}

/* --- Story content grid --- */
.b-story__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.b-story__left h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  margin-bottom: 1.8rem;
  max-width: 22ch;
}

.b-story__left p {
  color: var(--d3-ink-soft);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  max-width: 56ch;
}

/* --- Sustainability panel --- */
.b-story__right {
  background: var(--d3-paper);
  border: 1px solid var(--d3-rule);
  padding: clamp(1.8rem, 3vw, 2.5rem);
}

.b-story__right h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.b-story__right h3 .icon-circle {
  width: 36px;
  height: 36px;
  background: var(--d3-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.b-story__right h3 .icon-circle svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.b-story__right p {
  color: var(--d3-ink-soft);
  font-size: .92rem;
  line-height: 1.75;
}

.b-story__right .b-divider {
  height: 1px;
  background: var(--d3-rule);
  margin: 1.5rem 0;
}

.b-story__right .b-stat-row {
  display: flex;
  gap: 2rem;
}

.b-story__right .b-stat {
  display: flex;
  flex-direction: column;
}

.b-story__right .b-stat .num {
  font-family: var(--d3-ff-disp);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--d3-brand);
  line-height: 1.1;
}

.b-story__right .b-stat .desc {
  font-family: var(--d3-ff-nav);
  font-size: .78rem;
  color: var(--d3-steel);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .3rem;
}

/* ============================================================
   SERVICES — numbered cards 2x2
============================================================ */
.b-services {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--d3-paper);
  border-top: 1px solid var(--d3-rule);
}

.b-sec-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.b-sec-head .b-kicker {
  justify-content: center;
}

.b-sec-head h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  margin-bottom: .8rem;
}

.b-sec-head p {
  color: var(--d3-ink-soft);
  font-size: .95rem;
  max-width: 52ch;
  margin: 0 auto;
}

.b-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.b-card {
  background: var(--d3-white);
  border: 1px solid var(--d3-rule);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  position: relative;
  transition: border-color .25s, box-shadow .25s;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.b-card:hover {
  border-color: var(--d3-brand);
  box-shadow: 0 12px 40px -20px rgba(3, 16, 49, .18);
}

.b-card__num {
  font-family: var(--d3-ff-disp);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--d3-paper-3);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
  transition: color .25s;
}

.b-card:hover .b-card__num {
  color: var(--d3-brand);
}

.b-card__body h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  line-height: 1.3;
}

.b-card__body p {
  color: var(--d3-ink-soft);
  font-size: .88rem;
  line-height: 1.65;
}

.b-card__body .b-tag {
  font-family: var(--d3-ff-nav);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--d3-steel);
  margin-top: .8rem;
  display: block;
}

/* ============================================================
   REVEAL ANIMATION
============================================================ */
.b-about .js-reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1),
              transform .9s cubic-bezier(.2, .7, .2, 1),
              filter .9s cubic-bezier(.2, .7, .2, 1);
}

.b-about .js-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .b-about .js-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .b-story__content {
    grid-template-columns: 1fr;
  }
  .b-story__year-badge {
    right: 1rem;
  }
  .b-story__visual {
    aspect-ratio: 16 / 9;
  }
  .b-story__visual img {
    aspect-ratio: auto;
  }
  .b-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .b-story__year-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    display: inline-flex;
  }
  .b-story__right .b-stat-row {
    flex-direction: column;
    gap: 1rem;
  }
  .b-card {
    flex-direction: column;
    gap: .8rem;
  }
}
