/* Dedicated long-read composition for Elle's full story. */

[data-theme="jenna"]{--bg:#FFFFFF;--bg-alt:#FBF1F6;--surface:#FFFFFF;--ink:#232323;--ink-dark:#2A2740;--on-dark:#FBF3EC;--display:#6074B5;--cta:#C8491A;--cta-text:#FFFFFF;--hair:#EB6C2F;--hair-text:#B45324;--highlight:#EEC3E5;--muted:#6B6675;--border:#ECD7E6}
[data-theme="blush"]{--bg:#F7F1EE;--bg-alt:#EFE3DD;--surface:#FFFFFF;--ink:#3A2E2C;--ink-dark:#4A3340;--on-dark:#F7F1EE;--display:#A8576B;--cta:#8E4458;--cta-text:#FFFFFF;--hair:#C99AA6;--hair-text:#7C5F67;--highlight:#E8CBD2;--muted:#706260;--border:#E3D2CC}
[data-theme="earth"]{--bg:#F5EFE3;--bg-alt:#EAE0CE;--surface:#FFFDF7;--ink:#2E2A1F;--ink-dark:#3A3A28;--on-dark:#F5EFE3;--display:#7E6A3A;--cta:#9E5A35;--cta-text:#FFFFFF;--hair:#C4A668;--hair-text:#73623D;--highlight:#CBD3B0;--muted:#6B6350;--border:#DAD0B8}
[data-theme="teal"]{--bg:#F0EEF0;--bg-alt:#ECE5DC;--surface:#FBF9F5;--ink:#2F3E3A;--ink-dark:#1F2A28;--on-dark:#F0EEF0;--display:#3F6B6B;--cta:#2E5252;--cta-text:#FFFFFF;--hair:#B89968;--hair-text:#786444;--highlight:#CAE2D8;--muted:#5E6A65;--border:#9DBEC0}

body { background: var(--bg); transition: background-color .25s ease, color .25s ease; }
.nav { box-shadow: 0 10px 34px rgba(34,24,18,.05); }
.about-nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-cycle,
.about-mobile-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.theme-cycle:focus-visible,
.about-mobile-menu summary:focus-visible { outline: 3px solid var(--hair); outline-offset: 3px; }
.about-mobile-menu { display: none; position: relative; }
.about-mobile-menu summary { list-style: none; }
.about-mobile-menu summary::-webkit-details-marker { display: none; }
.about-mobile-links {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(310px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(33,22,17,.18);
}
.about-mobile-links a { padding: 12px 10px; border-bottom: 1px solid var(--border); }
.about-mobile-links a:last-child { border-bottom: 0; }

.about-hero { min-height: min(900px, calc(100svh - var(--nav-h))); }
.about-hero::before {
  content: 'WHOLE';
  position: absolute;
  z-index: 0;
  left: clamp(22px, 5vw, 72px);
  bottom: -0.18em;
  color: color-mix(in srgb, var(--display) 7%, transparent);
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 22rem);
  font-style: italic;
  line-height: .8;
  pointer-events: none;
}
.about-hero-copy,
.about-hero-img { z-index: 1; }
.about-hero-copy { padding-block: clamp(84px, 10vw, 148px); }
.about-hero-copy p { max-width: 31em; }
.about-hero-img { min-height: 720px; }
.about-hero-img img { object-position: center 20%; }

.about-article {
  display: grid;
  grid-template-columns: 180px minmax(0, 790px);
  gap: clamp(40px, 5vw, 72px);
  max-width: 1220px;
  margin: 0 auto;
  padding-top: clamp(86px, 10vw, 144px);
}
.chapter-nav {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  align-self: start;
  display: grid;
  gap: 2px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}
.chapter-nav-label {
  margin-bottom: 12px;
  color: var(--hair-text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.chapter-nav a {
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.chapter-nav a:hover,
.chapter-nav a:focus-visible { color: var(--display); }
.about-body { max-width: 790px; margin: 0; }
.about-body section { scroll-margin-top: calc(var(--nav-h) + 32px); }
.about-body section + section { margin-top: clamp(64px, 7vw, 96px); }
.about-body h2 { font-size: clamp(2.25rem, 3.8vw, 3.5rem); text-wrap: balance; }
.about-body p { max-width: 42rem; font-size: clamp(1rem, 1.25vw, 1.13rem); line-height: 1.82; }
.about-body p + p { margin-top: 1rem; }
.about-body .emphasis {
  position: relative;
  margin: clamp(48px, 7vw, 78px) calc(clamp(28px, 6vw, 72px) * -1);
  padding: clamp(48px, 7vw, 82px) clamp(28px, 6vw, 72px);
  border: 0;
  border-radius: 140px 14px 140px 14px;
  color: var(--on-dark);
  background: var(--ink-dark);
  box-shadow: 0 28px 70px rgba(34,24,18,.15);
}
.about-body .emphasis p {
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  line-height: 1.62;
}
.about-photo-break {
  margin: clamp(72px, 10vw, 120px) calc(clamp(34px, 8vw, 110px) * -1);
  overflow: hidden;
  border-radius: 12px 130px 12px 130px;
  box-shadow: 0 26px 70px rgba(34,24,18,.13);
}
.about-photo-break img { width: 100%; height: clamp(340px, 44vw, 560px); object-fit: cover; }
.about-photo-break--stage img { object-position: center 35%; }
.about-photo-break--return img { object-position: center 38%; }
.about-close { border-radius: 180px 18px 180px 18px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .about-mobile-menu { display: block; }
  .about-article { grid-template-columns: 1fr; max-width: 840px; }
  .chapter-nav {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 14px;
    border-left: 0;
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
  }
  .chapter-nav-label { display: none; }
  .chapter-nav a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; }
}

@media (max-width: 700px) {
  :root { --nav-h: 66px; }
  .nav { padding-inline: 16px; }
  .nav-wordmark { width: 95px; }
  .nav-logo { width: 92px; }
  .about-nav-actions > .btn-primary { display: none; }
  .theme-cycle { width: 44px; padding: 0; color: transparent; font-size: 0; }
  .theme-cycle::before { content: '\25d0'; color: var(--display); font-size: 20px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-img { order: 1; min-height: min(600px, 72svh); }
  .about-hero-copy { order: 2; padding: 54px 24px 76px; }
  .about-hero::before { bottom: .02em; font-size: 34vw; }
  .about-article { padding: 68px 24px 92px; }
  .about-body section + section { margin-top: 68px; }
  .about-body h2 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .about-body .emphasis { margin-inline: -16px; border-radius: 80px 10px 80px 10px; padding: 48px 30px; }
  .about-photo-break { margin-inline: -24px; border-radius: 0; }
  .about-photo-break img { height: 86vw; }
  .about-close { margin-inline: -24px; border-radius: 80px 0 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { transition: none; }
}

@media (min-width:701px) and (max-width:1300px) {
 .about-body .emphasis, .about-photo-break { margin-inline: 0; }
}
.about-body { min-width: 0; }
.about-photo-break img { margin-block: -28px; height: calc(clamp(340px,44vw,560px) + 56px); }
@media(prefers-reduced-motion:reduce) { .about-photo-break img { transform: none !important; } }

/* Full-frame photography and proportionate reading rhythm. */
.about-hero { min-height: 0; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding: 64px clamp(24px,6vw,80px); }
.about-hero-copy { padding: 0; }
.about-hero h1 { font-size: clamp(46px,5.6vw,76px); }
.about-hero-copy p { font-size: 18px; line-height: 1.7; }
.about-hero-img { min-height: 0; max-width: 420px; justify-self: end; }
.about-hero-img img { width: 100%; height: auto; border-radius: 4px; }
.about-hero-img::after { display: none; }
.about-photo-break { margin: 48px 0; border-radius: 4px; box-shadow: none; }
.about-photo-break img { display: block; width: 100%; height: auto; margin: 0; transform: none; }
.about-photo-break--return { max-width: 420px; margin-inline: auto; }
.about-article { padding-top: 64px; }
@media(max-width:860px) {
 .about-hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px 48px; }
 .about-hero-img { max-width: 340px; justify-self: center; }
 .about-hero-copy { padding: 0; }
}
