/* Two connected chapters: the people behind Jadey and the path to the product. */
.about-shell { width: min(1320px, calc(100% - var(--page-padding) * 2)); margin-inline: auto; }
.about-heading .eyebrow {
  margin: 0 0 24px;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.about-heading :is(h1, h2, h3) {
  margin: 0;
  color: var(--fg-default);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.about-heading h1 { max-width: 17ch; font-size: clamp(52px, 7vw, 104px); line-height: 1.02; letter-spacing: -0.055em; }
.about-heading h1 strong { color: var(--orange-500); font-weight: inherit; }
.about-heading h2 { max-width: 27ch; font-size: clamp(36px, 3.8vw, 56px); }
.about-heading h3 { max-width: 24ch; font-size: clamp(28px, 2.6vw, 38px); }
.about-copy { min-width: 0; color: var(--fg-muted); font-size: 18px; line-height: 1.7; text-align: left; }
.about-copy p { margin: 0 0 1.2em; }
.about-copy > :last-child { margin-bottom: 0; }
.about-copy a { text-underline-offset: 0.2em; }
.about-hero { padding-block: clamp(64px, 8vw, 128px) clamp(56px, 6vw, 96px); }
.about-hero__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.about-hero__copy { font-size: clamp(18px, 1.4vw, 21px); }
.about-hero--title { padding-bottom: clamp(64px, 7vw, 104px); }
.about-hero--title .about-hero__layout { grid-template-columns: minmax(0, 1fr); }
.about-section { position: relative; padding-block: clamp(64px, 7vw, 104px); }
.about-section, .about-article, .about-anchor, .about-section .timeline-item { scroll-margin-top: 128px; }
.about-section:focus, .about-article:focus { outline: none; }
.about-anchor { position: absolute; top: 0; left: 0; }
.about-section > .about-shell > .about-heading { margin-bottom: 48px; }
.about-founder__layout { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.about-founder__portrait { width: min(100%, 360px); margin: 0; }
.about-founder__portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.about-founder__portrait figcaption { margin-top: 20px; color: var(--fg-default); font-size: 16px; line-height: 1.5; }
.about-founder__layout .about-copy { max-width: 65ch; }
/* Editorial portrait gallery: one format, one baseline, no oversized avatar tiles. */
.about-section--team { padding-top: 0; }
.about-section--team > .about-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 6vw, 88px);
  padding-top: 40px;
  border-top: 1px solid var(--border-strong);
}
.about-section--team > .about-shell > .about-heading { margin: 0; }
.about-section--team .about-heading .eyebrow { margin-bottom: 20px; }
.about-section--team .about-heading h2 { max-width: 20ch; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.12; }
.about-team__intro { max-width: 46ch; margin: 35px 0 0; font-size: 18px; line-height: 1.65; }
.about-team__intro img { display: block; width: 100%; height: auto; margin-block: 32px; }
.about-team-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 28px;
}
.about-person { min-width: 0; scroll-margin-top: 128px; }
.about-person__portrait {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-50);
}
.about-person__portrait:has(img) {
  background-image: url("../img/about-us/team-background-light.webp");
  background-size: cover;
  background-position: center 32%;
}
[data-theme="dark"] .about-person__portrait:has(img) {
  background-image: url("../img/about-us/team-background-dark.webp");
}
.about-person__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform-origin: center bottom;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* These cutouts reach the top edge; leave room for the same gentle hover zoom. */
.about-person:is(#sonja, #tanja) .about-person__portrait img {
  width: 94%;
  height: 94%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center bottom;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .about-person__portrait:hover img { transform: scale(1.06); }
}
.about-person__portrait:has(.about-person__initials)::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto;
  height: 1px;
  background: var(--ink-200);
}
.about-person__initials {
  padding: 24px;
  color: var(--ink-400);
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}
.about-person h3 { margin: 22px 0 8px; color: var(--fg-default); font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.15; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.about-person__role { margin: 0; color: var(--fg-muted); font-size: 13px; line-height: 1.55; }
.about-person:has(.about-person__initials) .about-person__role { color: var(--fg-subtle); }
.about-person__bio { max-width: 34ch; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-default); font-size: 15px; line-height: 1.65; }
.about-person__bio:empty { display: none; }
.about-person__bio a { color: var(--fg-default); }
.about-person__bio a:hover { color: var(--orange-500); }
.about-person__bio a:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 4px; }
.about-section--our-story { border-top: 1px solid var(--border-default); background: var(--ink-25); }
.about-origins { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(32px, 4vw, 56px); margin-top: 40px; }
.about-article { min-width: 0; padding-top: 32px; border-top: 1px solid var(--border-default); }
.about-article .about-heading { margin-bottom: 28px; }
.about-origins .about-heading h3 { min-height: 2.16em; }
.about-origins .about-copy { font-size: 17px; }
.about-article--closing { margin-top: clamp(64px, 7vw, 104px); }
.about-article--closing .about-copy { max-width: 90ch; }
body[data-jadey-page="about-us"] .about-section--our-story .jadey-about-timeline {
  --timeline-dot-bg: var(--ink-25);
  margin-top: clamp(72px, 8vw, 120px);
}

@media (max-width: 1000px) {
  .about-hero__layout, .about-founder__layout { gap: 40px; }
  .about-founder__layout { grid-template-columns: minmax(200px, 0.65fr) minmax(0, 1fr); }
  .about-origins { grid-template-columns: 1fr; gap: 40px; }
  .about-origins .about-heading h3 { min-height: 0; max-width: none; }
  .about-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
}
@media (max-width: 760px) {
  .about-hero { padding-block: 48px; }
  .about-hero__layout, .about-founder__layout { grid-template-columns: 1fr; gap: 32px; }
  .about-heading h1 { max-width: 18ch; font-size: clamp(44px, 8vw, 60px); }
  .about-hero--title { padding-bottom: 48px; }
  .about-section { padding-block: 48px 64px; }
  .about-section > .about-shell > .about-heading { margin-bottom: 32px; }
  .about-copy { font-size: 17px; }
  .about-founder__portrait { width: min(100%, 320px); }
  .about-founder__layout .about-copy { max-width: none; }
  .about-section--team { padding-top: 0; }
  .about-section--team > .about-shell { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .about-section--team > .about-shell > .about-heading { margin: 0; }
  .about-team__intro { margin: 0; font-size: 17px; }
  .about-team-grid { margin-top: 16px; }
}
@media (max-width: 520px) {
  .about-team-grid { gap: 40px 20px; }
  .about-person__initials { padding: 16px; font-size: 32px; }
  .about-person__portrait:has(.about-person__initials)::before { inset: 16px 16px auto; }
  .about-person h3 { margin-top: 16px; font-size: 22px; }
  .about-person__role { font-size: 12px; }
  .about-person__bio { font-size: 14px; }
}
@media (max-width: 380px) {
  .about-team-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-person__portrait { aspect-ratio: 6 / 5; }
  .about-person h3 { font-size: 26px; }
  .about-person__role { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .about-person__portrait img { transition: none; }
  body[data-jadey-page="about-us"] .jadey-about-timeline .dot { transition: none; }
}
