/* v2-about — About page, v2: Angel's About design (ref/about-reference.png). Owner: MARK 39. Scoped to .v2-about */

.v2-about {
  --ab2-green: #2F4A2A;
  --ab2-orange: #C9501E;
  --ab2-yellow: #F5C518;
  --ab2-cream: #F6EBDD;
  --ab2-serif: "Newsreader", "Instrument Serif", Georgia, serif;
  --ab2-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ab2-pad: clamp(64px, 10vw, 140px);
  --ab2-ease: cubic-bezier(.2,.7,.2,1);
  overflow-x: clip;
}

/* type */
.v2-about .ab2-serif { font-family: var(--ab2-serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.05; margin: 0; }
.v2-about .ab2-serif em { font-family: inherit; font-style: italic; font-weight: 400; color: inherit; letter-spacing: inherit; }
.v2-about .ab2-mono { font-family: var(--ab2-mono); font-size: clamp(13.5px, 1.05vw, 15px); line-height: 1.62; font-weight: 400; margin: 0; max-width: 70ch; }
.v2-about .ab2-mono em { font-style: italic; }
.v2-about .hand-accent { font-family: "Cedarville Cursive", cursive; font-size: 1.15em; display: inline-block; transform: rotate(-3deg); color: var(--ab2-yellow); }
.v2-about .ab2-h2 { font-size: clamp(34px, 3.8vw, 52px); margin-bottom: 14px; }

/* ---------- 1. hero ---------- */
.ab2-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--nav-h, 64px));
  min-height: clamp(560px, 92vh, 860px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h, 64px) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px);
  background: #1b1a17; color: var(--ab2-cream);
}
.ab2-hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background-repeat: no-repeat; }
.ab2-hero-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 50%; }
/* the supplied photo has the mock's text baked in: show only its clean right-hand area
   (x ≥ 72%, y ≥ 15% of the image). Image width = max(354% of box width, 207% of box height). */
.ab2-hero-bg.is-crop { container-type: size; inset: -6px; }
.ab2-hero-bg.is-crop img {
  position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: max(354cqw, 207cqh); height: auto; max-width: none; object-fit: fill;
  filter: blur(2px) saturate(.9) brightness(.92);
}
@container (aspect-ratio < 0.585) {
  .ab2-hero-bg.is-crop img { top: auto; bottom: 0; translate: none; }
}
.ab2-hero-bg::after { /* grain + fine halftone so the upscaled photo reads as atmosphere */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,.35) .9px, transparent 1.5px), var(--grain);
  background-size: 4px 4px, 220px 220px; opacity: .5; mix-blend-mode: multiply;
}
.ab2-hero::before { /* dark gradient, heaviest on the left behind the text */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16,15,13,.86) 0%, rgba(16,15,13,.7) 38%, rgba(16,15,13,.25) 75%, rgba(16,15,13,.12) 100%),
    linear-gradient(180deg, rgba(16,15,13,.55) 0%, rgba(16,15,13,0) 26%, rgba(16,15,13,0) 70%, rgba(16,15,13,.5) 100%);
}
.ab2-hero-in { position: relative; }
.ab2-h1 {
  font-family: var(--ab2-serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.04;
  font-size: clamp(38px, 5.6vw, 80px); color: var(--ab2-cream); margin: 0 0 clamp(28px, 3vw, 40px);
}
.ab2-h1 em { font-family: inherit; font-style: italic; font-weight: 400; color: inherit; letter-spacing: -.015em; }
.ab2-line { display: block; }
.ab2-ul { position: relative; display: inline-block; white-space: nowrap; }
.ab2-ul-svg { position: absolute; left: -.04em; bottom: -.2em; width: 78%; height: .24em; color: var(--ab2-yellow); overflow: visible; }
.ab2-intro { color: var(--ab2-cream); font-size: clamp(14.5px, 1.2vw, 17px) !important; max-width: 54ch !important; margin-bottom: 22px !important; }
.ab2-small { color: rgba(246,235,221,.82); max-width: 62ch !important; }
.ab2-orange header .ab2-mono { max-width: none; }

/* ---------- bands ---------- */
.ab2-band { position: relative; padding: var(--ab2-pad) 0; background-image: var(--paper-grain); }

/* ---------- 2. green: Bisi Silva ---------- */
.ab2-green { background-color: var(--ab2-green); color: var(--ab2-cream); }
.ab2-bisi { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.ab2-portrait { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px; background: #111;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); transition: translate .22s ease-out, box-shadow .22s ease-out; }
.ab2-portrait:hover { translate: 0 -4px; box-shadow: 0 26px 46px -22px rgba(0,0,0,.65); }
.ab2-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) contrast(1.05); }
.ab2-name { font-size: clamp(40px, 4.6vw, 64px); color: var(--ab2-cream); margin-bottom: 10px; }
.ab2-dates { margin-bottom: 20px !important; color: rgba(246,235,221,.85); }
.ab2-green .ab2-mono { color: rgba(246,235,221,.9); }

/* ---------- 3. orange ---------- */
.ab2-orange { background-color: var(--ab2-orange); color: var(--ab2-cream); }
.ab2-orange .ab2-h2 { color: var(--ab2-cream); }
.ab2-orange .ab2-mono { color: rgba(255,246,236,.94); }
.ab2-steps { list-style: none; margin: clamp(40px, 5vw, 60px) 0 clamp(72px, 9vw, 120px); padding: 0;
  display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: clamp(28px, 4vw, 64px); }
.ab2-step { margin: 0; }
.ab2-st { font-size: clamp(28px, 2.7vw, 36px); color: var(--ab2-cream); margin-bottom: 14px; }
.ab2-n { color: var(--ab2-yellow) !important; }
.ab2-step .ab2-mono { max-width: 40ch; }
.ab2-exp .ab2-mono { max-width: 78ch; }
.ab2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(32px, 4vw, 48px); }
.ab2-pill {
  display: inline-flex; align-items: center; gap: 22px; min-height: 52px; padding: 12px 22px 12px 26px;
  border-radius: 999px; background: var(--ab2-cream); color: #1d1a16; text-decoration: none;
  font-family: var(--ab2-serif); font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; letter-spacing: -.005em;
  transition: translate .22s ease-out, box-shadow .22s ease-out;
}
.ab2-pill:hover, .ab2-pill:focus-visible { translate: 0 -4px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); color: #1d1a16; }
.ab2-arrow { transition: transform .22s ease-out; }
.ab2-pill:hover .ab2-arrow { transform: translateX(4px); }
.ab2-more { color: var(--ab2-cream) !important; text-decoration: none; border-bottom: 1px solid rgba(246,235,221,.5); padding-bottom: 2px; transition: border-color .22s ease-out; }
.ab2-more:hover { border-color: var(--ab2-yellow); color: var(--ab2-cream); }

