/* About page (owner: about). The founder's story, told once and never as a copy of Home.
   Rhythm: hero [cream, centered, no portrait] · 01 both sides of the work [cream] · 02 what changed [ink]
   · 03 what I brought [sand] · 04 the bigger idea [ink] · what matters [paper, the framed portrait]
   · how I think [sand] · reviews [ink-deep, shared] · book [red, shared].
   Every visual's markup is its final frame. p-about.js fits the two rails to the cards they join (with or
   without reduced motion) and arms a start state only when it is about to animate, so no-JS and reduced
   motion always show the finished page. */

/* ---------- Hero [cream]: centered and typographic; its visual is the work, then and now ---------- */
.abh {
  position: relative; overflow: hidden; overflow: clip;
  padding: calc(var(--hero-top) + 8px) var(--gutter) clamp(88px, 9vw, 132px);
  background: var(--cream); color: var(--ink); text-align: center;
}
.abh__bloom {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 36% at 50% 6%, rgba(215, 55, 43, .11), transparent 72%),
    radial-gradient(56% 42% at 50% 92%, rgba(215, 55, 43, .1), transparent 70%);
}
.abh__wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.abh__eyebrow { margin-bottom: 26px; }
.abh__title { max-width: 14em; font-size: clamp(40px, 5.6vw, 84px); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; color: var(--ink); text-wrap: balance; }
.abh__title .serif { display: block; letter-spacing: -.02em; }
.abh__lede { max-width: 38em; margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--body-on-light); text-wrap: pretty; }
.js .abh__lede { animation: fadeUp 1s var(--ease) .55s both; }

/* The work, then and now: four cards (content, visuals, admin, support), each done by an agent, joined by
   the rail into one system. The by-hand state (.is-hand) exists only while p-about.js plays it. */
