/* About page: the shared Ilios tokens, spacing, buttons and reveals. */
.about-hero { padding: clamp(3rem, 6vw, 5rem) 0 5rem; background: var(--sky); }
.story-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 1.5rem 4rem; align-items: start; }
.story-hero-heading h1 { max-width: 14ch; font-size: clamp(2.8rem, 4.5vw, 4.7rem); line-height: 1.04; }
.story-hero-copy { max-width: 54ch; }
.story-hero-copy p, .story-copy p, .story-intro > p:not(.eyebrow), .story-growth-note p, .founder-involvement p { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.story-hero-copy p:first-child { margin-top: 0; }
.story-hero-copy .story-emphasis, .story-copy .story-emphasis { color: var(--navy); font-weight: 800; }
.story-link { display: inline-flex; align-items: center; min-height: 48px; gap: 1.5rem; font-weight: 800; text-underline-offset: 6px; }
.story-media { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sky); }
.story-media img, .story-media video { width: 100%; height: 100%; object-fit: cover; }

.story-hero-media { grid-column: 2; grid-row: 1 / 3; height: auto; border-top-left-radius: 80px; box-shadow: var(--shadow); }
.story-hero-media video { object-position: 50% 47%; }
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story-copy h2, .story-growth h2, .story-approach h2 { font-size: clamp(2.4rem, 3.8vw, 4rem); line-height: 1.07; }
.story-copy > p:last-child { margin-bottom: 0; }


.story-progress { background: var(--sky); }
.story-intro { max-width: 730px; margin: 0 auto 3.5rem; text-align: center; }
.story-values > div { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--border); }
.story-values h3 { font-size: clamp(2.1rem, 4.7vw, 4.4rem); letter-spacing: -.045em; }
.story-values p { color: var(--ink-soft); line-height: 1.6; max-width: 32ch; margin: 0; }
.story-affiliation { max-width: 720px; margin: 2.5rem auto 0; text-align: center; line-height: 1.7; color: var(--ink-soft); }
.story-growth-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.story-timeline { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 4rem 0 3rem; list-style: none; }
.story-timeline li { display: flex; flex-direction: column; padding: 1.5rem 2rem; border-top: 2px solid var(--sky); border-right: 1px solid var(--border); }
.story-timeline li:first-child { padding-left: 0; }
.story-timeline li:last-child { border-right: 0; }
.timeline-year { font-size: .85rem; font-weight: 800; }
.story-timeline strong { font-family: var(--display); font-size: clamp(3.5rem, 6.2vw, 6rem); letter-spacing: -.065em; line-height: 1.25; margin: .8rem 0; }
.story-timeline li > span:last-child { color: var(--ink-soft); line-height: 1.5; }
.story-growth-note { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.story-growth-note h3 { max-width: 20ch; font-size: 2rem; }
.story-growth-note p { margin: 0; }
.story-founder { background: var(--sky); }
.founder-message { padding: clamp(2rem, 4vw, 3.5rem); border-radius: var(--radius); background: var(--navy); color: white; }
.founder-quote-mark { display: block; height: 65px; color: var(--blue); font-family: Georgia, serif; font-size: 7rem; line-height: 1; }
.founder-message blockquote { margin: 0; }
.founder-message blockquote p { font-family: var(--display); font-size: clamp(1.8rem, 2.8vw, 2.8rem); line-height: 1.25; letter-spacing: -.03em; }
.founder-message footer { display: grid; gap: .4rem; font-size: .9rem; line-height: 1.5; }
.founder-message footer strong { font-size: 1.25rem; }
.founder-involvement { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; border-top: 1px solid var(--border); padding-top: 2.5rem; }
.founder-involvement h3 { max-width: 21ch; font-size: 2rem; }
.founder-involvement p:first-child { margin-top: 0; }
.story-name { background: var(--sky); }


.story-approach { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.story-principles { margin: 0; padding: 0; list-style: none; counter-reset: principle; }
.story-principles li { position: relative; padding: 0 0 1.8rem 3rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--border); counter-increment: principle; }
.story-principles li::before { content: '0' counter(principle); position: absolute; left: 0; top: .15rem; color: var(--blue); font-weight: 800; }
.story-principles h3 { font-size: 1.65rem; }
.story-principles p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 0; }
.story-team { background: var(--sky); }
.team-media { aspect-ratio: 4 / 3; }
.story-finale { padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius); background: var(--navy); text-align: center; color: white; }
.story-finale .eyebrow { color: var(--sky); }
.story-finale h2 { font-size: clamp(2.6rem, 4.7vw, 4.8rem); line-height: 1.06; }
.story-finale > p:not(.eyebrow) { max-width: 650px; margin: 1.5rem auto 2rem; color: var(--sky); line-height: 1.7; font-size: 1.1rem; }
.story-actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.story-secondary { display: inline-flex; min-height: 48px; align-items: center; gap: .5rem; text-underline-offset: 5px; font-weight: 700; }
@media (max-width: 900px) {
  .story-hero-grid { gap: 1.5rem 2rem; }
  .story-growth-heading, .story-approach, .founder-involvement { gap: 2rem; }
}
@media (max-width: 700px) {
  .about-hero { padding: 2.5rem 0 3.5rem; }
  .story-hero-grid, .story-split, .story-growth-heading, .story-growth-note, .story-approach, .founder-involvement { grid-template-columns: 1fr; gap: 2rem; }
  .story-hero-heading h1 { font-size: clamp(2.6rem, 10vw, 4rem); max-width: 16ch; }
  .story-hero-media { grid-column: auto; grid-row: auto; height: auto; aspect-ratio: 4 / 3; border-top-left-radius: 55px; }
  .story-hero-media video { object-position: 50% 43%; }
  .story-copy h2, .story-approach h2, .story-growth h2 { font-size: clamp(2.35rem, 8.5vw, 3.6rem); }

  .story-values > div { grid-template-columns: 1fr; gap: .6rem; padding: 1.5rem 0; }
  .story-values h3 { font-size: clamp(2rem, 8vw, 3rem); }
  .story-values p { max-width: none; }
  .story-timeline { grid-template-columns: 1fr; margin-block: 2.5rem; }
  .story-timeline li, .story-timeline li:first-child { padding: 1.3rem 0; border-right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; align-items: center; }
  .story-timeline strong { grid-column: 2; grid-row: 1 / 3; margin: 0; text-align: right; font-size: 3.7rem; }
  .story-timeline li > span:last-child { grid-column: 1; }
  .founder-involvement { grid-column: auto; }
  .story-principles li:last-child { margin-bottom: 0; }
  .story-finale { padding-inline: 1.25rem; }
  .story-actions { flex-direction: column; gap: .75rem; }
  .story-actions .button { width: 100%; }
}


