/* ═══════════════════════════════════════════════════════════════
   SARAF EXPORTS — ABOUT
   Extends home-v2.css. Editorial, monograph, cream paper.
   ═══════════════════════════════════════════════════════════════ */

/* ── body keeps the cream tone throughout ── */
.about-body {
  background: var(--bg-primary);
  color: var(--text-primary);
}


/* ── current nav indicator ──
   Dim by opacity, not by colour. A fixed dark colour reads as "dimmed" on the
   cream sections but computes to near-black against the dark Grain Knowledge
   band under the bar's difference blend — i.e. invisible. Opacity holds on
   either ground. */
.bar-nav a.is-current {
  opacity: 0.55;
}

.bar-nav a.is-current::after {
  content: "";
  display: block;
  width: 14px;
  height: 1px;
  background: var(--accent);
  margin-top: 3px;
}


/* ───────────────────────────────────────────
   CHAPTER MARK — reusable mini-header
──────────────────────────────────────────── */
.ah-chapter, .af-chapter, .aa-chapter, .ag-chapter, .ac-chapter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.ah-chapter-num, .af-chapter-num, .aa-chapter-num, .ag-chapter-num, .ac-chapter-num {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0;
}

.ah-chapter-rule, .af-chapter-rule, .aa-chapter-rule, .ag-chapter-rule, .ac-chapter-rule {
  width: 44px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
  display: inline-block;
}


/* ═══════════════════════════════════════════════
   01 · PROLOGUE — about-hero
═══════════════════════════════════════════════ */
.about-hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad-x) 80px;
  padding-left: calc(var(--pad-x) + 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.ah-paper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(46,46,46,0.04), transparent 70%),
    radial-gradient(ellipse 70% 60% at 80% 80%, rgba(200,165,140,0.08), transparent 70%);
}

.ah-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(46,46,46,0.045) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}


/* ── Hero backdrop ──
   Sits behind the copy on the right, where the column left the page empty.
   Kept very light so it reads as watermark, not illustration — the headline
   above it is opaque, so text contrast is unaffected. */
.ah-backdrop {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(58%, 820px);
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 26%, #000 100%);
}
.ah-backdrop img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
.ah-backdrop-note {
  position: absolute;
  right: var(--pad-x);
  top: 148px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0;
}
.ah-bn-rule { width: 36px; height: 1px; background: var(--accent); display: inline-block; }

.about-hero .ah-chapter {
  position: relative;
  margin-bottom: 48px;
}


.ah-headline {
  position: relative;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 124px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  max-width: 1000px;
  margin-bottom: 48px;
}

.ah-line {
  display: block;
}

.ah-line--em {
  font-style: italic;
  color: var(--accent);
}


.ah-sub {
  position: relative;
  max-width: 640px;
  font-size: clamp(18px, 1.2vw, 21px);
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 64px;
}


/* waypoints */
.ah-waypoints {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.ah-wp {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ah-wp-year {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.ah-wp-label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.ah-wp-dash {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--border);
}


/* signature */
.ah-signature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
}

.ah-seal {
  width: 70px;
  height: 70px;
  color: var(--accent);
  opacity: 0.9;
}

.ah-sig-hand {
  font-family: var(--f-script);
  font-size: 32px;
  color: var(--text-primary);
  font-weight: 500;
}


/* scroll hint */
.ah-scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.ah-scroll-bar {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--border) 0%, var(--accent) 50%, transparent 100%);
  animation: ah-scroll-pulse 2s var(--e-in-out) infinite;
}

@keyframes ah-scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}



/* ═══════════════════════════════════════════════
   02 · THE FOUNDER
═══════════════════════════════════════════════ */
.about-founder {
  position: relative;
  padding: 140px var(--pad-x) 160px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
}

.af-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.af-side {
  position: sticky;
  top: 120px;
}

.af-side .af-chapter {
  flex-direction: row;
  margin-bottom: 120px;
}

.af-whisper {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-top: 40px;
}


.af-centrepiece {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding-top: 20px;
}

.af-medallion {
  width: clamp(240px, 26vw, 320px);
  color: var(--accent);
  animation: af-medallion-breathe 9s var(--e-in-out) infinite;
}

