/* about.css — entry stylesheet for src/about.html.
 *
 * Reuses the homepage system (hero, CTA buttons, footer, dark-nav theming,
 * the eu-* tokens + .role-index editorial list) by importing home.css, then
 * adds About-specific layout: the perspective "lens" zigzag carousels, the
 * PM areas list spacing, and the contact section + form.
 *
 * Page accent = teal (same family as the homepage).
 */
@import url('../home/home.css?v=20260605-1');

/* About hero collage: full-color, genuinely transparent PNG, sized a bit larger
   than the home headshot for presence. (No grayscale, no multiply — the image
   has real alpha now, so it needs neither of the home avatar's hacks.) */
.home-avatar.is-color {
  filter: none;
  mix-blend-mode: normal;
  max-width: 760px;
}

/* Desktop: center the collage against the text column (instead of top-aligned)
   and give it a touch more room. Mobile stacks, so scope to ≥1001px. */
@media (min-width: 1001px) {
  .about-hero .home-hero-grid { grid-template-columns: 520px minmax(0, 1fr); }
  .about-hero .home-hero-aside { align-self: center; transform: translateY(5%); }
}

/* Emphasis underline accent — brand teal across the About page, matching the
   project pages' underlines (the shared .eu-emphasis defaults to blue unless a
   page sets --eu-accent; NIOCCS uses this same teal-500). */
body { --eu-accent: rgba(var(--teal-500-rgb), 0.95); }

/* ─── Section rhythm ───────────────────────────────────────────────── */
.about-perspective.eu-section-white { padding-top: 104px; padding-bottom: 104px; }
.about-pm.eu-section-white {
  padding-top: 104px;
  padding-bottom: 104px;
  background: #F5F5F5;   /* off-white beat, matches the home quote/close sections */
}
.about-contact.eu-section-white { padding-top: 96px; padding-bottom: 56px; }

/* Content-section headings — uppercase Cal Sans banner, matching the
   homepage perspectives section title so they read as section headings. */
.about-perspective .eu-h2,
.about-pm .eu-h2 {
  font-family: 'Cal Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 6vw, 72px);   /* 72px on desktop — matches the project pages' .eu-h1 section headings */
  line-height: 1.1;
  letter-spacing: 0.015em;
  text-transform: none;
  color: #1E2328;
  margin-top: 16px;
  max-width: 22ch;
}
/* Contact "close" heading — large sentence-case headline, matching the
   homepage close section (not a banner). */
.about-contact .eu-h2 {
  font-family: 'Cal Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: #1E2328;
  margin-top: 16px;
  max-width: 20ch;
}
.about-perspective .eu-p,
.about-pm .eu-p,
.about-contact .eu-p {
  color: rgba(60, 64, 67, 0.82);
  max-width: 720px;
  margin-top: 24px;
}
/* Roughly the homepage "perspectives" paragraph measure, trimmed ~5%
   narrower (936px → 890px); contact stays at its tighter 720px. */
.about-perspective .eu-p,
.about-pm .eu-p {
  max-width: 890px;
}

/* ─── Pull quote ───────────────────────────────────────────────────── */
.about-quote {
  font-family: 'Cal Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.4;
  color: #1E2328;
  max-width: 780px;
  margin: 48px 0;
  padding-left: 26px;
  border-left: 4px solid rgba(var(--teal-500-rgb), 0.55);
}

/* ════════════════════════════════════════════════════════════════════
 * Perspective "lens" zigzag — carousel one side, text the other,
 * alternating with .is-reverse. Mirrors the home "selected work" rhythm.
 * ════════════════════════════════════════════════════════════════════ */
.about-lenses {
  margin-top: 88px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.about-lens {
  display: grid;
  grid-template-columns: 1.8fr 1fr;   /* media column much wider than the text */
  gap: 64px;
  align-items: center;
  max-width: 1240px;
}
.about-lens.is-reverse { grid-template-columns: 1fr 1.8fr; }   /* keep media wide when it flips to the right */
.about-lens.is-reverse .about-lens-media { order: 2; }

.about-lens-title {
  font-family: 'Cal Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.01em;
  color: #1E2328;
  margin: 0 0 12px;
}
.about-lens-desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 29px;
  color: rgba(60, 64, 67, 0.82);
  margin: 0;
  max-width: 40ch;
}
.about-lens-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: rgba(60, 64, 67, 0.66);
  margin: 16px 0 0;
  max-width: 46ch;
}
.about-lens-body strong { font-weight: 700; color: #3C4043; }
.about-lens-body a {
  color: rgba(var(--teal-deep-rgb), 1);
  font-weight: 600;
  text-decoration: none;
}
.about-lens-body a:hover { text-decoration: underline; }
.about-lens-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(var(--teal-deep-rgb), 1);
  text-decoration: none;
}
.about-lens-link:hover { text-decoration: underline; }

