/* about.css — component styles the About page borrows from the parked
   homepage sections "How We Work" (.hww-*) and "Public Displays"
   (.pdoa2-*, .site-mockup, .mockup-*, .m-*), plus .section-display and
   .plan-* badges. Lifted from home.css because about.html does not load
   the full homepage stylesheet. Regenerate via:
     node scripts/extract-about-css.mjs > about.css   (then re-add this header)
   ============================================================ */

/* ============================================================
   PUBLIC DISPLAYS OF APPRECIATION — client spotlight section
   ============================================================ */

.pdoa2-head { max-width: 680px; }

/* Featured card */
.pdoa2-featured {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.pdoa2-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 75% 50%, rgba(32,200,162,.07), transparent 65%);
  pointer-events: none;
}

.pdoa2-featured-left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 56px 48px;
  border-right: 1px solid var(--border-1);
}

.pdoa2-logo-wrap {
  height: 44px;
  display: flex;
  align-items: center;
}

.pdoa2-logo {
  max-height: 100%;
  max-width: 140px;
  object-fit: contain;
  filter: invert(1) grayscale(1) brightness(.85);
  opacity: .9;
}

.pdoa2-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-3);
  flex-wrap: nowrap;
}

.pdoa2-sep { color: var(--border-1); }

.pdoa2-industry,
.pdoa2-location { white-space: nowrap; }

.pdoa2-client-name {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0;
}

.pdoa2-blurb {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0;
}

.pdoa2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pdoa2-tag {
  display: inline-block;
  padding: 4px 11px;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-3);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  white-space: nowrap;
}

.pdoa2-cta { align-self: flex-start; margin-top: 4px; }

.pdoa2-card .pdoa2-cta { align-self: center; margin-top: auto; }

.pdoa2-featured-right {
  display: flex;
  align-items: stretch;
  background: #080b14;
}

.pdoa2-featured-right .site-mockup {
  width: 100%;
  border-radius: 0;
}

/* Client grid */
.pdoa2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.pdoa2-card {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

.pdoa2-card:hover {
  border-color: rgba(32,200,162,.22);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.pdoa2-card-mockup {
  border-bottom: 1px solid var(--border-1);
  background: #080b14;
}

.pdoa2-card-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pdoa2-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-3);
}

.pdoa2-card-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin: 0;
}

.pdoa2-card-blurb {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
}

.pdoa2-footer {
  display: flex;
  justify-content: center;
}

/* ===== SITE MOCKUP ===== */
.site-mockup {
  display: block;
  background: #0a0d17;
  overflow: hidden;
  font-size: 0;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #111522;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.mockup-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.mockup-dots span {
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: rgba(255,95,86,.65); }

.mockup-dots span:nth-child(2) { background: rgba(255,189,46,.65); }

.mockup-dots span:nth-child(3) { background: rgba(39,201,63,.65); }

.mockup-url-bar {
  flex: 1;
  background: rgba(255,255,255,.04);
  border-radius: 4px;
  padding: 3px 8px;
  text-align: center;
}

.mockup-url {
  font-family: var(--font-mono, 'Courier New', monospace);
  font-size: 8px;
  color: rgba(255,255,255,.22);
  letter-spacing: .04em;
  white-space: nowrap;
  font-size: 8px;
}

/* Content area */
.mockup-content {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0;
}

/* Taller for the featured (non-compact) mockup */
.site-mockup:not(.compact) .mockup-content {
  padding: 14px 16px 20px;
  gap: 9px;
}

/* Nav bar */
.mockup-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 2px;
}

.m-logo-bar {
  display: block;
  width: 44px; height: 8px;
  background: rgba(255,255,255,.22);
  border-radius: 3px;
  flex-shrink: 0;
}

.m-nav-items {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.m-nav-items span {
  display: block;
  width: 22px; height: 5px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
}

.m-nav-cta {
  display: block;
  width: 36px; height: 14px;
  background: rgba(32,200,162,.3);
  border-radius: 3px;
  flex-shrink: 0;
}

/* Hero image */
.m-hero-img {
  display: block;
  height: 50px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(32,200,162,.18), rgba(30,130,210,.12));
}

.site-mockup:not(.compact) .m-hero-img { height: 72px; }

.m-tint-earth { background: linear-gradient(135deg, rgba(160,120,60,.25), rgba(80,60,30,.15)); }

.m-tint-rust { background: linear-gradient(135deg, rgba(190,80,40,.22), rgba(140,50,20,.12)); }