.abw { position: relative; width: min(100%, 1040px); margin: clamp(56px, 6.5vw, 88px) auto 0; }
/* the cards sit above the rail, whose lines start just under them (so a card lifted on hover stays joined) */
.abw__row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.abw__card {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 16px 16px 14px;
  border-radius: 20px; background: var(--paper); border: 1px solid var(--line-l);
  box-shadow: var(--sh-card-l), 0 34px 60px -38px rgba(20, 17, 16, .42);
  text-align: left; transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.abw__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.abw__k { font: 500 11px/1 'Geist Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--label-on-light); }
.abw__spark {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ff9d90, var(--red) 58%, var(--red-deep));
  box-shadow: 0 8px 18px -8px rgba(215, 55, 43, .8); transition: transform .5s var(--ease-expo), rotate .5s var(--ease-expo), opacity .3s var(--ease);
}
.abw__spark svg { width: 14px; height: 14px; fill: #fff; }
.abw__body { position: relative; display: flex; flex-direction: column; gap: 7px; height: 118px; }
.abw__ln { display: block; flex: none; width: 100%; height: 7px; border-radius: 4px; background: rgba(20, 17, 16, .13); transform-origin: left center; transition: transform .7s var(--ease-out); }
.abw__ln--m { width: 72%; }
.abw__ln--s { width: 44%; }
/* content: a post */
.abw__who { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.abw__who .abw__ln { width: 50%; }
.abw__av { flex: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--red-bright), var(--red-deep)); }
.abw__body > .abw__ln:nth-of-type(2) { transition-delay: .08s; }
.abw__body > .abw__ln:nth-of-type(3) { transition-delay: .16s; }
.abw__img { display: block; flex: 1; min-height: 28px; margin-top: 4px; border-radius: 10px; background: linear-gradient(135deg, #f1dccc, #e9b4a3 48%, var(--red)); transition: opacity .6s var(--ease) .2s; }
/* visuals: a picture and its colors */
.abw__pic { display: block; width: 100%; height: 84px; border-radius: 10px; transition: filter .7s var(--ease); }
.abw__pic-bg { fill: #f3e4d6; }
.abw__sun { fill: var(--red-bright); }
.abw__hill { fill: var(--red-deep); }
.abw__hill--b { fill: #e9a090; }
.abw__sws { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.abw__sws i:not(.abw__ln) { flex: none; width: 18px; height: 18px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(20, 17, 16, .12); transition: transform .5s var(--ease-expo); }
.abw__sws i:nth-child(2) { transition-delay: .08s; }
.abw__sws i:nth-child(3) { transition-delay: .16s; }
.abw__sws .abw__ln { flex: 1; width: auto; margin-left: 4px; }
/* admin: a checklist */
.abw__task { display: flex; align-items: center; gap: 9px; padding: 4px 0; }
.abw__task .abw__ln { flex: 1; width: auto; }
.abw__task .abw__ln--m { max-width: 70%; }
.abw__task .abw__ln--s { max-width: 44%; }
.abw__cb { flex: none; position: relative; width: 16px; height: 16px; border-radius: 5px; background: var(--green-ink); border: 1.5px solid var(--green-ink); transition: background .3s var(--ease), border-color .3s var(--ease); }
.abw__cb::after { content: ''; position: absolute; left: 3.6px; top: .6px; width: 4px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform .35s var(--ease-expo); }
.abw__task:nth-child(2) .abw__cb, .abw__task:nth-child(2) .abw__cb::after { transition-delay: .14s; }
.abw__task:nth-child(3) .abw__cb, .abw__task:nth-child(3) .abw__cb::after { transition-delay: .28s; }
.abw__task:nth-child(4) .abw__cb, .abw__task:nth-child(4) .abw__cb::after { transition-delay: .42s; }
/* support: a question and its answer */
.abw__msg { display: flex; flex-direction: column; gap: 6px; width: 82%; padding: 10px 11px; border-radius: 12px; }
.abw__msg .abw__ln { height: 6px; }
.abw__msg--q { align-self: flex-start; background: rgba(20, 17, 16, .06); border-bottom-left-radius: 4px; }
.abw__msg--a { align-self: flex-end; background: rgba(215, 55, 43, .1); border-bottom-right-radius: 4px; transition: opacity .5s var(--ease) .1s, transform .6s var(--ease-expo) .1s; }
.abw__msg--a .abw__ln { background: rgba(184, 41, 31, .36); }
/* who does it */
.abw__foot { display: flex; align-items: center; min-height: 18px; padding-top: 12px; border-top: 1px solid var(--line-l); font-size: 12.5px; font-weight: 500; letter-spacing: -.005em; }
.abw__by { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.abw__by svg { flex: none; width: 14px; height: 14px; }
.abw__by--hand { display: none; color: var(--label-on-light); }
.abw__by--hand svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.abw__by--agent { color: var(--red-deep); }
.abw__by--agent svg { fill: currentColor; }
/* the by-hand state: half-done work, no agent yet */
.abw__card.is-hand .abw__by--hand { display: inline-flex; }
.abw__card.is-hand .abw__by--agent { display: none; }
.abw__card.is-hand .abw__spark { transform: scale(0); opacity: 0; }
.abw__card.is-hand .abw__body > .abw__ln { transform: scaleX(.34); }
.abw__card.is-hand .abw__img { opacity: .3; }
.abw__card.is-hand .abw__pic { filter: grayscale(1) opacity(.45); }
.abw__card.is-hand .abw__sws i:not(.abw__ln) { transform: scale(.45); }
.abw__card.is-hand .abw__cb { background: transparent; border-color: rgba(20, 17, 16, .3); }
.abw__card.is-hand .abw__cb::after { transform: rotate(45deg) scale(0); }
.abw__card.is-hand .abw__msg--a { opacity: 0; transform: translateY(10px); }
/* the rail joins the cards into one system, the pill names it. Its markup fits the four-across row; p-about.js
   redraws it from the cards' real centers (both rows) and adds a signal per card that runs into the pill. */
.abw__rail { display: block; width: 100%; height: 46px; overflow: visible; }
.abw__rail path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.abw__line { stroke: rgba(215, 55, 43, .5); stroke-width: 1.5; }
.abw.is-armed .abw__line { visibility: hidden; }
.abw__route { stroke: var(--red); stroke-width: 2; opacity: 0; transition: opacity .35s var(--ease); }
.abw__sig { stroke: var(--red-bright); stroke-width: 3; opacity: 0; }
.abw__cap {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 11px 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: 14.5px; font-weight: 500; letter-spacing: -.01em;
  box-shadow: 0 18px 40px -20px rgba(20, 17, 16, .55);
}
.abw__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 4px rgba(239, 90, 76, .22); transition: box-shadow .35s var(--ease); }
/* the ring that ripples out when the signals arrive (p-about.js) */
.abw__dot::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--red-bright); opacity: 0; pointer-events: none; }
.abw__dot.is-ping::after { animation: abPing 1s cubic-bezier(.2, .8, .1, 1) both; }
@keyframes abPing { from { transform: scale(1); opacity: .95; } to { transform: scale(3.6); opacity: 0; } }
@media (hover: hover) {
  .abw__card:hover { translate: 0 -6px; border-color: rgba(215, 55, 43, .3); box-shadow: var(--sh-card-l), 0 44px 70px -40px rgba(20, 17, 16, .5); }
  .abw__card:hover .abw__spark { rotate: 90deg; }
  .abw:has(.abw__card:nth-child(1):hover) .abw__route[data-i="0"],
  .abw:has(.abw__card:nth-child(2):hover) .abw__route[data-i="1"],
  .abw:has(.abw__card:nth-child(3):hover) .abw__route[data-i="2"],
  .abw:has(.abw__card:nth-child(4):hover) .abw__route[data-i="3"] { opacity: 1; }
  .abw:has(.abw__card:hover) .abw__dot { box-shadow: 0 0 0 6px rgba(239, 90, 76, .3); }
}

/* Hover lifts use the translate and rotate properties, never transform: GSAP animates transform on these same
   elements when they enter, and a CSS transition on it would drag every frame of those entrances. */

/* ---------- Chapters: one header pattern (a red serif numeral, a label, the title and the text) ---------- */
.abc { position: relative; padding: var(--section-y) var(--gutter); color: var(--ink); }
.abc__head {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 28px clamp(32px, 4vw, 64px);
  align-items: start; padding-top: 30px; border-top: 1px solid var(--line-l2);
}
.abc__mark { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.abc__mark--row { flex-direction: row; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.abc__n { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(64px, 7vw, 112px); line-height: .78; letter-spacing: -.02em; color: var(--red); }
.abc__k { font: 500 11.5px/1.3 'Geist Mono', ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--label-on-light); }
.abc__main { display: flex; flex-direction: column; min-width: 0; }
.abc__main .h2 { max-width: 14em; }
.abc__p { max-width: 36em; margin-top: 26px; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.65; color: var(--body-on-light); text-wrap: pretty; }
.abc__head--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-top: 0; border-top: 0; }
.abc__head--center .abc__mark { align-items: center; }

/* ---------- 01 Where I come from [cream]: the work at the front, the work at the back ---------- */
.ab1 { background: var(--cream); padding-top: clamp(16px, 2vw, 32px); }
.ab1__sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 5.5vw, 80px); }
.ab1__side {
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(28px, 3.2vw, 44px);
  border-radius: var(--r-lg); overflow: hidden; transition: translate .5s var(--ease), box-shadow .5s var(--ease);
}
.ab1__side--front { background: var(--paper); border: 1px solid var(--line-l); box-shadow: var(--sh-card-l), 0 30px 70px -42px rgba(20, 17, 16, .32); }
.ab1__side--back { background: var(--ink); color: var(--cream); box-shadow: var(--sh-float-d); }
.ab1__side--back::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: var(--red); opacity: .16; filter: blur(80px); pointer-events: none;
}
/* the words start at the same height in both cards, so the two labels and titles line up */
.ab1__ics { position: relative; display: flex; gap: 10px; padding-bottom: clamp(44px, 5vw, 72px); }
.ab1__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line-l); transition: transform .5s var(--ease-expo); }
.ab1__side--back .ab1__ic { background: var(--ink-raised); border-color: var(--line-d2); }
.ab1__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--red-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ab1__side--back .ab1__ic svg { stroke: var(--red-bright); }
.ab1__k { position: relative; font: 500 11px/1.3 'Geist Mono', ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--red-deep); }
.ab1__side--back .ab1__k { color: var(--red-bright); }
.ab1__t { position: relative; margin-top: 12px; font-size: clamp(26px, 2.5vw, 36px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.ab1__d { position: relative; max-width: 30em; margin-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--body-on-light); }
.ab1__side--back .ab1__d { color: var(--muted-light); }
@media (hover: hover) {
  .ab1__side:hover { translate: 0 -4px; }
  .ab1__side--front:hover { box-shadow: var(--sh-card-l), 0 40px 80px -42px rgba(20, 17, 16, .42); }
  .ab1__side:hover .ab1__ic:nth-child(1) { transform: translateY(-3px) rotate(-4deg); }
  .ab1__side:hover .ab1__ic:nth-child(2) { transform: translateY(-3px) rotate(4deg); }
}

/* ---------- 02 What changed [ink]: AI learned to do that work, and a choice ---------- */
.ab2 { overflow: hidden; overflow: clip; background: var(--ink); color: var(--cream); text-align: center; }
.ab2__glow { position: absolute; left: 50%; top: 62%; width: 900px; height: 560px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--red); opacity: .14; filter: blur(140px); pointer-events: none; }
.ab2__wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.ab2 .abc__n { color: var(--red-bright); }
.ab2 .abc__k { color: var(--muted); }
.ab2 .abc__p { margin-inline: auto; color: var(--muted-light); }
.ab2__title { max-width: 11em; margin-top: 30px; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.05em; }
.ab2__choice {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 520px);
  margin-top: clamp(40px, 5vw, 64px); padding: 6px; border-radius: 999px;
  background: rgba(245, 239, 230, .06); border: 1px solid var(--line-d2);
}
.ab2__thumb {
  position: absolute; top: 6px; bottom: 6px; left: 50%; width: calc(50% - 6px); border-radius: 999px;
  background: var(--red); box-shadow: 0 14px 34px -12px rgba(215, 55, 43, .85);
  transition: left .8s var(--ease-expo), background .5s var(--ease) .25s, box-shadow .5s var(--ease) .25s;
}
.ab2__opt {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 18px; font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: color .5s var(--ease) .2s, text-decoration-color .5s var(--ease) .2s;
}
.ab2__opt--a { color: var(--muted); text-decoration: line-through 1.5px rgba(168, 159, 150, .7); }
.ab2__opt--b { color: #fff; }
.ab2__opt--b svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .4s var(--ease) .45s, transform .5s var(--ease-expo) .45s; }
/* the choice still open (armed by p-about.js only) */
.ab2__choice.is-open .ab2__thumb { left: 6px; background: rgba(245, 239, 230, .12); box-shadow: none; }
.ab2__choice.is-open .ab2__opt--a { color: var(--cream); text-decoration-color: transparent; }
.ab2__choice.is-open .ab2__opt--b { color: var(--muted); }
.ab2__choice.is-open .ab2__opt--b svg { opacity: 0; transform: scale(.4); }
.ab2__end { max-width: 36em; margin-top: clamp(40px, 5vw, 64px); font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.65; color: var(--muted-light); text-wrap: pretty; }
.ab2__chose { display: block; margin-bottom: 12px; font-size: clamp(36px, 3.8vw, 56px); line-height: 1.02; color: var(--cream); }

