/* ── Design System ──────────────────────────────────────────── */
:root {
  /* Typography */
  --asdlc-text-xs:   12px;                    /* pills, artifacts, tab sub */
  --asdlc-text-sm:   14px;                    /* labels, phase, cycle note */
  --asdlc-text-base: 16px;                    /* body copy, descriptions */
  --asdlc-text-md:   18px;                    /* intro, tab kicker */
  --asdlc-lh-tight:   1.1;                     /* headings, display text */
  --asdlc-lh-body:    1.8;                     /* body copy */
  --asdlc-lh-compact: 1.55;                    /* drawer, UI elements */
  
  /* Fonts */
  --asdlc-font-mono: 'IBM Plex Mono', monospace;
  
  /* Colors */
  --asdlc-color-heading: rgba(255,255,255,0.92); /* headings, prominent display */
  --asdlc-color-body:    rgba(255,255,255,0.75); /* primary body copy */
  --asdlc-color-muted:   rgba(255,255,255,0.62); /* secondary / supporting text */
  --asdlc-color-label:   rgba(255,255,255,0.45); /* labels, metadata, UI chrome */
  
  /* Borders */
  --asdlc-border-light: rgba(255,255,255,0.08);
  --asdlc-border-medium: rgba(255,255,255,0.08);
  --asdlc-border-strong: rgba(255,255,255,0.08);
  
  /* Backgrounds */
  --asdlc-bg-glass: rgba(255,255,255,0.03);
  --asdlc-bg-subtle: rgba(255,255,255,0.02);
  
  /* Spacing */
  --asdlc-space-section: 50px 40px;
  --asdlc-space-compact: 20px 32px;
  
  /* Mobile-first spacing */
  --asdlc-space-mobile: 32px 20px;
  --asdlc-space-touch: 44px; /* Minimum touch target size */
}

/* ── Reset for full viewport hero ─────────────────────────────── */
main { padding-bottom: 0 !important; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  /* Mobile optimizations */
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* ── Page shell ─────────────────────────────────────────────── */
.asdlc-page {
  background: transparent;
  color: var(--asdlc-color-heading);
  position: relative;
  z-index: 1;
  min-height: 100vh;
  /* Mobile scroll performance */
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

/* ── Hero ────────────────────────────────────────────────────── */
.asdlc-hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  background: transparent;
}

.asdlc-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity, filter;
  z-index: 5;
}

.asdlc-scanlines {
  position: absolute; 
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,0,0,0.04) 3px,rgba(0,0,0,0.04) 4px);
  pointer-events: none; 
  z-index: 1;
}