/* ─── Carousel card (borderless soft-shadow float — house card style) ── */
.about-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 9;   /* wide/landscape — keep the cards wide, not tall */
  background: #fff;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.04),
    0 14px 34px -22px rgba(60, 64, 67, 0.34);
}
.about-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-slide { flex: 0 0 100%; height: 100%; }
.about-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Placeholder fill (until real images / illustrations drop in). */
.about-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
  font-family: 'Cal Sans', sans-serif;
  font-size: 20px;
  color: #6b7177;
}
.about-ph small {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}
.about-ph.is-teal { background: rgba(var(--teal-pale-rgb), 0.18); color: rgba(var(--teal-deep-rgb), 0.95); }
.about-ph.is-terracotta { background: rgba(200, 106, 78, 0.14); color: #9E4836; }
.about-ph.is-photo { background: #ECEAE6; color: #6b7177; }

/* Prev / next controls + dots */
.about-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1E2328;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  transition: background 0.15s ease;
}
.about-carousel-btn:hover { background: #fff; }
.about-carousel-prev { left: 12px; }
.about-carousel-next { right: 12px; }
.about-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.about-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.about-carousel-dot.is-active { background: #fff; }
.about-carousel.is-single .about-carousel-btn,
.about-carousel.is-single .about-carousel-dots { display: none; }

/* ─── Zoomable photo cards + fullscreen lightbox ───────────────────── */
.about-carousel[data-zoomable] .about-slide { background: #ECEAE6; }
.about-carousel[data-zoomable] .about-slide img { cursor: zoom-in; }
.about-slide img.is-broken { display: none; }   /* hide broken icon until real files drop in */

.about-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: rgba(15, 18, 20, 0.93);
}
.about-lightbox[hidden] { display: none; }
.about-lightbox-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1100px, 90vw);
}
.about-lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
.about-lightbox-counter {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}
.about-lightbox-btn,
.about-lightbox-close {
  border: none;
  cursor: pointer;
  color: #1E2328;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease;
}
.about-lightbox-btn:hover,
.about-lightbox-close:hover { background: #fff; }
.about-lightbox-btn {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.about-lightbox-btn[hidden] { display: none; }
.about-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
}

@media (max-width: 640px) {
  .about-lightbox { padding: 12px; gap: 4px; }
  .about-lightbox-btn { width: 40px; height: 40px; font-size: 24px; }
  .about-lightbox-img { max-height: 74vh; }
}

/* ─── PM areas of interest — mirrors the homepage "perspectives" card grid.
   Card pieces (.perspective-chip/-ic/-name/-desc) are global in home.css;
   only the grid container + teal vars are re-declared here, scoped to PM. ── */
/* Uppercase DM Sans label introducing the cards (matches .eu-eyebrow type,
   minus the pill — the section already has a pill eyebrow up top). */
.about-pm .about-cards-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1E2328;
  margin: 8px 0 0;
}
.about-pm .about-cards-label + .perspective-grid { margin-top: 24px; }

.about-pm .perspective-grid {
  --p-teal: rgba(var(--teal-deep-rgb), 0.83);
  --p-teal-tint: rgba(var(--teal-pale-rgb), 0.10);
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 56px;
}
@media (max-width: 1000px) {
  .about-pm .perspective-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
}
@media (max-width: 700px) {
  .about-pm .perspective-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ════════════════════════════════════════════════════════════════════
 * Contact section — intro + links on one side, form on the other.
 * ════════════════════════════════════════════════════════════════════ */
.about-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1080px;
}
.about-contact-intro .eu-p { max-width: 44ch; }
.about-contact-links {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-contact-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1E2328;
  text-decoration: none;
}
.about-contact-links a:hover { color: rgba(var(--teal-deep-rgb), 1); }

.about-form { display: flex; flex-direction: column; gap: 18px; }
.about-field { display: flex; flex-direction: column; gap: 7px; }
.about-field-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(60, 64, 67, 0.7);
}
.about-field input,
.about-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #1E2328;
  background: #fff;
  border: 1px solid rgba(60, 64, 67, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.about-field input:focus,
.about-field textarea:focus {
  border-color: rgba(var(--teal-500-rgb), 0.8);
  box-shadow: 0 0 0 3px rgba(var(--teal-500-rgb), 0.15);
}
.about-field textarea { resize: vertical; }
.about-form-submit { align-self: flex-start; margin-top: 4px; }
.about-form-submit:disabled { opacity: 0.6; cursor: progress; }
.about-form-note { font-family: 'DM Sans', sans-serif; font-size: 12px; color: #9aa0a6; margin: 0; }

/* Honeypot — kept in the DOM for bots, removed from view + a11y tree for people. */
.about-form-honeypot { position: absolute; left: -9999px; opacity: 0; }

/* Inline submission status. */
.about-form-status {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: rgba(60, 64, 67, 0.8);
}
.about-form-status.is-success { color: rgb(var(--teal-500-rgb)); font-weight: 600; }
.about-form-status.is-error { color: #c0392b; font-weight: 600; }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .about-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 850px) {
  .about-lens,
  .about-lens.is-reverse { grid-template-columns: 1fr; gap: 24px; }
  .about-lens.is-reverse .about-lens-media { order: 0; }
  .about-lenses { gap: 64px; }
}
