/* =====================================================
   about-us.css — c-website-pages/about-us.php
   ===================================================== */

.au-page {
  --au-ink: #0b1a26;
  --au-ink-soft: #16283a;
  --au-green: #3f7c46;
  --au-green-lt: #7bc47f;
  --au-body: #46525f;
  --au-line: #e6eaee;

  color: #101820;
  background: #fff;
  overflow-x: hidden;
}

.au-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HERO === */

/* Photo hero. The file is stored in the theme at display size (1920x900 / 900x760) rather
   than hotlinked from Pexels — a third-party image host costs a connection, a third-party
   cookie and a Best Practices failure for a cache lifetime we do not control. */
.au-hero {
  position: relative;
  padding: 112px 0 140px;
  text-align: center;
  background-color: #071410;
  background-image: url("../about-hero-tiger.jpg");
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

/*
 * Scrim over the photo. A negative z-index child paints above the parent's background but
 * below its in-flow content, so this darkens the tiger without touching the text.
 *
 * It is heavy on purpose: white on an unscrimmed photo is a contrast gamble that changes with
 * every crop. At these values the lightest part of the image sits well past 7:1.
 */
.au-hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 50% 44%, rgba(4, 14, 11, 0.62) 0%, rgba(4, 14, 11, 0.2) 72%, rgba(4, 14, 11, 0) 100%),
    linear-gradient(180deg, rgba(6, 18, 14, 0.9) 0%, rgba(6, 18, 14, 0.6) 40%, rgba(7, 20, 16, 0.93) 100%),
    linear-gradient(115deg, rgba(31, 74, 48, 0.42) 0%, rgba(31, 74, 48, 0) 55%);
}

/* Vignette, so the photo does not stop dead against the stats card below it. */
.au-hero-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 50%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.42) 100%);
}

.au-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #e4ecf3;
  backdrop-filter: blur(6px);
}

.au-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--au-green-lt);
  box-shadow: 0 0 0 4px rgba(123, 196, 127, 0.22);
}

.au-hero h1 {
  margin: 0 0 26px;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -2.4px;
  line-height: 1.06;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.au-grad {
  background: linear-gradient(96deg, #8fd694 0%, #cfe98f 45%, #8ecff0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.au-lede {
  max-width: 730px;
  margin: 0 auto 18px;
  font-size: 17.5px;
  line-height: 1.75;
  color: #dce6e0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.au-lede-sub {
  font-size: 16px;
  color: #b9c8c0;
  margin-bottom: 34px;
}

.au-lede em { color: #f0f5f2; font-style: italic; }

/* === BUTTONS === */

.au-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.au-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.au-btn i { font-size: 14px; }

.au-btn-primary {
  background: linear-gradient(180deg, #57a95f 0%, #3f7c46 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(63, 124, 70, 0.38);
}

.au-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(63, 124, 70, 0.46);
}

.au-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.au-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.au-btn-light {
  background: #fff;
  color: var(--au-ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.au-btn-light:hover { transform: translateY(-2px); }

.au-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.au-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* === STATS (lifted out of the hero) === */

.au-stats-band {
  position: relative;
  margin-top: -76px;
  padding-bottom: 8px;
}

.au-stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 34px 20px;
  background: #fff;
  border: 1px solid var(--au-line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(11, 26, 38, 0.14);
  text-align: center;
}

.au-stat + .au-stat {
  border-left: 1px solid var(--au-line);
}

.au-stat-num {
  display: block;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  letter-spacing: -1.6px;
  line-height: 1.05;
  background: linear-gradient(180deg, #16283a 0%, #3f7c46 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.au-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #5b6874;
}

.au-stats-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  color: #6b7683;
}

/* === SECTIONS === */

.au-section { padding: 84px 0; }

.au-section-alt {
  background: linear-gradient(180deg, #f7f9fa 0%, #fbfcfc 100%);
  border-top: 1px solid #eef1f3;
  border-bottom: 1px solid #eef1f3;
}

.au-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #35682f;
}

.au-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #57a95f, #a8dc9a);
}

.au-h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.16;
  color: #101820;
}

.au-section-lede {
  max-width: 660px;
  margin: 0 0 48px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--au-body);
}

.au-section-lede em { font-style: italic; color: #2b3844; }

/* === STORY ===
   The section is the story's alone: heading at the top, prose underneath running the full
   width of the wrap. */

.au-story-head {
  margin-bottom: 26px;
}

.au-story-meta {
  margin: 0 0 36px;
  padding-left: 16px;
  border-left: 3px solid #7bc47f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #5b6874;
}

.au-story-body p {
  margin: 0 0 24px;
  font-size: 16.5px;
  /* Extra leading: the measure here is far longer than the rest of the page, and a long line
     needs the gap between rows to be obvious or the eye loses its place on the way back. */
  line-height: 1.95;
  color: var(--au-body);
}

.au-story-body p:first-child {
  /* Opening line carries the section — a touch larger than the rest. */
  font-size: 18px;
  line-height: 1.85;
  color: #2f3b47;
}

.au-story-body p:last-child { margin-bottom: 0; }

/* === WHAT WE DO — LINKED ROWS ===
   No cards here at all. Four full-width rows separated by hairlines: icon, text, arrow.
   Distinct from the timeline below it and the grid further down. */

.au-ways {
  border-top: 1px solid var(--au-line);
}

.au-way {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 30px;
  padding: 30px 24px;
  margin: 0 -24px;
  border-bottom: 1px solid var(--au-line);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.au-way:hover {
  background: #fff;
  box-shadow: 0 14px 34px rgba(11, 26, 38, 0.09);
}

.au-way-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: linear-gradient(150deg, #e9f5e6 0%, #d9edf6 100%);
  color: #2f5f36;
  font-size: 23px;
}

.au-way-text {
  display: block;
  min-width: 0;
}

.au-way-title {
  display: block;
  margin-bottom: 9px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #101820;
}

.au-way-desc {
  display: block;
  max-width: 66ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--au-body);
}

.au-way-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #d7dee4;
  border-radius: 50%;
  color: #16283a;
  font-size: 14px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.au-way:hover .au-way-go {
  background: #16283a;
  border-color: #16283a;
  color: #fff;
  transform: translateX(4px);
}

/* === STEPS — TIMELINE ===
   No card chrome here: the numbers sit on a rule that runs through all three, which is a
   third distinct shape again. */

.au-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.au-steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: linear-gradient(90deg, #d7e0e6 0%, #b9cfc0 50%, #d7e0e6 100%);
}

.au-step {
  position: relative;
  z-index: 1;
}

.au-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1c3348 0%, #0b1a26 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  /* Solid ring in the page colour so the connector rule appears to pass behind the circle. */
  box-shadow: 0 0 0 8px #fff, 0 8px 18px rgba(11, 26, 38, 0.22);
}

.au-step h3 {
  margin: 0 0 11px;
  font-size: 19.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #101820;
}

.au-step p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--au-body);
}

