/**
 * assets/css/about.css
 *
 * Page-specific styles for the About page (.page--about).
 * Depends on: global.css, components.css
 *
 * Sections:
 *   - Hero with radial starfield gradient
 *   - Section layout and gold dividers
 *   - Pull-quote / blockquote
 *   - Privacy grid
 *   - "What it is not" list
 *   - Toolsyte credit block
 *   - Disclaimer block
 */

/* =========================================================
   HERO
   ========================================================= */

.about-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-32) var(--space-24);
}

/* Starfield-like radial gradient background */
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%,   rgba(232, 201, 122, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 40%,  rgba(157, 142, 196, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%,  rgba(157, 142, 196, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Scattered star-dots via box-shadow */
.about-hero__starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.about-hero__starfield::before,
.about-hero__starfield::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(232, 201, 122, 0.5);
}

.about-hero__starfield::before {
  width: 2px;
  height: 2px;
  box-shadow:
    12%  18% 0 rgba(232, 201, 122, 0.4),
    28%  7%  0 rgba(240, 235, 255, 0.3),
    44%  23% 0 rgba(232, 201, 122, 0.3),
    61%  11% 0 rgba(240, 235, 255, 0.25),
    73%  29% 0 rgba(232, 201, 122, 0.4),
    83%  8%  0 rgba(240, 235, 255, 0.2),
    91%  20% 0 rgba(232, 201, 122, 0.3),
    5%   35% 0 rgba(240, 235, 255, 0.25),
    52%  40% 0 rgba(232, 201, 122, 0.2),
    36%  50% 0 rgba(240, 235, 255, 0.15);
  /* fallback: these % values aren't valid box-shadow; using px approach below */
  box-shadow:
     80px  60px 0 rgba(232, 201, 122, 0.4),
    240px  40px 0 rgba(240, 235, 255, 0.3),
    420px  90px 0 rgba(232, 201, 122, 0.3),
    620px  55px 0 rgba(240, 235, 255, 0.25),
    780px 110px 0 rgba(232, 201, 122, 0.4),
    920px  35px 0 rgba(240, 235, 255, 0.2),
   1080px  75px 0 rgba(232, 201, 122, 0.3),
     50px 140px 0 rgba(240, 235, 255, 0.25),
    340px 160px 0 rgba(232, 201, 122, 0.2),
    700px 180px 0 rgba(240, 235, 255, 0.15);
}

.about-hero__starfield::after {
  width: 1px;
  height: 1px;
  box-shadow:
    160px 100px 0 rgba(240, 235, 255, 0.35),
    360px  80px 0 rgba(232, 201, 122, 0.25),
    540px 120px 0 rgba(240, 235, 255, 0.3),
    820px  70px 0 rgba(232, 201, 122, 0.35),
    980px 130px 0 rgba(240, 235, 255, 0.2),
    200px 200px 0 rgba(232, 201, 122, 0.2),
    600px 210px 0 rgba(240, 235, 255, 0.15),
    860px 190px 0 rgba(232, 201, 122, 0.25);
}

.about-hero__inner {
  position: relative;
  z-index: 1;
}

.about-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.about-hero__heading {
  color: var(--moon-white);
  margin-bottom: var(--space-8);
}

.about-hero__lead {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--moon-soft);
  max-width: 52ch;
  line-height: 1.7;
}

/* =========================================================
   SECTION LAYOUT
   ========================================================= */

.about-section {
  /* inherits .section padding */
}

.about-section--alt {
  background: linear-gradient(
    to bottom,
    rgba(13, 20, 40, 0.0) 0%,
    rgba(13, 20, 40, 0.4) 20%,
    rgba(13, 20, 40, 0.4) 80%,
    rgba(13, 20, 40, 0.0) 100%
  );
}

/* Gold gradient section divider line */
.about-section__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 201, 122, 0.15) 20%,
    rgba(232, 201, 122, 0.5) 50%,
    rgba(232, 201, 122, 0.15) 80%,
    transparent 100%
  );
  margin-bottom: var(--space-12);
}

