/* Purpose: About Us — warm cream section. Centred eyebrow + serif headline, three image
   cards that fan open on scroll (stacked → spread; see initAboutFan), a stats row, and a
   Learn More CTA. CSS default for the cards is the FANNED state (graceful without JS). */

.about-us {
  --cream: #F3EDE3;
  --ink: #2C2017;
  --ink-2: #5B4A3B;
  --brown: var(--emerald);              /* accent now follows the site's emerald theme */
  --line: rgba(60, 44, 30, 0.14);
  --dot: #6B8E23;
  position: relative;
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}

/* ── Header ── */
.about-us__head { max-width: 720px; margin: 0 auto; }
.about-us__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: #FFFFFF; border-radius: 100px; padding: 7px 16px;
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  box-shadow: 0 6px 18px -10px rgba(60, 44, 30, 0.3); margin-bottom: 22px;
}
.about-us__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.about-us__title {
  font-family: var(--font-display); font-weight: var(--weight-regular);
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.015em;
  color: var(--ink); margin: 0;
}
.about-us__title em { font-style: italic; color: var(--brown); }
.about-us__sub { margin: 20px auto 0; max-width: 48ch; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* ── Fanning cards ── */
.about-us__cards {
  position: relative; width: 100%; max-width: 760px;
  height: 460px; margin: 56px auto 0;
  display: grid; place-items: center; perspective: 1400px;
}
.about-card {
  position: absolute; width: 268px; height: 372px; margin: 0;
  border-radius: 22px; overflow: hidden; background: var(--brown);
  box-shadow: 0 40px 70px -30px rgba(60, 44, 30, 0.5);
  transform-origin: center bottom; will-change: transform;
}
.about-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Default = STACKED (one card visible); initAboutFan scrubs them OPEN on scroll. */
.about-card--left   { transform: translateX(0) rotate(0deg) scale(0.9); z-index: 1; }
.about-card--center { transform: translateY(0) scale(1); z-index: 3; }
.about-card--right  { transform: translateX(0) rotate(0deg) scale(0.9); z-index: 1; }
/* Side badges reveal only once the cards fan out (the stacked card shows only its own). */
.about-card--left .about-card__badge,
.about-card--right .about-card__badge { opacity: 0; }

.about-card__badge {
  position: absolute; top: 16px; left: 16px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  background: #FFFFFF; border-radius: 100px; padding: 7px 13px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--ink);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.4);
}
.about-card--right .about-card__badge { left: auto; right: 16px; }
.about-card__bdot { width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }

@media (max-width: 620px) {
  .about-us__cards { height: 380px; }
  .about-card { width: 210px; height: 286px; }
}
/* No JS / reduced motion: show the cards already fanned so all content is visible. */
@media (prefers-reduced-motion: reduce) {
  .about-card--left   { transform: translateX(-60%) translateY(32px) rotate(-12deg); }
  .about-card--right  { transform: translateX(60%) translateY(32px) rotate(12deg); }
  .about-card--center { transform: none; }
  .about-card--left .about-card__badge,
  .about-card--right .about-card__badge { opacity: 1; }
}

/* ── Stats row ── */
.about-us__stats {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin: 72px auto 0; padding-top: 40px; border-top: 1px solid var(--line);
  max-width: 1080px;
}
@media (min-width: 760px) { .about-us__stats { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.about-stat { padding: 0 28px; }
@media (min-width: 760px) {
  .about-stat + .about-stat { border-left: 1px solid var(--line); }
}
.about-stat__num {
  font-family: var(--font-display); font-weight: var(--weight-regular);
  font-size: clamp(48px, 5vw, 68px); line-height: 1; color: var(--emerald); margin: 0;  /* brand dark forest green */
  display: inline-flex; align-items: flex-start; justify-content: center;
}
.about-stat__num sup { font-size: 0.32em; color: var(--emerald); margin-top: 0.4em; font-weight: 500; }
.about-stat__label {
  font-family: var(--font-body); font-weight: 600; font-size: 18px; color: var(--ink);
  margin: 12px 0 8px;
}
.about-stat__label em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--brown); }
.about-stat__desc { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 34ch; margin-inline: auto; }

/* ── CTA ── */
.about-us__cta-wrap { margin-top: 48px; }
.about-us__cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--emerald); color: #FFFFFF;
  padding: 11px 13px 11px 26px; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; text-decoration: none;
  transition: background var(--dur-default), transform var(--dur-default), box-shadow var(--dur-default);
}
.about-us__cta:hover { background: var(--bg-dark-2); transform: translateY(-2px); box-shadow: 0 14px 24px -12px rgba(55, 96, 84, 0.45); }
.about-us__cta-ic {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: #FFFFFF; color: var(--emerald);
}
.about-us__cta-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
