/* /about */
.about-hero { padding: 64px 0 88px; background: radial-gradient(600px 420px at 90% 0%, rgba(199, 161, 74, .12), rgba(246, 247, 250, 0) 70%), var(--bg); }
.about-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-hero h1 { margin-bottom: 24px; }
.about-hero .lead { margin-bottom: 30px; }
.about-hero__photo { aspect-ratio: 1 / 1; max-width: 500px; justify-self: end; width: 100%; border-radius: 32px; box-shadow: var(--shadow-lg); }
/* Landscape photo in a square card: this position keeps the face and the raised hand with the sphere in frame. */
.about-hero__photo > img { object-position: 55% 40%; }
.about-hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 33, 61, 0) 60%, rgba(20, 33, 61, .88) 100%); pointer-events: none; }
.about-hero__label { position: absolute; left: 26px; bottom: 22px; z-index: 1; margin: 0; color: rgba(255, 255, 255, .92) !important; }

/* Eyebrow sits in its own row so the text column starts level with the heading, not the eyebrow. */
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; grid-template-rows: auto auto 1fr; column-gap: 64px; align-items: start; }
.story__eyebrow { grid-column: 1; grid-row: 1; }
.story__title { grid-column: 1; grid-row: 2; }
.story__photo-wrap { grid-column: 1; grid-row: 3; }
.story__text { grid-column: 2; grid-row: 2 / 4; }
.story h2 { margin-bottom: 32px; }
.story__photo-wrap { position: relative; max-width: 440px; }
.story__photo-wrap::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--gold); border-radius: 26px; }
.story__photo { aspect-ratio: 1.35 / 1; border-radius: 24px; box-shadow: var(--shadow-lg); }
.story__caption { position: absolute; left: 22px; bottom: 18px; z-index: 1; margin: 0; color: #fff !important; }
.story__text { font-size: 16px; color: var(--muted); }
.story__text p { margin-bottom: 20px; }
.story__text p:last-child { margin-bottom: 0; }

.promises-title { margin-bottom: 32px; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise { padding: 32px 30px 34px; border-radius: var(--r-lg); min-height: 240px; }
.promise h3 { font-size: 26px; margin: 24px 0 12px; }
.promise p { margin: 0; font-size: 14.5px; color: var(--muted); }
.promise.on-dark p { color: var(--on-dark); }
.card--gold.promise p { color: rgba(20, 33, 61, .78); }
.card--gold.promise { box-shadow: 0 24px 50px -26px rgba(169, 133, 47, .8); }
.promise__gold-icon { background: rgba(255, 255, 255, .25); border: 1px solid rgba(20, 33, 61, .15); }

/* Mission statement: dark band. The eyebrow has its own row so the vision paragraph starts level with the heading. */
.mission { --node: 22px; --path-gap: 48px; background: radial-gradient(640px 420px at 100% 0%, rgba(199, 161, 74, .10), rgba(20, 33, 61, 0) 70%), var(--ink); }
.mission__intro { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; column-gap: 64px; align-items: start; margin-bottom: 80px; }
.mission__eyebrow { grid-column: 1; grid-row: 1; }
.mission__title { grid-column: 1; grid-row: 2; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; color: #fff; }
.mission__vision { grid-column: 2; grid-row: 2; max-width: 52ch; margin: 0; font-size: 17px; line-height: 1.7; color: var(--on-dark); }
.mission__path-eyebrow { display: block; margin-bottom: 32px; }

/* The path. main.js sets --line-top/left/length from the node centres, so the line runs exactly from
   node 1 to node 3 in either layout (the calc() values are only the no-JS fallback). The default, and
   reduced motion, is the finished state; main.js adds .is-waiting until it scrolls in, then .is-in. */
.mission-path { position: relative; }
.mission-path__stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--path-gap); margin: 0; padding: 0; list-style: none; }
.mission-path__line {
  position: absolute; z-index: 0; height: 2px; background: var(--gold); transform-origin: left center;
  top: var(--line-top, calc(var(--node) / 2 - 1px)); left: var(--line-left, calc(var(--node) / 2));
  width: var(--line-length, calc((100% - 2 * var(--path-gap)) / 3 * 2 + 2 * var(--path-gap)));
}
.mission-stage { position: relative; }
.mission-stage__node { position: relative; z-index: 1; display: block; width: var(--node); height: var(--node); margin-bottom: 22px; border: 2px solid var(--gold); border-radius: 50%; background: var(--gold); }
.mission-stage__label { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.mission-stage__title { margin-bottom: 12px; font-size: 28px; color: #fff; }
.mission-stage p { max-width: 36ch; margin: 0; font-size: 15px; line-height: 1.65; color: var(--on-dark); }

/* One timeline: the line draws over --draw with ease-out, and each node fills as the line reaches it
   (main.js works out each node's --fill-delay from where it sits on the line). */
.mission-path.is-waiting .mission-path__line { transform: scaleX(0); }
.mission-path.is-waiting .mission-stage__node { background-color: var(--ink); }
.mission-path.is-in .mission-path__line { transition: transform var(--draw, 1.35s) cubic-bezier(.33, 1, .68, 1); }
.mission-path.is-in .mission-stage__node { transition: background-color .25s ease-out var(--fill-delay, 0s); }
@media (prefers-reduced-motion: reduce) {
  .mission-path .mission-path__line { transform: none !important; transition: none !important; }
  .mission-path .mission-stage__node { background-color: var(--gold) !important; transition: none !important; }
}

.cta-band--dark { position: relative; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.cta-band--dark .hero-bg img { object-position: center 35%; }
.cta-band--dark .hero-bg::after { background: linear-gradient(90deg, rgba(20, 33, 61, .98) 0%, rgba(20, 33, 61, .9) 50%, rgba(20, 33, 61, .65) 100%); }
.cta-band--dark > :not(.hero-bg) { position: relative; z-index: 1; }
.cta-band--dark p { color: var(--on-dark); }

@media (max-width: 960px) {
  .about-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .story__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .story__eyebrow, .story__title, .story__photo-wrap, .story__text { grid-column: 1; grid-row: auto; }
  .story__text { margin-top: 48px; }
  .about-hero__photo { justify-self: start; }
  .promises { grid-template-columns: 1fr; }
  .mission__intro { grid-template-columns: 1fr; margin-bottom: 64px; }
  .mission__vision { grid-column: 1; grid-row: auto; margin-top: 24px; }
  /* Vertical path: nodes in a left column, and the line runs top to bottom through their centres. */
  .mission-path__stages { grid-template-columns: 1fr; gap: 40px; }
  .mission-stage { padding-left: calc(var(--node) + 20px); }
  .mission-stage__node { position: absolute; left: 0; top: 2px; margin: 0; }
  .mission-path__line {
    width: 2px; transform-origin: center top;
    top: var(--line-top, calc(var(--node) / 2 + 2px)); left: var(--line-left, calc(var(--node) / 2 - 1px));
    height: var(--line-length, calc(100% - 140px));
  }
  .mission-path.is-waiting .mission-path__line { transform: scaleY(0); }
}
@media (max-width: 640px) {
  .about-hero { padding: 40px 0 56px; }
  .story__photo-wrap { margin-right: 16px; }
  .promise { min-height: 0; }
}
