/* =============================================================
   About page — editorial storytelling: oversized type, grid-line
   canvas, alternating story rows, staircase principles, dark
   "orbit" platforms, horizontal thinking track, manifesto lines,
   split human section, centred closing statement.
   ============================================================= */
.page-about { --ab-surface: #FBF7F1; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--link); }
.kicker::before { content: ""; width: 10px; height: 10px; border: 2px solid currentColor; transform: rotate(45deg); }
.on-dark .kicker { color: var(--orange); }
.stroke { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.ab-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line-3) 1px, transparent 1px), linear-gradient(90deg, var(--line-3) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); pointer-events: none; }
.dash { stroke-dasharray: 6 8; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -280; } }
.float { animation: floaty 7s ease-in-out infinite; }
.float.slow { animation-duration: 10s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse2 3s ease-in-out infinite; }
@keyframes pulse2 { 50% { transform: scale(1.25); opacity: .6; } }
.typing { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Editorial hero ---------- */
.ab-hero { position: relative; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); padding: 0 var(--gutter); }
.ab-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 40px; align-items: center; min-height: min(860px, calc(100vh - 60px)); padding: clamp(48px, 7vw, 96px) 0; }
.ab-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.ab-h1 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(40px, 6.6vw, 96px); line-height: 1.02; letter-spacing: -0.05em; }
.ab-h1 .accent { position: relative; white-space: nowrap; color: var(--ink); z-index: 0; }
.ab-h1 .accent::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .22em; background: var(--orange); z-index: -1; }
.ab-intro { display: grid; grid-template-columns: 4px 1fr; gap: 24px; max-width: 640px; margin-top: 10px; }
.ab-intro .bar { background: var(--orange); border-radius: 4px; }
.ab-intro p { margin: 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--ink-2); }
.ab-meta { display: flex; gap: 22px; margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ab-meta i { font-style: normal; color: var(--orange); }
.ab-art svg { width: 100%; height: auto; overflow: visible; }

/* ---------- Story: alternating art + text ---------- */
.story-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.story-head > div { display: flex; flex-direction: column; gap: 18px; }
.story-head h2 em { font-style: normal; color: var(--link); }
.story-head > p { justify-self: end; max-width: 380px; margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-3); }
.story-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 4vw, 48px) 0; border-top: 2px solid #000; }
.story-row.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.story-row.flip .story-art { order: 2; }
.story-art { margin: 0; position: relative; border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; place-items: center; min-height: 340px; overflow: hidden; }
.story-art svg { width: min(300px, 100%); }
.story-art figcaption { position: absolute; bottom: 18px; left: 24px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.art-dark { background: #000; } .art-dark figcaption { color: #9A9A9A; }
.art-cream { background: var(--cream); } .art-cream figcaption { color: var(--link); }
.story-text { display: flex; flex-direction: column; gap: 18px; }
.story-text p { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: var(--ink); }
.drop::first-letter { float: left; font-family: var(--font-head); font-size: 5em; line-height: .8; font-weight: 600; color: var(--orange); margin: 8px 14px 0 0; }
.pull { font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px, 3vw, 40px) !important; line-height: 1.15 !important; padding-top: 18px; border-top: 4px solid var(--orange); }

/* ---------- Philosophy staircase ---------- */
.ab-philo { background: var(--ab-surface); overflow: hidden; }
.philo-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.stairs { position: relative; }
.connector { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.connector path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease); }
.stairs.in .connector path { stroke-dashoffset: 0; }
.principle { position: relative; width: min(560px, 100%); padding: 30px 0 30px 34px; border-left: 2px solid #000; margin-bottom: 40px; background: var(--ab-surface); }
.principle:nth-of-type(2) { margin-left: auto; margin-right: auto; }
.principle:nth-of-type(3) { margin-left: auto; margin-bottom: 0; }
.glyph { position: absolute; left: -13px; top: 34px; width: 24px; height: 24px; background: var(--orange); border: 2px solid #000; transform: rotate(45deg); }
.pn { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--link); }
.principle h3 { margin: 6px 0 12px; font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.08; }
.principle p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 44ch; }

