/* ============================================================
   THE DIGITAL OAK — about.css
   ============================================================ */

/* ── Nav active state ─────────────────────────── */
.nav-active {
  color: var(--accent) !important;
}

/* ══════════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) var(--gutter) 5rem;
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text);
  margin: 1.5rem 0 1.5rem;
}

.page-hero-title em {
  font-style: italic;
  color: var(--accent);
}

.page-hero-sub {
  font-size: 0.925rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 540px;
}

.page-hero-pulse {
  position: absolute;
  top: 0; right: 12%;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent) 45%,
    var(--accent-dim) 55%,
    transparent
  );
  opacity: 0;
  animation: heroPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--faint) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, black 20%, transparent 100%);
  pointer-events: none;
}


/* ══════════════════════════════════════════════
   STORY
══════════════════════════════════════════════ */
.about-story {
  padding: 7rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.story-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}

.story-label {
  padding-top: 0.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.story-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.story-title em {
  font-style: italic;
  color: var(--accent);
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-text p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  max-width: 680px;
}


/* ══════════════════════════════════════════════
   VALUES
══════════════════════════════════════════════ */
.values-section {
  padding: 7rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.values-header {
  margin-bottom: 4rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.value-item {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.value-item:nth-child(2n) {
  border-right: none;
}

.value-item:nth-child(3),
.value-item:nth-child(4) {
  border-bottom: none;
}

.value-item:hover {
  background: var(--surface);
}

.value-number {
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.value-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.875rem;
  line-height: 1.2;
}

.value-text {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
}


/* ══════════════════════════════════════════════
   PERSONAL
══════════════════════════════════════════════ */
.personal-section {
  padding: 7rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.personal-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}

.personal-label {
  padding-top: 0.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.personal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
}

.personal-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
}


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .story-inner,
  .personal-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-label,
  .personal-label {
    position: static;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    border-right: none;
  }

  .value-item:nth-child(3) {
    border-bottom: 1px solid var(--border);
  }

  .page-hero {
    padding: calc(var(--nav-h) + 3rem) var(--gutter) 3rem;
  }
}

@media (max-width: 600px) {
  .value-item {
    padding: 2rem 1.5rem;
  }
}