.asdlc-hero-content {
  text-align: center;
  z-index: 10;
  position: relative;
}
.asdlc-hero-label {
  display: block;
  font-family: var(--asdlc-font-mono);
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 16px;
}
.asdlc-hero-title {
  font-family: var(--asdlc-font-mono);
  font-size: clamp(3.2rem, 7vw, 8.5rem);
  font-weight: 500; line-height: var(--asdlc-lh-tight); color: #fff;
  letter-spacing: -0.04em;
  margin: 0 0 4px;
}
.asdlc-hero-title-wrap {
  margin: 0 0 4px;
}
.asdlc-hero-reel-wrap {
  font-family: var(--asdlc-font-mono);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  margin: 0; 
  min-height: 1em;
  display: flex; align-items: center; justify-content: center;
}
.asdlc-reel { display: inline; }
.asdlc-cursor {
  display: inline-block;
  width: 2px; height: 0.78em;
  background: rgba(255,255,255,0.35);
  vertical-align: -0.04em; margin-left: 0.06em;
  border-radius: 1px;
  animation: asdlc-blink 1s ease-in-out infinite;
}
@keyframes asdlc-blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Split-flap animated words */
.splitflap-hero {
  font-family: 'Adieu', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: #fff;
  line-height: var(--asdlc-lh-tight);
  letter-spacing: -0.04em;
  min-height: 1.15em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splitflap-title {
  font-size: clamp(3.2rem, 7vw, 8.5rem);
  margin: 0 0 2px;
}

.splitflap-subtitle {
  font-size: clamp(3.2rem, 7vw, 8.5rem);
  margin: 0 0 35px;
}

.split-flap-char {
  display: inline-block;
  border-radius: 2px;
  background: transparent;
  border: 1px solid transparent;
  box-sizing: border-box;
}
.asdlc-hero-body {
  font-size: var(--asdlc-text-md); line-height: var(--asdlc-lh-body);
  color: rgba(255,255,255,0.42); max-width: 600px;
  margin: 0 auto 44px;
}
.asdlc-hero-body strong { color: rgba(255,255,255,0.8); font-weight: 600; }
.asdlc-btn {
  display: inline-block;
  font-family: 'Adieu', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem; font-weight: 300; letter-spacing: 0;
  color: #000; background: #fff; padding: 14px 32px;
  text-decoration: none; border-radius: 0; border-bottom: none;
  transition: background 0.2s;
}
.asdlc-btn:hover { background: rgba(255,255,255,0.85); color: #000; }

/* ── Hero Alignment Variants ─────────────────────────────────── */
/* Default: Center-aligned (existing styles) */
/* Modifier: Left-aligned */
.asdlc-hero--left .asdlc-hero-inner {
  justify-content: center;
  align-items: flex-start;
  padding: 0 max(0.75rem, calc((100% - 1200px) / 2 + 0.75rem));
}

.asdlc-hero--left .asdlc-hero-content {
  text-align: left;
  max-width: 60vw;
}

.asdlc-hero--left .asdlc-hero-reel-wrap {
  justify-content: flex-start;
}

.asdlc-hero--left .splitflap-hero {
  justify-content: flex-start;
}

.asdlc-hero--left .asdlc-hero-body {
  margin: 0;
  max-width: 40vw;
}

/* ── Container override ─────────────────────────────────────── */
.asdlc-page .container {
  max-width: 1200px;
}

/* ── Black backdrop (behind blobs) ──────────────────────────── */
.asdlc-bg-black {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: -11;
}

/* ── Hero Glow Blobs ─────────────────────────────────────────── */
.asdlc-glow-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  filter: blur(90px);
  z-index: -10;
  pointer-events: none;
}

.asdlc-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* Amber / burnt orange */
.asdlc-blob-1 {
  width: 520px; height: 520px;
  background: rgba(220, 80, 15, 0.8);
  top: -140px; left: 20%;
  animation: asdlc-drift1 18s ease-in-out infinite alternate;
}

/* Crimson / magenta */
.asdlc-blob-3 {
  width: 480px; height: 480px;
  background: rgba(215, 18, 100, 0.75);
  top: 20%; left: 35%;
  animation: asdlc-drift3 22s ease-in-out infinite alternate;
}

/* Vivid purple */
.asdlc-blob-4 {
  width: 400px; height: 400px;
  background: rgba(160, 12, 195, 0.7);
  top: -60px; right: 10%;
  animation: asdlc-drift4 15s ease-in-out infinite alternate;
}

@keyframes asdlc-drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  35%  { transform: translate(30vw, 35vh) scale(1.2); }
  65%  { transform: translate(50vw, 10vh) scale(0.85); }
  100% { transform: translate(15vw, 55vh) scale(1.1); }
}
@keyframes asdlc-drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  30%  { transform: translate(-30vw, -25vh) scale(1.15); }
  60%  { transform: translate(25vw, -30vh) scale(0.9); }
  100% { transform: translate(-15vw, 40vh) scale(1.2); }
}
@keyframes asdlc-drift4 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-45vw, 40vh) scale(1.1); }
  70%  { transform: translate(-20vw, 20vh) scale(1.25); }
  100% { transform: translate(-55vw, 10vh) scale(0.9); }
}

