/* CØURYN Technologies — Light-Surface Executive Stylesheet (couryn.com)
   Brand Palette: #FFFFFF Pure White · #F4F7FB Cool Ice · #0B111A Core Obsidian Ink · #157AD4 CØURYN Blue · #1E293B / #334155 Body */

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

@property --drawer-backdrop {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

:root {
  --bg-page: #FFFFFF;
  --bg-surface: #F4F7FB;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFD;
  --bg-soft-blue: #F0F6FD;
  --bg-pill-active: #EEF4FB;
  --bg-theater: #060C14;
  --bg-void: #000000;
  --blue-primary: #157AD4;
  --blue-hover: #0E63B0;
  --blue-electric: #1E8CFF;
  --blue-soft: rgba(21, 122, 212, 0.10);
  --blue-border: rgba(21, 122, 212, 0.34);
  --emerald: #047857;
  --ink-white: #FFFFFF;
  --ink-heading: #0B111A;
  --ink-body: #1E293B;
  --ink-secondary: #334155;
  --ink-muted: #475569;
  --border-subtle: #E2E8F0;
  --border-card: #D8E2EE;
  --border-strong: #CBD5E1;
  --font-display: 'Chakra Petch', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 7px;
  --header-h: 60px;
  --drawer-width: min(312px, 84vw);
  --wrap-max: 1120px;
  --shadow-card: 0 1px 3px rgba(11, 17, 26, 0.06), 0 8px 24px rgba(11, 17, 26, 0.04);
  --shadow-card-hover: 0 4px 12px rgba(11, 17, 26, 0.08), 0 14px 30px rgba(21, 122, 212, 0.09);
  --shadow-media: 0 8px 24px rgba(11, 17, 26, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  container-type: scroll-state;
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--ink-heading);
  overflow-x: clip;
}

html.has-intro-lock,
html.has-intro-lock body {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

img, video, picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ink-heading);
}

p {
  margin: 0;
  color: var(--ink-body);
}

ul {
  margin: 0;
  padding: 0;
}

[hidden=""] {
  display: none !important;
}

[hidden]:not([hidden="until-found"]) {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--blue-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--blue-primary);
  color: var(--ink-white);
  font-family: var(--font-display);
  font-weight: 600;
}

.skip-link:focus {
  top: 10px;
}

.wrap {
  width: min(var(--wrap-max), calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap {
    width: min(var(--wrap-max), calc(100% - 48px));
  }
}

/* ============================================================
   COMPACT SINGLE-ROW AUTO-HIDING HEADER (<= 64px)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 200ms ease;
}

@container scroll-state((scrolled: bottom) and (scrollable: top)) {
  .site-header {
    transform: translateY(-100%);
  }
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header:focus-within,
.site-header.is-pinned {
  transform: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}

.brand-link img {
  width: 104px;
  height: 34px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .brand-link img {
    width: 112px;
    height: 37px;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 11px;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-body);
  border-radius: var(--radius-sm);
  transition: color 150ms ease, background-color 150ms ease;
}

.desktop-nav a:hover {
  color: var(--blue-primary);
  background: var(--bg-surface);
}

.desktop-nav a[aria-current="page"] {
  color: var(--blue-primary);
  font-weight: 600;
}

.desktop-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue-primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--ink-heading);
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.menu-trigger:hover {
  border-color: var(--blue-primary);
  background: var(--bg-soft-blue);
  color: var(--blue-primary);
}

.menu-trigger svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
  }
  .menu-trigger {
    display: none;
  }
}

/* ============================================================
   NATIVE TOP-LAYER SWIPE <dialog> MOBILE DRAWER
   ============================================================ */
.Drawer {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  max-width: none;
  height: 100svh;
  max-height: none;
  background: transparent;
  color: var(--ink-heading);
  overflow: hidden;
}

.Drawer:not([open]) {
  display: none;
}

.Drawer::backdrop {
  background: rgb(11 17 26 / calc(var(--drawer-backdrop, 1) * 0.56));
}

.Drawer-scroller {
  display: grid;
  grid-template-columns: var(--drawer-width) 100%;
  width: 100%;
  height: 100svh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior: none;
  scrollbar-width: none;
}

.Drawer-scroller::-webkit-scrollbar {
  display: none;
}

@supports (animation-timeline: scroll()) {
  @keyframes drawer-fade {
    from { --drawer-backdrop: 1; }
    to { --drawer-backdrop: 0; }
  }
  .Drawer-scroller {
    scroll-timeline-name: --drawer-x;
    scroll-timeline-axis: x;
  }
  .Drawer {
    timeline-scope: --drawer-x;
    animation: drawer-fade linear both;
    animation-timeline: --drawer-x;
  }
}

.Drawer-sheet {
  scroll-snap-align: start;
  scroll-initial-target: nearest;
  height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 20px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-page);
  border-right: 1px solid var(--border-subtle);
  box-shadow: 16px 0 42px rgba(11, 17, 26, 0.18);
  transform: translateX(0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

@starting-style {
  .Drawer[open] .Drawer-sheet {
    transform: translateX(-100%);
  }
}

.Drawer-backdrop-slot {
  scroll-snap-align: start;
  width: 100%;
  height: 100svh;
}

.Drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.Drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-heading);
  font-size: 1.1rem;
}

