/* ================================================================
   ABOUT PAGE — Styles specific to /about.html
   Shared sub-page chrome loaded from subpage.css
================================================================ */

@layer layout {

  /* ── Hero — About ──────────────────────────────────────────── */
  .about-hero {
    padding: 148px 0 96px;
    position: relative;
    overflow: hidden;
  }

  .about-hero .hero-orb {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 102, 32, .06) 0%, transparent 65%);
    top: -180px;
    left: -100px;
    filter: blur(80px);
    pointer-events: none;
  }

  .about-hero .hero-orb-b {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 102, 32, .04) 0%, transparent 70%);
    bottom: 0;
    right: -80px;
    filter: blur(60px);
    pointer-events: none;
  }

  .about-hero .dot-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(138, 102, 32, .16) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 50% 60% at 20% 30%, black 10%, transparent 100%);
  }

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

  .about-hero h1 {
    font-family: var(--serif);
    font-size: clamp(46px, 6vw, 88px);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -.018em;
    color: var(--t-head);
    margin-bottom: 32px;
    max-width: 820px;
  }

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

  /* Split hero layout */
  .hero-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    max-width: 1000px;
  }

  .hero-p {
    font-size: 16px;
    color: var(--t-body);
    line-height: 1.88;
  }

  .hero-p strong {
    color: var(--t-head);
    font-weight: 400;
  }

  .hero-p + .hero-p {
    margin-top: 18px;
  }

  .hero-founded {
    border-left: 1px solid var(--line-g);
    padding-left: 32px;
  }

  .hero-founded-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--t-muted);
    margin-bottom: 10px;
  }

  .hero-founded-year {
    font-family: var(--serif);
    font-size: 72px;
    font-weight: 300;
    color: var(--t-head);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -.02em;
  }

  .hero-founded-year em {
    color: var(--gold);
    font-style: normal;
  }

  .hero-founded-p {
    font-size: 13.5px;
    color: var(--t-muted);
    line-height: 1.78;
  }

  /* ── Stats Bar ─────────────────────────────────────────────── */
  .stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    margin: 72px 0 96px;
  }

  .stat {
    background: var(--card);
    padding: 36px 32px;
    transition: background .25s var(--out);
    position: relative;
    overflow: hidden;
  }

  .stat:hover {
    background: var(--card-h);
  }

  .stat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .35s;
  }

  .stat:hover::after {
    opacity: 1;
  }

  .stat-num {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 300;
    color: var(--t-head);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -.02em;
  }

  .stat-num em {
    color: var(--gold);
    font-style: normal;
  }

  .stat-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--t-muted);
  }

  .stat-sub {
    font-size: 12.5px;
    color: var(--t-muted);
    margin-top: 6px;
    line-height: 1.5;
  }

  /* ── Section Utility ───────────────────────────────────────── */
  .section {
    margin-bottom: 96px;
  }

  .section .section-h2 {
    margin-bottom: 20px;
  }

  /* ── Story Section ─────────────────────────────────────────── */
  .story-grid {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 64px;
    align-items: start;
  }

  .story-body {
    font-size: 15px;
    color: var(--t-body);
    line-height: 1.9;
  }

  .story-body p + p {
    margin-top: 20px;
  }

  .story-body strong {
    color: var(--t-head);
    font-weight: 400;
  }

  /* ── Timeline ──────────────────────────────────────────────── */
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .tl-item {
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
    position: relative;
  }

  .tl-item:last-child {
    padding-bottom: 0;
  }

  .tl-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 44px;
  }

  .tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: var(--bg);
    flex-shrink: 0;
    margin-top: 4px;
    transition: background .2s;
  }

  .tl-item:hover .tl-dot {
    background: var(--gold);
  }

  .tl-line {
    flex: 1;
    width: 1px;
    background: var(--line);
    margin-top: 6px;
  }

  .tl-item:last-child .tl-line {
    display: none;
  }

  .tl-year {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--gold);
    margin-bottom: 4px;
  }

  .tl-event {
    font-size: 13.5px;
    color: var(--t-body);
    line-height: 1.6;
  }

  .tl-event strong {
    color: var(--t-head);
    font-weight: 400;
  }

  /* ── Pattern Intelligence ──────────────────────────────────── */
  .pattern-block {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 96px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pattern-main {
    padding: 60px 52px;
  }

  .pattern-aside {
    background: var(--bg-alt);
    padding: 60px 48px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .pattern-main-h {
    font-family: var(--serif);
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.06;
    margin-bottom: 20px;
  }

  .pattern-main-h em {
    font-style: italic;
    color: var(--gold);
  }

  .pattern-main-p {
    font-size: 14.5px;
    color: var(--t-body);
    line-height: 1.88;
  }

  .pattern-main-p + .pattern-main-p {
    margin-top: 18px;
  }

  .pattern-main-p strong {
    color: var(--t-head);
    font-weight: 400;
  }

  .pattern-shift {
    border-left: 2px solid var(--line-g);
    padding-left: 20px;
  }

  .pattern-shift-year {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
  }

  .pattern-shift-title {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--t-head);
    font-weight: 300;
    margin-bottom: 6px;
  }

  .pattern-shift-p {
    font-size: 12.5px;
    color: var(--t-muted);
    line-height: 1.72;
  }

  /* ── Team ───────────────────────────────────────────────────── */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
  }

  .team-card {
    background: var(--card);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: background .28s var(--out);
    display: flex;
    flex-direction: column;
  }

  .team-card:hover {
    background: var(--card-h);
  }

  .team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .4s;
  }

  .team-card:hover::before {
    opacity: 1;
  }

  .team-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1px solid var(--line-g);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-family: var(--serif);
    font-size: 22px;
    color: var(--gold);
    font-weight: 300;
    flex-shrink: 0;
  }

  .team-name {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.1;
    margin-bottom: 4px;
  }

  .team-role {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
  }

  .team-bio {
    font-size: 13px;
    color: var(--t-body);
    line-height: 1.82;
    flex: 1;
  }

  .team-bio strong {
    color: var(--t-head);
    font-weight: 400;
  }

  /* ── MWBE Band ─────────────────────────────────────────────── */
  .mwbe-band {
    background: var(--card);
    border: 1px solid var(--line-g);
    border-radius: 18px;
    padding: 44px 52px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 96px;
  }

  .mwbe-mark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1.5px solid var(--line-g);
    background: rgba(138, 102, 32, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--gold);
    text-align: center;
    line-height: 1.3;
  }

  .mwbe-title {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--t-head);
    font-weight: 300;
    margin-bottom: 8px;
  }

  .mwbe-p {
    font-size: 13.5px;
    color: var(--t-body);
    line-height: 1.78;
    max-width: 580px;
  }

  .mwbe-p strong {
    color: var(--t-head);
    font-weight: 400;
  }

  /* ── Values Grid ───────────────────────────────────────────── */
  .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    margin-top: 44px;
  }

  .value-card {
    background: var(--card);
    padding: 36px 32px;
    transition: background .25s var(--out);
    position: relative;
    overflow: hidden;
  }

  .value-card:hover {
    background: var(--card-h);
  }

  .value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .35s;
  }

  .value-card:hover::after {
    opacity: 1;
  }

  .value-icon {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .value-title {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--t-head);
    font-weight: 300;
    margin-bottom: 8px;
  }

  .value-p {
    font-size: 13px;
    color: var(--t-muted);
    line-height: 1.78;
  }

  /* ── Responsive (about only) ───────────────────────────────── */
  @media (max-width: 1024px) {
    .hero-body {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .hero-founded {
      border-left: none;
      border-top: 1px solid var(--line-g);
      padding-left: 0;
      padding-top: 28px;
    }

    .story-grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }

    .pattern-block {
      grid-template-columns: 1fr;
    }

    .pattern-aside {
      border-left: none;
      border-top: 1px solid var(--line);
    }

    .stats-bar {
      grid-template-columns: 1fr 1fr;
    }

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

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

  @media (max-width: 768px) {
    .about-hero {
      padding: 120px 0 64px;
    }

    .stats-bar {
      grid-template-columns: 1fr 1fr;
    }

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

    .mwbe-band {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 36px 28px;
    }

    .pattern-main,
    .pattern-aside {
      padding: 40px 32px;
    }
  }
}