/* ── Scroll Indicator ────────────────────────────────────────── */
.asdlc-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.asdlc-scroll-indicator:hover {
  opacity: 1;
}
.asdlc-scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  position: relative;
  margin-bottom: 8px;
}
.asdlc-scroll-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}
.asdlc-scroll-text {
  font-family: var(--asdlc-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
@keyframes scroll-wheel {
  0% { top: 8px; opacity: 1; }
  50% { top: 16px; opacity: 0.5; }
  100% { top: 8px; opacity: 1; }
}

/* ── Content shell ───────────────────────────────────────────── */
.asdlc-content {
  padding: 120px 0 0 0;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.asdlc-content.content-visible {
  opacity: 1;
}

/* ── Bands ───────────────────────────────────────────────────── */
.asdlc-band {
  /*border: 1px solid rgba(255,255,255,0.15);*/
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0;
  backdrop-filter: blur(5px);
  overflow: hidden;
  margin-bottom: 100px;
  padding-top: 0;
}

/* ── Scroll animations ──────────────────────────────────────── */
.asdlc-animate-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}
.asdlc-animate-item.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.asdlc-band-header {
  padding: var(--asdlc-space-section);
  border-bottom: 1px solid var(--asdlc-border-medium);
  background: transparent;
}
.asdlc-band-header h2 {
  font-family: var(--font-family-headings);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 300; letter-spacing: -0.03em; line-height: var(--asdlc-lh-tight);
  color: var(--asdlc-color-heading); margin: 0 0 15px;
}
.asdlc-band-header p {
  font-size: var(--asdlc-text-md); color: var(--asdlc-color-muted);
  margin: 0; line-height: var(--asdlc-lh-body);
  max-width: 50%;
}

/* ── Intro copy ──────────────────────────────────────────────── */
.asdlc-intro {
  padding: var(--asdlc-space-section);
  /* border-bottom: 1px solid var(--asdlc-border-medium); */
}
.asdlc-intro p {
  font-size: var(--asdlc-text-base); color: var(--asdlc-color-body);
  line-height: var(--asdlc-lh-body); max-width: 860px; margin: 0 0 1rem;
}
.asdlc-intro p:last-child { margin-bottom: 0; }
.asdlc-intro .asdlc-grid-2 { margin-top: 50px !important; }

/* ── Grids ───────────────────────────────────────────────────── */
.asdlc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(0, 0, 0, 0.8);
  gap: 1px;
}
.asdlc-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(0, 0, 0, 0.8);
  gap: 1px;
}

/* ── Team roles ──────────────────────────────────────────────── */
.asdlc-role { background: transparent; padding: 50px 40px; }
.asdlc-role:not(:last-child) { border-right: 1px solid var(--asdlc-border-light); }
.asdlc-role-label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 25px;
}
.asdlc-role-icon {
  width: 26px; height: 26px;
  color: var(--asdlc-color-muted); flex-shrink: 0;
}
.asdlc-role-name {
  font-family: var(--font-family-sans-serif);
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  font-weight: 300;
  color: var(--asdlc-color-heading); line-height: 1;
}
.asdlc-role p {
  font-size: var(--asdlc-text-base); color: var(--asdlc-color-muted);
  line-height: var(--asdlc-lh-body); margin: 0;
}

/* ── Timeline tabs wrapper ──────────────────────────────────────── */
.asdlc-tabs-wrapper {
  padding: 50px 40px;
}

/* ── Grid wrapper ──────────────────────────────────────────────── */
.asdlc-grid-wrapper {
  padding: 50px 40px;
}

/* ── Timeline tabs ───────────────────────────────────────────── */
.asdlc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* Mobile scroll snap for better UX */
  scroll-snap-type: x mandatory;
}
.asdlc-tab {
  background: transparent; padding: 25px 40px;
  cursor: pointer; user-select: none;
  border: none; text-align: left; width: 100%;
  transition: opacity 0.18s, background 0.18s, transform 0.1s;
  position: relative;
  /* Mobile optimizations */
  -webkit-tap-highlight-color: transparent;
  scroll-snap-align: center;
}
.asdlc-tab::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background-size: 200% 100%;
  opacity: 0; transition: opacity 0.18s;
}

/* Plan — violet → purple → magenta → violet */
[data-panel="plan"]::before {
  background-image: linear-gradient(90deg, rgb(120,20,210), rgb(175,15,160), rgb(215,18,100), rgb(175,30,215), rgb(130,10,220), rgb(120,20,210));
}
/* Build — indigo → blue → electric cyan → indigo */
[data-panel="build"]::before {
  background-image: linear-gradient(90deg, rgb(60,20,210), rgb(30,90,255), rgb(20,170,255), rgb(40,100,240), rgb(70,15,220), rgb(60,20,210));
}
/* Ship — teal → cyan → blue-green → teal */
[data-panel="ship"]::before {
  background-image: linear-gradient(90deg, rgb(30,140,160), rgb(50,195,185), rgb(20,200,140), rgb(40,175,195), rgb(25,145,165), rgb(30,140,160));
}