/* ---------- Dark platforms ---------- */
.ab-dark { background: #000; color: #fff; }
.uni { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.uni-visual { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; }
.orbit { width: 100%; max-width: 420px; }
.orbit .ring { fill: none; stroke: rgba(255,255,255,.14); }
.spin { transform-origin: 230px 230px; animation: spin 40s linear infinite; }
.spin.rev { animation-direction: reverse; animation-duration: 60s; }
@keyframes spin { to { transform: rotate(360deg); } }
.cap { position: relative; padding: 54px 0; border-bottom: 1px solid rgba(255,255,255,.12); overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.cap:first-child { padding-top: 0; }
.ghost { position: absolute; right: -10px; top: 6px; font-family: var(--font-head); font-size: clamp(56px, 8vw, 110px); font-weight: 700; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); line-height: 1; pointer-events: none; user-select: none; }
.cap:first-child .ghost { top: -40px; }
.chip { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #000; background: var(--orange); padding: 5px 12px; border-radius: 6px; }
.cap h3 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); position: relative; }
.cap p { margin: 0; max-width: 460px; font-size: 16px; line-height: 1.6; position: relative; }
.frag { max-width: 440px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; position: relative; }
.frag-top { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.frag-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.frag pre { margin: 0; padding: 14px 16px; color: #DDD; white-space: pre-wrap; }
.frag .k { color: var(--orange); } .frag .s { color: var(--amber); } .frag .c { color: #7A7A7A; }
.cap-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.cap-link:hover { color: var(--orange); }
.cap-link .ic { width: 18px; height: 18px; }

/* ---------- Horizontal thinking track ---------- */
.ab-think { overflow: hidden; padding-left: 0; padding-right: 0; }
.think-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; width: calc(100% - 2 * var(--gutter)); }
.think-head > div:first-child { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.controls { display: flex; gap: 10px; flex: none; }
.controls button { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #000; background: #fff; color: #000; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease; }
.controls button:hover { background: #000; color: #fff; }
.flipx { transform: scaleX(-1); }
.track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px max(var(--gutter), calc((100vw - var(--max)) / 2)) 48px; scrollbar-width: none; background-image: radial-gradient(var(--line) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.track::-webkit-scrollbar { display: none; }
.note { flex: 0 0 clamp(270px, 30vw, 380px); scroll-snap-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s ease; }
.note:nth-child(2n) { margin-top: 60px; }
.note:nth-child(3n) { background: #000; border-color: #000; color: #BDBDBD; }
.note:nth-child(3n) h3 { color: #fff; }
.note:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 20px 40px rgba(90,45,0,.12); }
.note .q { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin-bottom: auto; padding-bottom: 36px; }
.note:nth-child(3n) .q { color: var(--orange); }
.note h3 { margin: 0 0 12px; font-family: var(--font-head); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.note p { margin: 0; font-size: 15px; line-height: 1.6; }
.note .ask { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 19px; color: var(--link); margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.note:nth-child(3n) .ask { color: var(--orange); border-color: rgba(255,255,255,.15); }
.track-progress { max-width: var(--max); margin: 0 auto; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; width: calc(100% - 2 * var(--gutter)); }
.track-progress span { display: block; height: 100%; width: 18%; background: var(--orange); transition: width .2s; }

/* ---------- Manifesto ---------- */
.ab-mani { background: var(--cream); }
.mani-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end; margin-bottom: 48px; }
.mani-head > div { display: flex; flex-direction: column; gap: 18px; }
.mani-head p { max-width: 300px; margin: 0; color: var(--ink-3); font-size: 16px; line-height: 1.6; }
.m-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 22px; padding: 26px 0; margin: 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .6s var(--ease); }
.m-line:last-child { border-bottom: 1px solid var(--line); }
.m-line.active { opacity: 1; }
.m-line b { font-family: var(--font-head); font-weight: 600; font-size: clamp(34px, 6vw, 84px); letter-spacing: -0.05em; line-height: 1; }
.m-line:nth-child(odd) b { margin-left: clamp(0px, 6vw, 90px); }
.over { font-size: clamp(16px, 1.8vw, 22px); font-weight: 600; color: var(--ink-3); }
.over i { font-style: normal; color: var(--link); margin-right: 8px; font-family: var(--font-serif); font-size: 1.2em; }
.x { position: relative; }
.x::after { content: ""; position: absolute; left: 0; top: 55%; height: 3px; width: 0; background: var(--orange); transition: width .8s .2s var(--ease); }
.m-line.active .x::after { width: 100%; }

/* ---------- Human split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.split-art { background: var(--peach); display: grid; place-items: center; padding: 56px; }
.split-art svg { width: min(420px, 100%); }
.split-text { padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.split-text h2 span { color: var(--link); }
.split-text > p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.listen { border-top: 1px solid var(--line); }
.listen div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.listen span { color: var(--ink-3); }

/* ---------- Closing statement ---------- */
.ab-close { position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--line); padding: var(--sec-pad) var(--gutter); }
.ab-close .ab-lines { -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 70%); }
.close-inner { position: relative; max-width: 960px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.close-art { width: min(520px, 90%); }
.ab-close h2 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(34px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -0.05em; }
.ab-close > .wrap > p { margin: 0; max-width: 600px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.ab-close .actions { justify-content: center; }
.close-form { width: 100%; max-width: 720px; margin-top: 28px; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.close-form h3 { margin: 0; text-align: center; font-size: 16px; font-weight: 700; color: var(--ink-3); }
.close-form .form-card { border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(90,45,0,.4); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ab-hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ab-art { max-width: 440px; }
  .story-head, .uni, .split { grid-template-columns: minmax(0, 1fr); }
  .story-head > p { justify-self: start; }
  .uni-visual { position: static; }
  .orbit { max-width: 320px; }
  .split-art { min-height: 360px; }
}
@media (max-width: 767px) {
  .story-row, .story-row.flip { grid-template-columns: minmax(0, 1fr); }
  .story-row.flip .story-art { order: 0; }
  .story-art { min-height: 260px; }
  .principle, .principle:nth-of-type(2), .principle:nth-of-type(3) { margin-left: 0; margin-right: 0; }
  .connector { display: none; }
  .think-head { flex-direction: column; align-items: flex-start; }
  .note:nth-child(2n) { margin-top: 0; }
  .mani-head { grid-template-columns: minmax(0, 1fr); }
  .m-line:nth-child(odd) b { margin-left: 0; }
  .listen div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ab-close .actions .btn { flex: 1 1 100%; }
  .ab-meta { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .dash, .float, .pulse, .typing, .spin { animation: none !important; }
  .connector path { stroke-dashoffset: 0; }
  .m-line { opacity: 1; }
  .x::after { width: 100%; }
}