.m-tint-warm { background: linear-gradient(135deg, rgba(180,140,40,.2), rgba(120,90,20,.12)); }

.m-tint-earth-lt { background: rgba(140,110,60,.18); }

.m-hero-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.m-h1 {
  display: block;
  height: 9px;
  background: rgba(255,255,255,.26);
  border-radius: 3px;
}

.m-h2 {
  display: block;
  height: 6px;
  background: rgba(255,255,255,.13);
  border-radius: 2px;
}

.m-h1.centered, .m-h2.centered { margin-left: auto; margin-right: auto; }

.m-p {
  display: block;
  height: 5px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
}

.m-p.short { width: 65%; }

.m-cta-pill {
  display: block;
  height: 18px; width: 64px;
  background: rgba(32,200,162,.38);
  border-radius: 999px;
  margin-top: 2px;
}

.m-cta-pill.centered { margin-left: auto; margin-right: auto; }

.m-divider {
  display: block;
  height: 1px;
  background: rgba(255,255,255,.05);
  margin: 2px 0;
}

/* 3-column service/resource row */
.m-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.m-service-card, .m-resource-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 4px;
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-sc-icon {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: rgba(32,200,162,.3);
  margin-bottom: 2px;
}

.m-rc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-bottom: 2px;
}

.m-rc-dot.m-blue { background: rgba(30,130,210,.5); }

.m-sc-line {
  display: block;
  height: 4px;
  background: rgba(255,255,255,.14);
  border-radius: 2px;
}

.m-sc-line.short { width: 65%; }

/* Map block */
.m-map-block { display: flex; flex-direction: column; gap: 5px; }

.m-map-label { display: block; height: 6px; width: 50%; background: rgba(255,255,255,.14); border-radius: 2px; }

.m-map-area {
  position: relative;
  height: 40px;
  background: rgba(30,130,210,.1);
  border: 1px solid rgba(30,130,210,.12);
  border-radius: 4px;
  overflow: hidden;
}

.m-map-pin {
  position: absolute;
  top: 35%; left: 42%;
  width: 7px; height: 7px;
  background: rgba(32,200,162,.9);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(32,200,162,.6);
}

.m-map-ring {
  position: absolute;
  top: 20%; left: 28%;
  width: 42%; height: 60%;
  border: 1px solid rgba(32,200,162,.2);
  border-radius: 3px;
  background: rgba(32,200,162,.06);
}

/* Grocery: 4-grid product */
.m-banner {
  height: 38px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.site-mockup:not(.compact) .m-banner { height: 52px; }

.m-banner-text { display: flex; flex-direction: column; gap: 4px; }

.m-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.m-product-card {
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.m-product-img {
  aspect-ratio: 1;
  background: rgba(255,255,255,.09);
  border-radius: 3px;
  margin-bottom: 2px;
}

.m-p-line {
  display: block;
  height: 4px;
  background: rgba(255,255,255,.13);
  border-radius: 2px;
}

.m-p-line.short { width: 60%; }

.m-text-footer { display: flex; flex-direction: column; gap: 4px; }

/* Restaurant: pills + menu */
.m-pills-row {
  display: flex;
  gap: 5px;
}

.m-pill {
  display: block;
  height: 14px; width: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 999px;
}

.m-pill.active {
  background: rgba(32,200,162,.28);
  width: 44px;
}

.m-menu-list { display: flex; flex-direction: column; gap: 5px; }

.m-menu-row { display: flex; align-items: center; gap: 6px; }

.m-menu-thumb {
  width: 22px; height: 22px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  flex-shrink: 0;
}

.m-menu-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }

.m-menu-price {
  width: 20px; height: 7px;
  background: rgba(32,200,162,.3);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Nonprofit: mission block */
.m-mission-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  text-align: center;
}

.m-eyebrow-bar {
  display: block;
  width: 40px; height: 6px;
  background: rgba(30,130,210,.4);
  border-radius: 999px;
  margin-bottom: 2px;
}

/* Booking: calendar + form */
.m-booking-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 7px;
}

.m-cal-block { display: flex; flex-direction: column; gap: 5px; }

.m-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-chevron {
  display: block;
  width: 8px; height: 8px;
  border-right: 1.5px solid rgba(255,255,255,.2);
  border-bottom: 1.5px solid rgba(255,255,255,.2);
  transform: rotate(-45deg);
}

.m-cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.m-cal-day {
  height: 10px;
  background: rgba(255,255,255,.07);
  border-radius: 2px;
}