.Drawer-close:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.Drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.Drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-heading);
  border: 1px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.Drawer-nav a:hover {
  background: var(--bg-surface);
  color: var(--blue-primary);
}

.Drawer-nav a[aria-current="page"] {
  color: var(--blue-primary);
  background: var(--bg-pill-active);
  border-color: var(--blue-border);
}

.Drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.Drawer-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.Drawer-meta a:hover {
  color: var(--blue-primary);
}

/* ============================================================
   BUTTONS & INTERACTIVE CONTROLS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--ink-white);
}

.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: var(--ink-white);
}

.btn-ghost {
  background: var(--bg-page);
  border-color: var(--border-strong);
  color: var(--ink-heading);
}

.btn-ghost:hover {
  background: #F1F5F9;
  border-color: var(--blue-primary);
  color: var(--ink-heading);
}

.btn-full {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-primary);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-primary);
  flex-shrink: 0;
}

/* ============================================================
   THEATER-ONLY DARK EXCEPTION: CYBERHUD ENTRANCE & FILM MODAL
   ============================================================ */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #060C14;
  background-image: radial-gradient(ellipse at 50% 45%, #0D151F 0%, #091019 65%, #060C14 100%);
  opacity: 1;
  transition: opacity 280ms ease;
}

.intro-overlay.is-exiting {
  opacity: 0;
  pointer-events: none;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.intro-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .intro-controls {
    padding: 0 36px;
    bottom: 28px;
    gap: 16px;
  }
}

.intro-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.intro-skip {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(6, 12, 20, 0.78);
  backdrop-filter: blur(8px);
  color: var(--ink-white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .intro-label {
    font-size: 0.66rem;
    letter-spacing: 0.03em;
  }
  .intro-skip {
    padding: 10px 15px;
    font-size: 0.86rem;
  }
}

.intro-skip:hover {
  border-color: var(--blue-electric);
  background: rgba(21, 122, 212, 0.56);
}

/* ============================================================
   BRAND FILM MODAL DIALOG (THEATER-ONLY DARK EXCEPTION)
   ============================================================ */
.video-modal,
.film-dialog {
  width: min(940px, calc(100% - 24px));
  max-height: 92svh;
  padding: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(30, 140, 255, 0.42);
  background: var(--bg-theater);
  color: var(--ink-white);
  box-shadow: 0 28px 80px rgba(6, 12, 20, 0.65);
  overflow: hidden;
}

.video-modal::backdrop,
.film-dialog::backdrop {
  background: rgba(6, 12, 20, 0.82);
  backdrop-filter: blur(6px);
}

.video-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-theater);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.video-modal-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-white);
}

.video-modal .btn-ghost,
.film-dialog .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.30);
  color: var(--ink-white);
}

.video-modal .btn-ghost:hover,
.film-dialog .btn-ghost:hover {
  background: rgba(30, 140, 255, 0.24);
  border-color: var(--blue-electric);
  color: var(--ink-white);
}

