/* ForthLogic about page only. Shared components live in ../site.css.
 * Page moment: the principles cycle with the knight-move board (assets/js/pages/about.js). */

/* hero */
.a-hero { padding-block: clamp(40px, 6vw, 96px) clamp(40px, 5vw, 72px); }
.a-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.a-hero .label { margin-bottom: clamp(20px, 2.4vw, 32px); }
.a-hero .h1 { max-width: 11ch; }
.a-hero .lede { margin-top: clamp(24px, 2.6vw, 36px); }
.a-hero .btn-row { margin-top: 30px; }
.a-hero-fig { display: grid; gap: 12px; justify-items: center; }
.a-knight { width: min(100%, 440px); aspect-ratio: 4 / 5; }
.a-hero-fig .note { max-width: 32ch; text-align: center; font-size: 18px; line-height: 1.35; color: var(--ink-3); }

/* 01 why */
.why-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(32px, 4vw, 52px); }
.why-col { display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: clamp(20px, 2.2vw, 28px); background: var(--surface); border: 1px solid var(--rule); }
.why-col b { margin-top: 26px; font-size: clamp(21px, 1.9vw, 26px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.why-col p { margin-top: auto; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.why-col:not(.is-us) b { text-decoration: line-through; text-decoration-color: var(--amber-line); text-decoration-thickness: 2px; }
.why-col.is-us { background: var(--dark); border-color: var(--dark); }
.why-col.is-us b { color: var(--on-dark); }
.why-col.is-us p { color: var(--on-dark-2); }
.why-col.is-us .num { color: var(--amber-dark-ink); }
.why-words { margin-top: clamp(48px, 6vw, 88px); max-width: 24ch; font-size: clamp(32px, 4.2vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
.why-words .w.hl { color: var(--ink); } /* ink on the yellow marker stroke from site.css (9.9:1) */
.why-who { display: flex; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 17px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.why-who .label { color: var(--ink-3); }

/* 02 owner band */
.own { min-height: 680px; }
.own-art { position: absolute; z-index: -1; right: -8%; top: -10%; width: min(56%, 680px); opacity: .2; pointer-events: none; }
.own-art img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 70%); }
.own-h { margin-top: 20px; max-width: 16ch; }
.own-body { margin-top: 20px; max-width: 52ch; }
.own-flow { margin-top: clamp(40px, 5vw, 64px); max-width: 920px; }
.own-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 980px; margin-top: 36px; }
.own-prods a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; padding: 16px 18px; border: 1px solid var(--rule-dark); background: rgba(18, 19, 24, .7); color: var(--on-dark); text-decoration: none; transition: border-color 240ms ease, background-color 240ms ease, transform 240ms var(--ease-out); }
.own-prods .live { grid-column: 1 / -1; }
.own-prods b { font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.own-prods .dom { font: 500 12px/1 var(--mono); color: var(--on-dark-3); }
.own-prods a:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .own-prods a:hover { border-color: var(--rule-dark-2); background: var(--dark-3); transform: translateY(-2px); } }
.own-link { margin-top: 26px; }

/* 03 method */
.a-method { margin-top: clamp(32px, 4vw, 52px); }

/* 04 principles: knight board + list */
.pr-head { margin-top: 18px; }
.pr { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(32px, 4vw, 52px); }
.pr-board { display: grid; gap: 12px; justify-items: center; }
.pr-svg { width: 100%; max-width: 500px; height: auto; border: 1px solid var(--ink); background: var(--surface); }
.pr-squares rect { fill: transparent; }
.pr-squares rect.dk { fill: rgba(14, 15, 18, .055); }
.pr-tour { fill: none; stroke: var(--rule-2); stroke-width: 1.5; stroke-dasharray: 3 6; stroke-linecap: round; stroke-linejoin: round; }
.pr-trail { fill: none; stroke: var(--amber-line); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pr-mark rect { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; transition: fill 300ms ease, stroke 300ms ease; }
.pr-mark text { font: 500 15px var(--mono); fill: var(--ink-2); text-anchor: middle; transition: fill 300ms ease; }
.pr-mark.seen rect { fill: var(--ink); }
.pr-mark.seen text { fill: var(--paper); }
.pr-k { fill: var(--amber); }
.pr-k-shadow { fill: rgba(14, 15, 18, .18); }
.pr-k-n { font: 600 17px var(--mono); fill: var(--ink); }
.pr-knight { will-change: transform; }
.pr-note { font-size: 19px; color: var(--ink-2); }
.pr-list { border-top: 1px solid var(--rule); counter-reset: none; }
.pr-list li { position: relative; display: grid; gap: 4px; padding: 6px 0 14px; border-bottom: 1px solid var(--rule); transition: opacity 400ms ease, background-color 400ms ease; }
.pr-q { display: flex; align-items: baseline; gap: 14px; width: 100%; min-height: 44px; padding: 10px 12px 0 4px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.pr-q .num { flex: none; width: 26px; }
.pr-q b { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.pr-list p { padding: 0 12px 0 44px; font-size: 15px; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
.pr-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.pr-bar i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.pr-list li.is-on { background: var(--surface); }
.pr-list li.is-on .num { color: var(--amber-ink); }
.pr-list li.is-on .pr-bar i { transform: scaleX(var(--tp, 0)); }
.motion .pr.is-live .pr-list li:not(.is-on) { opacity: .5; }
@media (hover: hover) and (pointer: fine) { .pr-list li:not(.is-on):hover { opacity: .85; } }
.pr-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.pr-count { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); }
.pr-count b { color: var(--ink); font-weight: 500; }

/* 05 never */
.nv { margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--ink); }
.nv-item { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px 32px; align-items: baseline; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--rule); }
.nv-item .num { color: var(--amber-ink); }
.nv-bad { font-size: clamp(28px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; color: var(--ink-3); }
.nv-bad s { text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) 0 56% / 100% .085em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 700ms var(--ease-in-out) 350ms; }
.motion .nv-item:not(.is-revealed) .nv-bad s { background-size: 0% .085em; }
.nv-good { font-size: 16px; color: var(--ink-2); text-wrap: pretty; transition: opacity 500ms ease 900ms, transform 600ms var(--ease-out) 900ms; }
.nv-good b { display: block; margin-bottom: 6px; font: 500 11px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.motion .nv-item:not(.is-revealed) .nv-good { opacity: 0; transform: translateY(8px); }

/* 06 address */
.ad { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(28px, 3vw, 44px); }
.ad-addr { margin-top: 26px; font-style: normal; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; letter-spacing: -.02em; color: var(--ink); }
.ad-addr b { display: block; font-weight: 600; }
.ad-copy .body { margin-top: 16px; }
.ad-map { position: relative; aspect-ratio: 640 / 380; border: 1px solid var(--rule-2); background: var(--surface); overflow: hidden; }
.ad-svg { width: 100%; height: 100%; }
.ad-grid { fill: none; stroke: var(--rule); stroke-width: 1; }
.ad-road { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.ad-ring { fill: none; stroke: var(--rule-2); stroke-width: 1.5; stroke-dasharray: 1; }
.ad-drop { fill: var(--ink); }
.ad-dot { fill: var(--amber); }
.ad-pulse { fill: none; stroke: var(--amber); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ad-lbl { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; fill: var(--ink-3); }
.ad-tag { position: absolute; right: 12px; bottom: 10px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.motion .ad-svg .ad-pin { opacity: 0; transform: translate(330px, 130px); transition: opacity 300ms ease 900ms, transform 600ms cubic-bezier(.34, 1.56, .64, 1) 900ms; }
.motion .ad-svg.is-drawn .ad-pin { opacity: 1; transform: translate(330px, 166px); }
.motion .ad-svg.is-drawn .ad-pulse { animation: adPulse 2.4s ease-out 1.6s infinite; }
@keyframes adPulse { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(3); } }


@media (prefers-reduced-motion: reduce) { .ad-pulse { display: none; } }
@media (max-width: 1100px) {
  .a-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .a-knight { width: min(100%, 360px); }
}
@media (max-width: 960px) {
  .why-cols { grid-template-columns: minmax(0, 1fr); }
  .why-col { min-height: 0; }
  .why-col b { margin-top: 12px; }
  .own { min-height: 0; }
  .own-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr { grid-template-columns: minmax(0, 1fr); }
  .pr-svg { max-width: 420px; }
  .nv-item { grid-template-columns: 40px minmax(0, 1fr); }
  .nv-good { grid-column: 2; }
  .ad { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .own-prods { grid-template-columns: minmax(0, 1fr); }
  .own-art { width: 120%; right: -40%; top: -4%; }
  .a-knight { width: min(100%, 280px); }
  .pr-list p { padding-left: 4px; }
}

/* proof figure in the owner band */
.own-stat { margin-top: clamp(26px, 3vw, 36px); }