.m-cal-day.m-booked { background: rgba(32,200,162,.42); }

.m-cal-day.m-today { background: rgba(255,255,255,.22); }

.m-form-block { display: flex; flex-direction: column; gap: 5px; }

.m-field-block {
  height: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 3px;
}

.m-field-block.short { width: 75%; }

/* Construction: gallery */
.m-gallery-hero {
  display: block;
  height: 52px;
  border-radius: 5px;
}

.site-mockup:not(.compact) .m-gallery-hero { height: 68px; }

.m-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.m-gallery-thumb {
  height: 26px;
  border-radius: 3px;
}

.site-mockup:not(.compact) .m-gallery-thumb { height: 34px; }

/* Iframe preview */
.iframe-preview {
  overflow: hidden;
  background: #080b14;
  position: relative;
  display: block;
}

/* Dark atmospheric treatment — desaturates and darkens all iframe content
   so every site reads in PDA's navy palette regardless of its own colors.
   The gradient overlay fades the bottom edge so content never hard-cuts. */
.iframe-preview iframe {
  filter: grayscale(0.85) brightness(0.32) contrast(1.1);
  pointer-events: none;
  display: block;
}

.iframe-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* subtle teal glow at the very top */
    linear-gradient(to bottom,
      rgba(32,200,162,.06)  0%,
      transparent           22%),
    /* graceful fade to navy at the bottom */
    linear-gradient(to bottom,
      transparent           35%,
      rgba(8,11,20,.72)     72%,
      rgba(8,11,20,.97)    100%);
}

/* Featured card (Addison) — brighter so the video reads through */
.pdoa2-featured-right .iframe-preview iframe {
  filter: grayscale(0.35) brightness(0.78) contrast(1.02);
}

.pdoa2-featured-right .iframe-preview::after {
  background:
    linear-gradient(to bottom,
      rgba(32,200,162,.04)  0%,
      transparent           18%),
    linear-gradient(to bottom,
      transparent           52%,
      rgba(8,11,20,.45)     78%,
      rgba(8,11,20,.88)    100%);
}

/* Featured right panel — stretch iframe to fill */
.pdoa2-featured-right .site-mockup {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 0;
}

.pdoa2-featured-right .iframe-preview {
  flex: 1;
  min-height: 320px;
}

/* Meta row pipe divider */
.pdoa2-pipe {
  color: var(--border-2);
  font-size: 10px;
  font-weight: 300;
  opacity: .6;
  flex-shrink: 0;
}

/* Plan badges */
.pdoa2-plan {
  display: inline-block;
  padding: 3px 9px;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid;
  flex-shrink: 0;
}

.plan-custom { color: var(--pda-teal);  border-color: rgba(32,200,162,.35);  background: rgba(32,200,162,.08); }

.plan-foundation { color: var(--fg-3);      border-color: var(--border-1);        background: rgba(255,255,255,.03); }

.plan-growth { color: var(--pda-teal);  border-color: rgba(32,200,162,.35);  background: rgba(32,200,162,.08); }

.plan-operation { color: var(--pda-blue);  border-color: rgba(30,130,210,.35);  background: rgba(30,130,210,.08); }

/* Colored logo treatment for featured card */
.pdoa2-logo-light-bg {
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  width: fit-content;
}

.pdoa2-logo-color {
  filter: none !important;
  opacity: 1 !important;
}

/* Card header row (logo + plan badge) */
.pdoa2-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.pdoa2-card-logo-wrap {
  height: 32px;
  display: flex;
  align-items: center;
}

.pdoa2-card-logo {
  max-height: 100%;
  max-width: 100px;
  object-fit: contain;
  filter: invert(1) grayscale(1) brightness(.85);
  opacity: .85;
}

/* Website link */
.pdoa2-site-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--fg-3);
  font-family: var(--font-mono, monospace);
  letter-spacing: .02em;
  margin-top: 4px;
  transition: color .2s;
}

.pdoa2-site-link:hover { color: var(--pda-teal); }

.pdoa2-site-link svg { opacity: .7; }

/* Delivery app mockup elements */
.m-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 2px;
}

.m-app-location {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.m-app-pin {
  width: 7px; height: 9px;
  border-radius: 50% 50% 50% 0;
  background: rgba(32,200,162,.7);
  flex-shrink: 0;
  transform: rotate(-45deg);
}

.m-app-avatar {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
}

.m-app-search {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 4px 6px;
}

.m-app-search-icon {
  width: 8px; height: 8px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%;
  flex-shrink: 0;
}

.m-app-banner {
  border-radius: 5px;
  height: 36px;
  overflow: hidden;
  position: relative;
}

.m-app-bottomnav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5px 0 2px;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 2px;
}