.video-modal-stage {
  display: grid;
  place-items: center;
  background: var(--bg-void);
}

.video-modal-stage video {
  width: 100%;
  max-height: 76svh;
  object-fit: contain;
}

/* ============================================================
   HERO & PAGE HEADERS
   ============================================================ */
.hero {
  padding: 40px 0 36px;
  background: var(--bg-page);
}

@media (min-width: 768px) {
  .hero {
    padding: 60px 0 48px;
  }
}

.hero-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.35rem);
  line-height: 1.08;
}

.page-hero {
  padding: 36px 0 28px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 52px 0 36px;
  }
}

.page-hero h1 {
  margin-top: 10px;
  font-size: clamp(1.95rem, 4.4vw, 2.85rem);
}

.lead {
  font-size: clamp(1.02rem, 2vw, 1.14rem);
  line-height: 1.58;
  color: var(--ink-secondary);
  max-width: 62ch;
}

.page-hero .lead {
  margin-top: 12px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* ============================================================
   SECTIONS & CLEAN CARD GRIDS
   ============================================================ */
.section {
  padding: 36px 0;
  background: var(--bg-page);
}

@media (min-width: 768px) {
  .section {
    padding: 52px 0;
  }
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 64ch;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
}

.card-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.card-link:hover {
  border-color: var(--blue-primary);
  background: var(--bg-card);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-primary);
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.card-action {
  margin-top: auto;
  padding-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-primary);
}

/* ============================================================
   ACCESSIBLE TABS (focusgroup + hidden="until-found")
   CRITICAL: Zero padding/border/bg on [role="tabpanel"] itself!
   ============================================================ */
.tabs-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tablist {
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border-subtle);
}

.tablist::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px 12px;
  border: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease;
}

@media (max-width: 480px) {
  .tab-btn {
    padding: 10px 11px 12px;
    font-size: 0.86rem;
  }
}

.tab-btn:hover {
  color: var(--ink-heading);
  background: var(--bg-surface);
}

.tab-btn[aria-selected="true"] {
  color: var(--ink-heading);
  font-weight: 700;
  background: var(--bg-soft-blue);
}

.tab-btn[aria-selected="true"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: var(--blue-primary);
}

/* Panel shell has ZERO visual box styling so hidden="until-found" collapses cleanly */
.tab-panel {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.tab-panel-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .tab-panel-card {
    padding: 28px;
  }
}

.tier-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.tier-price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-primary);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-body);
  font-size: 0.96rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue-primary);
}

/* ============================================================
   PRODUCT PREVIEW SWITCHER (HOME)
   ============================================================ */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 860px) {
  .preview-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
  }
}

.preview-media {
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
}

.preview-media-phone img {
  width: min(240px, 100%);
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-media);
}

.preview-media-console img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-media);
}

.preview-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================================================
   EXCLUSIVE <details name="..."> ACCORDION
   ============================================================ */
.spec-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.spec-item[open] {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-card);
}

.spec-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-heading);
  cursor: pointer;
}

.spec-item summary::-webkit-details-marker {
  display: none;
}

.spec-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--blue-primary);
  flex-shrink: 0;
}

.spec-item[open] summary::after {
  content: '−';
}

.spec-body {
  padding: 0 18px 16px;
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

/* ============================================================
   FOUNDER LAYOUT
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 820px) {
  .founder-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 36px;
  }
}

.portrait-frame {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 768 / 739;
  object-fit: cover;
}

.portrait-caption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-secondary);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cred-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-body);
}

/* ============================================================
   CONTACT ROUTER & DIRECT STRIP
   ============================================================ */
.contact-strip {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .contact-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
  }
}

.contact-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-strip-copy h2 {
  color: var(--ink-heading);
}

.contact-strip-copy p {
  color: var(--ink-secondary);
}

.contact-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-pill {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--ink-body);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.topic-pill:hover {
  border-color: var(--blue-primary);
  background: var(--bg-soft-blue);
  color: var(--ink-heading);
}

.topic-pill[aria-pressed="true"] {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--ink-white);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .contact-card-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

.mono-value {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-heading);
  word-break: break-word;
}