.af-medallion svg { width: 100%; height: auto; display: block; }

@keyframes af-medallion-breathe {
  0%, 100% { transform: scale(1);     opacity: 0.95; }
  50%      { transform: scale(1.015); opacity: 1; }
}


.af-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.5;
  text-align: center;
  max-width: 440px;
  color: var(--text-primary);
  position: relative;
}

.af-quote-mark {
  position: absolute;
  top: -24px; left: -6px;
  font-family: var(--f-display);
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.7;
}

.af-quote-attr {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
}


.af-body {
  padding-top: 40px;
}

.af-name {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.af-name em {
  font-style: italic;
  color: var(--accent);
}

.af-dates {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.af-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.af-lede {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 520px;
}

.af-creed {
  list-style: none;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 520px;
}

.af-creed li {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-primary);
  padding: 10px 0;
  display: flex;
  gap: 14px;
}

.af-creed li span {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding-top: 10px;
  min-width: 22px;
}




/* ═══════════════════════════════════════════════
   08 · CREDO
═══════════════════════════════════════════════ */
.about-credo {
  position: relative;
  padding: 140px var(--pad-x) 160px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
}

.ac-head {
  max-width: 780px;
  margin: 0 0 80px;
}

.ac-head .ac-chapter { margin-bottom: 28px; }

.ac-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.ac-intro {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  max-width: 640px;
}


.ac-list {
  list-style: none;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.ac-list li {
  position: relative;
  padding: 40px 36px;
  border-bottom: 1px solid var(--border);
  display: grid;
  /* 36px clipped the longest numeral — "viii." sets to 53px in the mono face
     at this tracking, and spilled into the text column. */
  grid-template-columns: 56px 1fr;
  row-gap: 10px;
  column-gap: 20px;
  transition: background 0.4s var(--e-out);
}

.ac-list li:hover { background: var(--bg-primary); }

.ac-list li:nth-child(odd) { border-right: 1px solid var(--border); }

.ac-n {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--accent);
  padding-top: 8px;
}

.ac-item-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.ac-list li p {
  grid-column: 2;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--text-primary);
}



/* ═══════════════════════════════════════════════
   09 · VISIT — reuse .close styles, just tweak
═══════════════════════════════════════════════ */
.about-visit .close-title em {
  font-style: italic;
  color: var(--accent);
}

.av-sub {
  max-width: 600px;
  margin: -8px auto 48px;
  font-size: 18.5px;
  line-height: 1.7;
  color: var(--text-primary);
}

@media (max-width: 1100px) {

  .af-grid {
    grid-template-columns: 140px 1fr;
    gap: 40px;
  }

  .af-centrepiece {
    grid-column: 1 / -1;
    order: -1;
    padding-top: 0;
  }

  .af-side {
    grid-column: 1;
    position: static;
  }

  .af-body { grid-column: 2; padding-top: 0; }
}

@media (max-width: 900px) {

  .about-hero, .about-founder, .about-credo {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }


  .ah-waypoints { gap: 12px; }

  .ah-wp-dash { width: 24px; }

  .ah-scroll { display: none; }

  /* The caption sits at the same height as the chapter mark once the column
     is full-width, so it goes. The rings stay, but pulled well back — at this
     width they sit directly behind the running copy, not beside it. */
  .ah-backdrop-note { display: none; }
  .ah-backdrop {
    width: 100%;
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 88%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 88%);
  }


  .af-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* The 1100px block pins .af-body to grid-column 2. Collapsing to a single
     column here does not undo that, so it was creating an implicit second
     column and pushing the founder text 159px off-screen. Reset the placement
     with the track count. */
  .af-body,
  .af-side,
  .af-centrepiece { grid-column: auto; }

  .af-side { display: flex; align-items: center; gap: 40px; }

  .af-whisper { writing-mode: horizontal-tb; transform: none; margin-top: 0; }

  .af-side .af-chapter { margin-bottom: 0; }


  .ac-list { grid-template-columns: 1fr; }

  .ac-list li:nth-child(odd) { border-right: none; }

  .ac-list li { padding: 32px 24px; }
}

