/* ── About Section page design tokens ────────────────────────────────── */
.asp {
  --brand: #16a34a;
  --brand-dark: #15803d;
  --brand-light: #f0fdf4;
  --brand-muted: #bbf7d0;
  --navy: #0f172a;
  --cream: #f8faf9;
  --warm-gray: #64748b;
  --light-border: #e2e8f0;
  --asp-white: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.dark .asp {
  --brand: #22c55e;
  --brand-light: rgba(22,163,74,0.1);
  --brand-muted: #4ade80;
  --navy: #f8fafc;
  --cream: #111827;
  --warm-gray: #94a3b8;
  --light-border: #374151;
  --asp-white: #111827;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
}

/* ── Full-bleed helper ── */
.asp-full {
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .asp-full {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 768px) {
  .asp-full {
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ── Animations ── */
.asp-animate-in {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.asp-animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section label ── */
.asp-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.asp-section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════════════
   HERO — title banner
   ══════════════════════════════════════════════════════════════════════ */
.asp-hero {
  padding: 3.5rem 1rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 1px solid var(--light-border);
  margin-bottom: 0;
}

.asp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.25rem;
  animation: aspFadeUp 0.6s ease forwards;
}
.asp-hero-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

@keyframes aspFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.asp-hero h1 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.025em;
  animation: aspFadeUp 0.6s ease 0.1s both;
  max-width: 720px;
}

/* ══════════════════════════════════════════════════════════════════════
   PHOTO STRIP (3 images)
   ══════════════════════════════════════════════════════════════════════ */
.asp-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 300px;
  overflow: hidden;
  gap: 3px;
}

/* 2-image layout */
.asp-photo-strip.asp-two-images {
  grid-template-columns: 3fr 2fr;
  height: 340px;
}

/* 1-image layout */
.asp-photo-strip.asp-one-image {
  grid-template-columns: 1fr;
  max-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  margin: 2rem auto;
  max-width: 900px;
}
.asp-one-image .asp-strip-cell { border-radius: 0; }

.asp-strip-cell {
  position: relative;
  overflow: hidden;
}
.asp-strip-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.asp-strip-cell:hover img { transform: scale(1.02); }

/* ══════════════════════════════════════════════════════════════════════
   BODY CONTENT
   ══════════════════════════════════════════════════════════════════════ */
.asp-body {
  padding: 4rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.asp-body-prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 680px;
}
.asp-body-prose p { margin-bottom: 1.5rem; }
.asp-body-prose p:last-child { margin-bottom: 0; }
.asp-body-prose strong { color: var(--navy); font-weight: 600; }
.asp-body-prose a { color: var(--brand); text-decoration: underline; }
.asp-body-prose h2,
.asp-body-prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.asp-body-prose ul,
.asp-body-prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.asp-body-prose li { margin-bottom: 0.4rem; }

/* ══════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════════════════════ */
.asp-hiw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 2rem;
  align-items: stretch;
  padding: 3.5rem 1rem 4rem;
  max-width: 980px;
  margin: 0 auto;
}

.asp-hiw-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 680px;
  margin: 0;
}

.asp-hiw-hero p {
  margin: 1.4rem 0 0;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.asp-hiw-summary {
  background:
    radial-gradient(500px 220px at 10% 0%, rgba(22, 163, 74, 0.28), transparent 64%),
    radial-gradient(500px 260px at 100% 100%, rgba(217, 119, 6, 0.16), transparent 62%),
    #111827;
  color: #ffffff;
  border-radius: 3px;
  padding: 1.75rem;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
}

.asp-hiw-summary span {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4ade80;
}

.asp-hiw-summary strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.asp-hiw-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.6;
}

.asp-hiw-steps {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.asp-hiw-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  min-height: 260px;
  padding: 1.6rem;
  background: var(--asp-white);
  border: 1px solid var(--light-border);
  border-radius: 3px;
  overflow: hidden;
}

.asp-hiw-step::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2.4rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 999px;
  pointer-events: none;
}

.asp-hiw-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.asp-hiw-step-marker span {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  color: var(--brand);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.asp-hiw-step-marker i {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 1.55rem;
}

.asp-hiw-step-body h2 {
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.asp-hiw-step-body p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0;
}

.asp-hiw-note {
  max-width: 980px;
  margin: 0 auto 1rem;
  padding: 0 1rem 2.5rem;
}

.asp-hiw-note p {
  margin: 0;
  padding: 1.4rem 1.6rem;
  background: #111827;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 3px;
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════════
   BACK LINK
   ══════════════════════════════════════════════════════════════════════ */
.asp-back-link-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  border-top: 1px solid var(--light-border);
}
.asp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: gap 0.2s;
}
.asp-back-link:hover { gap: 0.7rem; }

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .asp-hiw-hero,
  .asp-hiw-steps {
    grid-template-columns: 1fr;
  }

  .asp-hiw-hero {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .asp-hiw-step {
    min-height: auto;
  }

  .asp-photo-strip,
  .asp-photo-strip.asp-two-images {
    grid-template-columns: 1fr;
    height: auto;
  }
  .asp-strip-cell { height: 220px; }
  .asp-photo-strip.asp-one-image { max-height: none; }
  .asp-photo-strip.asp-one-image .asp-strip-cell { height: 260px; }
}