.about-section__header {
  margin-bottom: var(--space-10);
}

.about-section__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.about-section__title {
  color: var(--moon-white);
}

/* =========================================================
   PROSE
   ========================================================= */

.about-prose {
  /* uses .flow--lg utility for child spacing */
}

.about-prose p {
  font-size: var(--text-lg);
  color: var(--moon-soft);
  max-width: 62ch;
  line-height: 1.8;
}

.about-prose em {
  color: var(--gold-lantern);
  font-style: italic;
}

/* =========================================================
   PULL-QUOTE / BLOCKQUOTE
   ========================================================= */

.about-pullquote {
  position: relative;
  border-left: 3px solid var(--gold-lantern);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-8) var(--space-10);
  background: rgba(232, 201, 122, 0.04);
}

.about-pullquote::before {
  content: '\201C';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-lantern);
  opacity: 0.3;
}

.about-pullquote__text {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-weight: 300;
  font-style: italic;
  color: var(--moon-white);
  line-height: 1.6;
  max-width: 54ch;
  padding-top: var(--space-4);
}

/* =========================================================
   PRIVACY GRID
   ========================================================= */

.about-privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-privacy-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.about-privacy-item__icon {
  font-size: var(--text-2xl);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-privacy-item__label {
  display: block;
  font-size: var(--text-base);
  color: var(--moon-white);
  margin-bottom: var(--space-1);
}

.about-privacy-item__text {
  font-size: var(--text-sm);
  color: var(--moon-soft);
  max-width: none;
  line-height: 1.6;
}

/* =========================================================
   WHAT REMEMBER IS NOT
   ========================================================= */

.about-not-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-not-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  transition:
    background var(--duration-mid) var(--ease-gentle),
    border-color var(--duration-mid) var(--ease-gentle),
    box-shadow var(--duration-mid) var(--ease-gentle);
}

.about-not-item:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(232, 201, 122, 0.15);
}

.about-not-item__symbol {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
  margin-top: 2px;
}

.about-not-item__label {
  display: block;
  font-size: var(--text-base);
  color: var(--moon-white);
  margin-bottom: var(--space-2);
  letter-spacing: 0.01em;
}

.about-not-item__text {
  font-size: var(--text-base);
  color: var(--moon-soft);
  line-height: 1.7;
  max-width: 60ch;
}

/* =========================================================
   TOOLSYTE CREDIT
   ========================================================= */

.about-toolsyte {
  max-width: 46rem;
  margin-inline: auto;
  padding: var(--space-12) var(--space-10);
}

.about-toolsyte__star {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  line-height: 1;
}

.about-toolsyte__heading {
  color: var(--moon-white);
  margin-bottom: var(--space-5);
}

.about-toolsyte__body {
  font-size: var(--text-lg);
  color: var(--moon-soft);
  line-height: 1.75;
  max-width: 46ch;
  margin-inline: auto;
}

/* =========================================================
   DISCLAIMER
   ========================================================= */

.about-disclaimer-section {
  padding-bottom: var(--space-16);
}

.about-disclaimer {
  max-width: 52rem;
  margin-inline: auto;
  border-color: rgba(232, 201, 122, 0.1);
}

.about-disclaimer__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 54ch;
  margin-inline: auto;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 640px) {
  .about-hero {
    padding-block: var(--space-20) var(--space-16);
  }

  .about-pullquote {
    padding: var(--space-6) var(--space-6) var(--space-6) var(--space-8);
  }

  .about-pullquote::before {
    font-size: 3rem;
    top: var(--space-3);
    left: var(--space-4);
  }

  .about-privacy-grid {
    grid-template-columns: 1fr;
  }

  .about-toolsyte {
    padding: var(--space-8) var(--space-6);
  }
}
