/* About page (site/about-layouts.mjs). Loaded only on /about/. */

/* ── Hero: split viewfinder ──────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.page-head .about-grid h1 { font-size: clamp(44px, 6.2vw, 92px); text-wrap: balance; }
.about-photo { max-height: 560px; }
.ax-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot { position: absolute; inset: 8%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px dashed rgba(41,196,169,.45); border-radius: 8px; color: var(--muted-d); font-size: 15px; text-align: center; }
.photo-slot .mono { color: var(--teal); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 420px; }
}

/* ── Story: code vs camera on timeline tracks ────────────────────────── */
.ax-sl { position: relative; overflow: hidden; background: var(--lane); padding-top: 170px; }
.ax-sl > .wrap { position: relative; z-index: 1; }
.ax-sl-head { margin-bottom: 52px; }
.ax-sl .big { max-width: 20ch; }
.ax-sl-tracks { position: absolute; top: 24px; left: 0; right: 0; height: 110px; border-bottom: 1px solid var(--line); }
.ax-sl-tracks i { position: absolute; left: var(--l); width: var(--w); top: var(--t); height: 16px; border-radius: 3px; opacity: .9; }
.ax-sl-tracks i.v1 { background: var(--teal); } .ax-sl-tracks i.v2 { background: var(--indigo-soft); } .ax-sl-tracks i.v3 { background: var(--mint); } .ax-sl-tracks i.a1 { background: #c9ece2; }
.ax-sl-tracks::after { content: ""; position: absolute; top: -8px; bottom: -8px; left: 47%; width: 2px; background: var(--rec); }
@media (prefers-reduced-motion: no-preference) { .ax-sl-tracks::after { animation: ax-play 14s linear infinite; } }
@keyframes ax-play { from { left: 0; } to { left: 100%; } }
.ax-s3-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ax-editor { border-radius: 10px; overflow: hidden; background: var(--ink); color: #e5e7eb; }
.ax-dw-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--ink-2); border-bottom: 1px solid var(--ink-3); font-family: var(--mono); font-size: 11px; color: var(--muted-d); }
.ax-dw-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.ax-dw-bar i:first-child { background: var(--rec); }
.ax-dw-bar span { margin-left: 10px; }
.ax-editor-body { padding: 30px 30px 20px; font-family: var(--mono); font-size: 14px; line-height: 1.8; }
.ax-editor-body .t { color: var(--teal); }
.ax-editor-body p { margin: 0 0 16px; }
.ax-s3-h { font-family: var(--sans, inherit); font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.03em; margin: 0 0 22px; }
.ax-s3-h em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--teal); }
.ax-cam { position: relative; border-radius: 10px; background: linear-gradient(150deg, #1d2a30, var(--ink)); color: #e5e7eb; padding: 64px 40px 40px; }
.ax-cam .hud { top: 22px; }
.ax-cam p { font-size: 17px; line-height: 1.65; margin: 0 0 16px; }
@media (max-width: 900px) { .ax-s3-grid { grid-template-columns: 1fr; } }

/* ── Appeals: track cards with a chasing border ──────────────────────── */
.appeals { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@property --ax-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ax-chase .svc { position: relative; border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, conic-gradient(from var(--ax-ang), var(--line) 0 62%, var(--teal) 80%, var(--indigo) 88%, var(--line) 100%) border-box; }
@media (prefers-reduced-motion: no-preference) { .ax-chase .svc { animation: ax-spin 4.5s linear infinite; animation-delay: calc(var(--i) * -1.5s); } }
@keyframes ax-spin { to { --ax-ang: 360deg; } }

/* ── Mantra: funnel with eyes filtering through ──────────────────────── */
.mantra-copy { margin: 40px 0 36px; max-width: 40rem; }
.mantra-copy p { margin: 0 0 18px; font-size: 18px; line-height: 1.65; text-wrap: pretty; }
.mantra-copy strong { font-weight: 700; color: var(--text); }
.ax-m8-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.ax-fun-wrap { position: relative; }
.ax-funnel { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; justify-items: center; }
.ax-funnel li { position: relative; overflow: hidden; isolation: isolate; width: calc(100% - var(--i, 0) * 14%); text-align: center; padding: 16px 12px; background: var(--ink); color: #fff; clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%); }
.ax-funnel li > * { position: relative; z-index: 1; }
.ax-funnel li:nth-child(2) { background: #1e293b; }
.ax-funnel li:nth-child(3) { background: #334155; }
.ax-funnel li:nth-child(4) { background: #475569; }
.ax-funnel li:nth-child(5) { background: var(--teal); color: var(--ink); }
.ax-funnel b { display: block; font-size: 20px; }
.ax-funnel span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.ax-eyes { display: flex; justify-content: center; gap: 4px; margin-bottom: 6px; }
.ax-eyes svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (prefers-reduced-motion: no-preference) { .ax-eyes svg { animation: ax-blink 4s infinite; } .ax-eyes svg:nth-child(3n) { animation-delay: 1.4s; } .ax-eyes svg:nth-child(3n+1) { animation-delay: 2.6s; } }
@keyframes ax-blink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@media (max-width: 900px) { .ax-m8-grid { grid-template-columns: 1fr; } }
