@charset "UTF-8";
/* ==========================================================================
   21C Public Editorial & Showcase Pages (V2 Redesign)
   Matches 21C V2 Prototype: Dark Precision Hero + Floating Resource Dock +
   Swiss Bento Cards + Authentic Cobalt Brand Shell
   ========================================================================== */

:root {
  --public-ink: var(--ink-primary);
  --public-dark: var(--bg-dark);
  --public-paper: var(--bg-canvas);
  --public-line: #E2E8F0;
  --public-muted: var(--ink-secondary);
  --public-cyan: var(--brand-ice);
  --public-orange: var(--brand-cobalt);
  --public-gutter: clamp(18px, 4vw, 48px);
}

.frame {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: var(--public-gutter);
}

/* ==========================================================================
   HEADER LOGO LOCKUP & DROPDOWN MENUS
   ========================================================================== */
.site-header,
.site-footer {
  padding-inline: max(var(--public-gutter), calc((100vw - 1280px) / 2 + var(--public-gutter)));
}
.site-header .account-link,
.site-header .menu-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-header .menu-toggle { display: none; }

.brand-lockup {
  display: block;
  position: relative;
  width: 224px;
  max-width: 100%;
  aspect-ratio: 3560 / 610;
  overflow: hidden;
}
.brand-lockup > img {
  /* Trim transparent margins around the full 21C lockup PNG */
  position: absolute;
  top: -23.77%;
  left: -6.32%;
  width: 112.05%;
  height: auto;
  max-width: none;
  max-height: none;
  filter: none;
}
/* Invert logo only inside the dark footer */
.site-footer .brand-lockup > img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.nav-group { position: relative; }
.nav-group-controls { display: flex; align-items: center; }
.site-header .nav-group-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding-right: 4px;
}
.nav-group-toggle {
  display: grid;
  place-items: center;
  width: 24px;
  min-height: 40px;
  padding: 0;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
}
.nav-group-toggle:hover { color: var(--brand-cobalt); }
.nav-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav-group-toggle[aria-expanded="true"] .nav-chevron {
  transform: translateY(2px) rotate(225deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 200;
  width: max-content;
  min-width: 230px;
  max-width: 300px;
  padding: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
/* Invisible hover bridge so moving pointer from trigger to dropdown never triggers pointerleave */
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: -12px;
  height: 14px;
}
.nav-dropdown[hidden] { display: none; }
.site-header .nav-dropdown a {
  display: flex;
  align-items: center;
  white-space: normal;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--ink-primary);
  font-size: 0.875rem;
  font-weight: 500;
}
.site-header .nav-dropdown a:hover {
  background: var(--brand-cobalt-soft);
  color: var(--brand-cobalt);
}

.site-footer :focus-visible,
.hero-stage :focus-visible,
.lab-hero :focus-visible,
.footer-banner :focus-visible,
.section-visual :focus-visible {
  outline-color: var(--brand-ice);
}

/* ==========================================================================
   SECTION MARKERS & EDITORIAL LINKS
   ========================================================================== */
.section-marker {
  color: var(--brand-cobalt);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.section-marker::before {
  content: "";
  background: currentColor;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  flex: none;
}
.editorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 26px;
}
.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-cobalt);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.editorial-link:hover { color: var(--brand-cobalt-hover); }

/* ==========================================================================
   HOME HERO — DARK PRECISION ARCHITECTURAL STAGE
   ========================================================================== */
.hero-stage {
  position: relative;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  overflow: hidden;
  padding-block: clamp(44px, 5.5vw, 80px) clamp(76px, 7.5vw, 108px);
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 75% at 60% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-stage::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -80px;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 83, 184, 0.34) 0%, rgba(56, 189, 248, 0.10) 45%, transparent 72%);
  pointer-events: none;
}
.editorial-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #7DD3FC;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.26);
  flex: none;
}
.editorial-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 3.9rem);
  line-height: 1.13;
  letter-spacing: -0.025em;
  margin: 18px 0 18px;
  color: #FFFFFF;
}
.editorial-copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #60A5FA 0%, #38BDF8 55%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.editorial-copy > p:not(.section-marker) {
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  color: #CBD5E1;
  max-width: 48ch;
  line-height: 1.72;
  margin: 0;
}
.hero-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
}
.hero-meta-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #F8FAFC;
  margin-bottom: 3px;
}
.hero-meta-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-on-dark-muted);
  line-height: 1.48;
}