.asdlc-tab.active { opacity: 1; background: rgba(0, 0, 0, 0.8); }
.asdlc-tab.active::before {
  opacity: 1;
  animation: asdlc-tab-flow 3s linear infinite;
}
@keyframes asdlc-tab-flow {
  from { background-position: 0% 0%; }
  to   { background-position: 200% 0%; }
}
.asdlc-tab:not(.active):hover { opacity: 1; }
.asdlc-tab:not(.active):hover .asdlc-tab-kicker { color: #fff; }
.asdlc-tab-kicker {
  font-family: var(--font-family-headings);
  font-size: 24px; font-weight: 300;
  color: var(--asdlc-color-muted); letter-spacing: -0.02em;
  display: block; transition: color 0.18s;
}
.asdlc-tab.active .asdlc-tab-kicker { color: var(--asdlc-color-heading); }
.asdlc-tab-sub {
  font-size: var(--asdlc-text-sm); color: var(--asdlc-color-muted);
  margin-top: 0; display: block;
}

/* ── Panels ──────────────────────────────────────────────────── */
.asdlc-panel { display: none; }
.asdlc-panel.active { display: block; }

.asdlc-phase {
  padding: 50px 40px;
}
.asdlc-phase-label {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--asdlc-text-sm); font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase; color: #fff;
  margin-bottom: 15px;
}
.asdlc-phase-label svg { width: 13px; height: 13px; color: rgba(255,255,255,0.55); }

.asdlc-item {
  font-size: var(--asdlc-text-base); color: var(--asdlc-color-body);
  line-height: var(--asdlc-lh-body); padding: 4px 0 4px 18px;
  position: relative;
}
.asdlc-item::before {
  content: ''; position: absolute;
  left: 2px; top: 15px;
  width: 6px; height: 6px; border-radius: 50%;
}
.asdlc-instiller .asdlc-item::before { background: rgba(255,255,255,0.18); }
.asdlc-agent .asdlc-item::before {
  background: #3a7bff; opacity: 0.85;
  box-shadow: 0 0 6px 1px rgba(58,123,255,0.4);
}
#asdlc-plan .asdlc-agent .asdlc-item::before {
  background: #d47ef0;
  box-shadow: 0 0 6px 1px rgba(212,126,240,0.4);
}
#asdlc-build .asdlc-agent .asdlc-item::before {
  background: #5b9aff;
  box-shadow: 0 0 6px 1px rgba(58,123,255,0.4);
}
#asdlc-ship .asdlc-agent .asdlc-item::before {
  background: #7bbac4;
  box-shadow: 0 0 6px 1px rgba(123,186,196,0.4);
}

/* ── Pills ───────────────────────────────────────────────────── */
.asdlc-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: var(--asdlc-space-section);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.asdlc-pill {
  display: inline-flex; align-items: center;
  padding: 5px 11px; border-radius: 6px;
  font-size: var(--asdlc-text-xs); font-weight: 700; letter-spacing: 0.01em;
  background: rgba(255,255,255,0.08);
  color: var(--asdlc-color-label);
  border: 1px solid var(--asdlc-border-strong);
}

/* ── Agent Cards ─────────────────────────────────────────────── */
.asdlc-agents-grid {
  padding: 0 40px 50px 40px;
  background: rgba(0, 0, 0, 0.8);
}

.asdlc-agents-inner {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 50px;
}

.asdlc-agents-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.asdlc-agent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.03);
  border: none;
  border-radius: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.asdlc-agent-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--asdlc-border-strong);
  transform: translateY(-2px);
}

.asdlc-agent-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 123, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 12px;
}

.asdlc-agent-icon svg {
  width: 24px;
  height: 24px;
  color: #5b9aff;
}

/* Per-section agent card colour profiles */
#asdlc-plan .asdlc-agent-icon   { background: rgba(212,126,240,0.12); }
#asdlc-plan .asdlc-agent-icon svg { color: #d47ef0; }
#asdlc-plan .asdlc-agent-card:hover { background: rgba(212,126,240,0.06); }

