/* ═══════════════════════════════════════════════════════
   ABOUT — page styles
   Extends the tokens in styles.css. Dark-first, editorial:
   wider measure, larger type, more air than the product
   sections, same palette and border language.
   ═══════════════════════════════════════════════════════ */

:root {
  /* Globe ink. Dark ground gets light lines, light ground gets dark ones. */
  --globe-line: 26, 24, 20;
  --globe-coast: 26, 24, 20;
}

[data-theme="dark"] {
  --globe-line: 240, 237, 231;
  --globe-coast: 240, 237, 231;
}


/* ── Header: same simplified pattern the legal pages use ── */
.about-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.about-header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.about-header .header__brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}


/* ── Page rhythm ── */
.about {
  padding-top: 96px;
}

.about__wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.about__block {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-light);
}

.about__block:last-of-type {
  border-bottom: none;
}

.about__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.about__title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.about__heading {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

/* The reading column: larger and airier than the product sections */
.about__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 62ch;
}

.about__text + .about__text {
  margin-top: 18px;
}

.about__text strong {
  color: var(--text-primary);
  font-weight: 550;
}

/* A single pulled-out line, used once, where the story turns */
.about__pull {
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  border-left: 2px solid var(--accent);
  padding-left: 22px;
  margin: 32px 0;
  max-width: 54ch;
}


/* ── Journey: four beats, no cards ── */
.about__journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.about__step {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.about__step-age {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.about__step-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about__step-note {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}


/* ── Principles: a plain list, not a card grid ── */
.about__principles {
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 28px;
}

.about__principles li {
  padding: 13px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about__principles li span {
  color: var(--text-primary);
  font-weight: 550;
}


/* ── Globe: full-bleed centrepiece ── */
.about__globe-section {
  padding: 40px 0 24px;
}

.about__globe-intro {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 8px;
}

.globe-stage {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 395px;
  margin: 0 auto;
}

#globe {
  display: block;
  width: 100%;
  height: 100%;
  /* the globe owns the drag gesture; the page has plenty of room around it */
  touch-action: none;
  cursor: grab;
}

#globe.is-grabbing {
  cursor: grabbing;
}

.globe-hint {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}


/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .globe-stage { height: 329px; }
}

@media (max-width: 767px) {
  .about { padding-top: 80px; }
  .about__block { padding: 52px 0; }
  .about__wrap { padding: 0 20px; }
  .about__text { font-size: 1rem; }
  .about__journey { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .about__principles { grid-template-columns: 1fr; }
  .globe-stage { height: 268px; }
  .about__pull { padding-left: 18px; margin: 26px 0; }
}

@media (max-width: 420px) {
  .about__wrap { padding: 0 16px; }
  .globe-stage { height: 216px; }
  .about__journey { gap: 20px 16px; }
}


/* ── Reduced motion: the globe stays fully usable by hand; only the
      idle drift and the throw are dropped (handled in about.js). ── */
@media (prefers-reduced-motion: reduce) {
  .about__block { transition: none; }
}