.editorial-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.editorial-photos figure {
  margin: 0;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111827;
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.55);
}
.editorial-photos figure.hero-photo-main {
  grid-column: 1 / -1;
}
.editorial-photos figure.hero-photo-main img {
  aspect-ratio: 16 / 9;
}
.editorial-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 550ms var(--ease-out);
}
.editorial-photos figure:hover img { transform: scale(1.03); }
.editorial-photos figcaption,
.lab-photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  color: #E2E8F0;
  background: rgba(9, 14, 26, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  border-radius: 8px;
}

/* ==========================================================================
   FLOATING QUICK RESOURCE DOCK (Overlapping Hero Bottom)
   ========================================================================== */
.quick-dock-wrap {
  position: relative;
  z-index: 10;
  margin-top: -42px;
}
.quick-dock-wrap--after-banners {
  margin-top: 8px;
}
.quick-dock {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1.65fr 1px 1fr;
  gap: 20px;
  align-items: center;
}
.dock-divider {
  width: 1px;
  height: 54px;
  background: var(--border-hairline);
}
.dock-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
  padding-left: 4px;
}
.dock-pill {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--brand-cobalt-soft);
  color: var(--brand-cobalt);
}
.dock-pill.emerald {
  background: var(--signal-emerald-soft);
  color: #047857;
}
.dock-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.dock-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.dock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease-out);
}
.dock-item:hover {
  background: var(--bg-canvas);
  border-color: var(--brand-cobalt-border);
  transform: translateY(-1px);
  color: var(--ink-primary);
}
.dock-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-cobalt-soft);
  color: var(--brand-cobalt);
  flex: none;
}
.dock-icon.emerald {
  background: var(--signal-emerald-soft);
  color: #059669;
}
.dock-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.3;
}
.dock-text span {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   BUILDER JOURNEY — 4-COLUMN SWISS BENTO CARDS
   ========================================================================== */
.journey-band {
  background: transparent;
  color: var(--ink-primary);
  padding-block: clamp(48px, 6vw, 76px);
}
.journey-band header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
}
.journey-band h2 {
  margin: 8px 0 6px;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
}
.journey-band header p {
  color: var(--ink-secondary);
  margin: 0;
  max-width: 56ch;
}
.journey-grid {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}
.journey-grid li { min-width: 0; }
.journey-grid a {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-base) var(--ease-out);
}
.journey-grid a:hover {
  border-color: var(--brand-cobalt-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--ink-primary);
}
.journey-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.journey-step-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brand-cobalt);
  background: var(--brand-cobalt-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.journey-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--bg-dark);
  padding: 6px;
}
.journey-grid h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--ink-primary);
}
.journey-grid p {
  margin: 0 0 10px;
  color: var(--ink-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}
.journey-link {
  margin-top: auto;
  color: var(--brand-cobalt);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ==========================================================================
   NEWCOMER ONBOARDING & ECOSYSTEM STRIP
   ========================================================================== */
.newcomer-wrap {
  padding-bottom: clamp(48px, 5vw, 72px);
}
.newcomer {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 46px);
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5FB 100%);
  border: 1px solid var(--brand-cobalt-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.newcomer h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ink-primary);
}
.newcomer p:not(.section-marker) {
  max-width: 46ch;
  color: var(--ink-secondary);
  margin-bottom: 22px;
}
.newcomer-copy { min-width: 0; }
.newcomer-copy h3 {
  margin: 0 0 12px;
  font-size: 0.78rem;
}
.newcomer-route {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.newcomer-route a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--dur-fast) var(--ease-out);
}
.newcomer-route a:hover {
  border-color: var(--brand-cobalt);
  color: var(--brand-cobalt);
  transform: translateX(2px);
}
.newcomer-step-num {
  color: var(--brand-cobalt);
  margin-right: 6px;
}
.newcomer-map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}

