/* ============================================================
   JOSEPH BOBAY — ABOUT (v2026-10-13)
   Photos run to the edge of the screen on alternating sides,
   so the page uses its full width instead of one centred column.
   Photos: Unsplash License (not photos of Joseph).
   ============================================================ */

/* ── Hero: words left, photo bleeding off the right ─────── */
.ab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(88vh, 760px);
  background: var(--ink);
  color: var(--on-forest);
  padding-top: var(--nav-h); /* the nav is fixed over the page */
}
.ab-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 9vw, 128px) clamp(24px, 5vw, 80px);
  padding-left: max(var(--side-pad), calc((100vw - var(--content-max)) / 2 + var(--side-pad)));
}
.ab-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-lt);
  margin-bottom: 22px;
}
.ab-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  color: var(--on-forest);
}
.ab-hero-body {
  margin-top: 26px;
  max-width: 480px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245, 240, 230, 0.7);
}
.ab-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 230, 0.14);
}
.ab-fact { display: flex; flex-direction: column; gap: 2px; }
.ab-fact b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--on-forest);
}
.ab-fact span { font-size: 0.8rem; color: rgba(245, 240, 230, 0.55); }
.ab-hero-photo { position: relative; overflow: hidden; }
.ab-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(14, 13, 11, 0) 30%);
}

/* ── Story rows: text on one side, photo bleeding off the other ── */
.ab-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--paper);
}
.ab-row--alt { background: var(--smoke); }
.ab-row-copy {
  padding: clamp(64px, 9vw, 128px) clamp(24px, 5vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ab-row:not(.ab-row--flip) .ab-row-copy {
  padding-left: max(var(--side-pad), calc((100vw - var(--content-max)) / 2 + var(--side-pad)));
}
.ab-row--flip .ab-row-copy {
  order: 2;
  padding-right: max(var(--side-pad), calc((100vw - var(--content-max)) / 2 + var(--side-pad)));
}
.ab-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 16px;
}
.ab-row h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
  color: var(--ink);
  max-width: 560px;
}
.ab-row-body { margin-top: 22px; max-width: 520px; }
.ab-row-body p { font-size: 0.975rem; line-height: 1.8; color: var(--stone); }
.ab-row-body p + p { margin-top: 14px; }
.ab-row-body .ab-punch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--forest);
}
.ab-row-photo { position: relative; min-height: 460px; overflow: hidden; }
.ab-row-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out, ease-out); }
.ab-row--flip .ab-row-photo { order: 1; }

/* ── Quote band ─────────────────────────────────────────── */
.ab-band {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--on-forest);
  padding: clamp(72px, 10vw, 140px) var(--side-pad);
  text-align: center;
}
.ab-band::before, .ab-band::after {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 230, 0.08);
  box-shadow: 0 0 0 60px rgba(245, 240, 230, 0.025), 0 0 0 130px rgba(245, 240, 230, 0.015);
  pointer-events: none;
}
.ab-band::before { left: -260px; top: -200px; }
.ab-band::after { right: -260px; bottom: -220px; }
.ab-band-mark { display: block; width: 120px; margin: 0 auto 28px; color: var(--forest-lt); }
.ab-band blockquote {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}
.ab-band blockquote em { font-style: normal; color: var(--forest-lt); }

/* ── Principles: three numbered steps across the full width ── */
.ab-principles {
  background: var(--paper);
  padding: clamp(72px, 10vw, 128px) var(--side-pad);
}
.ab-principles-inner { max-width: var(--content-max); margin: 0 auto; }
.ab-principles-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}
.ab-principles-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.ab-principles-head p { color: var(--stone); line-height: 1.75; max-width: 460px; }
.ab-steps {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.ab-step {
  position: relative;
  overflow: hidden;
  background: var(--smoke);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s var(--ease-out, ease-out), background 0.3s;
}
.ab-step:hover { transform: translateY(-3px); background: #e2dccf; }
.ab-step-num {
  position: absolute;
  top: 10px; right: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 9vw, 8rem);
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(28, 56, 41, 0.09);
}
.ab-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.ab-step p { margin-top: 10px; font-size: 0.925rem; line-height: 1.7; color: var(--stone); }
.ab-step--dark { background: var(--ink); }
.ab-step--dark:hover { background: #1b1a17; }
.ab-step--dark .ab-step-num { color: rgba(106, 173, 130, 0.18); }
.ab-step--dark h3 { color: var(--on-forest); }
.ab-step--dark p { color: rgba(245, 240, 230, 0.65); }

/* ── Violin statement: full-width photo with words over it ── */
.ab-violin {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(80vh, 640px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 128px) var(--side-pad);
  color: var(--on-forest);
  background: var(--ink);
}
.ab-violin > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ab-violin::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 13, 11, 0.9) 0%, rgba(14, 13, 11, 0.7) 45%, rgba(14, 13, 11, 0.15) 100%);
}
.ab-violin-inner { max-width: var(--content-max); width: 100%; margin: 0 auto; }
.ab-violin h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 1;
  max-width: 640px;
}
.ab-violin h2 em { font-style: normal; color: var(--forest-lt); }
.ab-violin p { margin-top: 22px; max-width: 520px; line-height: 1.8; color: rgba(245, 240, 230, 0.75); }
.ab-instruments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.ab-instruments li {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid rgba(245, 240, 230, 0.25);
  border-radius: 999px;
  color: rgba(245, 240, 230, 0.85);
}
.ab-instruments li:first-child { background: var(--forest-lt); border-color: var(--forest-lt); color: var(--ink); }

/* ── Scroll reveals (only when JS + motion allowed) ──────── */
.ab-motion .ab-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out, ease-out), transform 0.8s var(--ease-out, ease-out); }
.ab-motion .ab-reveal.is-in { opacity: 1; transform: none; }
.ab-motion .ab-row-photo img { transform: scale(1.08); }
.ab-motion .ab-row-photo.is-in img { transform: none; }
.ab-motion .ab-steps .ab-step:nth-child(2) { transition-delay: 0.1s; }
.ab-motion .ab-steps .ab-step:nth-child(3) { transition-delay: 0.2s; }

/* ── Phones / tablets ───────────────────────────────────── */
@media (max-width: 860px) {
  .ab-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 0; }
  .ab-hero-photo { order: -1; min-height: 46vh; }
  .ab-hero-photo::after { background: linear-gradient(180deg, rgba(14, 13, 11, 0) 50%, var(--ink) 100%); }
  .ab-hero-copy { padding: 8px var(--side-pad) 64px; }
  .ab-row { grid-template-columns: 1fr; }
  .ab-row-copy, .ab-row--flip .ab-row-copy, .ab-row:not(.ab-row--flip) .ab-row-copy { order: 2; padding: 48px var(--side-pad) 64px; }
  .ab-row-photo, .ab-row--flip .ab-row-photo { order: 1; min-height: 52vh; }
  .ab-principles-head { grid-template-columns: 1fr; }
  .ab-steps { grid-template-columns: 1fr; }
  .ab-step { min-height: 220px; }
  .ab-violin::before { background: linear-gradient(180deg, rgba(14, 13, 11, 0.55) 0%, rgba(14, 13, 11, 0.9) 70%); }
  .ab-violin { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .ab-reveal, .ab-row-photo img, .ab-step { transition: none !important; transform: none !important; opacity: 1 !important; }
}
