/* About page: hero, origin board, gateways (the draggable thread), the statement, partners. */

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.about-hero { position: relative; min-height: 76svh; display: grid; align-items: end; color: #fff; isolation: isolate; }
.about-hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #14251c; }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-hero-inner { padding: calc(var(--header-h) + 6vh) 0 clamp(36px, 6vh, 64px); display: grid; gap: 22px; }
.about-hero h1 { font-size: var(--t-88); max-width: 15ch; text-shadow: 0 2px 30px rgba(6,18,12,.4); }
.about-hero h1 em { color: var(--sprout); }
.about-hero .lede { color: rgba(255,255,255,.94); max-width: 34em; text-shadow: 0 1px 18px rgba(6,18,12,.55); }
.about-hero .hero-actions { margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .about-hero h1 { font-size: clamp(38px, 11vw, 56px); } }

/* ---------- The approved plate ----------
   The same white card the patch spreads use: 1.5px forest hairline, 9px of white around the
   photograph, a hard offset shadow, and an uppercase caption row under it with a label at the left
   and a value at the right. It lives in css/pages/patches.css for the patches pages; this page
   loads its own stylesheet only, so the card is restated here. Keep the two in step. */
.plate { display: block; background: #fff; border: 1.5px solid var(--forest); padding: 9px; box-shadow: 8px 8px 0 rgba(18, 56, 42, .1); color: var(--ink); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.plate-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.plate-media img { width: 100%; height: 100%; object-fit: cover; }
.plate-caption { display: flex; justify-content: space-between; gap: 14px; font: 500 11px / 1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--stone); padding: 10px 2px 2px; }
.plate-caption b { color: var(--forest); font-weight: 500; }

/* ---------- Origin: three pinned plates beside the story ---------- */
.origin { padding: var(--sect) 0; background: var(--mist); overflow: hidden; }
.origin-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.origin-board { position: relative; aspect-ratio: 1 / .9; }
.origin-pin { position: absolute; width: 58%; }
.origin-pin-a { left: 0; top: 4%; transform: rotate(-3deg); z-index: 1; }
.origin-pin-b { right: 0; top: 0; width: 46%; transform: rotate(2.5deg); z-index: 2; }
.origin-pin-c { left: 24%; bottom: 0; width: 54%; transform: rotate(1deg); z-index: 3; }
.origin-pin:hover { z-index: 4; transform: rotate(0) scale(1.03); }
.origin-note { position: absolute; left: 0; bottom: -34px; font-size: 12px; color: var(--stone); }
.origin-copy h2 { font-size: var(--t-64); color: var(--forest); margin: 18px 0 22px; max-width: 12ch; }
.origin-copy h2 em { color: var(--moss); }
.origin-copy > p:not(.eyebrow) { font-size: var(--t-18); line-height: 1.6; max-width: 32em; }
.origin-quote { margin: 34px 0 0; padding: 22px 0 0 26px; border-left: 3px solid var(--sprout); }
.origin-quote p { font-size: var(--t-28); line-height: 1.2; color: var(--forest); font-style: italic; }
.origin-quote cite { display: block; margin-top: 10px; font: 500 var(--t-12) / 1 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--moss); }
@media (max-width: 900px) {
  .origin-grid { grid-template-columns: 1fr; gap: 72px; }
  .origin-board { order: 2; }
}