.eco-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}
.eco-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-fast) var(--ease-out);
}
.eco-box:hover {
  border-color: var(--brand-cobalt-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.eco-box.dark-accent {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--border-dark);
}
.eco-box.dark-accent .section-marker { color: var(--brand-ice); }
.eco-box.dark-accent p { color: #94A3B8; }
.eco-box.dark-accent a { color: var(--brand-ice); }
.eco-box h3 { margin: 0; font-size: 1.05rem; }
.eco-box p { margin: 0; font-size: 0.88rem; color: var(--ink-secondary); }
.eco-box a { font-size: 0.86rem; font-weight: 600; color: var(--brand-cobalt); }

/* ==========================================================================
   PUBLIC EDITORIAL INTRO, SERVICES DIRECTORY, FILTER & STATES
   ========================================================================== */
.editorial-intro {
  padding-block: clamp(36px, 5vw, 64px);
}
.editorial-intro h1 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}
.editorial-intro > p:not(.section-marker, .state-note) {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  max-width: 58ch;
  line-height: 1.7;
}
.content-section { padding-block: 28px 48px; }
.editorial-heading {
  border-top: 1px solid var(--border-hairline);
  padding-top: 20px;
  margin-bottom: 24px;
}
.editorial-heading h2 { margin: 0 0 8px; }
.editorial-heading p { color: var(--ink-secondary); margin: 0; max-width: 68ch; }

.service-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 16px;
}
.service-directory a {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-fast) var(--ease-out);
}
.service-directory a:hover,
.service-directory a[aria-current="true"] {
  border-color: var(--brand-cobalt);
  background: var(--brand-cobalt-soft);
  transform: translateY(-2px);
}
.service-directory h3 { margin: 0 0 6px; font-size: 1.04rem; color: var(--ink-primary); }
.service-directory p,
.prepare-grid p { color: var(--ink-secondary); font-size: 0.88rem; margin: 0; }
.service-directory a > span { color: var(--brand-cobalt); font-weight: 700; }

.compact-filter {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 16px 24px;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
}
.compact-filter > div { flex: 0 1 240px; min-width: min(100%, 165px); }
.compact-filter label { margin-bottom: 4px; }

.editorial-state {
  grid-column: 1 / -1;
  padding: 24px clamp(18px, 3vw, 30px);
  margin-block: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-left: 4px solid var(--brand-cobalt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.editorial-state h3,
.editorial-state h2 { margin: 0 0 8px; }
.editorial-state p { margin: 0 0 10px; max-width: 68ch; color: var(--ink-secondary); }
.editorial-state a {
  color: var(--brand-cobalt);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.state-note {
  padding: 12px 16px;
  border-left: 4px solid var(--brand-cobalt);
  border-radius: var(--radius-sm);
  background: var(--brand-cobalt-soft);
  color: var(--ink-primary);
  width: fit-content;
}

.editorial-links { display: grid; gap: 10px; }
.editorial-links > a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  align-items: center;
  transition: all var(--dur-fast);
}
.editorial-links > a:hover {
  border-color: var(--brand-cobalt);
  background: var(--brand-cobalt-soft);
}
.editorial-links small { display: block; color: var(--ink-secondary); margin-top: 2px; }
.editorial-links span { color: var(--brand-cobalt); font-weight: 700; }

.jump-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-cobalt-soft);
  color: var(--brand-cobalt);
  font-size: 0.86rem;
  font-weight: 600;
}
.jump-links a:hover { background: var(--brand-cobalt); color: #FFFFFF; }

.guide-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px 36px;
  padding-block: 28px;
}
.guide-section > div {
  border-top: 1px solid var(--border-hairline);
  padding-top: 20px;
}
.guide-section h2, .guide-section h3 { margin-top: 0; }
.guide-section li + li { margin-top: 6px; }
.guide-section p { color: var(--ink-secondary); }

.journal-list { display: grid; gap: 14px; }
.journal-list .card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr);
  gap: 8px 24px;
  align-items: start;
}
.journal-list .card .badge { grid-column: 1 / -1; justify-self: start; }
.journal-list .card > p { margin: 0; }
.journal-list .card > a { justify-self: start; color: var(--brand-cobalt); text-decoration: underline; }

/* ==========================================================================
   ROBLAB & SECTION VISUAL BANNERS
   ========================================================================== */
