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

html:has(body.page-about) {
  overflow-x: clip;
}

.about-page {
  --line-reveal-easing: var(--motion-ease);
  color: var(--brand-text-primary);
  overflow: visible;
}

body.page-about {
  overflow-x: clip;
}

/* About reuses the public Landing/Approach reveal state classes and shared
   motion tokens. Story chapters reveal as heading-and-paragraph pairs. */
.page-about [data-landing-reveal] [data-landing-reveal-step] {
  transition:
    opacity var(--motion-reveal-duration) var(--motion-content-ease),
    transform var(--motion-reveal-duration) var(--motion-content-ease);
}

.js .page-about [data-landing-reveal]
  [data-landing-reveal-step] {
  opacity: 0;
  transform: translateY(var(--motion-content-translate-y));
}

.js .page-about [data-landing-reveal]
  [data-landing-reveal-step].is-landing-reveal-visible {
  opacity: 1;
  transform: none;
}

.about-story__inner,
.about-section__inner {
  margin-inline: auto;
  max-width: var(--layout-content-max);
  padding-inline: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
}

/* The hero follows the Approach container and vertical rhythm, but stays
   intentionally typographic: the story itself is the visual subject. */
.about-story__hero {
  align-items: center;
  display: flex;
  min-height: clamp(23rem, 44svh, 28rem);
  padding-block: clamp(4rem, 6vw, 5rem) clamp(2.5rem, 4vw, 3.5rem);
  position: relative;
}

.about-story__hero-hexagon {
  display: none;
}

.about-story h1,
.about-section h2,
.about-story__article h2,
.about-contact__title {
  color: var(--brand-text-primary) !important;
  font-family: var(--font-editorial);
  font-weight: 500 !important;
  margin: 0;
  text-wrap: balance;
}

.about-story h1 {
  font-size: var(--type-page-hero-size) !important;
  letter-spacing: var(--type-page-hero-tracking);
  line-height: var(--type-page-hero-line-height) !important;
  max-width: 15ch;
}

.about-story h1:lang(de) {
  font-size: var(--type-page-hero-size) !important;
  max-width: 18ch;
}

/* Journal-detail proportions for the uninterrupted story. Three quiet arc
   headings orient the reader; the original chapter breaks remain paragraphs. */
.about-story__article {
  margin-inline: auto;
  max-width: 46rem;
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(4.5rem, 7vw, 6rem);
}

.about-story__article > p,
.about-story__chapter > p,
.about-story__intro-copy > p,
.about-story__takeaway p,
.about-section__copy p {
  color: var(--brand-text-secondary);
  font-family: var(--font-body);
}

.about-story__article > p,
.about-story__chapter > p,
.about-story__intro-copy > p,
.about-story__takeaway p {
  font-size: clamp(1.05rem, 1.2vw, 1.125rem);
  line-height: 1.75;
}

.about-story__article > p,
.about-story__chapter > p,
.about-story__intro-copy > p {
  margin: 0 0 1.35em;
}