@media (max-width: 600px) {

  .ah-headline { font-size: clamp(40px, 11vw, 80px); }

  .af-name { font-size: clamp(36px, 10vw, 60px); }

  .ac-title {
    font-size: clamp(32px, 8vw, 52px);
  }

  .ac-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ac-list li p { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {

  .ah-scroll-bar, .af-medallion {
    animation: none !important;
  }
}


/* ═══════════════════════════════════════════════
   03 · THE ARC — trade to export to home
═══════════════════════════════════════════════ */
.about-arc {
  position: relative;
  padding: 140px var(--pad-x) 150px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-soft);
}
.aa-head { max-width: 820px; margin: 0 0 76px; }
.aa-head .aa-chapter { margin-bottom: 28px; }
.aa-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-wrap: balance;
}
.aa-title em { font-style: italic; color: var(--accent); }
.aa-intro {
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--text-primary);
  max-width: 640px;
  text-wrap: pretty;
}

.aa-list {
  list-style: none;
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.aa-step {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 44px;
  padding: 38px 0;
  border-bottom: 1px solid var(--border);
}
.aa-year {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.aa-content h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.aa-content p {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 62ch;
  text-wrap: pretty;
}
/* the present moment reads as ink, not as another date in the past */
.aa-step--now .aa-year { color: var(--text-primary); }
.aa-step--now .aa-content h3::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 12px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}


/* ═══════════════════════════════════════════════
   04 · THE GRAIN KNOWLEDGE
   The page's thesis, and the one dark band on it —
   the instrument column is dimmed against the hand
   column so the hierarchy is visible before it's read.
═══════════════════════════════════════════════ */
.about-grain {
  position: relative;
  padding: 150px var(--pad-x) 160px;
  padding-left: calc(var(--pad-x) + 48px);
  background: var(--bg-dark);
  color: var(--bg-primary);
}
.about-grain .ag-chapter { color: rgba(247, 244, 239, 0.82); margin-bottom: 28px; }
.ag-head { max-width: 880px; margin: 0 0 84px; }
.ag-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--bg-primary);
  margin-bottom: 24px;
  text-wrap: balance;
}
.ag-title em { font-style: italic; color: var(--accent); }
.ag-intro {
  font-size: 18.5px;
  line-height: 1.8;
  color: rgba(247, 244, 239, 0.72);
  max-width: 660px;
  text-wrap: pretty;
}

.ag-readings {
  list-style: none;
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(247, 244, 239, 0.16);
}
.ag-reading {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 44px;
  padding: 46px 0;
  border-bottom: 1px solid rgba(247, 244, 239, 0.16);
}
.ag-r-index { display: flex; flex-direction: column; gap: 10px; }
.ag-r-n {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.ag-r-organ {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: rgba(247, 244, 239, 0.48);
}
.ag-r-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--bg-primary);
  margin-bottom: 22px;
}
.ag-r-instrument,
.ag-r-hand { max-width: 62ch; line-height: 1.8; text-wrap: pretty; }
.ag-r-instrument {
  font-size: 15.5px;
  color: rgba(247, 244, 239, 0.42);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed rgba(247, 244, 239, 0.14);
}
.ag-r-hand {
  font-size: 17.5px;
  color: rgba(247, 244, 239, 0.9);
}
.ag-r-instrument > span,
.ag-r-hand > span {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-right: 12px;
}
.ag-r-instrument > span { color: rgba(247, 244, 239, 0.34); }
.ag-r-hand > span { color: var(--accent); }

.ag-close {
  max-width: 720px;
  margin: 76px auto 0;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.55;
  color: rgba(247, 244, 239, 0.88);
  text-align: center;
  text-wrap: balance;
}


/* ── responsive for the two new sections ── */
@media (max-width: 900px) {
  .about-arc,
  .about-grain {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }
  .aa-step { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .ag-reading { grid-template-columns: 1fr; gap: 18px; padding: 38px 0; }
  .ag-r-index { flex-direction: row; align-items: baseline; gap: 14px; }
}
@media (max-width: 600px) {
  .about-arc { padding: 100px var(--pad-x) 110px; }
  .about-grain { padding: 110px var(--pad-x) 120px; }
  .ag-close { text-align: left; }
}
