/* About page preview. Builds on ../../c/css/a.css and plates.css. */

/* shared page bits (same on every page preview) */
.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.will-reveal.is-in { opacity: 1; transform: none; }
.pg-close .closing-stage { min-height: 88svh; }
.motion.gl .pg-close { height: auto; }
.motion.gl .pg-close .closing-stage { position: relative; height: auto; min-height: 88svh; }
.pg-close-links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 12px; }
.pg-close-links .link { margin-top: 0; }
.hd-nav a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- HERO: the globe ---------- */
.ab-hero { position: relative; background: radial-gradient(90% 70% at 72% 55%, var(--ink-1), var(--ink-0)); }
.ab-hero-stage { min-height: 100svh; display: flex; align-items: center; padding-top: var(--hd); overflow: hidden; }
.ab-hero-grid { width: 100%; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .ab-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.ab-h1 { font: 900 clamp(3.4rem, 8vw, 8.5rem)/.88 var(--f-display); letter-spacing: -0.04em; margin-left: -0.04em; }
.ab-hero-copy .lede { margin-top: clamp(20px, 3.4vh, 32px); max-width: 44ch; }
.ab-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(28px, 5vh, 52px); padding-top: clamp(20px, 3vh, 28px); border-top: 1px solid var(--rule-soft); }
.ab-city { display: flex; align-items: center; gap: .3em; font: 700 clamp(1.9rem, 3vw, 2.9rem)/.95 var(--f-display); letter-spacing: -0.03em; }
.ab-city::before { content: ""; flex: none; width: .2em; height: .2em; background: var(--accent); transition: transform .5s var(--ease); }
.ab-cities .coord { font-size: .9375rem; margin-top: 10px; transition: color .4s var(--ease); }
.ab-cities .sig-cities-hot .ab-city::before { transform: scale(1.7); }
.ab-cities .sig-cities-hot .coord { color: var(--accent); }
.ab-globe { position: relative; height: clamp(420px, 78vh, 820px); }
.ab-still { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent); mask-image: radial-gradient(closest-side, #000 82%, transparent); }

/* live globe: the hero pins while the camera comes down to the two cities */
.gl .ab-hero { height: 190vh; }
.gl .ab-hero-stage { position: sticky; top: 0; height: 100vh; min-height: 640px; }
.sig-cities-on .ab-still { display: none; }
.sig-cities-stage { position: absolute; inset: 0; outline: none; }
.sig-cities-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect; }
.sig-cities-grab .sig-cities-canvas { cursor: grabbing; }
.sig-cities-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.sig-cities-hint { position: absolute; right: 0; bottom: 4px; display: flex; align-items: center; gap: 10px; margin: 0;
  font: 400 var(--t-xs)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); pointer-events: none; transition: opacity .6s var(--ease); }
.sig-cities-hint::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
.sig-cities-used .sig-cities-hint { opacity: 0; }

@media (max-width: 899px) {
  .ab-hero-stage { padding-top: calc(var(--hd) + 32px); align-items: flex-start; }
  .ab-globe { height: min(92vw, 520px); order: -1; }
}

/* ---------- THE STUDIO STORY: rooms ---------- */
.ab-room { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--rule-soft); }
.ab-room-inner { position: relative; padding-block: clamp(100px, 16vh, 180px); }
.ab-statement { font: 500 clamp(1.5rem, 2.8vw, 2.6rem)/1.22 var(--f-display); letter-spacing: -0.015em; max-width: 30ch; margin-top: clamp(28px, 5vh, 52px); text-wrap: pretty; }
.ab-statement-s { font-size: clamp(1.3rem, 2vw, 1.9rem); margin-top: 0; }
.ab-room-type .h2 { max-width: 14ch; }