.about-story__arc {
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

.about-story__arc h2 {
  font-size: var(--type-subsection-heading-size) !important;
  letter-spacing: -0.012em;
  line-height: 1.24 !important;
  margin: 0;
  max-width: 26ch;
}

@media (min-width: 768px) {
  .about-story__arc h2 {
    max-width: none;
    white-space: nowrap;
  }
}

.about-story__arc-heading + .about-story__chapter {
  margin-top: clamp(1.35rem, 2.5vw, 1.75rem);
}

.about-story__chapter + .about-story__chapter {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

.about-story__chapter > p {
  margin-bottom: 0;
}

.about-story__summary {
  color: var(--brand-interactive) !important;
  font-family: var(--font-label) !important;
  font-size: 0.74rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
  text-transform: uppercase;
}

.about-story__summary-text {
  color: var(--brand-text-primary);
  font-family: var(--font-editorial);
  font-size: clamp(1.25rem, 1.65vw, 1.42rem);
  line-height: 1.55;
  margin: 0;
}

.about-story__accent-block {
  --about-story-accent-line: var(--brand-accent);
  border-left: 2px solid var(--brand-accent);
  border-left-color: var(--about-story-accent-line);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
}

.about-story__summary-block {
  --about-story-accent-line: color-mix(in srgb, var(--brand-accent) 76%, transparent);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  max-width: 42rem;
  padding-block: 0.125rem;
  padding-left: clamp(1rem, 2vw, 1.5rem);
}

.about-story__summary-block .about-story__summary {
  margin-bottom: 0.85rem !important;
}

.about-story__intro-copy {
  margin-top: 0;
}

.about-story__takeaway {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  max-width: 42rem;
}

.js .about-story__accent-block {
  border-left-color: transparent;
  position: relative;
}

.js .about-story__accent-block::before {
  background: var(--about-story-accent-line);
  bottom: 0;
  content: "";
  left: -2px;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform var(--motion-line-duration) var(--line-reveal-easing);
  width: 2px;
}

.js .about-story__takeaway.is-landing-section-line-active::before,
.js .about-story__intro.is-landing-section-line-active
  .about-story__summary-block::before {
  transform: scaleY(1);
}

.about-story__takeaway .about-story__summary + p {
  color: var(--brand-text-secondary);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.2vw, 1.125rem);
  line-height: 1.75;
}

.about-story__takeaway p:last-child {
  margin: 0;
}

.about-section {
  border-top: 1px solid var(--brand-border);
  padding-block: clamp(6rem, 10vw, 9rem);
}

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

.about-section__inner--reading {
  display: block;
}

.about-section__inner--reading .about-section__copy {
  margin-inline: auto;
  max-width: 46rem;
}

.about-section--founder .about-section__inner {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 4.5vw, 5rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(15rem, 0.88fr);
}

.about-section__copy {
  max-width: 46rem;
}

.about-section h2,
.about-contact__title {
  font-size: var(--type-section-heading-size) !important;
  letter-spacing: var(--type-section-heading-tracking);
  line-height: var(--type-section-heading-line-height) !important;
  margin-bottom: var(--type-heading-space-after);
  max-width: 14ch;
}

.about-section__eyebrow {
  color: var(--brand-interactive) !important;
  font-family: var(--font-label) !important;
  font-size: var(--type-eyebrow-size) !important;
  font-weight: var(--type-eyebrow-weight);
  letter-spacing: var(--type-eyebrow-tracking);
  line-height: var(--type-eyebrow-line-height) !important;
  margin: calc(-1.5rem) 0 2.25rem !important;
  text-transform: uppercase;
}

.about-section__copy p {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.72;
  margin: 0 0 1.35rem;
}

.about-section__copy .about-lock-subheadline {
  color: var(--brand-text-primary);
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: 0.04em;
  margin: 2.5rem 0 0;
  text-transform: none;
}

.about-section__portrait {
  aspect-ratio: 0.94;
  justify-self: end;
  position: relative;
  width: min(100%, 34rem);
}

.about-section__portrait-clip {
  position: absolute;
}

.about-section__portrait-frame {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  position: absolute;
  clip-path: url(#about-rounded-hexagon-clip);
}

/* The two founder portraits share the About reveal controller, but keep their
   own calm entrance so the composition builds rather than appearing at once. */
.page-about .about-section__portrait-frame[data-landing-reveal-step] {
  transition-duration: 700ms;
}

.js .page-about [data-landing-reveal]
  .about-section__portrait-frame[data-landing-reveal-step] {
  transform: translateY(16px);
}

.js .page-about [data-landing-reveal]
  .about-section__portrait-frame[data-landing-reveal-step].is-landing-reveal-visible {
  transform: none;
}

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

.about-section__portrait-frame--primary {
  right: 0;
  top: 0;
  width: 66%;
  z-index: 1;
}

.about-section__portrait-frame--primary img {
  object-position: 50% 15%;
}

.about-section__portrait-frame--secondary {
  bottom: 0;
  left: 0;
  width: 45%;
  z-index: 2;
}

.about-section__portrait-frame--secondary img {
  object-position: 50% 10%;
  width: 100%;
}

.about-contact {
  background: var(--brand-surface);
  border-top: 1px solid var(--brand-border);
}

.about-contact__inner {
  padding-block: clamp(5.5rem, 9vw, 8rem);
}

body.page-about .footer-cap {
  background: var(--brand-surface);
}

.about-contact__copy {
  max-width: 46rem;
}

.about-contact__title {
  font-size: var(--type-compact-heading-size) !important;
  letter-spacing: var(--type-section-heading-tracking);
  line-height: var(--type-compact-heading-line-height) !important;
  max-width: 14ch;
}

.about-contact__description {
  color: var(--brand-text-secondary);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.72;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  max-width: 42rem;
}

.about-contact__action {
  margin-top: clamp(2rem, 3vw, 2.75rem);
}

@media (min-width: 768px) {
  .about-story__hero h1 {
    position: relative;
    z-index: 1;
  }

  .about-story__hero-hexagon {
    --brand-hexagon-fill: color-mix(in srgb, var(--hex-gold) 72%, var(--hex-soft));
    aspect-ratio: 1 / 1;
    display: grid;
    position: absolute;
    right: clamp(-30rem, -24vw, -19rem);
    top: clamp(-13rem, -9vw, -9rem);
    width: clamp(39rem, 47vw, 52rem);
    z-index: 0;
  }

  .about-story__hero-hexagon .brand-hexagon__shape {
    transition: fill var(--motion-polygon-morph-duration) var(--motion-ease);
  }

  .about-story__hero-hexagon:hover .brand-hexagon__shape {
    fill: var(--hex-gold);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about-story__hero-hexagon {
    right: clamp(-23rem, -30vw, -16rem);
    top: -8rem;
    width: clamp(31rem, 53vw, 36rem);
  }
}

/* On tablets the two portraits form one calm row above the founder copy.
   Desktop keeps its side-by-side section and phones keep the single portrait. */
@media (min-width: 768px) and (max-width: 1279px) {
  .about-section--founder .about-section__inner {
    gap: clamp(2.75rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1fr);
  }

  .about-section--founder .about-section__copy {
    justify-self: center;
    max-width: 46rem;
    width: 100%;
  }

  .about-section__portrait {
    aspect-ratio: auto;
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: center;
    max-width: 44rem;
    order: -1;
    width: 100%;
  }

  .about-section__portrait-frame--primary,
  .about-section__portrait-frame--secondary {
    inset: auto;
    position: relative;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .about-story__inner,
  .about-section__inner {
    padding-inline: clamp(1.25rem, 6vw, 2rem);
  }

  .about-story__hero {
    align-content: start;
    align-items: start;
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    min-height: 17.5rem;
    padding-block: 3.75rem 1.75rem;
  }

  .about-story__hero h1 {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
  }

  .about-story__hero-hexagon {
    --brand-hexagon-fill: color-mix(in srgb, var(--hex-gold) 72%, transparent);
    aspect-ratio: 1 / 1;
    display: grid;
    margin: 0;
    position: absolute;
    right: clamp(-13rem, -46vw, -9.5rem);
    top: -7rem;
    width: clamp(23.5rem, 108vw, 28rem);
    z-index: 0;
  }

  .about-story h1,
  .about-story h1:lang(de) {
    font-size: var(--type-page-hero-size-mobile) !important;
    line-height: var(--type-page-hero-line-height-mobile) !important;
    max-width: 13ch;
  }

  .about-story__article {
    padding-block: 2.25rem 4.5rem;
  }

  .about-story__arc {
    margin-top: 3.5rem;
  }

  .about-story__arc h2 {
    font-size: var(--type-subsection-heading-size-mobile) !important;
    line-height: var(--type-subsection-heading-line-height) !important;
    max-width: none;
    text-wrap: normal;
  }

  .about-story__arc-heading + .about-story__chapter {
    margin-top: 1.25rem;
  }

  .about-story__chapter + .about-story__chapter {
    margin-top: 1.75rem;
  }

  .about-section {
    padding-block: 5rem;
  }

  .about-section--founder .about-section__inner {
    grid-template-columns: 1fr;
  }

  .about-section h2,
  .about-contact__title {
    max-width: none;
    text-wrap: normal;
  }

  .about-section h2 {
    font-size: var(--type-card-title-size-mobile) !important;
    line-height: 1.1 !important;
  }

  .about-contact__title {
    font-size: var(--type-compact-heading-size-mobile) !important;
    line-height: var(--type-compact-heading-line-height) !important;
  }

  .about-section__portrait {
    aspect-ratio: 1;
    justify-self: center;
    max-width: 20rem;
    order: -1;
    width: min(82vw, 20rem);
  }

  .about-section__portrait-frame--primary {
    inset: 0;
    width: 100%;
  }

  .about-section__portrait-frame--secondary {
    display: none;
  }

  .about-contact__inner {
    padding-block: 4.5rem;
  }
}

@media (max-width: 360px) {
  .about-story__hero-hexagon {
    right: -10.25rem;
    top: -7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-about *,
  .page-about *::before,
  .page-about *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .page-about [data-landing-reveal].has-landing-reveal
    [data-landing-reveal-step] {
    opacity: 1;
    transform: none;
  }
}