.mono-value:hover {
  color: var(--blue-primary);
}

.copy-feedback {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--emerald);
  min-height: 1.2em;
}

/* ============================================================
   COMPACT LIGHT FOOTER
   ============================================================ */
.site-footer {
  margin-top: auto;
  padding: 28px 0 32px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 820px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand img {
  width: 109px;
  height: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.footer-links a:hover {
  color: var(--blue-primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.footer-bottom a {
  color: var(--ink-secondary);
  font-weight: 500;
}

.footer-bottom a:hover {
  color: var(--blue-primary);
}

/* ============================================================
   VISUAL SPLIT HEROES, CRISP FRAMES & EDITORIAL PHOTO SYSTEM
   ============================================================ */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 38px;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-hero .hero-copy h1 {
  margin-top: 0;
}

.page-hero .hero-copy .lead {
  margin-top: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 13px 6px 8px;
  border-radius: 999px;
  background: var(--bg-soft-blue);
  border: 1px solid var(--blue-border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-heading);
}

.status-pill img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.visual-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.visual-frame::before,
.visual-frame::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--blue-primary);
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.visual-frame::before {
  left: 12px;
  border-left: 2px solid var(--blue-primary);
}

.visual-frame::after {
  right: 12px;
  border-right: 2px solid var(--blue-primary);
}

.visual-frame picture,
.visual-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.visual-frame-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-secondary);
}

.visual-frame-tag {
  color: var(--blue-primary);
  font-weight: 600;
  text-transform: uppercase;
}

/* ============================================================
   4-CARD GRID, PHOTO CARDS & SECTION HEADER ACTION ROW
   ============================================================ */
.section-head-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.section-head-row .section-head {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
  }
}

.card-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

.photo-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.photo-card.card-link:hover,
.blog-card:hover {
  border-color: var(--blue-primary);
  background: var(--bg-card);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.photo-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.photo-card-media--16x9 {
  aspect-ratio: 16 / 9;
}

.blog-card .photo-card-media {
  aspect-ratio: 1200 / 630;
}

.photo-card-media picture,
.photo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .photo-card.card-link:hover .photo-card-media img,
  .blog-card:hover .photo-card-media img {
    transform: scale(1.03);
  }
}

.photo-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border-card);
  box-shadow: 0 2px 8px rgba(11, 17, 26, 0.10);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-primary);
}

.photo-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 10px;
  padding: 18px 20px 20px;
}

.photo-card h3 {
  font-size: 1.15rem;
  line-height: 1.24;
  color: var(--ink-heading);
}

.photo-card p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

/* Support both wrapped .photo-card-body and direct-child blog card layouts */
.blog-card > a {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

.photo-card > .card-kicker,
.photo-card > h3,
.photo-card > p,
.photo-card > .card-action,
.photo-card > .blog-card-meta,
.blog-card > a > .card-kicker,
.blog-card > a > h3,
.blog-card > a > p,
.blog-card > a > .card-action,
.blog-card > a > .blog-card-meta {
  padding-inline: 20px;
}

.photo-card > .photo-card-media + :not(.photo-card-body),
.blog-card > a > .photo-card-media + :not(.photo-card-body) {
  margin-top: 16px;
}

.photo-card > :not(.photo-card-media):not(.photo-card-body) + :not(.photo-card-body),
.blog-card > a > :not(.photo-card-media):not(.photo-card-body) + :not(.photo-card-body) {
  margin-top: 10px;
}

.photo-card > :last-child:not(.photo-card-body):not(.photo-card-media),
.blog-card > a > :last-child:not(.photo-card-body):not(.photo-card-media) {
  padding-bottom: 20px;
}

/* ============================================================
   TRACK SPLIT (PLATFORM TIERS & CONSULTING PRACTICE AREAS)
   ============================================================ */
.track-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

@media (min-width: 860px) {
  .track-split {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 28px;
  }
}

.track-split-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.track-split-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.track-split-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.track-split-media--phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(21, 122, 212, 0.08), var(--bg-surface) 76%);
}

.track-split-media--phone picture {
  padding: 18px 18px 14px;
  display: flex;
  justify-content: center;
}