#asdlc-build .asdlc-agent-icon  { background: rgba(58,123,255,0.15); }
#asdlc-build .asdlc-agent-icon svg { color: #5b9aff; }
#asdlc-build .asdlc-agent-card:hover { background: rgba(58,123,255,0.06); }

#asdlc-ship .asdlc-agent-icon   { background: rgba(123,186,196,0.12); }
#asdlc-ship .asdlc-agent-icon svg { color: #7bbac4; }
#asdlc-ship .asdlc-agent-card:hover { background: rgba(123,186,196,0.06); }

.asdlc-agent-name {
  font-size: var(--asdlc-text-xs);
  font-weight: 600;
  color: var(--asdlc-color-body);
  line-height: var(--asdlc-lh-compact);
}

/* ── Outputs ─────────────────────────────────────────────────── */
.asdlc-outputs {
  padding: var(--asdlc-space-section);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.asdlc-out-label {
  font-size: var(--asdlc-text-sm); font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase; color: white;
  margin-right: 4px; white-space: nowrap;
}
.asdlc-artifact {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-size: var(--asdlc-text-xs); font-weight: 700;
  background: rgba(255,255,255,0.08);
  color: var(--asdlc-color-label);
  border: 1px solid var(--asdlc-border-strong);
}
.asdlc-artifact::before {
  content: ''; width: 5px; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.2);
}

/* ── Cycle note ──────────────────────────────────────────────── */
.asdlc-cycle-note {
  padding: var(--asdlc-space-section);
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--asdlc-bg-subtle);
  border-left: 3px solid rgba(255,255,255,0.1);
}
.asdlc-cycle-note p {
  font-size: var(--asdlc-text-sm); line-height: var(--asdlc-lh-body);
  color: var(--asdlc-color-muted); margin: 0;
}
.asdlc-cycle-note strong { color: var(--asdlc-color-body); }

/* ── Pillars ─────────────────────────────────────────────────── */
.asdlc-pillar { background: transparent; padding: 50px 40px; }
.asdlc-pillar:not(:last-child) { border-right: 1px solid var(--asdlc-border-light); }
.asdlc-pillar h3,
.asdlc-practice h3 {
  font-family: var(--font-family-sans-serif);
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  font-weight: 400; letter-spacing: 0;
  color: var(--asdlc-color-heading); margin: 0 0 14px;
}
.asdlc-pillar p {
  font-size: var(--asdlc-text-base); line-height: var(--asdlc-lh-body);
  color: var(--asdlc-color-body); margin: 0;
}

/* ── Practice cards ──────────────────────────────────────────── */
.asdlc-practice { background: transparent; padding: 50px 40px; }
.asdlc-practice:not(:last-child) { border-right: 1px solid var(--asdlc-border-light); }
.asdlc-practice p {
  font-size: var(--asdlc-text-base); color: var(--asdlc-color-body);
  line-height: var(--asdlc-lh-body); margin: 0;
}

