/* The Pour: About is a pinned stage, and a level of gold rises through it as you scroll. */
/* ---------- MOMENT 1: The Pour ----------
   A pinned stage. Charcoal and white at first; a flat level of gold rises through it as you
   scroll, and every line it passes turns to black on gold. Two copies of the content: the
   wet copy sits inside a box that slides up while the copy slides down by the same amount,
   so it stays still on screen and only the edge moves. */
.pour { height: 280vh; height: 280svh; }
.pour-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--charcoal);
}
.pour-layer {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 72px 0 40px;
}
.pour-fill {
  position: absolute; inset: 0;
  overflow: hidden;
  transform: translate3d(0, 100%, 0);
  will-change: transform;
}
.pour-wet { transform: translate3d(0, -100%, 0); will-change: transform; }
.pour-dry .ed-about-statement em { color: var(--gold); }
.pour-dry .ed-about-copy::first-letter { color: var(--gold); }
/* The stream: a thin fall of gold in the left gutter, seen only while the level is moving. */
.pour-stream {
  position: absolute; top: 0; left: calc(var(--gutter) / 2 - 1px);
  width: 2px; height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transform-origin: 50% 0;
  transform: scale3d(1, 0, 1);
  opacity: 0;
  will-change: transform, opacity;
}


/* the editorial About sits inside the stage, so it must fit one screen */
.pour .ed-about-grid { width: 100%; }
.pour .ed-about-statement { font-size: clamp(30px, min(5.2vw, 8.2vh), 78px); }
.pour .ed-about-copy { margin-top: clamp(28px, 5vh, 72px); }
.pour-wet .ed-ghost { color: var(--gold-deep); }
.pour-layer { overflow: hidden; }
@media (max-width: 820px) {
  .pour-layer { padding: 80px 0 32px; }
}
@media (max-width: 640px) {
  .pour .ed-about-statement { font-size: clamp(28px, min(8.4vw, 5.4vh), 40px); }
  .pour .ed-about-copy { font-size: 15px; line-height: 1.6; grid-column: 2 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .pour { height: auto; }
  .pour-stage { position: relative; height: auto; overflow: visible; background: var(--gold); }
  .pour-dry, .pour-stream { display: none; }
  .pour-fill, .pour-wet { position: relative; transform: none; }
  .pour-layer { position: relative; padding: clamp(96px, 14vw, 200px) 0 clamp(160px, 22vw, 320px); }
}

/* keep each copy in its own layer so the gold always sits over the dry copy */
.pour-stage { isolation: isolate; }
.pour-layer { isolation: isolate; }
.pour-dry { z-index: 0; }
.pour-fill { z-index: 1; }
.pour-stream { z-index: 2; }

/* About, centred: the label, every line of the statement and the paragraph sit on the page's centre line */
.pour .ed-about-grid { justify-items: center; text-align: center; }
.pour .ed-about-label { grid-column: 1 / -1; }
.pour .ed-about-statement { grid-column: 1 / -1; text-indent: 0; max-width: 16em; margin: 0 auto; }
.pour .ed-about-copy { grid-column: 1 / -1; max-width: 34em; margin-left: auto; margin-right: auto; }
/* a drop cap doesn't sit well in centred text, so the paragraph starts plainly */
.pour .ed-about-copy::first-letter { float: none; font: inherit; color: inherit; padding: 0; -webkit-initial-letter: normal; initial-letter: normal; }
.pour .ed-ghost { left: 50%; transform: translateX(-50%); }
@media (max-width: 640px) {
  .pour .ed-about-copy { grid-column: 1 / -1; }
}

/* no gold stream down the left edge */
.pour-stream { display: none !important; }

/* About, centred the simple way: no grid, just centred blocks inside the page margins,
   so every browser (Safari included) keeps the headline whole and on the centre line */
.pour .ed-about-grid { display: block; text-align: center; }
.pour .ed-about-label { margin: 0 auto clamp(24px, 4vh, 44px); }
.pour .ed-about-statement { width: auto; max-width: min(16em, 100%); margin: 0 auto; text-indent: 0; hanging-punctuation: none; }
.pour .ed-about-copy { max-width: min(34em, 100%); margin: clamp(28px, 5vh, 64px) auto 0; }

/* About scrolls like a normal section now (owner, 2026-11-06): no pin, no rising gold.
   Just the gold copy, centred, moving with the page. */
.pour { height: auto !important; }
.pour-stage { position: relative !important; height: auto !important; overflow: visible !important; background: var(--gold) !important; }
.pour-dry { display: none !important; }
.pour-fill, .pour-wet { position: relative !important; transform: none !important; }
.pour-layer { position: relative !important; padding: clamp(110px, 15vw, 200px) 0 !important; }

/* About as two sections, like before (owner, 2026-11-06): the label and headline on black,
   with "every screen." in gold; then the paragraph and the turning bust on gold below.
   Nothing pins; both scroll with the page. */
.pour-stage { background: none !important; }
.pour-dry { display: block !important; position: relative !important; background: var(--black) !important; }
.pour-dry .ed-about-copy { display: none !important; }
.pour-wet { background: var(--gold) !important; }
.pour-wet .ed-about-label, .pour-wet .ed-about-statement { display: none !important; }
.pour-wet .ed-about-copy { margin-top: 0 !important; }
.pour-fill { overflow: visible !important; clip-path: none !important; height: auto !important; inset: auto !important; }
.pour-layer { min-height: 0 !important; height: auto !important; width: 100% !important; inset: auto !important; }
/* the headline always wraps inside the window, never clipped */
.pour .ed-about-statement { max-width: min(16em, calc(100vw - 2 * var(--gutter))) !important; overflow-wrap: break-word; }
.pour .ed-about-statement em { white-space: normal; }

/* About as stacking cards (owner, 2026-11-06): the black panel with the label and headline holds,
   and the gold panel with the paragraph and bust slides up over it like a card. Each panel's words
   are printed on it: nothing fades, lifts or flips colour. */
.pour-dry {
  position: sticky !important; top: 0 !important; z-index: 0;
  min-height: 100vh !important; min-height: 100svh !important;
  display: flex !important; align-items: center; justify-content: center;
}
.pour-dry > .wrap { width: 100%; }
.pour-fill { position: relative !important; z-index: 1 !important; }
.pour-wet { min-height: 100vh; min-height: 100svh; justify-content: center; }

/* a calmer hand off from the statue (owner, 2026-11-07): the About headline holds on black for a while
   before the gold card comes up over it */
.pour-fill { margin-top: 90vh !important; margin-top: 90svh !important; }

/* the extra paragraphs sit closer under the first */
.pour-wet .ed-about-copy.ed-about-more { margin-top: 1.1em !important; }

/* The Mark: the Folded City logo and its story, on a flat black panel under the bust */
.ab-mark {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  width: min(880px, calc(100% - 2 * var(--gutter)));
  margin: clamp(56px, 9vh, 112px) auto clamp(64px, 10vh, 120px);
  padding: clamp(32px, 4.5vw, 56px);
  background: var(--black); color: rgba(255,255,255,.72);
  text-align: left;
}
.ab-mark-logo { width: clamp(140px, 16vw, 200px); height: auto; display: block; }
.ab-mark .eyebrow { color: var(--gold); margin: 0 0 14px; }
.ab-mark-title { font-family: var(--serif); font-weight: 400; color: var(--white); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.015em; margin: 0 0 18px; }
.ab-mark-title em { font-style: italic; color: var(--gold); }
.ab-mark p:not(.eyebrow) { font-size: 16px; line-height: 1.65; margin: 0 0 .9em; }
.ab-mark p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .ab-mark { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 36px 24px; }
  .ab-mark p:not(.eyebrow) { font-size: 15px; line-height: 1.6; }
}

/* Gold card in two columns on wider screens (owner, 2026-11-14): the words on the left, set on the
   page's left edge, and the bust on the right beside them. The Mark panel runs across underneath.
   Phones keep the stacked, centred layout. */
@media (min-width: 900px) {
  .pour-wet {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center; align-content: center;
    column-gap: clamp(40px, 5vw, 96px);
    padding-left: var(--gutter) !important; padding-right: var(--gutter) !important;
  }
  .pour-wet > .wrap { grid-column: 1; grid-row: 1; width: auto !important; max-width: none; margin: 0; padding: 0; }
  .pour-wet .ed-about-grid { text-align: left !important; }
  .pour-wet .ed-about-copy { max-width: 34em !important; margin-left: 0 !important; margin-right: 0 !important; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; }
  .pour-wet .ab-still { grid-column: 2; grid-row: 1; margin: 0 auto; width: min(500px, 100%); }
  .pour-wet .ab-mark { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
}
