/* About page, approved by James 2026-12-01 (full screen paragraph hero over the firm film).
   Built from PREVIEW-video-hero/about.html. Everything here is scoped to .abv so the site's own
   menu, closing form and footer keep the site styles. The site stylesheets load in a cascade
   layer on this page; these rules are unlayered and so win inside .abv. Fonts match the rest of the
   site (James, 2026-12-02): Geist for text, Newsreader for headings and display lines, both self hosted. */
.abv {
  all: initial; display: block;
  --ink: #122A4F; --navy: #1B365D; --slate: #536176; --hairline: #D9DFEA;
  --wash: #F5F7FC; --action: #D9342B; --action-hover: #C0292B; --crimson: #C0292B;
  --nav-h: 64px; --gutter: 24px;
  --font: "Geist VF", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-d: "Newsreader VF", "Newsreader", Georgia, serif;
  background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; -webkit-font-smoothing: antialiased;
}
:where(.abv *) { all: revert; }
.abv, .abv * { box-sizing: border-box; }
.abv a { color: inherit; text-decoration: none; }
.abv img, .abv video { display: block; max-width: 100%; }

.abv .btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 8px; font: 600 0.92rem var(--font); border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.abv .btn-red { background: var(--action); color: #fff; } .abv .btn-red:hover { background: var(--action-hover); }
.abv .btn-lg { height: 50px; padding: 0 22px; font-size: 1.02rem; border-radius: 10px; }

/* video frame */
.abv .frame { position: absolute; overflow: hidden; background: #0d1b33; }
.abv .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.abv .frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(9,20,40,0.66) 0%, rgba(9,20,40,0.40) 45%, rgba(9,20,40,0.12) 75%), linear-gradient(to top, rgba(9,20,40,0.60) 0%, rgba(9,20,40,0) 45%); }
.abv .onvid { position: absolute; z-index: 2; color: #fff; }
.abv .h1 { text-shadow: 0 2px 30px rgba(9,20,40,0.35); margin: 0; font-weight: 600; letter-spacing: -0.028em; line-height: 1.02; }
.abv .pause { position: absolute; right: 18px; bottom: 18px; z-index: 3; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); background: rgba(9,20,40,0.35); color: #fff; font: 500 0.94rem var(--font); cursor: pointer; }

/* word reveals: words sit dim, then light in order */
.abv .w { display: inline-block; opacity: 0.28; transition: opacity .5s ease; }
.abv .w.on { opacity: 1; }
.abv [data-aw="load"] .w { transition-duration: .7s; }

/* press row under the framed video */
.abv .press { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 44px); flex-wrap: wrap; color: var(--slate); font-size: 0.95rem; }
.abv .press .lead { font-size: 0.94rem; }
.abv .press b { font-weight: 700; color: var(--ink); opacity: 0.72; letter-spacing: -0.01em; font-size: 1.05rem; }

/* hero: the paragraph fills the screen, the two phrases already on screen move together */
.abv .heroF { height: 520vh; }
.abv .heroF .stageB { position: sticky; top: 0; height: 100vh; }
.abv .heroF .frame { top: calc(var(--nav-h) * var(--q, 0)); left: calc(var(--gutter) * var(--q, 0)); right: calc(var(--gutter) * var(--q, 0)); bottom: calc(84px * var(--q, 0)); border-radius: calc(16px * var(--q, 0)); }
.abv .heroF .veil { position: absolute; inset: 0; z-index: 1; background: rgb(9,20,40); opacity: var(--veil, 0); pointer-events: none; }
.abv .heroF .big { left: clamp(22px, 7vw, 120px); right: clamp(22px, 7vw, 120px); top: 50%; transform: translateY(calc(-58% - var(--up, 0) * 70vh)); opacity: calc(1 - var(--up, 0) * 1.5); }
.abv .heroF .h1 { font-size: clamp(2rem, 3.9vw, 4.4rem); max-width: 22em; }
.abv .heroF .fill { left: clamp(20px, 5vw, 84px); right: clamp(20px, 5vw, 84px); top: calc(var(--nav-h) + (100% - var(--nav-h)) / 2); transform: translateY(-50%); opacity: var(--lo, 0); }
.abv .heroF .fill p { margin: 0; font-weight: 600; letter-spacing: -0.026em; line-height: 1.14; font-size: 48px; text-shadow: 0 2px 28px rgba(9,20,40,0.45); }
.abv .heroF .fill .w { will-change: auto; }
.abv .heroF .fill .w.rest.on { opacity: calc(1 - var(--f, 0)); transition: none; }
.abv .heroF.fading .fill .w.rest { opacity: calc(0.28 * (1 - var(--f, 0))); transition: none; }
.abv .heroF.fading .fill .w.rest.on { opacity: calc(1 - var(--f, 0)); }
.abv .heroF .target { position: absolute; left: 5%; right: 5%; top: 0; z-index: 1; visibility: hidden; pointer-events: none; text-align: center; margin: 0; font-weight: 600; letter-spacing: -0.026em; line-height: 1.14; }
.abv .heroF .target span { display: inline-block; white-space: pre; }
.abv .heroF .fcta { position: absolute; left: 0; top: 0; z-index: 3; opacity: 0; pointer-events: none; }
.abv .heroF .fcta.live { pointer-events: auto; }
.abv .heroF .press { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; opacity: calc(var(--q, 0) * 2 - 1); }

.abv .crumb { font-size: 0.94rem; color: var(--slate); padding: 28px var(--gutter) 0; max-width: 1500px; margin: 0 auto; }
.abv .crumb a:hover { text-decoration: underline; }
.abv .crumb b { color: var(--ink); font-weight: 600; }