/* ---------- Gateways: one frame, two places, a draggable thread for the seam ---------- */
.gateways { padding: var(--sect) 0 calc(var(--sect) * .85); }
.gateways-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.gateways-head h2 { font-size: var(--t-64); color: var(--forest); max-width: 9ch; }
.gateways-head h2 em { color: var(--moss); }
.gateways-head p { font-size: var(--t-18); line-height: 1.6; color: var(--ink); }
.gate { position: relative; height: clamp(420px, 70vh, 720px); border-radius: var(--r-20); overflow: hidden; color: #fff; isolation: isolate; touch-action: pan-y; user-select: none; }
.gate-side { position: absolute; inset: 0; margin: 0; }
.gate-side img { width: 100%; height: 100%; object-fit: cover; }
.gate-city { clip-path: inset(0 calc(100% - var(--at)) 0 0); }
.gate-city img { object-position: 30% 50%; }
.gate-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,18,12,.7), transparent 38%); pointer-events: none; }
.gate-side figcaption { position: absolute; bottom: clamp(20px, 3vw, 34px); display: grid; gap: 4px; z-index: 1; max-width: 40%; }
.gate-side figcaption b { font: 500 var(--t-28) / 1.1 var(--display); }
.gate-side figcaption span { font-size: 13px; color: rgba(255,255,255,.8); }
.gate-city figcaption { left: clamp(20px, 3vw, 34px); }
.gate-wild figcaption { right: clamp(20px, 3vw, 34px); text-align: right; }
.gate-seam { position: absolute; top: 0; bottom: 0; left: var(--at); width: 24px; transform: translateX(-50%); pointer-events: none; z-index: 2; }
.gate-thread { width: 100%; height: 100%; }
.gate-thread path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-dasharray: 7 7; vector-effect: non-scaling-stroke; }
.gate-knob { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: #fff; color: var(--forest); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(6,18,12,.55); transition: transform .3s var(--ease); }
.gate-knob svg { width: 42px; }
.gate.is-dragging .gate-knob { transform: scale(1.08); }
.gate-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.gate-range:focus-visible ~ .gate-seam .gate-knob, .gate:has(.gate-range:focus-visible) .gate-knob { outline: 3px solid var(--sprout); outline-offset: 4px; }
.gate-hint { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 7px 14px; border-radius: 99px; background: rgba(6,18,12,.55); font-size: 13px; letter-spacing: .02em; transition: opacity .5s var(--ease); pointer-events: none; }
.gate.is-touched .gate-hint { opacity: 0; }
.gateways-after { margin: clamp(28px, 3.5vw, 44px) 0 0 auto; max-width: 40em; font-size: var(--t-18); line-height: 1.6; color: var(--stone); }
@media (max-width: 900px) {
  .gateways-head { grid-template-columns: 1fr; }
  .gate { height: 68svh; }
  .gate-side figcaption { max-width: 44%; }
  .gate-side figcaption b { font-size: 19px; }
  .gate-side figcaption span { display: none; }
  .gate-knob { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .gate-knob svg { width: 34px; }
}

/* ---------- The statement: three lines, three drawings, lit as you reach them ---------- */
.statement { position: relative; padding: var(--sect) 0; color: #fff; isolation: isolate; overflow: hidden; background: var(--forest); }
.statement-bg { position: absolute; inset: 0; z-index: -1; }
.statement-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.statement-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,56,42,.96) 30%, rgba(18,56,42,.55)); }
.statement-lead { max-width: 38em; margin: 0 0 clamp(48px, 6vw, 80px); font-size: var(--t-22); line-height: 1.5; color: rgba(255,255,255,.86); }
.statement-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 3vw, 34px); }
.st-line { display: grid; grid-template-columns: clamp(80px, 9vw, 130px) minmax(0, 1fr); align-items: center; gap: clamp(18px, 3vw, 40px); opacity: .28; transition: opacity .7s var(--ease); }
.st-line:nth-child(2) { margin-left: clamp(0px, 6vw, 110px); }
.st-line:nth-child(3) { margin-left: clamp(0px, 12vw, 220px); }
.st-line .display { font-size: var(--t-88); line-height: 1; letter-spacing: -.01em; }
.st-line:nth-child(3) .display { color: var(--sprout); }
.st-pic { width: 100%; height: auto; color: var(--sprout); }
.st-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease) .15s; }
.st-line.is-lit { opacity: 1; }
.st-line.is-lit .st-draw { stroke-dashoffset: 0; }
.statement-close { margin: clamp(40px, 5vw, 64px) 0 0 clamp(0px, 12vw, 220px); max-width: 34em; font-size: var(--t-22); line-height: 1.5; color: rgba(255,255,255,.86); }
.no-js .st-line { opacity: 1; } .no-js .st-draw { stroke-dashoffset: 0; }
@media (max-width: 700px) {
  .st-line, .st-line:nth-child(2), .st-line:nth-child(3) { margin-left: 0; grid-template-columns: 64px minmax(0, 1fr); }
  .st-line .display { font-size: clamp(32px, 9vw, 44px); }
  .statement-close { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .st-line { opacity: 1; transition: none; } .st-draw { stroke-dashoffset: 0; transition: none; } }

/* ---------- Partners ---------- */
.growing { padding: var(--sect) 0 calc(var(--sect) * .8); }
.growing-more { margin-top: 26px; font-size: var(--t-16); color: var(--stone); }
.growing-more a { color: var(--moss); text-decoration: underline; text-underline-offset: 3px; }

/* Phone: the board becomes a loose stack of two pins and one wide one, no overlaps; the frame's
   two captions take opposite corners so they never meet at the seam. */
@media (max-width: 700px) {
  .origin-board { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .origin-pin, .origin-pin-a, .origin-pin-b, .origin-pin-c { position: static; width: auto; }
  .origin-pin-a { transform: rotate(-2deg); }
  .origin-pin-b { transform: rotate(2deg) translateY(10px); }
  .origin-pin-c { grid-column: 1 / -1; width: 82%; justify-self: center; transform: rotate(-1deg); }
  .origin-pin .plate-caption span { display: none; }
  .origin-note { position: static; grid-column: 1 / -1; margin-top: 8px; }
  .gate-wild figcaption { top: 18px; bottom: auto; }
  .gate-hint { display: none; }
}

/* Phone only: the caption over the pale sky of the wild photograph needs a backing */
@media (max-width: 640px) {
  .gate-side figcaption { padding: 6px 10px; border-radius: 10px; background: rgba(6,18,12,.62); }
}

/* ---------- What MaP is for: the statement beside a sticky photograph ---------- */
.belief { padding: var(--sect) 0; background: var(--canvas); }
.belief-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.belief-plate { position: sticky; top: calc(var(--header-h) + 32px); transform: rotate(-1.6deg); }
.belief-plate .plate-media { aspect-ratio: 4 / 5; }
.belief-copy .eyebrow { color: var(--moss); }
.belief-copy h2 { font-size: var(--t-48); color: var(--forest); margin: 16px 0 24px; max-width: 14ch; }
.belief-lead { font-family: var(--display); font-weight: 500; font-size: var(--t-28); line-height: 1.22; color: var(--forest); max-width: 24em; }
.belief-copy p { max-width: 34em; }
.belief-copy p:not(.eyebrow):not(.belief-lead):not(.belief-turn) { margin-top: 18px; font-size: var(--t-18); line-height: 1.62; color: var(--ink); }
.belief-copy h3 { margin: 38px 0 -4px; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--moss); }
.belief-turn { margin-top: 34px; padding-left: 24px; border-left: 3px solid var(--sprout); font-size: var(--t-28); line-height: 1.22; color: var(--forest); }
@media (max-width: 900px) { .belief-grid { grid-template-columns: 1fr; } .belief-plate { position: static; max-width: 340px; } }

/* ---------- Our ambition: one long sentence set large, two columns under it ---------- */
.ambition { padding: var(--sect) 0; background: var(--mist); }
.ambition .eyebrow { color: var(--moss); }
.ambition-lead { margin-top: 18px; max-width: 24ch; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.06; color: var(--forest); }
.ambition-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); margin-top: clamp(36px, 5vw, 64px); padding-top: 28px; border-top: 1.5px solid var(--forest); }
.ambition-cols p { font-size: var(--t-18); line-height: 1.62; color: var(--ink); max-width: 34em; }
@media (max-width: 800px) { .ambition-cols { grid-template-columns: 1fr; gap: 18px; } .ambition-lead { max-width: none; } }