.m-app-navicon {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: rgba(255,255,255,.1);
}

.m-app-navicon.active { background: rgba(32,200,162,.5); }

/* Mission / nonprofit */
.m-mission-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  text-align: center;
}

.m-resource-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 4px;
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-rc-dot { width: 8px; height: 8px; border-radius: 50%; margin-bottom: 2px; }

.m-rc-dot.m-blue { background: rgba(30,130,210,.5); }

@media (max-width: 800px) {
  .pdoa2-grid { grid-template-columns: 1fr; }
  .pdoa2-featured-left { padding: 28px; gap: 16px; }
}

/* === Shared big section header (KOTA-style display type) === */
.section-display {
  font-size: clamp(52px, 11vw, 150px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  margin: 0;
  text-transform: none;
}

/* In pinned overlays the header shares the viewport with large content/numbers,
   so it sits in a contained top band (smaller than the full-bleed display size)
   to leave clear separation above the content. */
.svc-section.is-stack .section-display,
.schem-section.is-pinned .section-display {
  font-size: clamp(38px, 6vw, 84px);
}

/* === HOW WE WORK === */
/* Default (fallback): cards stacked vertically. */
.hww-section { position: relative; }
.hww-wrap { position: relative; }
.hww-track { display: flex; flex-direction: column; gap: 24px; padding: 0 32px 64px; }
.hww-card {
  --stage: var(--pda-teal);
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-left: 3px solid var(--stage);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex; flex-direction: column;
}
.hww-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.hww-card-num { font-size: clamp(40px, 5vw, 72px); font-weight: 700; line-height: 1; }
.hww-card-num { color: var(--stage); -webkit-text-fill-color: var(--stage); background: none; }
.hww-card-time {
  font-size: 13px; letter-spacing: .04em; color: var(--fg-2);
  padding: 6px 14px; border: 1px solid var(--border-2); border-radius: 9999px;
  white-space: nowrap;
}
.hww-card-title {
  font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; color: var(--fg-1);
  margin: 18px 0 0;
}
.hww-card-body {
  font-size: 16px; line-height: 1.65; color: var(--fg-2); margin: 14px 0 0; max-width: 54ch;
}
.hww-card-work { margin-top: auto; padding-top: 24px; }
.hww-card-work-label {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3);
}
.hww-card-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hww-chip {
  font-size: 12px; color: var(--fg-2);
  padding: 6px 12px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-2);
}

/* Stacked zoom layout — toggled by JS when pinning. Cards are centred on top
   of one another; each one slides up and scales into the middle of the
   viewport as it is scrolled to. GSAP owns transform/opacity per card, so the
   track is just a centering stage. */
.hww-section.is-horizontal .hww-wrap { height: 100vh; overflow: hidden; }

.hww-section.is-horizontal .hww-track {
  flex-direction: row; height: 100vh; padding: 0; flex-wrap: nowrap;
}
.hww-section.is-horizontal .hww-card {
  position: absolute; top: 50%; left: 50%;
  flex: 0 0 auto; height: auto;
  min-height: clamp(440px, 60vh, 580px); max-height: 86vh;
  will-change: transform, opacity;
}
.hww-section.is-horizontal .hww-card--sm,
.hww-section.is-horizontal .hww-card--md,
.hww-section.is-horizontal .hww-card--lg { width: min(92vw, 960px); }

/* --- Editorial elevation (Gate 4) --- */
/* Ghosted display heading: a giant background texture behind the sweeping
   cards, drifting slowly via GSAP instead of fading away. */
.hww-eyebrow {
  display: flex; justify-content: center;
  padding: 56px 24px 0;
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-1);
}
.hww-eyebrow::before { display: none; }
.hww-section.is-horizontal .hww-eyebrow {
  position: absolute; top: 6vh; left: 50%; transform: translateX(-50%);
  z-index: 3; padding: 0; white-space: nowrap;
  pointer-events: none;
}
/* Project meta banner (mid-size website / ~14 weeks), under the eyebrow */
.hww-meta {
  display: flex; justify-content: center;
  padding: 12px 24px 0;
  font-size: 14px; letter-spacing: .08em; color: var(--fg-3);
}
.hww-section.is-horizontal .hww-meta {
  position: absolute; top: calc(6vh + 60px); left: 50%; transform: translateX(-50%);
  z-index: 3; padding: 0; font-size: 15px;
  pointer-events: none;
}

