/* ==========================================================================
   Skydime Holdings — About page (about.html)
   Builds on tokens/primitives defined in styles.css. Presentation is fully
   scoped to body.about-page so the approved Holdings homepage and entity
   pages are unaffected. This is a Holdings-level page — it reuses the exact
   approved index.html header/utility-bar/footer markup (not an entity
   utility-bar pattern), following the same body-scoped fixed-chrome recipe
   homepage.css uses for body.homepage.
   ========================================================================== */

body.about-page {
  background: var(--bg);
}

/* ---- Fixed chrome (utility bar + header), same recipe as the homepage ----- */

body.about-page .utility-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 101;
}

body.about-page .header {
  top: var(--utility-h-mobile);
}

body.about-page .about-hero {
  margin-top: calc(var(--utility-h-mobile) + var(--header-h-mobile));
}

@media (min-width: 768px) {
  body.about-page .header {
    top: var(--utility-h);
  }

  body.about-page .about-hero {
    margin-top: calc(var(--utility-h) + var(--header-h));
  }
}

/* ---- Shared centred container (same formula as Properties/Insurance/Tours/Capital) */

.about-container {
  width: min(1320px, calc(100% - 36px));
  margin-inline: auto;
}

@media (min-width: 390px) {
  .about-container {
    width: min(1320px, calc(100% - 44px));
  }
}

@media (min-width: 768px) {
  .about-container {
    width: min(1320px, calc(100% - 64px));
  }
}

@media (min-width: 1024px) {
  .about-container {
    width: min(1320px, calc(100% - 88px));
  }
}

@media (min-width: 1440px) {
  .about-container {
    width: min(1320px, calc(100% - 112px));
  }
}

body.about-page main [id] {
  scroll-margin-top: calc(var(--utility-h-mobile) + var(--header-h-mobile) + 18px);
}

@media (min-width: 768px) {
  body.about-page main [id] {
    scroll-margin-top: calc(var(--utility-h) + var(--header-h) + 22px);
  }
}

/* ---- Typography scale (scoped override of styles.css .section-title) ------ */

body.about-page .section-title h2 {
  margin-top: 0.55rem;
  font-size: 27px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  body.about-page .section-title h2 {
    font-size: 31px;
  }
}

@media (min-width: 1024px) {
  body.about-page .section-title h2 {
    font-size: 36px;
  }
}

body.about-page .section-title p {
  margin-top: 12px;
  max-width: 640px;
  line-height: 1.65;
}

body.about-page .eyebrow {
  font-size: 13px;
}

.section-title--centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-title--centered h2 {
  max-width: 720px;
  margin-inline: auto;
}

.section-title--centered p {
  max-width: 620px;
  margin-inline: auto;
}

body.about-page .btn-primary .btn-arrow,
body.about-page .btn-secondary .btn-arrow {
  transition: transform 0.2s var(--ease);
}

body.about-page .btn-primary:hover .btn-arrow,
body.about-page .btn-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

/* ---- Section rhythm -------------------------------------------------------- */

.about-section {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 56px 0;
  }
}

@media (min-width: 1024px) {
  .about-section {
    padding: 64px 0;
  }
}

.about-section--muted {
  background: var(--surface-muted);
}

.about-section--compact {
  padding: 36px 0;
}

@media (min-width: 768px) {
  .about-section--compact {
    padding: 44px 0;
  }
}

/* ---- About hero — compact corporate treatment (no photography) ---------------- */

.about-hero {
  position: relative;
  overflow: hidden;
  height: 260px;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 160% at 18% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.09) 1.5px, transparent 0),
    radial-gradient(120% 160% at 18% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  background-size: 26px 26px, auto, auto;
  border-bottom: 3px solid var(--brand-green);
}

@media (min-width: 768px) {
  .about-hero {
    height: 300px;
  }
}

@media (min-width: 1024px) {
  .about-hero {
    height: 330px;
  }
}

@media (min-width: 1180px) {
  .about-hero {
    height: 350px;
  }
}

@media (min-width: 1440px) {
  .about-hero {
    height: 370px;
  }
}

.about-hero__content {
  max-width: 800px;
  margin-inline: auto;
  padding: 1.5rem 0;
  text-align: center;
  color: var(--white);
}

.about-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-hero__eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-green);
}

.about-hero__headline {
  margin-top: 0.85rem;
  font-size: 29px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.015em;
}

@media (min-width: 768px) {
  .about-hero__headline {
    font-size: 35px;
  }
}

@media (min-width: 1024px) {
  .about-hero__headline {
    font-size: 40px;
  }
}

@media (min-width: 1180px) {
  .about-hero__headline {
    font-size: 44px;
  }
}

@media (min-width: 1440px) {
  .about-hero__headline {
    font-size: 48px;
  }
}

.about-hero__text {
  margin-top: 0.85rem;
  max-width: 640px;
  margin-inline: auto;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

@media (min-width: 768px) {
  .about-hero__text {
    font-size: 16.5px;
  }
}

.about-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 0.2rem;
  transition: color 0.2s var(--ease);
}

.about-hero__cta:hover {
  color: var(--brand-green);
}

.about-hero__cta svg {
  transition: transform 0.2s var(--ease);
}

.about-hero__cta:hover svg {
  transform: translateY(2px);
}

/* ---- Who We Are — asymmetric editorial (image / text, ~48/52) ---------------- */

.about-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .about-editorial {
    grid-template-columns: 48% 1fr;
    gap: 48px;
  }
}

.about-editorial__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.about-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-editorial__copy h2 {
  margin-top: 0.5rem;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-blue);
  line-height: 1.22;
}