/* the thesis, with drifting stills */
.abv .statement { position: relative; padding: 22vh var(--gutter) 30vh; overflow: hidden; }
.abv .statement .copy { position: relative; z-index: 2; max-width: min(700px, 46vw); margin: 0 auto; text-align: center; }
.abv .statement h2 { margin: 0 0 26px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 500; color: var(--slate); }
.abv .statement p { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }
.abv .statement p .w { opacity: 0.2; transition: opacity .25s linear; }
.abv .statement p .w.on { opacity: 1; }
.abv .statement .after { margin-top: 26px; font-size: 1.12rem; font-weight: 400; color: var(--slate); letter-spacing: 0; line-height: 1.55; }
.abv .still { position: absolute; width: clamp(96px, 10.5vw, 170px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; will-change: transform; }
.abv .still img { width: 100%; height: 100%; object-fit: cover; }

/* the founder is the user */
.abv .does { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: 2vh var(--gutter) 10vh; max-width: 1500px; margin: 0 auto; }
.abv .does .pic { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.abv .does .pic img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.abv .does h2 { margin: 0 0 22px; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.028em; line-height: 1.04; }
.abv .does p { margin: 0 0 18px; font-size: 1.15rem; line-height: 1.55; color: var(--ink); max-width: 52ch; }
.abv .does p a { text-decoration: underline; text-underline-offset: 3px; }

.abv .wrap { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); }
.abv .panel { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; }

/* why this exists: brand navy panel with the strand lines (James's pick) */
.abv .why { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 5vw, 72px); margin-bottom: 10vh; align-items: start; border: 0; color: #fff; background: #122A4F; }
.abv .why::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5; background: url(strands-navy.svg) no-repeat right -6% center / 86% auto; -webkit-mask-image: linear-gradient(90deg, transparent 34%, #000 62%); mask-image: linear-gradient(90deg, transparent 34%, #000 62%); }
.abv .why > * { position: relative; z-index: 1; }
.abv .why h2, .abv .quals h2, .abv .founders h2, .abv .lab h2 { margin: 0 0 22px; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.028em; line-height: 1.05; }
.abv .why p { margin: 0 0 18px; font-size: 1.15rem; line-height: 1.6; max-width: 58ch; }
.abv .why .note { font-size: 0.94rem; line-height: 1.5; color: rgba(255,255,255,0.74); border-top: 1px solid rgba(255,255,255,0.26); padding-top: 14px; margin-top: 26px; }
.abv .why .pic { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; }
.abv .why .pic img { width: 100%; height: 100%; object-fit: cover; }

.abv .quals { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); margin-bottom: 10vh; align-items: start; }
.abv .quals .big { font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.abv .quals .big + p { margin: 0; font-size: 1.15rem; color: var(--slate); max-width: 22ch; line-height: 1.45; }
.abv .quals .label { font-size: 0.95rem; font-weight: 600; color: var(--slate); margin: 0; }
.abv .quals ul { list-style: none; margin: 0; padding: 0 clamp(20px, 3vw, 36px); }
.abv .quals li { padding: 20px 0; border-bottom: 1px solid var(--hairline); font-size: 1.12rem; font-weight: 500; line-height: 1.45; }
.abv .quals li:last-child { border-bottom: 0; }
.abv .quals .fine { margin: 14px 0 0; font-size: 0.94rem; color: var(--slate); }

.abv .founders { margin-bottom: 10vh; }
.abv .founders .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.abv .founders .card { padding: clamp(24px, 3vw, 40px); }
.abv .founders h3 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em; }
.abv .founders .role { margin: 0 0 16px; color: var(--slate); font-weight: 500; }
.abv .founders p.body { margin: 0; font-size: 1.1rem; line-height: 1.6; max-width: 52ch; }

.abv .lab { padding-bottom: 10vh; }
.abv .lab .lead { margin: 0 0 34px; font-size: 1.2rem; line-height: 1.6; max-width: 70ch; }
.abv .lab .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.abv .lab .card { padding: 24px; }
.abv .lab .card i { display: block; width: 10px; height: 10px; border-radius: 2px; background: var(--crimson); margin-bottom: 18px; }
.abv .lab h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; }
.abv .lab .card p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--slate); }

@media (max-width: 860px) {
  .abv .does, .abv .why, .abv .quals, .abv .founders .two { grid-template-columns: 1fr; }
  .abv .lab .three { grid-template-columns: 1fr 1fr; }
  .abv .why .pic { aspect-ratio: 16 / 10; }
  .abv .still.hide-sm { display: none; }
}
@media (max-width: 520px) { .abv .lab .three { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .abv .w { opacity: 1 !important; transition: none; } }
body.is-static .abv .w { opacity: 1 !important; transition: none; }
/* phones: the press names wrap to three rows, so the framed video leaves more room under it */
@media (max-width: 560px) {
  .abv .heroF .frame { bottom: calc(128px * var(--q, 0)); }
  .abv .heroF .press { height: 128px; gap: 4px 16px; padding: 0 14px; align-content: center; }
  .abv .press b { font-size: 0.95rem; }
}
/* reduced motion and the static render: the whole paragraph shows at once over the still video, with the button under it; no travel */
@media (prefers-reduced-motion: reduce) { .abv .heroF { height: 100vh; } }
body.is-static .abv .heroF { height: 100vh; }

/* the site's type: Newsreader for headings and display lines, as h1 to h4 elsewhere on execute.law */
.abv .h1, .abv h2, .abv h3, .abv #fillP, .abv .heroF .target, .abv .statement p, .abv .quals .big { font-family: var(--font-d); font-weight: 560; letter-spacing: -0.015em; }