/* === ANIMAL MOSAIC === */

.au-mosaic {
  display: flex;
  gap: 0;
  overflow: hidden;
  background: #0b1a26;
  /* Fades into the sections above and below instead of stopping at a hard edge. */
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

/* Ten tiles across a full-bleed strip, fed by the 480x640 'card' variant — the tile is never
   asked to draw more pixels than the file has, even at 2x. */
.au-mosaic img {
  flex: 1 1 0;
  min-width: 0;
  height: 200px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* === VALUES === */

.au-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 44px;
}

.au-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--au-line);
  color: #2f5f36;
  font-size: 18px;
  box-shadow: 0 5px 14px rgba(11, 26, 38, 0.07);
}

.au-value h3 {
  margin: 0 0 10px;
  font-size: 19.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #101820;
}

.au-value p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--au-body);
}

/* === CTA === */

.au-cta {
  position: relative;
  padding: 90px 0 100px;
  text-align: center;
  background: var(--au-ink);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.au-cta-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 340px at 50% 110%, rgba(63, 124, 70, 0.55) 0%, rgba(63, 124, 70, 0) 70%),
    radial-gradient(560px 300px at 12% -10%, rgba(31, 90, 138, 0.4) 0%, rgba(31, 90, 138, 0) 70%);
}

.au-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -1.2px;
  color: #fff;
}

.au-cta p {
  max-width: 660px;
  margin: 0 auto 32px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #c2d0dd;
}

/* === RESPONSIVE === */

@media (max-width: 980px) {
  .au-steps { grid-template-columns: 1fr; gap: 30px; }
  .au-steps::before { display: none; }        /* a vertical run of numbers needs no rule */
  .au-step-num { box-shadow: 0 8px 18px rgba(11, 26, 38, 0.22); }
  .au-mosaic img { height: 150px; }
}

@media (max-width: 860px) {
  /* Taller, tighter crop — the 1920x900 file is mostly empty grass on a phone. */
  .au-hero {
    padding: 76px 0 112px;
    background-image: url("../about-hero-tiger-sm.jpg");
    background-position: center 62%;
  }
  .au-section { padding: 60px 0; }
  .au-stats-card { grid-template-columns: repeat(2, 1fr); gap: 26px 8px; padding: 28px 16px; }
  .au-stat:nth-child(3) { border-left: none; }
  .au-story-body p { line-height: 1.8; }
  .au-values { grid-template-columns: 1fr; gap: 30px; }
  .au-way { grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 26px 16px; margin: 0 -16px; }
  .au-way-icon { width: 56px; height: 56px; border-radius: 17px; font-size: 20px; }
  .au-way-go { display: none; }
}

@media (max-width: 560px) {
  .au-wrap { padding: 0 18px; }
  .au-hero h1 br { display: none; }
  .au-badge { font-size: 12px; padding: 7px 14px; }
  .au-stat + .au-stat { border-left: none; }
  .au-story-body p,
  .au-story-body p:first-child { font-size: 16px; }
  .au-way-title { font-size: 19px; }
  .au-btn { width: 100%; justify-content: center; }
  /* Ten tiles in a 360px viewport is a smear — show the first five. */
  .au-mosaic img:nth-child(n + 6) { display: none; }
  .au-mosaic img { height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .au-btn, .au-way, .au-way-go { transition: none; }
  .au-btn:hover { transform: none; }
  .au-way:hover .au-way-go { transform: none; }
}
