/* Fonts: Plus Jakarta Sans + DM Sans loaded in styles.css */

/* Anchor offset under fixed header */
#about {
  scroll-margin-top: 70px;
}

/* About — editorial light theme (scoped) */
body.about-page--editorial {
  --ab-bg: #fafaf7;
  --ab-ink: #0d0c0a;
  --ab-blue: #1355b2;
  --ab-pink: #f5569b;
  --ab-yellow: #f5e642;
  --ab-fairy: #ffcbeb;
  --ab-text: #0d0c0a;
  --ab-muted: #6b6b6b;
  --ab-font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --ab-font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --ab-ease: 0.3s ease;
  --border: rgba(13, 12, 10, 0.12);

  background: var(--ab-bg);
  color: var(--ab-text);
}

body.about-page--editorial .skip-link {
  background: #fff;
  border-color: rgba(13, 12, 10, 0.2);
  color: var(--ab-ink);
}

body.about-page--editorial .site-header {
  background: rgba(250, 250, 247, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.about-page--editorial .brand-mark,
body.about-page--editorial .brand-text {
  font-family: var(--ab-font-display);
  font-style: normal;
  font-weight: 700;
  color: var(--ab-ink);
}

body.about-page--editorial .nav-link {
  font-family: var(--ab-font-body);
  color: var(--ab-muted);
}

body.about-page--editorial .nav-link:hover {
  color: var(--ab-ink);
}

body.about-page--editorial .nav-dropdown-chevron {
  color: var(--ab-muted);
}

body.about-page--editorial .nav-dropdown-menu {
  background: #fff;
  border: 1px solid var(--border);
}

body.about-page--editorial .nav-dropdown-link {
  color: var(--ab-muted);
}

body.about-page--editorial .nav-dropdown-link:hover {
  color: var(--ab-ink);
  background: rgba(13, 12, 10, 0.05);
}

body.about-page--editorial .footer-inner {
  border-top-color: var(--border);
}

body.about-page--editorial .fineprint {
  color: var(--ab-muted);
}

body.about-page--editorial .linklike {
  border-color: rgba(13, 12, 10, 0.35);
  color: var(--ab-ink);
}

body.about-page--editorial .linklike:hover {
  background: var(--ab-ink);
  border-color: var(--ab-ink);
  color: #fff;
}

/* ----- Hero ----- */
.ab-hero {
  padding: clamp(3rem, 8vw, 5rem) clamp(24px, 5vw, 48px) clamp(5rem, 10vw, 7rem);
}

.ab-hero__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.ab-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--ab-font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--ab-muted);
}

.ab-hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--ab-font-display);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ab-ink);
}

.ab-hero__lede {
  margin: 0 0 1rem;
  font-family: var(--ab-font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ab-text);
  max-width: 42ch;
}

.ab-hero__meta {
  margin: 0 0 1.75rem;
  font-family: var(--ab-font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ab-muted);
  max-width: 42ch;
}

.ab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ab-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--ab-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--ab-ease), color var(--ab-ease), border-color var(--ab-ease);
}

.ab-hero__btn--email {
  border: 2px solid var(--ab-ink);
  background: var(--ab-ink);
  color: #fff;
}

.ab-hero__btn--email:hover {
  background: var(--ab-pink);
  border-color: var(--ab-pink);
  color: #fff;
}

.ab-hero__btn--linkedin {
  border: 2px solid var(--ab-ink);
  background: transparent;
  color: var(--ab-ink);
}

.ab-hero__btn--linkedin:hover {
  background: var(--ab-yellow);
  border-color: var(--ab-yellow);
  color: var(--ab-ink);
}

.ab-hero__photo-wrap {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 380px;
}

.ab-hero__photo-accent {
  position: absolute;
  inset: 12px -12px -12px 12px;
  border-radius: 20px;
  background: var(--ab-fairy);
  z-index: 0;
}

.ab-hero__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 500px;
  max-height: min(500px, 70vh);
  object-fit: cover;
  border-radius: 20px;
}

/* ----- Five parts ----- */
.ab-parts {
  margin-top: 80px;
  padding: 0 clamp(24px, 5vw, 48px) clamp(5rem, 10vw, 6rem);
}