/* Compact media alongside the story. */
.about-page .section { padding-block: clamp(3rem, 5vw, 4.5rem); }
.story-origin, .story-name-inner { max-width: 780px; }
.story-intro { margin-bottom: 2rem; }
.progress-layout { display: block; }
.story-values { max-width: 900px; margin-inline: auto; }
.story-values h3 { font-size: clamp(1.65rem, 2.8vw, 2.7rem); }
.story-values > div { padding-block: 1.15rem; }
.story-timeline { margin-block: 2rem; }
.story-hero-copy p:last-child { margin-bottom: 0; }
.story-hero-media, .founder-photo, .team-media { align-self: stretch; min-height: 0; height: auto; aspect-ratio: auto; }
.story-hero-media video, .founder-photo img, .team-media img { position: absolute; inset: 0; }
.story-hero-media video { object-position: 50% 48%; }
.founder-photo img { object-position: 50% 35%; }
.team-media img { object-position: 50% 40%; }
.founder-layout { gap: 2rem 4rem; }
.founder-message { grid-column: 1 / -1; padding: 1.5rem 2rem; }
.founder-message blockquote p { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.4; margin: 0 0 1rem; max-width: 55ch; }
.founder-quote-mark { display: inline; height: auto; color: var(--blue); font-family: Georgia, serif; font-size: 1.2em; line-height: inherit; }
.founder-involvement { padding-top: 1.5rem; }
.story-finale { padding: clamp(2rem, 4vw, 3.5rem); }
.finale-copy { max-width: 780px; margin-inline: auto; }
.finale-copy > p:not(.eyebrow) { line-height: 1.7; color: var(--sky); max-width: 650px; margin: 1.25rem auto 1.5rem; }
@media (max-width: 700px) {
  .about-hero { padding-bottom: 3rem; }
  .story-hero-media { height: clamp(230px, 67vw, 340px); aspect-ratio: auto; }
  .founder-photo, .team-media { width: 100%; height: clamp(210px, 62vw, 280px); aspect-ratio: auto; }
  .founder-layout { gap: 1.5rem; }
  .founder-message { grid-column: auto; padding: 1.5rem; }
  .story-values > div { gap: .45rem; }
}

.approach-photo { margin-top: 2rem; height: clamp(260px, 28vw, 340px); }
.approach-photo img { position: absolute; inset: 0; object-position: 50% 52%; }
/* The team image follows the shortened copy’s height. */
.story-team .story-split { align-items: stretch; }
@media (max-width: 700px) {
  .approach-photo { margin-top: 1.5rem; height: clamp(230px, 66vw, 280px); }
  .story-team .team-media { height: clamp(210px, 62vw, 280px); aspect-ratio: auto; }
}