.track-split-media--phone img {
  width: min(215px, 100%);
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-media);
}

.track-split-media--console {
  background: var(--bg-surface);
}

.track-split-media--console picture {
  padding: 12px;
}

.track-split-media--console img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-media);
}

.track-split-caption {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-secondary);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

/* ============================================================
   EDITORIAL DUO STRIP (FOUNDER PAGE)
   ============================================================ */
.editorial-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .editorial-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

.editorial-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.editorial-card picture,
.editorial-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 540;
  object-fit: cover;
}

.editorial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 18px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
}

.editorial-card figcaption strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-heading);
}

.editorial-card figcaption span {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

/* ============================================================
   DECORATIVE CTA BACKDROP (IMAGE-SET + LIGHT SCRIM)
   ============================================================ */
.contact-strip-visual {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface);
  background-image:
    linear-gradient(125deg, rgba(255, 255, 255, 0.90) 0%, rgba(248, 251, 255, 0.93) 55%, rgba(244, 247, 251, 0.95) 100%),
    url('/assets/site/cta-direct-bg.jpg');
  background-image:
    linear-gradient(125deg, rgba(255, 255, 255, 0.90) 0%, rgba(248, 251, 255, 0.93) 55%, rgba(244, 247, 251, 0.95) 100%),
    image-set(
      url('/assets/site/cta-direct-bg.webp') type('image/webp') 1x,
      url('/assets/site/cta-direct-bg.jpg') type('image/jpeg') 1x
    );
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.contact-strip-visual .contact-strip-copy h2 {
  color: var(--ink-heading);
}

.contact-strip-visual .contact-strip-copy p {
  color: var(--ink-secondary);
}

/* ============================================================
   SHARED BLOG HUB & ARTICLE STYLES (/blog & /blog/<slug>)
   ============================================================ */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-pill {
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--ink-body);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.filter-pill:hover {
  border-color: var(--blue-primary);
  background: var(--bg-soft-blue);
  color: var(--ink-heading);
}

.filter-pill[aria-pressed="true"] {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--ink-white);
}

.blog-count {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.article-hero {
  padding: 36px 0 28px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .article-hero {
    padding: 48px 0 36px;
  }
}

.article-hero h1 {
  margin-top: 10px;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  max-width: 24ch;
  color: var(--ink-heading);
}

.article-hero .lead {
  margin-top: 12px;
  max-width: 66ch;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.article-breadcrumb a:hover {
  color: var(--blue-primary);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.article-hero-figure {
  margin: 24px 0 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.article-hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.article-hero-figure figcaption {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-secondary);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.article-body {
  max-width: 74ch;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink-body);
}

.article-body h2 {
  margin-top: 14px;
  font-size: clamp(1.35rem, 2.6vw, 1.72rem);
  color: var(--ink-heading);
}

.article-body h3 {
  margin-top: 8px;
  font-size: 1.16rem;
  color: var(--ink-heading);
}

.article-body p {
  color: var(--ink-body);
}

.article-body strong {
  color: var(--ink-heading);
  font-weight: 600;
}

.article-body a {
  color: var(--blue-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--blue-hover);
}

.article-body ul,
.article-body ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  color: var(--ink-body);
}

.article-body li::marker {
  color: var(--blue-primary);
}

.article-body code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-soft-blue);
  border: 1px solid var(--border-card);
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--ink-heading);
  word-break: break-word;
}

.article-body pre {
  margin: 0;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  overflow-x: auto;
}

.article-body pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-heading);
}

.article-body blockquote {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--blue-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-surface);
  color: var(--ink-body);
}

.article-callout {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft-blue);
  border: 1px solid rgba(21, 122, 212, 0.24);
  border-left: 4px solid var(--blue-primary);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-callout h3,
.article-callout h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-heading);
}

.article-callout p,
.article-callout ul,
.article-callout ol {
  font-size: 0.95rem;
  color: var(--ink-body);
}

.article-inline-figure {
  margin: 8px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.article-inline-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 540;
  object-fit: cover;
}

.article-inline-figure figcaption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-secondary);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.article-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .article-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