.ab-parts__title {
  margin: 0 auto 2.5rem;
  max-width: 960px;
  text-align: center;
  font-family: var(--ab-font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 32px;
  color: var(--ab-ink);
}

.ab-planets-hint {
  margin: 0 auto 1.25rem;
  max-width: 960px;
  text-align: center;
  font-family: var(--ab-font-body);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--ab-muted);
}

.ab-solar {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 0 1rem;
}

.ab-planets-orbit {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  gap: 0;
  column-gap: 0;
  row-gap: 0;
  min-height: 640px;
  align-items: center;
}

.ab-planet-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  /* Pull clusters together for a tight “solar system” cluster */
  margin: -18px;
}

.ab-planet-cluster--diverse {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  justify-self: start;
  transform: translate(2%, 6%);
}

.ab-planet-cluster--pragmatist {
  grid-column: 5 / span 2;
  grid-row: 1 / span 2;
  justify-self: end;
  transform: translate(-2%, 4%);
}

.ab-planet-cluster--travel {
  grid-column: 3 / span 2;
  grid-row: 2 / span 2;
  justify-self: center;
  transform: translate(0, 4%);
}

.ab-planet-cluster--reading {
  grid-column: 1 / span 2;
  grid-row: 3 / span 2;
  justify-self: start;
  transform: translate(4%, -8%);
}

.ab-planet-cluster--movement {
  grid-column: 5 / span 2;
  grid-row: 3 / span 2;
  justify-self: end;
  transform: translate(-4%, 6%);
}

/* Planet buttons — perfect circles, single label only */
body.about-page--editorial .about-planet {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: none;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(13, 12, 10, 0.08);
  transition: transform var(--ab-ease), box-shadow var(--ab-ease);
}

body.about-page--editorial .about-planet--lg {
  width: 300px;
  height: 300px;
  min-width: 300px;
  min-height: 300px;
  max-width: 300px;
  max-height: 300px;
}

body.about-page--editorial .about-planet--sm {
  width: 200px;
  height: 200px;
  min-width: 200px;
  min-height: 200px;
  max-width: 200px;
  max-height: 200px;
}

body.about-page--editorial .about-planet:hover,
body.about-page--editorial .about-planet--link:focus-visible,
body.about-page--editorial .about-planet--toggle:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(13, 12, 10, 0.12);
}

body.about-page--editorial .about-planet--tone-diverse {
  background: var(--ab-blue);
}

body.about-page--editorial .about-planet--tone-diverse .about-planet-name {
  color: #fff;
}

body.about-page--editorial .about-planet--tone-pragmatist {
  background: var(--ab-pink);
}

body.about-page--editorial .about-planet--tone-pragmatist .about-planet-name {
  color: #fff;
}

body.about-page--editorial .about-planet--tone-travel {
  background: var(--ab-yellow);
}

body.about-page--editorial .about-planet--tone-travel .about-planet-name {
  color: var(--ab-ink);
}

body.about-page--editorial .about-planet--tone-reading {
  background: var(--ab-ink);
}

body.about-page--editorial .about-planet--tone-reading .about-planet-name {
  color: #fff;
}

body.about-page--editorial .about-planet--tone-movement {
  background: var(--ab-fairy);
}

body.about-page--editorial .about-planet--tone-movement .about-planet-name {
  color: var(--ab-ink);
}

body.about-page--editorial .about-planet-name {
  display: block;
  font-family: var(--ab-font-display);
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  max-width: 88%;
}