@media (min-width: 768px) {
  .about-editorial__copy h2 {
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .about-editorial__copy h2 {
    font-size: 34px;
  }
}

.about-editorial__copy p {
  margin-top: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 15.5px;
  max-width: 54ch;
}

.about-editorial__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 20px;
  list-style: none;
}

.about-editorial__list a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--brand-blue);
  font-size: 13.5px;
  font-weight: 700;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.about-editorial__list a:hover {
  border-color: var(--brand-green);
  background: rgba(0, 168, 89, 0.06);
  color: var(--brand-green);
}

/* ---- Our Businesses — editorial 2x2 showcase ----------------------------------- */

.business-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}

@media (min-width: 700px) {
  .business-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

.business-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.business-block:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 49, 107, 0.24);
  box-shadow: var(--shadow-sm);
}

.business-block__logo {
  display: flex;
  align-items: center;
  height: 64px;
}

.business-block__logo img {
  max-width: 165px;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.business-block__desc {
  margin-top: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

.business-block__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 18px;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.85rem;
}

.business-block__cta svg {
  transition: transform 0.2s var(--ease);
}

.business-block:hover .business-block__cta {
  color: var(--brand-green);
}

.business-block:hover .business-block__cta svg {
  transform: translateX(3px);
}

/* ---- Our Purpose — editorial image + typographic pillar grid ------------------- */

#purpose.about-section {
  background: var(--surface-strong);
}

.about-purpose {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .about-purpose {
    grid-template-columns: 40% 1fr;
    gap: 44px;
  }
}

.about-purpose__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.about-purpose__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 36px;
  border-top: 1px solid var(--border-soft);
  border-left: 1px solid var(--border-soft);
}

@media (min-width: 640px) {
  .purpose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) and (max-width: 1023px) {
  .about-purpose__content .purpose-grid {
    grid-template-columns: 1fr;
  }
}

.purpose-pillar {
  padding: 28px 26px;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.purpose-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.purpose-pillar__icon svg {
  width: 22px;
  height: 22px;
}

.purpose-pillar__label {
  display: block;
  margin-top: 14px;
  color: var(--brand-blue);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  .purpose-pillar__label {
    font-size: 30px;
  }
}

.purpose-pillar p {
  margin-top: 10px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
  max-width: 40ch;
}

/* ---- Connected Expertise — hub + routes (desktop), vertical journey (mobile) --- */

.connected-diagram {
  margin-top: 36px;
}

.connected-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 28px;
}

.connected-hub::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 28px;
  background: var(--border);
  transform: translateX(-50%);
}

@media (max-width: 767px) {
  .connected-hub::after {
    display: none;
  }
}

.connected-hub__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.connected-hub__icon img {
  width: 28px;
  height: 28px;
}

.connected-hub__label {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 15px;
}

.connected-routes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
}

@media (min-width: 640px) {
  .connected-routes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .connected-routes {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 28px;
  }

  .connected-routes::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--border);
  }
}

.connected-route {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.connected-route:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 49, 107, 0.24);
  box-shadow: var(--shadow-sm);
}

.connected-route__need {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.connected-route__chevron {
  color: var(--brand-green);
  margin: 2px 0;
}

@media (min-width: 900px) {
  .connected-route__chevron {
    display: none;
  }
}

.connected-route__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  margin-top: 4px;
}

.connected-route__logo img {
  max-height: 100%;
  max-width: 92px;
  width: auto;
  object-fit: contain;
}

.connected-route__name {
  margin-top: 4px;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 14.5px;
}

.connected-route__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 6px;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 12.5px;
  transition: color 0.2s var(--ease);
}

.connected-route:hover .connected-route__cta {
  color: var(--brand-green);
}

/* ---- Leadership — two balanced portrait profiles -------------------------------- */

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 620px;
  margin: 36px auto 0;
}

@media (min-width: 560px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.leader-card {
  text-align: center;
}

.leader-card__media {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-strong);
}

.leader-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.leader-card:hover .leader-card__media img {
  transform: scale(1.02);
}

.leader-card__name {
  margin-top: 16px;
  color: var(--brand-blue);
  font-size: 21px;
  font-weight: 700;
}

.leader-card__role {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
}

/* ---- Why Skydime (value grid) — same recipe as Insurance/Tours/Capital --------- */

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 560px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.value-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.value-item:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 49, 107, 0.24);
  box-shadow: var(--shadow-sm);
}

.value-item h3 {
  margin-top: 14px;
  color: var(--brand-blue);
  font-size: 19px;
  font-weight: 700;
}

.value-item p {
  margin-top: 6px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

/* ---- Where Can We Help — final routing ------------------------------------------ */

.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 32px auto 0;
}

@media (min-width: 400px) {
  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .help-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.help-route {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.help-route:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 49, 107, 0.24);
}

.help-route .icon-circle {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.help-route .icon-circle svg {
  width: 18px;
  height: 18px;
}

.help-route__label {
  flex: 1;
  min-width: 0;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 14.5px;
}

.help-route__arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.help-route:hover .help-route__arrow {
  color: var(--brand-green);
  transform: translateX(3px);
}

.help-talk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 28px;
  text-align: center;
}

.help-talk span {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
}

.help-talk .btn {
  min-height: 44px;
}

/* ---- Back to top (same recipe as Properties/Insurance/Tours/Capital) ----------- */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brand-blue);
  color: var(--white);
}

@media (min-width: 768px) {
  .back-to-top {
    right: 26px;
    bottom: 96px;
    width: 44px;
    height: 44px;
  }
}
