/* The About content is isolated from the existing WordPress header and footer. */
.an-about {
  --an-about-gold: #c99a32;
  --an-about-paper: #e8e0d6;
  box-sizing: border-box;
  width: 100%;
  max-width: 1920px;
  padding: 24px clamp(32px, 3.3vw, 64px) 104px;
  margin: 0 auto;
  color: var(--an-about-paper);
  font-family: var(--wp--preset--font-family--manrope, Manrope, sans-serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.8;
}
.an-about *, .an-about *::before, .an-about *::after { box-sizing: border-box; }
.an-about-heading { text-align: center; margin: 0 auto 40px; }
.an-about .an-about-eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .22em;
  font-weight: 400;
  color: var(--an-about-gold);
}
.an-about h1 {
  position: static;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -.035em;
  color: var(--an-about-gold);
  text-wrap: balance;
}
.an-about-story {
  display: grid;
  grid-template-columns: clamp(280px, 26vw, 448px) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(32px, 3.5vw, 64px);
}
.an-about-portrait { margin: 0; width: 100%; max-width: 448px; }
.an-about-title-break { display: none; }
.an-about-portrait img { display: block; width: 100%; height: auto; max-width: 100%; border: 0; }
.an-about-portrait figcaption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  color: var(--an-about-gold);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .015em;
}
.an-about-portrait figcaption span { color: #b7acb7; }
.an-about p { margin: 0 0 24px; }
.an-about-biography { min-width: 0; }
.an-about-biography > p:last-of-type { margin-bottom: 0; }
/* One reading column from childhood to the closing words. */
.an-about-closing { margin: 44px 0 0; text-align: left; }
.an-about .an-about-manifesto {
  margin: 0;
  color: var(--an-about-gold);
  font-size: clamp(24px, 2.9vw, 38px);
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: -.025em;
}
.an-about-manifesto span { display: block; }
.an-about .an-about-signature { margin: 30px 0 0; font-size: 17px; letter-spacing: .05em; }
@media (min-width: 1440px) {
  .an-about { font-size: 19px; }
}
@media (max-width: 980px) {
  .an-about { max-width: 760px; padding: 30px 40px 80px; }
  .an-about-heading { margin-bottom: 44px; }
  .an-about-title-break { display: initial; }
  .an-about-story { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .an-about-portrait { max-width: 460px; margin-inline: auto; }
  .an-about-closing { margin-top: 42px; }
}
@media (max-width: 540px) {
  .an-about { padding: 22px 24px 64px; font-size: 17px; line-height: 1.8; }
  .an-about-heading { margin-bottom: 30px; }
  .an-about .an-about-eyebrow { font-size: 11px; margin-bottom: 18px; }
  .an-about h1 { font-size: clamp(29px, 8.2vw, 38px); line-height: 1.25; }
  .an-about-story { gap: 32px; }
  .an-about-portrait figcaption { display: block; font-size: 12px; margin-top: 14px; }
  .an-about-portrait figcaption span { display: block; margin-top: 1px; }
  .an-about p { margin-bottom: 22px; }
  .an-about .an-about-manifesto { font-size: clamp(22px, 6.4vw, 28px); }
}
@media (prefers-reduced-motion: reduce) { .an-about { scroll-behavior: auto; } }

/* Integrate with the current WordPress canvas and menu overlay. */
html:has(body.an-about-page), body.an-about-page { scroll-snap-type: none !important; }
body.an-about-page .wp-site-blocks > .an-about { margin-inline: auto; margin-block: 0; }
body.an-about-page .an-about-skip { position: absolute; top: -100px; left: 24px; z-index: 100001; }
body.an-about-page .an-about-skip:focus { top: 50px; padding: 12px; background: #0d0812; color: #e8e0d6; outline: 2px solid #c99a32; }

/* Mobile only: one uninterrupted story, with the main header logo above it. */
@media (max-width:782px) {
  html:has(body.an-about-page), body.an-about-page {
    scroll-snap-type:none!important; scroll-padding-top:0!important; scroll-behavior:auto!important;
  }
  body.an-about-page .an-about {
    max-width:640px; padding:var(--an-about-topspace,68px) 24px 64px;
    height:auto; min-height:0; overflow:visible; scroll-snap-align:none!important;
  }
  .an-about .an-about-eyebrow { display:none; }
  .an-about .an-about-heading { margin:0 auto 28px; text-align:center; }
  .an-about h1 { font-size:20px; line-height:1.45; letter-spacing:0; }
  .an-about .an-about-manifesto { font-size:20px; line-height:1.65; }
  .an-about-story { gap:32px; }
  body.an-about-page footer.wp-block-template-part {
    height:auto!important; min-height:0!important;
    scroll-snap-align:none!important; scroll-snap-stop:normal!important;
  }
}
