/* About Us in the Gravitas site system (site-system.css). Sizes are mapped to the shared scale. */
body.gx-about { --gold: var(--gx-gold); --muted: var(--gx-slate); }

/* hero card */
body.gx-about .about-introduction { padding-bottom: 0 !important; }
body.gx-about .about-introduction h1 { max-width: 560px; margin-bottom: 0; }
body.gx-about .introduction-copy p { font-size: var(--gx-body); line-height: 1.55; margin: 0 0 18px; }
body.gx-about .introduction-copy a { font-weight: 700; }
body.gx-about .about-collage { margin-bottom: 0; }

/* purpose band: a raised night panel, as on Gravitas */
body.gx-about .mission-band { box-sizing: border-box; width: var(--gx-frame); margin: 28px auto 0; border-radius: var(--gx-r); background: var(--gx-ink); box-shadow: var(--gx-raise); }
body.gx-about .mission-inner { padding-block: clamp(34px, 4vw, 52px); grid-template-columns: 220px 1fr auto; }
body.gx-about .mission-inner .eyebrow { color: #d2b575 !important; }
body.gx-about .mission-inner > p:not(.eyebrow) { font-size: var(--gx-lead); line-height: 1.4; color: #f3ecdd; }
body.gx-about .mission-inner > a { font: 600 .8125rem/1.5 var(--gx-sans); letter-spacing: .08em; text-transform: uppercase; color: #e5cf9d; border-bottom: 1px solid #d2b575; padding-bottom: 3px; }

/* people behind the presence */
body.gx-about .hero-dek { font-size: var(--gx-lead); line-height: 1.4; max-width: 30ch; }
body.gx-about .hero-note { font-size: var(--gx-small); font-style: italic; color: var(--gx-slate); }
body.gx-about .scenes-toolbar { font: 600 .75rem/1.5 var(--gx-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gx-slate); }
body.gx-about .scenes-controls button { font-family: var(--gx-sans); }

/* directory */
body.gx-about .section-heading > p { font-size: var(--gx-body); line-height: 1.5; color: var(--gx-slate); max-width: 46ch; }
body.gx-about .directory-featured-title { font-size: var(--gx-h2) !important; }
body.gx-about #people-search { font: 400 var(--gx-small) var(--gx-serif); }
body.gx-about #directory-count, body.gx-about .clear-search { font: 600 .75rem/1.5 var(--gx-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gx-slate); }
body.gx-about .person-card { border: 1px solid var(--gx-border); box-shadow: var(--gx-raise); color: var(--gx-ink); }
body.gx-about .person-copy h3 { font-size: 1.625rem; line-height: 1.12; margin-bottom: 8px; }
body.gx-about .person-role { font-size: var(--gx-small); line-height: 1.4; color: var(--gx-slate); }
body.gx-about .person-kind { font: 700 .6875rem/1.4 var(--gx-sans); letter-spacing: .12em; }
body.gx-about .read-bio { font: 600 .75rem/1.4 var(--gx-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gx-gold); }

/* our story */
body.gx-about .story-copy > p { font-size: var(--gx-body); line-height: 1.55; color: var(--gx-ink); }
body.gx-about .story-copy blockquote { font-size: var(--gx-lead); line-height: 1.4; border-left-color: var(--gx-gold); }
body.gx-about .story-copy cite { font: 600 .75rem/1.5 var(--gx-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gx-gold); }
body.gx-about .founder-links > a { font: 500 1.25rem/1.2 var(--gx-serif); color: var(--gx-ink); }
body.gx-about .founder-links small { font: 600 .6875rem/1.5 var(--gx-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gx-gold); }

/* closing note */
body.gx-about .closing-note h2 { font-size: var(--gx-h3); }
body.gx-about .closing-note p:last-child { font-size: var(--gx-small); color: var(--gx-slate); }

/* footer */
body.gx-about .about-footer { font: 600 .75rem/1.5 var(--gx-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gx-slate); }

/* biography reader */
body.gx-about .bio-dialog { font-family: var(--gx-sans); }
body.gx-about .bio-dialog .bio-body p { font-family: var(--gx-sans); font-size: 1.0625rem; line-height: 1.6; }
body.gx-about .bio-dialog :is(h2, h3, .bio-section-heading) { font-family: var(--gx-sans); font-weight: 500; }
body.gx-about .bio-pullquote blockquote { font-family: var(--gx-sans); font-size: 1.5rem; line-height: 1.45; }
body.gx-about .bio-pullquote figcaption { font: 600 .75rem/1.6 var(--gx-sans); letter-spacing: .08em; text-transform: uppercase; }
body.gx-about .bio-pullquote figcaption span { font: italic 400 .9375rem/1.5 var(--gx-serif); letter-spacing: 0; text-transform: none; }
body.gx-about .bio-book-covers a { font: 500 1rem/1.3 var(--gx-serif); }
body.gx-about .bio-dialog :is(.bio-bar, .bio-pagination, .bio-reading-nav, .bio-progress) { font-family: var(--gx-sans); }

@media (max-width: 760px) {
  body.gx-about .mission-inner { grid-template-columns: 1fr; }
  body.gx-about .mission-inner .eyebrow br { display: inline; }
  body.gx-about .person-copy h3 { font-size: 1.375rem; }
  body.gx-about .person-role { font-size: 1rem; }
}

/* =====================================================================
   Neumorphic composition, section by section, as on the Gravitas homepage:
   raised panels for content, inset wells for things you look into or type in,
   raised pills for everything you press (and inset while pressed).
   ===================================================================== */
body.gx-about :is(.people-presence, .directory, .our-story, .closing-note) {
  box-sizing: border-box; width: var(--gx-frame); margin: 28px auto 0;
}

/* behind the scenes: a raised panel; the photos sit in an inset well */
body.gx-about .people-presence { padding: clamp(32px, 4.5vw, 60px) !important; border-radius: var(--gx-r); background: var(--gx-ground); box-shadow: var(--gx-raise); }
body.gx-about .scenes-carousel { max-width: none; padding: 14px; border-radius: var(--gx-r); box-shadow: var(--gx-inset); }
body.gx-about .scenes-slide { background: var(--gx-ground); border-radius: 14px; }
body.gx-about .scenes-toolbar { padding: 4px 6px 0; }
body.gx-about .scenes-controls button { background: var(--gx-ground); border: 1px solid var(--gx-border); border-radius: var(--gx-r); box-shadow: var(--gx-raise-sm); color: var(--gx-ink); font: 600 .75rem/1 var(--gx-sans); letter-spacing: .06em; text-transform: uppercase; }
body.gx-about .scenes-controls .scenes-previous, body.gx-about .scenes-controls .scenes-next { border-radius: 50%; font-size: 1.125rem; min-width: 44px; min-height: 44px; }
body.gx-about .scenes-controls button:hover { background: var(--gx-ground); color: var(--gx-gold-deep); }
body.gx-about .scenes-controls button:active, body.gx-about .scenes-controls button[aria-pressed="true"] { box-shadow: var(--gx-inset); }

/* contributors: heading on the ground, search as an inset well, cards raised */
body.gx-about .directory { padding: clamp(40px, 5vw, 64px) 0 12px !important; }
body.gx-about .search-field { background: var(--gx-ground); border: 0; box-shadow: var(--gx-inset); padding: 16px 20px; }
body.gx-about .search-field input { font: 400 1.125rem var(--gx-serif); color: var(--gx-ink); }
body.gx-about .clear-search { background: var(--gx-ground); border: 1px solid var(--gx-border); border-radius: var(--gx-r); box-shadow: var(--gx-raise-sm); padding: 12px 18px; }
body.gx-about .person-card { background: var(--gx-ground); border: 0; padding: 10px; }
body.gx-about .person-card:hover { transform: none; box-shadow: var(--gx-raise-sm); }
body.gx-about .person-card:active { box-shadow: var(--gx-inset); }
body.gx-about .person-photo { border-radius: 14px; box-shadow: var(--gx-inset); }
body.gx-about .read-bio { border-top-color: var(--gx-border); }

/* our story: a raised panel; the founders are raised chips; the quote sits in an inset well */
body.gx-about .our-story { padding: clamp(32px, 4.5vw, 60px) !important; border: 0; border-radius: var(--gx-r); background: var(--gx-ground); box-shadow: var(--gx-raise); }
body.gx-about .founder-links > a { padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--gx-ground); border: 1px solid var(--gx-border); box-shadow: var(--gx-raise-sm); }
body.gx-about .founder-links > a:hover { box-shadow: var(--gx-inset); }
body.gx-about .founder-links img { border: 0; box-shadow: var(--gx-inset); }
body.gx-about .story-copy blockquote { margin: 28px 0; padding: 26px 30px; border: 0; border-radius: var(--gx-r); background: var(--gx-ground); box-shadow: var(--gx-inset); position: relative; }
body.gx-about .story-copy blockquote::before { content: "“"; position: absolute; left: 18px; top: -6px; font: 500 4.5rem/1 var(--gx-serif); color: var(--gx-gold); opacity: .35; }

/* closing: the Gravitas closing card, an inset panel with the star, centred */
body.gx-about .closing-note { margin-block: 28px 56px; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding: clamp(44px, 6vw, 80px) clamp(28px, 5vw, 64px) !important; border-radius: var(--gx-r); box-shadow: var(--gx-inset); background: var(--gx-ground); }
body.gx-about .closing-note::before { content: "✦"; font-size: 1.75rem; line-height: 1; color: var(--gx-gold); }
body.gx-about .closing-note h2 { font-size: var(--gx-h2) !important; }
body.gx-about .closing-note p:last-child { font-size: var(--gx-body); max-width: 40ch; margin-inline: auto; }

/* footer lines up with the frame */
body.gx-about .about-footer { box-sizing: border-box; width: var(--gx-frame); }

@media (max-width: 760px) {
  body.gx-about .story-copy blockquote { padding: 22px 20px; }
  body.gx-about .founder-links > a { padding-right: 14px; }
}

/* contributors read like a Gravitas section: label, headline, introduction, then the tools and the cards */
body.gx-about .directory { display: flex; flex-direction: column; }
body.gx-about .directory > .section-heading { display: contents; }
body.gx-about .directory > .section-heading > div { order: 0; }
body.gx-about .directory > .section-heading .eyebrow { margin-bottom: 18px; }
body.gx-about .directory > .directory-featured-title { order: 1; margin: 0 0 20px; max-width: 26ch; }
body.gx-about .directory > .section-heading > p { max-width: 52ch; }
body.gx-about .directory > .section-heading > p { order: 2; margin: 0; }
body.gx-about .directory > .directory-controls { order: 3; margin: 30px 0 34px; }
body.gx-about .directory > :is(.people-grid, .empty-search, noscript) { order: 4; }

/* =====================================================================
   A small video under the biography's sub-navigation. It plays in place,
   beside the text, so it can run while the biography is read.
   ===================================================================== */
body.gx-about .bio-reading-layout { grid-template-columns: 220px minmax(0, 1fr); }
body.gx-about .bio-video { margin: 22px 0 0; }
body.gx-about .bio-video-frame { position: relative; aspect-ratio: 16 / 9; padding: 6px; border-radius: 16px; background: var(--gx-ground); box-shadow: var(--gx-inset); }
body.gx-about .bio-video-frame > * { display: block; width: 100%; height: 100%; border: 0; border-radius: 11px; }
body.gx-about .bio-video-play { position: relative; padding: 0; cursor: pointer; background: var(--gx-ink) center / cover no-repeat; }
body.gx-about .bio-video-play::after { content: ""; position: absolute; inset: 0; border-radius: 11px; background: linear-gradient(transparent 40%, rgba(7, 23, 39, .45)); }
body.gx-about .bio-video-icon { position: absolute; z-index: 1; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--gx-ground); box-shadow: 3px 3px 8px rgba(7, 23, 39, .35), -2px -2px 6px rgba(255, 255, 255, .35); transition: transform .15s; }
body.gx-about .bio-video-icon::before { content: ""; position: absolute; left: 17px; top: 13px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--gx-gold); }
body.gx-about .bio-video-play:hover .bio-video-icon { transform: scale(1.06); }
body.gx-about .bio-video-play:active .bio-video-icon { box-shadow: inset 2px 2px 5px rgba(7, 23, 39, .3); }
body.gx-about .bio-video figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding-left: 2px; }
body.gx-about .bio-video-label { font: 700 .6875rem/1.4 var(--gx-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gx-gold); }
body.gx-about .bio-video-link { align-self: flex-start; font: 600 .6875rem/1.4 var(--gx-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gx-ink); text-decoration: none; border-bottom: 1px solid var(--gx-gold); padding-bottom: 2px; }
body.gx-about .bio-video-link::after { content: " →"; color: var(--gx-gold); }
body.gx-about .bio-video-link:hover { color: var(--gx-gold-deep); }
@media (max-width: 800px) {
  body.gx-about .bio-reading-layout { grid-template-columns: minmax(0, 1fr); }
  body.gx-about .bio-body > .bio-video { max-width: 420px; margin: 0 0 28px; }
}
body.gx-about .bio-video, body.gx-about .bio-video-frame { box-sizing: border-box; max-width: 100%; }
body.gx-about .bio-subnav a { padding: 8px 12px; font-size: .9375rem; line-height: 1.35; }
body.gx-about .bio-reading-rail { max-height: calc(100dvh - 140px); overflow-y: auto; scrollbar-width: none; }
@media (max-width: 800px) { body.gx-about .bio-reading-rail { max-height: none; overflow: visible; } }