.lab-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-dark);
  color: #FFFFFF;
}
.lab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: -1;
  pointer-events: none;
}
.lab-grid {
  display: grid;
  min-height: clamp(380px, 44vw, 560px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding-block: clamp(44px, 5vw, 72px);
}
.lab-copy { position: relative; z-index: 1; }
.lab-copy h1 { color: #FFFFFF; font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: 12px 0 18px; }
.lab-copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #60A5FA 0%, #38BDF8 65%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lab-copy .section-marker { color: var(--brand-ice); }
.lab-copy p:not(.section-marker) { color: #CBD5E1; max-width: 44ch; line-height: 1.7; }
.lab-copy .editorial-link { color: #93C5FD; }
.lab-copy .editorial-link:hover { color: #FFFFFF; }
.lab-photo {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
}
.lab-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.lab-paths,
.lab-first-test,
.lab-equipment {
  padding-block: clamp(32px, 4.5vw, 56px);
}
.lab-paths header h2,
.lab-first-test h2 { margin: 8px 0 8px; }
.lab-shortcuts {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.lab-shortcuts a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-base) var(--ease-out);
}
.lab-shortcuts a:hover {
  border-color: var(--brand-cobalt-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.lab-shortcuts img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 10px;
}
.lab-shortcuts h3 { margin: 0 0 6px; font-size: 1.12rem; color: var(--ink-primary); }
.lab-shortcuts p { margin: 0; color: var(--ink-secondary); font-size: 0.9rem; }

.lab-first-test { padding-top: 0; }
.lab-first-inner {
  border-top: 1px solid var(--border-hairline);
  padding-top: clamp(28px, 4vw, 48px);
}
.lab-first-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
  margin-top: 24px;
}
.lab-first-photo { margin: 0; }
.lab-first-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
}
.lab-first-photo figcaption {
  color: var(--ink-muted);
  font-size: 0.82rem;
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--brand-cobalt);
}
.lab-first-steps {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-xs);
}
.lab-first-steps h3 {
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-cobalt);
}
.lab-first-steps ol { counter-reset: lab-step; list-style: none; padding: 0; margin: 0; }
.lab-first-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  counter-increment: lab-step;
}
.lab-first-steps li + li { border-top: 1px solid var(--border-hairline); }
.lab-first-steps li::before {
  content: "0" counter(lab-step);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-cobalt-soft);
  color: var(--brand-cobalt);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}
.lab-first-steps h4 { margin: 0 0 4px; font-size: 0.98rem; }
.lab-first-steps p { margin: 0; color: var(--ink-secondary); font-size: 0.86rem; }
.lab-equipment { padding-top: 0; }

/* Section Visual Banner (Products, GRAC, Intake) */
.section-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-dark);
  color: #FFFFFF;
}
.section-visual-content {
  padding-block: clamp(40px, 5vw, 68px);
}
.section-visual-content h1 {
  color: #FFFFFF;
  max-width: 62%;
  margin: 10px 0 12px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}
.section-visual-content p:not(.section-marker) {
  max-width: min(52ch, 58%);
  color: #CBD5E1;
  margin-bottom: 20px;
}
.section-visual-content .section-marker { color: var(--brand-ice); }
.section-art {
  position: absolute;
  inset: 0 0 0 auto;
  margin: 0;
  width: 56%;
  height: 100%;
  z-index: -2;
}
.section-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.section-art figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #E2E8F0;
  background: rgba(9, 14, 26, 0.82);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
}
.section-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #090E1A 0%, #090E1A 38%, rgba(9, 14, 26, 0.72) 60%, rgba(9, 14, 26, 0.18) 88%);
  z-index: -1;
  pointer-events: none;
}
.section-visual-grac .section-visual-content h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.section-visual-grac .badge {
  color: #090E1A;
  background: var(--brand-ice);
  border-color: transparent;
}
.grac-facts { max-width: 820px; }
.grac-facts div {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border-hairline);
}
.grac-facts dt { font-weight: 700; color: var(--ink-primary); }
.grac-facts dd { margin: 0; color: var(--ink-secondary); }
.intake-guide-controls { padding-top: 24px; }
.intake-guide-controls .state-note { margin-bottom: 12px; }

/* ==========================================================================
   BANNER CAROUSEL
   ========================================================================== */