/* ── Closing statement ───────────────────────────────────────── */
.asdlc-closing {
  padding: 80px 40px 100px;
  max-width: 720px;
  margin-bottom: 100px;
}
.asdlc-closing-body {
  font-size: var(--asdlc-text-base);
  color: var(--asdlc-color-muted);
  line-height: var(--asdlc-lh-body);
  margin: 0 0 32px;
}
.asdlc-closing-statement {
  font-size: 32px;
  color: var(--asdlc-color-heading);
  line-height: var(--asdlc-lh-compact);
  font-weight: 400;
  margin: 0 0 40px;
}
.asdlc-closing-statement strong {
  font-weight: 700;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.asdlc-cta { 
  padding: 60px 40px; 
  text-align: left;
  background: transparent;
}

/* Make the CTA band header left aligned */
.asdlc-band:has(.asdlc-cta) .asdlc-band-header {
  text-align: left;
  padding: 60px 40px 20px;
}

.asdlc-cta p {
  font-size: var(--asdlc-text-base); line-height: var(--asdlc-lh-body);
  color: var(--asdlc-color-body); margin: 0 0 28px; max-width: 680px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 992px) {
  .asdlc-grid-2, .asdlc-grid-3 { grid-template-columns: 1fr; }
  .asdlc-closing { max-width: none; }
  
  .asdlc-agents-cards {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  
  /* Left-aligned hero adjustments for tablet */
  .asdlc-hero--left .asdlc-hero-content {
    max-width: 70vw;
  }
  .asdlc-hero--left .asdlc-hero-body {
    max-width: 60vw;
  }
}
@media (max-width: 768px) {
  .asdlc-band-header p { max-width: none; }

  /* Use consistent mobile spacing */
  .asdlc-band-header, .asdlc-intro, .asdlc-role,
  .asdlc-pillar, .asdlc-practice, .asdlc-cta { padding: var(--asdlc-space-mobile); }
  .asdlc-phase, .asdlc-pills, .asdlc-outputs, .asdlc-agents-grid { padding: var(--asdlc-space-mobile); }
  .asdlc-grid-wrapper { padding: 20px; }
  .asdlc-closing { padding: 60px 20px 80px; }
  .asdlc-closing-statement { font-size: 22px; }
  
  /* Mobile-optimized tabs */
  .asdlc-tabs-wrapper {
    padding: var(--asdlc-space-mobile);
  }
  
  .asdlc-tabs {
    /* Maintain 3-column grid but with tighter spacing */
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
  }
  
  .asdlc-tab { 
    padding: 16px 12px 12px;
    /* Enhanced touch targets */
    min-height: var(--asdlc-space-touch);
    position: relative;
  }
  
  /* Optimize tab typography for mobile */
  .asdlc-tab-kicker {
    font-size: 18px;
    line-height: 1.2;
  }
  
  .asdlc-tab-sub {
    font-size: 11px;
    line-height: 1.3;
    margin-top: 2px;
  }
  
  /* Touch-friendly hover states */
  @media (hover: none) and (pointer: coarse) {
    .asdlc-tab:active {
      background-color: rgba(255,255,255,0.12);
      transform: scale(0.98);
      transition: all 0.1s ease;
    }
    
    /* Enhanced active state visibility */
    .asdlc-tab.active:active {
      background-color: rgba(0, 0, 0, 0.9);
    }
  }
  
  /* Remove hover effects on touch devices for better UX */
  @media (hover: none) {
    .asdlc-tab:not(.active):hover { 
      opacity: 0.48; 
    }
    .asdlc-tab:not(.active):hover .asdlc-tab-kicker { 
      color: var(--asdlc-color-muted); 
    }
  }
  
  /* Enhanced focus for keyboard navigation */
  .asdlc-tab:focus-visible {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: -2px;
  }
  
  .asdlc-agents-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .asdlc-agent-card {
    padding: 20px 12px;
  }
  
  .asdlc-agent-icon {
    width: 40px;
    height: 40px;
  }
  
  .asdlc-agent-icon svg {
    width: 20px;
    height: 20px;
  }
  
  /* Left-aligned hero adjustments for mobile */
  .asdlc-hero--left .asdlc-hero-inner {
    padding: 0 4vw;
  }
  .asdlc-hero--left .asdlc-hero-content {
    max-width: 90vw;
  }
  .asdlc-hero--left .asdlc-hero-body {
    max-width: 85vw;
  }
}
@media (max-width: 640px) {
  /* Mobile viewport optimization */
  .asdlc-hero {
    height: 100vh;
    height: 100svh; /* Safe area viewport height */
  }
  
  /* Respect safe areas on modern devices */
  .asdlc-hero--left .asdlc-hero-inner {
    padding: env(safe-area-inset-top) max(4vw, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4vw, env(safe-area-inset-left));
  }
  
  /* Compact tabs for small screens */
  .asdlc-tab {
    padding: 14px 8px 10px;
  }
  
  .asdlc-tab-kicker {
    font-size: 16px;
    font-weight: 500; /* Slightly bolder for small text */
  }
  
  .asdlc-tab-sub {
    font-size: 10px;
    opacity: 0.8;
  }
  
  /* Ensure both animated elements stay in sync on mobile */
  .splitflap-title {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }
  
  .splitflap-subtitle {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }
  
  .splitflap-hero {
    letter-spacing: -0.04em;
    line-height: var(--asdlc-lh-tight);
    font-weight: 500;
    min-height: 1.15em;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
/* ── Additional mobile optimizations at 480px and below ──────── */
@media (max-width: 480px) {
  .asdlc-tabs-wrapper {
    padding: 24px 16px;
  }
  
  .asdlc-tab {
    padding: 12px 6px 8px;
    min-height: 48px; /* WCAG minimum touch target */
  }
  
  .asdlc-tab-kicker {
    font-size: 15px;
    font-weight: 600;
  }
  
  .asdlc-tab-sub {
    font-size: 9px;
    margin-top: 1px;
  }
  
  /* Visual feedback for very small screens */
  .asdlc-tab.active {
    background: rgba(0, 0, 0, 0.85);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
}

  /* Maintain left alignment on mobile for left variant */
  .asdlc-hero--left .splitflap-hero {
    justify-content: flex-start;
  }
}

/* ── Agent Detail Drawer ──────────────────────────────────────── */
.asdlc-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.asdlc-detail-overlay.active { opacity: 1; visibility: visible; }

.asdlc-detail-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 480px;
  max-width: 92vw;
  height: 100vh;
  background: #0c0c0e;
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -8px 0 48px rgba(0,0,0,0.7);
  z-index: 1041;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.asdlc-detail-drawer.active { transform: translateX(0); }

.asdlc-drawer-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  background: #0c0c0e;
  z-index: 2;
}

.asdlc-drawer-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 30px; height: 30px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}
.asdlc-drawer-close:hover {
  background: rgba(255,255,255,0.08);
  color: var(--asdlc-color-heading);
  border-color: rgba(255,255,255,0.2);
}

.asdlc-drawer-stage {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.asdlc-drawer-stage.plan  { background: rgba(212,126,240,0.1); color: #d47ef0; border: 1px solid rgba(212,126,240,0.2); }
.asdlc-drawer-stage.build { background: rgba(58,123,255,0.1);  color: #5b9aff; border: 1px solid rgba(58,123,255,0.2); }
.asdlc-drawer-stage.ship  { background: rgba(123,186,196,0.1); color: #7bbac4; border: 1px solid rgba(123,186,196,0.2); }

.asdlc-drawer-title {
  font-family: var(--font-family-headings);
  font-size: 22px;
  font-weight: 300;
  color: var(--asdlc-color-heading);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.asdlc-drawer-desc {
  font-size: 14px;
  color: var(--asdlc-color-muted);
  line-height: var(--asdlc-lh-compact);
}

.asdlc-drawer-body {
  padding: 28px 32px 48px;
  flex: 1;
}

.asdlc-drawer-section { margin-bottom: 28px; }
.asdlc-drawer-section:last-child { margin-bottom: 0; }

.asdlc-drawer-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.asdlc-drawer-list-item {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  padding: 8px 0 8px 18px;
  position: relative;
  line-height: var(--asdlc-lh-compact);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.asdlc-drawer-list-item:last-child { border-bottom: none; }
.asdlc-drawer-list-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #3a7bff;
  opacity: 0.55;
  box-shadow: 0 0 5px 1px rgba(58,123,255,0.3);
}
.asdlc-detail-drawer.stage-plan .asdlc-drawer-list-item::before {
  background: #d47ef0;
  box-shadow: 0 0 5px 1px rgba(212,126,240,0.3);
}
.asdlc-detail-drawer.stage-build .asdlc-drawer-list-item::before {
  background: #5b9aff;
  box-shadow: 0 0 5px 1px rgba(58,123,255,0.3);
}
.asdlc-detail-drawer.stage-ship .asdlc-drawer-list-item::before {
  background: #7bbac4;
  box-shadow: 0 0 5px 1px rgba(123,186,196,0.3);
}

.asdlc-drawer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}
.asdlc-drawer-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.08);
  color: var(--asdlc-color-label);
  border: 1px solid rgba(255,255,255,0.08);
}
.asdlc-drawer-chip--link {
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.asdlc-drawer-chip--link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
  color: var(--asdlc-color-muted);
}
.asdlc-drawer-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  padding: 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--asdlc-color-label);
  cursor: pointer;
  transition: color 0.15s;
}
.asdlc-drawer-breadcrumb:hover {
  color: var(--asdlc-color-muted);
}


@media (max-width: 640px) {
  .asdlc-detail-drawer { width: 100vw; max-width: 100vw; }
  .asdlc-drawer-header { padding: 24px 20px 20px; }
  .asdlc-drawer-body   { padding: 20px 20px 40px; }
}