.hww-section.is-horizontal .hww-track { position: relative; z-index: 2; }

/* Giant editorial card number: faint, behind the content (horizontal only) */
.hww-card { position: relative; }
/* Selector carries .hww-card so it outweighs `.hww-card > *` below, which
   would otherwise force the illustration back into normal flow. */
.hww-card .hww-card-art {
  position: absolute; top: 22px; right: 24px; z-index: 1;
  color: var(--stage);
  opacity: 0.85;
}
.hww-card:not(.is-active) .hww-card-art { opacity: 0.5; }
.hww-section.is-horizontal .hww-card-num {
  position: absolute; bottom: 14px; right: 22px; z-index: 0;
  font-size: clamp(72px, 8vw, 130px);
  line-height: 0.9;
  color: color-mix(in srgb, var(--stage) 12%, transparent);
  -webkit-text-fill-color: color-mix(in srgb, var(--stage) 12%, transparent);
  background: none;
  pointer-events: none;
}
.hww-card > * { position: relative; z-index: 1; }
/* In pinned mode the top row must stay a non-positioned box, otherwise the
   absolute watermark number anchors to that short row instead of the full
   card. The time pill is lifted back above the watermark explicitly. */
.hww-section.is-horizontal .hww-card-top { position: static; }
.hww-section.is-horizontal .hww-card-time { position: relative; z-index: 1; }

/* Active card: stage-tinted edge glow and gradient title. Opacity/transform
   are scrubbed per frame by GSAP in this mode, so no CSS opacity transition
   here (it would lag the scroll). */
.hww-section.is-horizontal .hww-card {
  transition: box-shadow .4s var(--ease-out, ease-out),
              border-color .4s var(--ease-out, ease-out);
}
.hww-card.is-active { border-left-color: var(--stage); }
.hww-section.is-horizontal .hww-card.is-active {
  box-shadow: -4px 0 28px -6px color-mix(in srgb, var(--stage) 55%, transparent);
  border-color: color-mix(in srgb, var(--stage) 30%, var(--border-1));
}
.hww-card.is-active .hww-card-title {
  background: linear-gradient(90deg, var(--stage), color-mix(in srgb, var(--stage) 55%, #ffffff));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Week timeline (pinned mode only): track + sliding gradient fill + ticks */
.hww-timeline { display: none; }
.hww-section.is-horizontal .hww-timeline {
  display: block;
  position: absolute;
  bottom: 5.5vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 64vw);
  height: 4px;
  z-index: 3;
}
.hww-tl-track {
  position: absolute; inset: 0;
  border-radius: 2px;
  background: rgba(200, 208, 226, 0.15);
}
.hww-tl-fill {
  position: absolute; top: 0; bottom: 0;
  left: 0; width: 10%;
  border-radius: 2px;
  background: linear-gradient(90deg, #20C8A2, #4FA0DA);
  box-shadow: 0 0 14px rgba(32, 200, 162, 0.45);
  transition: left .55s var(--ease-out, ease-out), width .55s var(--ease-out, ease-out);
}
.hww-tl-tick {
  position: absolute; top: 50%;
}
.hww-tl-tick i {
  position: absolute;
  left: -1px; top: -4px;
  display: block;
  width: 2px; height: 8px;
  background: rgba(200, 208, 226, 0.25);
  transition: background .4s ease;
}
.hww-tl-tick.is-on i { background: rgba(191, 255, 242, 0.8); }
.hww-tl-tick em {
  position: absolute;
  top: 10px; left: 0;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
  transition: color .4s ease;
}
.hww-tl-tick.is-on em { color: var(--fg-2); }

@media (max-width: 767px) {
  .hww-eyebrow { padding: 40px 24px 0; }
  .hww-track { padding: 0 20px 48px; }
  .hww-card { padding: 28px; }
  /* In the stacked layout the number stays in flow, so keep it and the time
     pill grouped on the left and leave the top-right corner for the
     illustration (which is absolutely positioned there). */
  .hww-card-top { justify-content: flex-start; }
}

/* Pointer spotlight: a radial wash that tracks --mx/--my (set by
   home-reveals.jsx). Hover-capable pointers only by nature. */
.hww-card::after,
.review-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(32, 200, 162, 0.08),
    transparent 70%
  );
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.hww-card:hover::after,
.review-card:hover::after { opacity: 1; }