.banner-carousel.frame {
  border: 0;
  background: transparent;
  box-shadow: none;
  margin: 0 auto;
  padding-block: clamp(32px, 4.5vw, 56px) 24px;
}
.banner-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
.banner-slide[hidden] { display: none; }
.banner-slide.has-image { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.banner-copy > p:not(.section-marker) { max-width: 54ch; color: var(--ink-secondary); }
.banner-carousel .banner-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.banner-controls { display: flex; gap: 6px; margin-top: 14px; }
.banner-controls button {
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  padding: 0 6px;
  min-height: 44px;
  min-width: 44px;
}
.banner-controls button span {
  display: block;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: #CBD5E1;
  transition: all var(--dur-fast);
}
.banner-controls button[aria-pressed="true"] span {
  width: 36px;
  background: var(--brand-cobalt);
}

/* ==========================================================================
   PRE-FOOTER CTA BANNER & DIRECTORY FOOTER
   ========================================================================== */
.footer-banner,
.site-footer:has(.footer-art) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.footer-banner {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-top: 1px solid var(--border-dark);
}
.footer-banner-photo,
.footer-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 55%;
  opacity: 0.5;
  z-index: -2;
}
.footer-banner::after,
.site-footer:has(.footer-art)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #090E1A 0%, #090E1A 36%, rgba(9, 14, 26, 0.72) 62%, rgba(9, 14, 26, 0.22) 100%);
  z-index: -1;
  pointer-events: none;
}
.footer-banner-copy {
  padding-block: clamp(44px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.footer-banner .section-marker { color: var(--brand-ice); margin-bottom: 8px; }
.footer-banner h2 {
  color: #FFFFFF;
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}
.footer-banner p {
  max-width: 44ch;
  margin: 0 0 22px;
  color: #CBD5E1;
}
.footer-banner + .site-footer {
  margin-top: 0;
}
.page-home .site-footer,
.page-roblab .site-footer {
  margin-top: 0;
}

.footer-directory {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
  gap: 24px 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-directory .footer-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
}
.footer-directory .footer-brand > img {
  max-height: 32px;
  max-width: 160px;
  object-fit: contain;
}
.footer-directory .footer-brand small {
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
}
.footer-directory nav h2 {
  color: #F8FAFC;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.footer-directory nav a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  color: #94A3B8;
  font-size: 0.85rem;
}
.footer-directory nav a:hover {
  color: var(--brand-ice);
}
.footer-directory .footer-spotlight {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-directory .footer-spotlight a {
  color: #7DD3FC;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ==========================================================================
   EXAMPLE PREVIEW PAGES & SWITCHERS
   ========================================================================== */
.example-intro { padding-bottom: 24px; }
.example-breadcrumb { color: var(--ink-muted); font-size: 0.86rem; margin-bottom: 14px; }
.example-breadcrumb a { color: var(--brand-cobalt); text-decoration: underline; text-underline-offset: 3px; }
.example-breadcrumb span { margin-inline: 6px; }
.example-notice {
  margin-block: 14px 20px;
  max-width: 72ch;
  color: #1E3A8A;
  font-size: 0.9rem;
  border-left: 4px solid var(--brand-cobalt);
  border-radius: var(--radius-sm);
  background: #EFF6FF;
  padding: 12px 16px;
}
.example-content { padding-top: 12px; }
.example-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.example-filters > div { flex: 0 1 230px; }
.example-results { color: var(--ink-muted); margin: 16px 0 10px; }
.examples-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.example-entry {
  display: block;
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-base) var(--ease-out);
}
.example-entry:hover {
  border-color: var(--brand-cobalt-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.example-entry > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.example-entry-text { padding: 18px 20px; }
.example-entry-text h2 { font-size: 1.15rem; margin: 6px 0; }
.example-entry-text p { color: var(--ink-secondary); margin-bottom: 10px; font-size: 0.9rem; }
.example-entry-text strong { display: inline-block; color: var(--brand-cobalt); font-size: 0.86rem; }

.examples-list { display: grid; gap: 14px; }
.examples-list .example-entry {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
}
.examples-list .example-entry > img { border-radius: var(--radius-md); }

.example-detail { padding-block: clamp(28px, 4vw, 54px); }
.example-detail header h1 { margin: 10px 0 8px; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.example-detail header p { color: var(--ink-secondary); max-width: 60ch; font-size: 1.04rem; }
.example-detail-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(240px, 1fr); gap: 28px; align-items: start; }
.example-feature { margin: 0 0 24px; }
.example-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.example-feature figcaption { font-size: 0.8rem; color: var(--ink-muted); margin-top: 6px; }
.example-detail-body { border-top: 1px solid var(--border-hairline); padding-block: 18px; }
.example-detail-body h2, .example-facts h2, .example-nav h2 { margin: 0 0 10px; font-size: 1.18rem; }
.example-facts {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-left: 4px solid var(--brand-cobalt);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}
.example-facts dl { margin: 0 0 16px; display: grid; grid-template-columns: minmax(60px, 1fr) 1.4fr; gap: 10px; font-size: 0.9rem; }
.example-facts dd { margin: 0; font-weight: 600; }
.example-nav { padding-block: 12px 28px; }
.example-nav a {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px 6px 0 0;
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  background: var(--bg-surface);
  font-size: 0.84rem;
}
.example-nav a[aria-current="true"],
.example-nav a:hover {
  background: var(--brand-cobalt);
  border-color: var(--brand-cobalt);
  color: #FFFFFF;
}
.home-example-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--brand-cobalt);
}
.home-example-link:hover { color: var(--brand-cobalt-hover); }
.hero-stage .home-example-link { color: #93C5FD; }
.hero-stage .home-example-link:hover { color: #FFFFFF; }
.home-example-entry { padding-bottom: 12px; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1360px) and (min-width: 1280px) {
  .site-header { gap: 16px; }
  .brand-lockup { width: 204px; }
  .site-header nav a { padding: 8px 10px; }
}

@media (max-width: 1279px) {
  .site-header .menu-toggle { display: inline-flex; margin-left: auto; }
  .site-header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 20px var(--public-gutter) 24px;
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
  }
  .site-header nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 8px 20px;
    max-height: 72vh;
    max-height: min(72dvh, calc(100dvh - var(--header-height)));
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .site-header nav a { min-height: 44px; font-size: 0.92rem; white-space: normal; }
  .nav-group { grid-column: 1 / -1; }
  .nav-group-controls { justify-content: space-between; border-bottom: 1px solid var(--border-hairline); }
  .site-header .nav-group-link { flex: 1; }
  .nav-group-toggle { width: 44px; min-height: 44px; }
  .nav-dropdown::before { content: none; }
  .nav-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 6px;
    box-shadow: none;
    background: var(--bg-canvas);
  }
}

@media (max-width: 1024px) {
  .editorial-hero,
  .lab-grid,
  .newcomer,
  .lab-first-grid { grid-template-columns: 1fr; }
  .quick-dock { grid-template-columns: 1fr; gap: 14px; }
  .dock-divider { width: 100%; height: 1px; }
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-directory,
  .lab-shortcuts,
  .eco-strip,
  .examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-ident { grid-column: 1 / -1; }
  .footer-directory .footer-spotlight { border-left: 0; padding-left: 0; }
}

@media (max-width: 720px) {
  .site-header { flex-wrap: wrap; row-gap: 8px; gap: 10px; }
  .site-header .brand { flex-basis: 100%; }
  .brand-lockup { width: 205px; }
  .site-header .menu-toggle { margin-inline: 0 auto; }
  .site-header .account-link { padding-inline: 10px; }
}

@media (max-width: 640px) {
  .header-cta { display: none; }
  .hero-stage { padding-block: 32px 64px; }
  .hero-meta-strip,
  .dock-grid-4,
  .dock-grid-2,
  .journey-grid,
  .newcomer-route,
  .service-directory,
  .lab-shortcuts,
  .eco-strip,
  .examples-grid,
  .guide-section,
  .example-detail-layout,
  .journal-list .card,
  .banner-slide.has-image { grid-template-columns: 1fr; }
  .editorial-photos { grid-template-columns: 1fr; }
  .section-visual-content h1,
  .section-visual-content p:not(.section-marker) { max-width: 100%; }
  .section-art { width: 82%; }
  .section-visual::after {
    background: linear-gradient(90deg, #090E1A 10%, rgba(9, 14, 26, 0.88) 56%, rgba(9, 14, 26, 0.55) 100%);
  }
  .examples-list .example-entry { grid-template-columns: 104px minmax(0, 1fr); }
  .editorial-link { min-height: 44px; }
  .site-header .language,
  .site-header .account-link,
  .site-header .menu-toggle { min-height: 44px; }
  .footer-directory nav a { min-height: 44px; display: flex; align-items: center; }
  .footer-bottom a { min-height: 44px; min-width: 44px; padding-inline: 2px; display: inline-flex; align-items: center; }
}