/* ---------- 03 What I brought [sand]: every task, sorted by what it needs ---------- */
.ab3 { background: var(--sand); }
.ab3__sort { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: clamp(48px, 5.5vw, 80px) 0 0; }
/* the source: one pill, one rail that splits into the three lanes (only side by side) */
.ab3__src { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; margin-bottom: calc(-1 * var(--gap)); }
.ab3__task {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 14px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream); font-size: 14.5px; font-weight: 500; letter-spacing: -.01em;
  box-shadow: 0 16px 36px -18px rgba(20, 17, 16, .6);
}
.ab3__task svg { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--red-bright); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab3__rail { display: block; width: 100%; height: 60px; overflow: visible; }
.ab3__rail path { fill: none; stroke: rgba(184, 41, 31, .5); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ab3__sort.is-armed .ab3__rail { visibility: hidden; }
.ab3__lane {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-l); box-shadow: var(--sh-card-l);
  transition: translate .5s var(--ease), box-shadow .5s var(--ease);
}
/* where the rail lands on each lane */
.ab3__lane::before {
  content: ''; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px var(--sand);
}
.ab3__lane--c { background: var(--ink); color: var(--cream); border-color: transparent; box-shadow: 0 30px 70px -40px rgba(20, 17, 16, .6); }
.ab3__lh { display: flex; align-items: center; gap: 12px; }
.ab3__ic { display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 38px; min-width: 38px; padding: 0 10px; border-radius: 999px; background: rgba(215, 55, 43, .1); color: var(--ink); }
.ab3__ic svg { flex: none; width: 17px; height: 17px; fill: var(--red); }
.ab3__ic .ab3__you, .ab3__ic--you svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.ab3__lane--c .ab3__ic { background: rgba(245, 239, 230, .1); color: var(--cream); }
.ab3__lk { font: 500 11px/1.3 'Geist Mono', ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--label-on-light); }
.ab3__lane--c .ab3__lk { color: var(--muted); }
.ab3__lt { margin-top: 6px; font-size: clamp(22px, 2vw, 27px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.ab3__chips { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.ab3__chips li { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line-l); font-size: 15px; line-height: 1.35; color: var(--ink); }
.ab3__chips li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.ab3__lane--b .ab3__chips li::before { background: transparent; box-shadow: inset 0 0 0 2px var(--red); }
.ab3__lane--c .ab3__chips li { background: var(--ink-raised); border-color: var(--line-d2); color: var(--cream); }
.ab3__lane--c .ab3__chips li::before { background: var(--cream); }
@media (hover: hover) {
  .ab3__lane:hover { translate: 0 -4px; box-shadow: var(--sh-card-l), 0 36px 70px -44px rgba(20, 17, 16, .45); }
  .ab3__lane--c:hover { box-shadow: 0 40px 80px -40px rgba(20, 17, 16, .7); }
}
/* side by side, the lane titles share a height so the first examples line up */
@media (min-width: 900px) { .ab3__lt { min-height: 2.24em; } }
.ab3__cap { grid-column: 1 / -1; margin-top: 8px; text-align: center; font-size: 14px; color: var(--label-on-light); }

/* ---------- 04 The bigger idea [ink]: own what you build, build what you need ---------- */
.ab4 { isolation: isolate; overflow: hidden; overflow: clip; background: var(--ink); color: var(--cream); }
.ab4__glow {
  position: absolute; z-index: -1; right: -12%; top: 54%; width: min(1100px, 130vw); aspect-ratio: 1.15; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(215, 55, 43, .2), rgba(215, 55, 43, .06) 56%, rgba(215, 55, 43, 0)); pointer-events: none;
}
.ab4__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px clamp(48px, 6vw, 104px);
  align-items: center; padding-top: 30px; border-top: 1px solid var(--line-d2);
}
.ab4 .abc__n { color: var(--red-bright); }
.ab4 .abc__k { color: var(--muted); }
.ab4 .abc__p { color: var(--muted-light); }
.ab4__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
/* two sentences, two lines: each starts on its own line */
.ab4__copy .h2 { max-width: none; font-size: clamp(36px, 4vw, 58px); }
.ab4__copy .h2 .serif { display: block; }
/* what he builds now, named once, in the Language guide's words */
.ab4__now {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; max-width: 36em; margin-top: 32px;
  padding: 20px 22px 20px 18px; border-radius: var(--r-md); background: rgba(245, 239, 230, .04); border: 1px solid var(--line-d2);
}
.ab4__now p { font-size: 16px; line-height: 1.6; color: var(--muted-light); text-wrap: pretty; }
.ab4__now b { font-weight: 600; color: var(--cream); }
/* the infrastructure in small: three glass layers on one foundation, the admin portal lit, as in the graphic */
.ab4__glyph { width: 52px; height: 52px; overflow: visible; }
.ab4__slab { fill: #4a3e38; stroke: rgba(245, 239, 230, .3); stroke-width: .8; stroke-linejoin: round; }
.ab4__slab-l { fill: #2a221f; }
.ab4__slab-r { fill: #362c28; }
.ab4__slab-g { fill: none; stroke: var(--red-bright); stroke-width: 1.2; stroke-linecap: round; }
.ab4__pane { fill: rgba(40, 32, 29, .92); stroke: rgba(255, 151, 139, .9); stroke-width: 1.1; stroke-linejoin: round; }
.ab4__pane--adm { fill: rgba(215, 55, 43, .85); stroke: #ff978b; }
.ab4__link { margin-top: 30px; transition: color var(--dur-1); }
.ab4__link:hover { color: var(--red-bright); }
.ab4__art {
  margin: 0; min-width: 0; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(245, 239, 230, .07), rgba(245, 239, 230, .02)); border: 1px solid var(--line-d2);
  box-shadow: var(--sh-float-d);
}
.ab4__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ab4__tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-width: 0; min-height: 112px; padding: 16px;
  border-radius: 16px; background: var(--ink-raised); border: 1px solid var(--line-d2);
  font-size: 15px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: var(--cream);
  transition: translate .45s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.ab4__tile svg { width: 22px; height: 22px; fill: none; stroke: var(--muted-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s var(--ease); }
.ab4__tile--next { background: rgba(215, 55, 43, .1); border: 1.5px dashed rgba(239, 90, 76, .75); color: #ffb3a8; animation: abNext 2.6s ease-in-out infinite; }
.ab4__tile--next svg { stroke: var(--red-bright); stroke-width: 2; }
@keyframes abNext { 0%, 100% { border-color: rgba(239, 90, 76, .75); } 50% { border-color: rgba(239, 90, 76, .25); } }
@media (hover: hover) {
  .ab4__tile:hover { translate: 0 -4px; border-color: rgba(239, 90, 76, .5); background: #26201d; }
  .ab4__tile:hover svg { stroke: var(--red-bright); }
  .ab4__tile--next:hover { background: rgba(215, 55, 43, .18); }
}
.ab4__base {
  display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding: 15px 18px; border-radius: 16px;
  background: var(--red); color: #fff; font: 500 11.5px/1.2 'Geist Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 18px 40px -18px rgba(215, 55, 43, .85), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.ab4__cap { margin: 16px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }

/* ---------- What matters to me [paper]: the framed portrait beside the belief ---------- */
.abm { padding: var(--section-y) var(--gutter); background: var(--paper); color: var(--ink); }
.abm__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(48px, 7vw, 120px); align-items: center; }
.abm__portrait { margin: 0; min-width: 0; }
.abm__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-xl);
  background: radial-gradient(78% 58% at 50% 30%, #e85a49 0%, #c9372a 46%, #7a1c14 100%);
  box-shadow: 0 50px 100px -50px rgba(138, 31, 23, .65), var(--sh-card-l);
}
.abm__frame::before {
  content: ''; position: absolute; left: 50%; top: 14%; width: 118%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 46px rgba(255, 255, 255, .025);
  pointer-events: none;
}
.abm__frame::after { content: ''; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(to top, rgba(58, 12, 9, .5), transparent); pointer-events: none; }
.abm__frame picture { position: absolute; inset: 0; display: block; }
.abm__img { position: absolute; left: 0; right: 0; bottom: 0; width: 96%; height: auto; margin: 0 auto; transform-origin: 50% 100%; }
.abm__cap { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: 18px; }
.abm__name { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.abm__role { font: 500 11px/1.3 'Geist Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--label-on-light); }
.abm__copy { min-width: 0; }
.abm__copy .eyebrow { margin-bottom: 26px; }
.abm__quote { font-size: clamp(32px, 3.9vw, 58px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.abm__quote .serif { letter-spacing: -.015em; }
.abm__p { max-width: 36em; margin-top: 28px; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.65; color: var(--body-on-light); text-wrap: pretty; }
.abm__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.abm__chip { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-l2); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.abm__chip svg { flex: none; width: 16px; height: 16px; fill: currentColor; }
.abm__chip .abm__ig { fill: none; stroke: currentColor; stroke-width: 1.7; }
.abm__chip .abm__ig circle:last-child { fill: currentColor; stroke: none; }
.abm__chip--link { padding-right: 15px; transition: border-color var(--dur-1), background var(--dur-1), color var(--dur-1); }
.abm__go { margin-left: 2px; color: var(--red-deep); transition: transform .35s var(--ease); }
.abm__chip--link:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.abm__chip--link:hover .abm__go { color: var(--red-bright); transform: translate(2px, -2px); }
.abm__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ---------- How I think [sand]: four qualities ---------- */
.abq { padding: var(--section-y) var(--gutter); background: var(--sand); color: var(--ink); }
.abq .sec-head__aside { color: var(--body-on-light); }
.abq__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.abq__i {
  display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 2.4vw, 30px);
  border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-l); box-shadow: var(--sh-card-l);
  transition: translate .5s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--ease);
}
.abq__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 30px; border-radius: 16px; background: rgba(215, 55, 43, .08); transition: background .35s var(--ease), transform .5s var(--ease-expo); }
.abq__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--red-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s var(--ease); }
.abq__ic--dots svg circle { fill: rgba(184, 41, 31, .32); stroke: none; transition: fill .35s var(--ease); }
.abq__ic--dots svg .abq__hot { fill: var(--red); }
.abq__t { font-size: clamp(22px, 2vw, 26px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.abq__d { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--body-on-light); }
@media (hover: hover) {
  .abq__i:hover { translate: 0 -4px; border-color: rgba(215, 55, 43, .4); box-shadow: var(--sh-card-l), 0 36px 64px -40px rgba(20, 17, 16, .4); }
  .abq__i:hover .abq__ic { background: var(--red); transform: rotate(-6deg); }
  .abq__i:hover .abq__ic svg { stroke: #fff; }
  .abq__i:hover .abq__ic--dots svg circle { fill: rgba(255, 255, 255, .5); }
  .abq__i:hover .abq__ic--dots svg .abq__hot { fill: #fff; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1023px) {
  .abq__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab4__grid { grid-template-columns: minmax(0, 1fr); }
  .ab4__art { width: 100%; max-width: 620px; }
  /* tablets keep the portrait beside the words, a little narrower */
  .abm__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 48px 40px; }
  .abm__name { font-size: 24px; }
}
@media (max-width: 767px) {
  .abm__grid { grid-template-columns: minmax(0, 1fr); }
  .abm__portrait { width: 100%; max-width: 440px; }
}
@media (max-width: 899px) {
  .abw { width: min(100%, 560px); }
  .abw__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  /* two rows: p-about.js runs the rail through both (the top row joins under it, a spine runs down between the
     bottom cards); without it, the pill sits under the cards */
  .abw__rail { height: 40px; }
  .abw:not(.has-rail) .abw__rail { display: none; }
  .abw:not(.has-rail) .abw__cap { margin-top: 22px; }
  .abc__head { grid-template-columns: minmax(0, 1fr); }
  .abc__mark { flex-direction: row; align-items: baseline; gap: 16px; }
  .ab1__sides { grid-template-columns: minmax(0, 1fr); }
  .ab3__sort { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  /* stacked lanes: the pill heads them, no rail */
  .ab3__src { margin-bottom: 4px; }
  .ab3__rail, .ab3__lane::before { display: none; }
}
@media (max-width: 599px) {
  .abh__title { letter-spacing: -.045em; }
  .abw__card { gap: 11px; padding: 12px 12px 11px; border-radius: 16px; }
  .abw__body { height: 98px; }
  .abw__pic { height: 64px; }
  .abw__task { padding: 2px 0; }
  .abw__k { font-size: 11px; letter-spacing: .1em; }
  .abw__spark { width: 22px; height: 22px; }
  .abw__spark svg { width: 12px; height: 12px; }
  .abw__foot { padding-top: 10px; font-size: 11.5px; }
  .abw__cap { padding: 10px 16px; font-size: 13px; }
  .ab1__side { padding: 26px 24px 28px; }
  .ab1__ics { padding-bottom: 28px; }
  .ab1__ic { width: 46px; height: 46px; border-radius: 14px; }
  .ab2__opt { min-height: 48px; padding: 0 8px; font-size: 14.5px; }
  .ab3__lane { padding: 22px 20px 20px; }
  .ab4__now { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 18px 18px 14px; }
  .ab4__glyph { width: 44px; height: 44px; }
  .ab4__now p { font-size: 15.5px; }
  .ab4__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab4__tile { min-height: 96px; }
  .ab4__base { font-size: 11px; letter-spacing: .08em; }
  /* the qualities become rows: the icon beside the words */
  .abq__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .abq__i { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; border-radius: var(--r-md); }
  .abq__ic { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
  .abq__t { align-self: center; font-size: 21px; }
  .abq__d { margin-top: 6px; font-size: 15px; }
}
@media (max-width: 380px) {
  .ab4__art { padding: 18px; }
  .ab4__tile { padding: 14px; font-size: 14px; }
  /* the two labels of the foundation stack, centered, instead of each breaking in two */
  .ab4__base { flex-direction: column; align-items: center; gap: 6px; padding: 13px 14px; text-align: center; }
}
@media (max-width: 419px) {
  /* the glyph sits above the words, so the paragraph uses the card's full width */
  .ab4__now { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ab4__tile--next { animation: none; }
  .abw__card, .abw__card *, .ab2__thumb, .ab2__opt, .ab2__opt svg { transition: none !important; }
  .abw__sig { display: none; }
}