.ab2-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: clamp(72px, 9vw, 120px);
  font-family: var(--ab2-serif); font-size: 17px; }
.ab2-foot a { color: var(--ab2-cream); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .22s ease-out; }
.ab2-foot a:hover { color: var(--ab2-cream); border-color: var(--ab2-yellow); }
.ab2-foot span { opacity: .7; }

/* ---------- reveal ---------- */
.ab2-anim .ab2-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ab2-ease), transform .7s var(--ab2-ease); transition-delay: var(--d, 0ms); }
.ab2-anim .ab2-reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .ab2-steps { grid-template-columns: 1fr 1fr; }
  .ab2-steps .ab2-step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ab2-bisi { grid-template-columns: 1fr; }
  .ab2-portrait { max-width: 300px; }
}
@media (max-width: 560px) {
  .ab2-hero { min-height: 720px; align-items: flex-end; }
  .ab2-line { display: inline; }
  .ab2-steps { grid-template-columns: 1fr; }
  .ab2-portrait { max-width: 100%; }
  .ab2-pill { gap: 14px; }
  .ab2-foot { gap: 8px 18px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-about * { transition: none !important; }
}

/* ---------- homepage variant (#home reuses this page) ---------- */
.v2-home .ab2-h1 { max-width: none; }
.ab2-hero-actions { margin-top: clamp(30px, 3.4vw, 44px); }
.ab2-photo-link { position: absolute; inset: 0; z-index: 0; }
.v2-home .ab2-hero-in { z-index: 1; pointer-events: none; }
.v2-home .ab2-hero-in > * { pointer-events: auto; }
.ab2-portrait a { display: block; width: 100%; height: 100%; }
.ab2-step-link { display: block; color: inherit; text-decoration: none; border-radius: 12px; padding: 14px 16px; margin: -14px -16px;
  transition: translate .22s ease-out, background-color .22s ease-out, box-shadow .22s ease-out; }
.ab2-step-link:hover, .ab2-step-link:focus-visible { color: inherit; translate: 0 -4px; background: rgba(255,246,236,.08); box-shadow: 0 10px 24px -12px rgba(0,0,0,.25); }
.ab2-step-arr { font-size: .6em; display: inline-block; opacity: .75; transition: transform .22s ease-out; vertical-align: middle; }
.ab2-step-link:hover .ab2-step-arr { transform: translateX(4px); }
/* lead: brighter daylight read like Angel's design (until the original CCA photo arrives) */
.ab2-hero img, .ab2-hero .ab2-bg, .ab2-hero [class*="photo"] { filter: blur(1px) saturate(1.05) brightness(1.12) contrast(1.05) !important; }
.ab2-hero::before { background:
    linear-gradient(90deg, rgba(16,15,13,.72) 0%, rgba(16,15,13,.5) 40%, rgba(16,15,13,.12) 78%, rgba(16,15,13,0) 100%),
    linear-gradient(180deg, rgba(16,15,13,.45) 0%, rgba(16,15,13,0) 22%, rgba(16,15,13,0) 75%, rgba(16,15,13,.35) 100%) !important; }

/* ---------- Experiment 001: ticket presentation (Angel, ref/experiment-001-liked.png) ---------- */
.ab2-exp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab2-ekicker { font-family: var(--ab2-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,246,236,.85);
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.ab2-ekicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.ab2-eh { font-family: var(--f-head); font-weight: 700; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(36px, 4.4vw, 60px); color: var(--ab2-cream); margin: 0 0 20px; }
.ab2-eh em { font-family: var(--ab2-serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; color: inherit; }
.ab2-elede { font-family: var(--ab2-serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: rgba(255,246,236,.92); max-width: 46ch; margin: 0 0 28px; }
.ab2-obtn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(255,246,236,.6); color: var(--ab2-cream); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: translate .22s ease-out, box-shadow .22s ease-out, border-color .22s ease-out; }
.ab2-obtn:hover, .ab2-obtn:focus-visible { color: var(--ab2-cream); border-color: var(--ab2-cream); translate: 0 -4px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.3); }
.ab2-oarr { transition: transform .22s ease-out; }
.ab2-obtn:hover .ab2-oarr { transform: translateX(3px); }

.ab2-ticket { position: relative; display: block; padding: 26px 30px 28px; border-radius: 6px; text-decoration: none;
  background: var(--ab2-yellow); color: var(--ink); transform: rotate(-1.6deg);
  box-shadow: 0 18px 34px -18px rgba(0,0,0,.45);
  transition: transform .22s ease-out, box-shadow .22s ease-out; }
.ab2-ticket:hover, .ab2-ticket:focus-visible { color: var(--ink); transform: rotate(-1.6deg) translateY(-4px); box-shadow: 0 24px 40px -18px rgba(0,0,0,.5); }
.ab2-ticket::before, .ab2-ticket::after { /* punched notches */
  content: ""; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--ab2-orange); transform: translateY(-50%); }
.ab2-ticket::before { left: -11px; } .ab2-ticket::after { right: -11px; }
.ab2-tk-k { display: block; font-family: var(--ab2-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(26,26,26,.6); }
.ab2-tk-t { display: block; font-family: var(--ab2-serif); font-size: clamp(36px, 3.6vw, 48px); line-height: 1; letter-spacing: -.015em; margin-top: 4px; }
.ab2-ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 0; font-size: 14.5px; }
.ab2-ticket dt { font-family: var(--ab2-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(26,26,26,.55); padding-top: 3px; }
.ab2-ticket dd { margin: 0; }
.ab2-orange .ab2-actions { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) {
  .ab2-exp { grid-template-columns: 1fr; }
  .ab2-ticket { max-width: 460px; margin: 0 8px; }
}
/* lead: Angel 18:09 — the opening photo fills the whole screen; next section only appears on scroll */
.ab2-hero { min-height: 100vh !important; min-height: 100svh !important; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.ab2-hero { min-height: calc(100vh + 64px) !important; min-height: calc(100svh + 64px) !important; }

/* lead: Angel 23 Nov 18:17 — "Can we have this in off white?" → the orange How-it-works / Experiment band becomes off-white */
.v2-about { --ab2-offwhite: #F6F1E7; --ab2-ink: #1d1a16; }
.ab2-orange { background-color: var(--ab2-offwhite) !important; color: var(--ab2-ink); }
.ab2-orange .ab2-h2, .ab2-orange .ab2-st, .ab2-orange .ab2-eh { color: var(--ab2-ink); }
.ab2-orange .ab2-mono, .ab2-orange .ab2-elede { color: rgba(29,26,22,.86); }
.ab2-orange .ab2-ekicker { color: rgba(29,26,22,.62); }
.ab2-orange .ab2-n, .ab2-orange .hand-accent { color: var(--ab2-orange) !important; }
.ab2-orange .ab2-step-link:hover, .ab2-orange .ab2-step-link:focus-visible { background: rgba(29,26,22,.04); }
.ab2-orange .ab2-obtn { color: var(--ab2-ink); border-color: rgba(29,26,22,.45); }
.ab2-orange .ab2-obtn:hover, .ab2-orange .ab2-obtn:focus-visible { color: var(--ab2-ink); border-color: var(--ab2-ink); }
.ab2-orange .ab2-pill { background: var(--ab2-ink); color: var(--ab2-offwhite); }
.ab2-orange .ab2-pill:hover, .ab2-orange .ab2-pill:focus-visible { color: var(--ab2-offwhite); }
.ab2-orange .ab2-more { color: var(--ab2-ink) !important; border-color: rgba(29,26,22,.4); }
.ab2-orange .ab2-more:hover { border-color: var(--ab2-orange); }
.ab2-orange .ab2-foot a { color: var(--ab2-ink); }
.ab2-orange .ab2-foot a:hover { color: var(--ab2-ink); border-color: var(--ab2-orange); }
.ab2-orange .ab2-ticket::before, .ab2-orange .ab2-ticket::after { background: var(--ab2-offwhite); }
.ab2-orange .ab2-ticket { box-shadow: 0 18px 34px -18px rgba(0,0,0,.3); }

/* lead: Angel 23 Nov 19:04 — "I meant the paper texture for the yellow thingy": the band goes back to plain off-white;
   the yellow Experiment 001 ticket gets the paper texture instead (assets/tex/paper-offwhite.webp multiplied onto the yellow). */
.v2-about { --ab2-paper: url("../assets/tex/paper-offwhite.webp"); }
.ab2-ticket, .x1 .x1-ticket {
  background-color: #F5C518 !important;
  background-image:
    radial-gradient(ellipse 130% 110% at 40% 35%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 55%, rgba(120,80,10,.12) 100%),
    url("../assets/tex/paper-offwhite.webp") !important;
  background-size: 100% 100%, 420px 420px !important;
  background-repeat: no-repeat, repeat !important;
  background-blend-mode: normal, multiply !important;
}
/* notches = punched holes showing the plain off-white page behind */
.ab2-orange .ab2-ticket::before, .ab2-orange .ab2-ticket::after {
  background-color: var(--ab2-offwhite); background-image: var(--paper-grain);
  box-shadow: inset 0 3px 4px -1px rgba(60,40,20,.30), inset 0 -1px 1px rgba(255,255,255,.35);
}
.ab2-orange .ab2-ticket::before { clip-path: inset(0 0 0 50%); }
.ab2-orange .ab2-ticket::after { clip-path: inset(0 50% 0 0); }

/* ---------- Angel's Website Edits (25 Nov) ---------- */
/* hero background is now a clean photograph (CCA library): no blur/brighten needed, just a touch darker so the white text holds */
.ab2-hero-bg:not(.is-crop) img { object-position: 50% 55%; filter: saturate(.92) brightness(.74) contrast(1.04) !important; }
.ab2-hero-bg:not(.is-crop)::after { opacity: .35; }
@media (max-width: 760px) { /* text spans the full width on phones: even, deeper veil */
  .ab2-hero-bg:not(.is-crop) img { filter: saturate(.9) brightness(.6) contrast(1.02) !important; }
}

/* 4. team — "It takes a village." (green, like the Bisi Silva band) */
.ab2-team { scroll-margin-top: 64px; }
.ab2-team-k { color: rgba(246,235,221,.8); }
.ab2-team-h { font-size: clamp(40px, 4.6vw, 64px); color: var(--ab2-cream); margin-bottom: 18px; }
.ab2-team-intro { color: rgba(246,235,221,.9) !important; max-width: 56ch !important; }
.ab2-credits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 64px);
  margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; }
.ab2-credit { margin: 0; padding-top: 18px; border-top: 1px solid rgba(246,235,221,.22); }
.ab2-role { font-family: var(--ab2-mono); font-size: 11px; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ab2-yellow); margin: 0 0 14px; }
.ab2-cname { font-size: clamp(22px, 2vw, 27px); line-height: 1.22; color: var(--ab2-cream); margin: 0; }
.ab2-cname + .ab2-cname { margin-top: 6px; }
.ab2-team .ab2-foot a { color: var(--ab2-cream); }
.ab2-team .ab2-foot a:hover { color: var(--ab2-cream); border-color: var(--ab2-yellow); }
@media (max-width: 900px) { .ab2-credits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ab2-credits { grid-template-columns: 1fr; gap: 28px; } }
/* new Bisi Silva portrait (portrait-format print): keep the top of her hair in the square */
.ab2-portrait img { object-position: 50% 8%; }