/* a row of square pixels on the room edge, one magenta (official pattern grammar) */
.ab-pixels { position: absolute; right: var(--pad); bottom: clamp(48px, 9vh, 96px); display: grid; grid-template-columns: repeat(3, 16px); gap: 16px; }
.ab-pixels i { width: 16px; height: 16px; background: #3A3A3E; }
.ab-pixels i:nth-child(2n) { background: #2A2A2D; }
.ab-pixels i.m { background: #FF0A7A; }

/* plate rooms: the concrete plate is the room, the words sit in its empty side */
.ab-room-plate { min-height: 100svh; display: flex; align-items: center; }
.ab-plate { position: absolute; inset: 0; z-index: -1; }
.ab-plate img { width: 100%; height: 100%; object-fit: cover; }
.ab-plate::after { content: ""; position: absolute; inset: 0; }
.ab-room-03 .ab-plate img { object-position: 70% center; }
.ab-room-03 .ab-plate::after { background: linear-gradient(90deg, var(--ink-0) 22%, oklch(0.135 0.006 358 / .55) 44%, transparent 62%); }
.ab-room-03 .ab-room-inner { max-width: 1600px; }
.ab-room-03 .ab-room-inner > * { max-width: 520px; }
.ab-room-08 { align-items: flex-start; }
.ab-room-08 .ab-plate img { object-position: center bottom; }
.ab-room-08 .ab-plate::after { background: linear-gradient(180deg, var(--ink-0) 0%, oklch(0.135 0.006 358 / .2) 46%, transparent 60%); }
.ab-room-08 .ab-room-inner { width: 100%; display: grid; gap: 0 64px; align-items: end; }
@media (min-width: 900px) {
  .ab-room-08 .ab-room-inner { grid-template-columns: 1fr 1fr; padding-top: clamp(120px, 18vh, 200px); }
  .ab-room-08 .ab-room-inner .eyebrow { grid-column: 1 / -1; }
  .ab-room-08 .ab-room-inner .body { margin-top: 0; justify-self: end; }
}
/* the plate comes forward as the room arrives (scroll-driven, CSS only) */
@supports (animation-timeline: view()) {
  .motion .ab-plate img { animation: ab-room linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  @keyframes ab-room { from { transform: scale(1.12); filter: brightness(.55); } to { transform: scale(1); filter: none; } }
}
.ab-tools { display: grid; gap: 32px 64px; align-items: end; }
@media (min-width: 900px) { .ab-tools { grid-template-columns: 1fr 1fr; } }

@media (max-width: 767px) {
  .ab-room-plate { min-height: 0; display: block; }
  .ab-plate { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .ab-room-03 .ab-plate::after, .ab-room-08 .ab-plate::after { background: linear-gradient(180deg, transparent 60%, var(--ink-0)); }
  .ab-room-plate .ab-room-inner { padding-block: 24px 88px; }
  .ab-pixels { display: none; }
}

/* ---------- THE FOUR DISCIPLINES ---------- */
.ab-disc { padding-block: clamp(96px, 14vh, 168px); border-top: 1px solid var(--rule-soft); }
.ab-disc-head { display: grid; gap: 16px 64px; align-items: end; margin-bottom: clamp(48px, 8vh, 88px); }
@media (min-width: 900px) { .ab-disc-head { grid-template-columns: 1fr 1fr; } }
.ab-disc-grid { display: grid; gap: 40px clamp(32px, 5vw, 88px); align-items: center; }
@media (min-width: 900px) { .ab-disc-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.ab-blocks { position: relative; overflow: hidden; background: var(--ink-1); }
.ab-blocks img { width: 100%; height: auto; transform: scale(1.5); transform-origin: 62% 52%; }
/* the shades sit over each block of the plate (in plate coordinates, scaled with the image) */
.ab-shade { position: absolute; top: 0; bottom: 0; left: 0; right: 0; pointer-events: none; transform: scale(1.5); transform-origin: 62% 52%; }
.ab-shade::before { content: ""; position: absolute; top: 17.5%; height: 68%; left: calc(var(--x) * 1%); width: calc(var(--w) * 1%); background: var(--ink-0); opacity: 0; transition: opacity .6s var(--ease); }
.ab-shade::after { content: ""; position: absolute; top: calc(85.5% + 6px); height: 3px; left: calc(var(--x) * 1%); width: calc(var(--w) * 1%); background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.is-picking .ab-shade:not(.on)::before { opacity: .62; }
.ab-shade.on::after { transform: scaleX(1); }
.ab-disc-list { border-top: 1px solid var(--rule); }
.ab-disc-list li { border-bottom: 1px solid var(--rule-soft); }
.ab-disc-list button { position: relative; display: block; width: 100%; text-align: left; background: none; border: 0; padding: clamp(18px, 2.6vh, 28px) 0 clamp(18px, 2.6vh, 28px) 0; cursor: pointer; }
.ab-disc-name { display: block; font: 700 clamp(2rem, 3.4vw, 3.4rem)/1 var(--f-display); letter-spacing: -0.03em; transition: color .5s var(--ease), transform .6s var(--ease); }
.ab-disc-line { display: block; margin-top: 10px; color: var(--fg-2); max-width: 38ch; }
.ab-disc-list button::before { content: ""; position: absolute; left: -22px; top: clamp(30px, 4vh, 42px); width: 9px; height: 9px; background: var(--accent); transform: scale(0); transition: transform .5s var(--ease); }
.is-picking .ab-disc-name { color: var(--fg-3); }
.ab-disc-list button[aria-pressed="true"] .ab-disc-name { color: var(--fg); transform: translateX(14px); }
.ab-disc-list button[aria-pressed="true"]::before { transform: scale(1); }
.ab-disc-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- A STUDY IN EXPRESSION: on paper ---------- */
.ab-study { background: var(--paper); color: var(--paper-ink); padding-block: clamp(88px, 13vh, 150px); }
.ab-study .body { color: var(--paper-ink-2); }
.ab-study-head { display: grid; gap: 16px 64px; align-items: end; }
@media (min-width: 900px) { .ab-study-head { grid-template-columns: 1fr 1fr; } .ab-study-head .body { margin-top: 0; } }
.ab-study-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); margin-top: clamp(48px, 8vh, 80px); }
.ab-study-row li { display: flex; flex-direction: column; gap: 16px; }
.ab-study-row img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px #D7D8D9; }
.ab-study-row span { display: flex; align-items: center; gap: 10px; font: 400 var(--t-xs)/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-ink-2); }
.ab-study-row span::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }
@media (max-width: 767px) { .ab-study-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the home sets city labels absolute over its map; here they sit in the hero copy */
.ab-cities .city-label { position: static; text-align: left; }
.ab-room-plate .ab-room-inner { width: 100%; }
.ab-blocks img, .ab-shade { transform: scale(1.3); }
@media (max-width: 420px) { .ab-cities .coord { font-size: .75rem; } .ab-cities { gap: 16px; } }

/* Hero banner (plates2): the page's own idea object sits right of the headline; the signature still draws on top */
.ab-hero-stage { isolation: isolate; }
html:not(.gl) .ab-hero-stage { position: relative; }
.hb-plate { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--ink-0) 0%, oklch(0.135 0.006 358 / .8) 30%, oklch(0.135 0.006 358 / .1) 60%, oklch(0.135 0.006 358 / 0) 100%),
              linear-gradient(0deg, var(--ink-0) 0%, oklch(0.135 0.006 358 / 0) 34%),
              var(--hb) var(--hb-x, 70%) center / cover no-repeat; }
@media (max-width: 767px) {
  .hb-plate { bottom: auto; height: var(--hb-h, 60svh);
    background: linear-gradient(0deg, var(--ink-0) 0%, oklch(0.135 0.006 358 / .5) 30%, oklch(0.135 0.006 358 / 0) 60%),
                var(--hb-s) var(--hb-sx, 70%) var(--hb-sy, center) / var(--hb-sz, cover) no-repeat; }
}

/* ---------- White space (Ramy, 16 Oct 2026): the paper rhythm ----------
   .paper (../../c/css/plates.css) flips the role tokens to the brand kit's Mist/white ground with near-black ink.
   The rules below keep anything drawn for the dark world readable when it sits on paper. */
.paper .btn { color: oklch(0.99 0 0); }
.paper .pk { color: var(--accent-deep); }
.paper .link { color: var(--fg); }

/* About hero = the banner (light blade on the magenta slab) with the headline; the globe moved to its own room below */
.ab-banner { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink-0); }
.ab-banner .hb-plate { background-position: 0 0, 0 0, var(--hb-x, 70%) center; }
.ab-banner-inner { position: relative; width: 100%; padding-top: calc(var(--hd) + 48px); padding-bottom: clamp(48px, 10vh, 112px); }
.ab-banner .ab-h1 { font-size: clamp(3.6rem, 9.6vw, 10rem); max-width: 8ch; }
.ab-banner .lede { margin-top: clamp(20px, 3.4vh, 32px); max-width: 44ch; }
.ab-cities-room { border-top: 1px solid var(--rule-soft); }
.ab-cities-room .ab-hero-copy .lede { max-width: 44ch; }
@media (max-width: 767px) {
  .ab-banner { align-items: flex-start; min-height: 100svh; }
  .ab-banner .hb-plate { height: 100%;
    background: linear-gradient(180deg, var(--ink-0) 0%, oklch(0.135 0.006 358 / .78) 30%, oklch(0.135 0.006 358 / 0) 56%),
                var(--hb-s) var(--hb-sx, 50%) var(--hb-sy, 75%) / cover no-repeat; }
  .ab-banner-inner { padding-top: calc(var(--hd) + 28px); }
  .ab-banner .ab-h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
}
/* paper rooms: the pixel row reads as black squares on paper, one magenta (pattern grammar) */
.paper .ab-pixels i { background: #2A2A2D; }
.paper .ab-pixels i:nth-child(2n) { background: #0D0D0D; }
.paper .ab-pixels i.m { background: #E6007E; }
/* the city names are h3 now (the room has its own h2): keep the original label size, not the home map's */
.ab-cities .city-label h3.ab-city { font: 700 clamp(1.9rem, 3vw, 2.9rem)/.95 var(--f-display); letter-spacing: -0.03em; }

/* ---------- Wave 3: About as a story in chapters ---------- */
/* the statement room carries a seam on its top edge, so it may not clip */
.ab-room[data-seam] { overflow: visible; }

/* Connected by Curiosity: the pillar room, words in the dark right side */
.ab-dir .h2 { max-width: 13ch; }
.ab-dir .body { font-size: 1rem; }
.ab-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.ab-stages li { padding: 14px 0 14px 24px; }
.ab-stages li::before { top: 22px; }
.ab-stages h3 { font-size: clamp(1.25rem, 1.6vw, 1.6rem); }
@media (min-width: 768px) { .ab-dir .xp-copy-in { max-width: min(460px, 34vw); } }

/* The Way We Think: three values, one line each side of a hairline; Taste (the judgement) carries the accent */
.ab-values { padding-bottom: clamp(96px, 14vh, 160px); }
.ab-values .xp-light-copy .h2 { font-size: clamp(2.4rem, 4.4vw, 4.5rem); max-width: 8ch; }
.ab-values-list { margin-top: clamp(56px, 9vh, 96px); border-top: 1px solid var(--rule); }
.ab-values-list li { display: grid; gap: 10px 64px; align-items: baseline; padding-block: clamp(24px, 4vh, 40px); border-bottom: 1px solid var(--rule-soft); }
@media (min-width: 900px) { .ab-values-list li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.ab-values-list h3 { display: flex; align-items: center; gap: .3em; font: 900 clamp(2.8rem, 6.4vw, 6.25rem)/.9 var(--f-display); letter-spacing: -0.045em; }
.ab-values-list h3::after { content: ""; flex: none; width: .14em; height: .14em; background: var(--fg); margin-top: .3em; }
.ab-values-list .is-key h3::after { background: var(--accent); }
.ab-values-list p { color: var(--fg-2); font-size: var(--t-m); line-height: 1.4; max-width: 36ch; }
@media (max-width: 767px) { .ab-values-list p { font-size: var(--t-s); } }

/* Questions, Answered: each question unfolds in place (transform and opacity only) */
.ab-faq { padding-block: clamp(96px, 14vh, 168px); background: var(--ink-1); border-top: 1px solid var(--rule-soft); }
.ab-faq-grid { display: grid; gap: 40px clamp(40px, 6vw, 112px); align-items: start; }
@media (min-width: 900px) { .ab-faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } .ab-faq-head { position: sticky; top: calc(var(--hd) + 40px); } }
.ab-faq-list { border-top: 1px solid var(--rule); }
.ab-faq-list details { border-bottom: 1px solid var(--rule-soft); }
.ab-faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding-block: clamp(20px, 3vh, 30px); cursor: pointer; list-style: none; }
.ab-faq-list summary::-webkit-details-marker { display: none; }
.ab-q { font: 700 clamp(1.4rem, 2.3vw, 2.25rem)/1.1 var(--f-display); letter-spacing: -0.02em; transition: color .5s var(--ease), transform .6s var(--ease); }
.ab-faq-list summary i { position: relative; flex: none; width: 18px; height: 18px; }
.ab-faq-list summary i::before, .ab-faq-list summary i::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--fg); transition: transform .6s var(--ease), background-color .5s var(--ease); }
.ab-faq-list summary i::after { transform: rotate(90deg); }
.ab-faq-list details[open] summary i::after { transform: rotate(90deg) scaleX(0); }
.ab-faq-list details[open] summary i::before { background: var(--accent); }
.ab-faq-list summary::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.ab-faq-list details[open] summary::after { transform: scaleX(1); }
.ab-faq-list summary:hover .ab-q { transform: translateX(10px); }
.ab-faq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ab-a { padding: 24px 0 clamp(28px, 4vh, 40px); }
.ab-a p { color: var(--fg-2); font-size: var(--t-m); line-height: 1.45; max-width: 44ch; }
.is-unfold .ab-a p { animation: ab-unfold .9s var(--ease) both; }
@keyframes ab-unfold { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) { .ab-a p { font-size: var(--t-s); } }

/* ---------- Polish pass, 24 Oct 2026 (additive; nothing approved is moved or redrawn) ---------- */
/* phone: the picked discipline's square sat 2px off the screen edge; keep it inside the gutter */
@media (max-width: 767px) {
  .ab-disc-list button::before { left: 0; }
  .ab-disc-list button[aria-pressed="true"] .ab-disc-name { transform: translateX(20px); }
}
/* body copy reads at a comfortable measure and wraps without orphans */
.ab-banner .lede, .ab-cities-room .lede, .ab-disc-head .body, .ab-study .body, .ab-a p, .ab-values-list p, .ab-disc-line { text-wrap: pretty; }
.ab-q, .ab-values-list h3, .ab-disc-name { text-wrap: balance; }
/* values: a little air between the word and its line on phones */
@media (max-width: 899px) { .ab-values-list li { gap: 14px; } }
/* hover and keyboard states that match the rest of the system */
.ab-study-row li img { transition: box-shadow .5s var(--ease), transform .7s var(--ease); }
@media (hover: hover) { .ab-study-row li:hover img { box-shadow: inset 0 0 0 1px var(--accent); transform: translateY(-4px); } }
.ab-disc-list button:hover .ab-disc-line { color: var(--fg); }
.ab-disc-line { transition: color .4s var(--ease); }
/* closing: on a phone the copy spans the bright wall, so the scrim also runs top to bottom there */
@media (max-width: 767px) {
  .pg-close .closing-stage::after { background: linear-gradient(180deg, oklch(0.135 0.006 358 / .5) 0%, oklch(0.135 0.006 358 / .72) 30%, oklch(0.135 0.006 358 / .62) 62%, oklch(0.135 0.006 358 / .9) 100%); }
  .pg-close .closing-copy .body { color: var(--fg); }
}
/* footer links: 44px tap height without moving the footer (padding offset by margin) */
.ft a { display: inline-block; padding-block: 12px; margin-block: -12px; }
/* reduced motion: no scroll-tied scale on the plates, no hover travel */
@media (prefers-reduced-motion: reduce) {
  .ab-study-row li img, .ab-disc-name, .ab-q { transition: none; }
  .ab-study-row li:hover img { transform: none; }
}