body.about-page--editorial .about-planet--lg .about-planet-name {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

body.about-page--editorial .about-planet--sm .about-planet-name {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

body.about-page--editorial .about-planet--toggle[aria-expanded="true"] {
  outline: 2px solid var(--ab-ink);
  outline-offset: 3px;
}

/* Expansion dock & panels */
body.about-page--editorial .about-page-body {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

body.about-page--editorial .about-planets-main.site-main {
  padding: 0;
}

body.about-page--editorial .about-expansion-dock {
  margin-top: 80px;
  padding: 0 clamp(24px, 5vw, 48px);
}

body.about-page--editorial .about-planet-panel {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(13, 12, 10, 0.06);
}

body.about-page--editorial .about-planet-panel:not([hidden]) {
  animation: abPanelIn 0.45s ease;
}

@keyframes abPanelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.about-page--editorial .about-planet-panel-inner {
  padding: 24px 28px 28px;
}

body.about-page--editorial .about-planet-panel-text {
  font-family: var(--ab-font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ab-text);
}

body.about-page--editorial .about-planet-panel--cta .about-planet-panel-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 28px;
}

body.about-page--editorial .about-planet-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--ab-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ab-ink);
  border: 2px solid var(--ab-ink);
  background: transparent;
  transition: background var(--ab-ease), color var(--ab-ease), border-color var(--ab-ease);
}

body.about-page--editorial .about-planet-view-all:hover {
  background: var(--ab-pink);
  border-color: var(--ab-pink);
  color: #fff;
}

body.about-page--editorial .about-planet-view-all:focus-visible {
  outline: 2px solid var(--ab-ink);
  outline-offset: 3px;
}

body.about-page--editorial .about-planet-panel--lifestyle {
  max-width: min(760px, 100%);
}

body.about-page--editorial .about-planet-panel--lifestyle .about-planet-panel-text + .about-planet-panel-text {
  margin-top: 1.25rem;
}

body.about-page--editorial .about-lifestyle-bubbles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(6px, 1.8vw, 10px);
  width: 100%;
  max-width: min(400px, 100%);
  margin: 24px auto 0;
  padding: 0;
}

body.about-page--editorial .about-lifestyle-bubble {
  margin: 0;
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: none;
  background: color-mix(in oklab, var(--ab-lavender), var(--ab-bg) 35%);
  box-shadow:
    0 10px 28px rgba(13, 12, 10, 0.06),
    0 2px 8px rgba(13, 12, 10, 0.04);
}

body.about-page--editorial .about-lifestyle-bubble picture,
body.about-page--editorial .about-lifestyle-bubble img {
  display: block;
  width: 100%;
  height: 100%;
}

body.about-page--editorial .about-lifestyle-bubble img {
  object-fit: cover;
}

/* Info cards */
body.about-page--editorial .about-info-aside {
  margin-top: 80px;
  padding: 0 clamp(24px, 5vw, 48px) clamp(4rem, 10vw, 6rem);
}

body.about-page--editorial .about-info-grid {
  max-width: 900px;
  gap: 20px;
}

body.about-page--editorial .aside-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: none;
  transition:
    border-color var(--ab-ease),
    box-shadow var(--ab-ease);
}

body.about-page--editorial .aside-card:hover {
  border-color: var(--ab-pink);
  box-shadow: 0 4px 20px rgba(245, 86, 155, 0.1);
}

body.about-page--editorial .aside-title {
  font-family: var(--ab-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ab-muted);
  margin: 0 0 14px;
}

body.about-page--editorial .aside-list,
body.about-page--editorial .aside-text {
  font-family: var(--ab-font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ab-text);
}

body.about-page--editorial .aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--ab-text);
}

body.about-page--editorial .aside-text a {
  color: var(--ab-ink);
}

/* Scroll reveal */
.about-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .about-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.about-page--editorial .about-planet-panel {
    animation: none;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .ab-hero__grid {
    grid-template-columns: 1fr;
  }

  .ab-hero__photo-wrap {
    order: -1;
    justify-self: center;
    max-width: 420px;
  }

  .ab-planets-orbit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: 0;
    gap: 0.35rem 0.25rem;
    align-items: start;
  }

  .ab-planet-cluster {
    margin: -6px;
  }

  .ab-planet-cluster--diverse,
  .ab-planet-cluster--pragmatist,
  .ab-planet-cluster--travel,
  .ab-planet-cluster--reading,
  .ab-planet-cluster--movement {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    transform: none;
  }
}

@media (max-width: 520px) {
  .ab-planets-orbit {
    grid-template-columns: 1fr;
  }

  body.about-page--editorial .about-info-grid {
    grid-template-columns: 1fr;
  }
}
