/* Shared mini-site layout — themed via :root tokens in per-site CSS */

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

html {
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-align: start;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1rem 1.5rem;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.25rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-home {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav-home:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding: 1rem 0 0.5rem;
}

.mobile-menu[aria-hidden="false"] {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
}

@media (max-width: 860px) {
  .nav-links,
  .nav-home {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
  background: var(--hero-bg);
  color: var(--hero-text);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.hero-brand {
  font-family: var(--font-sans, var(--font-body));
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--hero-brand);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  max-width: 28ch;
  margin-bottom: 0.85rem;
  color: var(--hero-text);
}

.hero-lede {
  font-size: 1.05rem;
  max-width: 38ch;
  color: var(--hero-muted);
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cta-text);
  background: var(--cta-bg);
  border: 1px solid var(--cta-border);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: var(--cta-bg-hover);
  color: var(--cta-text);
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-inner--narrow {
  max-width: 720px;
}

.section-label {
  font-family: var(--font-mono, var(--font-body));
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Entry lists ──────────────────────────────────────────── */
.entry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.entry-item {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 560px) {
  .entry-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.entry-meta {
  font-family: var(--font-mono, var(--font-body));
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 0.2rem;
}

.entry-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.entry-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
  list-style: none;
}

.entry-tags li {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ── Static lists / grids ─────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.stack-list,
.principle-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.stack-list li,
.principle-list li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-muted);
}

.stack-list li::before,
.principle-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
}

/* ── Contact + footer ─────────────────────────────────────── */
.contact-block p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 42ch;
}

.contact-email {
  display: inline-flex;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
}

.contact-email:hover {
  color: var(--accent);
}

.site-footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* ── Motion ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.hero-brand {
  animation: brand-in 0.9s ease both;
}

.hero-headline {
  animation: brand-in 0.9s ease 0.12s both;
}

.hero-lede {
  animation: brand-in 0.9s ease 0.22s both;
}

.hero-cta {
  animation: brand-in 0.9s ease 0.32s both;
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   BANSAL ADVISORY & VENTURES — 8090 AI-NATIVE SOFTWARE FACTORY
   AUTHENTIC 8090 DESIGN SYSTEM:
   - Warm Espresso-Obsidian & Linen Palette (--linen-100 .. --linen-900)
   - 24px Pixel Dot Grid (.home-pixel-grid) & Fractal Noise (.surface-grain)
   - Neo-Grotesque Sans (Instrument Sans / Inter) + IBM Plex Mono
   - Two-Line Draft/Ink Hero Display + Interactive "I need..." Prompt Reel
   - Hairline Index Rows (.home-index-row) & Inset 1px Story Panels
   ═══════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark;
  --linen-100: #f5f4f4;
  --linen-200: #ecebeb;
  --linen-300: #dad9d9;
  --linen-400: #b4afad;
  --linen-500: #8e8784;
  --linen-600: #706c6a;
  --linen-700: #535251;
  --linen-800: #2f2b29;
  --linen-900: #151211;

  --palette-brand-primary: #2c4c83;
  --palette-link: #719ae1;
  --palette-link-hover: #a2beeb;
  --status-pass: #79a87a;
  --status-fail: #e07a6b;

  --bg: var(--linen-900);
  --bg-card: #1d1918;
  --bg-card-hover: #25201e;
  --panel-fill: #1e1a19;
  --panel-fill-hover: #262220;
  --hairline-rgb: 239, 239, 239;
  --border: var(--linen-800);
  --border-highlight: rgba(239, 239, 239, 0.32);

  --text: var(--linen-200);
  --text-muted: var(--linen-400);
  --text-caption: var(--linen-500);
  --text-draft: var(--linen-600);
  --accent: var(--palette-link);
  --accent-hover: var(--palette-link-hover);

  --header-bg: rgba(21, 18, 17, 0.9);
  --cta-bg: var(--linen-200);
  --cta-bg-hover: var(--linen-100);
  --cta-text: var(--linen-900);
  --cta-border: var(--linen-200);

  --field-rule: #65605e;
  --card-noise-opacity: 0.14;
  --home-dot-fallback: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='1' height='1' fill='%23F5F4F4' fill-opacity='0.14'/%3E%3C/svg%3E");

  --page-gutter: clamp(18px, 5vw, 72px);
  --font-display: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* 8090 WARM LINEN LIGHT THEME */
[data-theme="light"] {
  color-scheme: light;
  --linen-100: #1d1918;
  --linen-200: #2f2b29;
  --linen-300: #42403e;
  --linen-400: #535251;
  --linen-500: #706c6a;
  --linen-600: #8e8784;
  --linen-700: #b4afad;
  --linen-800: #dbd8d1;
  --linen-900: #f7f4ee;

  --palette-brand-primary: #2c4c83;
  --palette-link: #4166a7;
  --palette-link-hover: #2c4c83;
  --status-pass: #3f7042;
  --status-fail: #a8402e;

  --bg: var(--linen-900);
  --bg-card: #fffdf7;
  --bg-card-hover: #fffefc;
  --panel-fill: #fffdf7;
  --panel-fill-hover: #ffffff;
  --hairline-rgb: 29, 25, 24;
  --border: var(--linen-800);
  --border-highlight: rgba(29, 25, 24, 0.3);

  --text: var(--linen-200);
  --text-muted: var(--linen-400);
  --text-caption: var(--linen-500);
  --text-draft: var(--linen-600);
  --accent: var(--palette-link);
  --accent-hover: var(--palette-link-hover);

  --header-bg: rgba(247, 244, 238, 0.92);
  --cta-bg: var(--linen-200);
  --cta-bg-hover: var(--linen-100);
  --cta-text: #f7f4ee;
  --cta-border: var(--linen-200);

  --field-rule: #928b88;
  --card-noise-opacity: 0.07;
  --home-dot-fallback: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='1' height='1' fill='%23422716' fill-opacity='0.15'/%3E%3C/svg%3E");
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* ── 8090 Grid, Grain & Surface Primitives ───────────────── */
.page-grid {
  max-width: 1280px;
  width: 100%;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  margin-left: auto;
  margin-right: auto;
}

.home-pixel-grid {
  --home-grid-size: 24px;
  background-image: var(--home-dot-fallback);
  background-size: var(--home-grid-size) var(--home-grid-size);
  position: relative;
  overflow-x: clip;
}

.grain,
.surface-grain,
.card-surface {
  isolation: isolate;
  position: relative;
}

.grain::before,
.surface-grain::before,
.card-surface::before {
  content: "";
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--card-noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.55' intercept='-0.18'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  position: absolute;
  inset: 0;
}

.story-panel {
  background: var(--panel-fill);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.14);
  border: none;
  border-radius: 6px;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-panel:hover {
  background: var(--panel-fill-hover);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.3);
}

/* ── 8090 Typography Scale ───────────────────────────────── */
.display-1 {
  font-family: var(--font-display);
  letter-spacing: -0.028em;
  text-wrap: balance;
  font-size: clamp(2.35rem, 5.1vw, 4.35rem);
  font-weight: 500;
  line-height: 1.04;
}

.heading-1 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-size: clamp(1.85rem, 2.8vw, 2.65rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.75rem;
}

/* ── Top Announcement Bar & Compact 8090 Header ──────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0;
  border-bottom: none;
  background: transparent;
}

.announcement-bar {
  background: #292f43;
  color: #ecebeb;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.35;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.announcement-link {
  color: #ecebeb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
}

.announcement-link:hover {
  color: #ffffff;
}

.announcement-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.45rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.announcement-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.announcement-link:hover .announcement-arrow {
  transform: translateX(4px);
}

.nav-bar {
  height: 58px;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  position: relative;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
}

/* Compact 8090-style Brand Lockup */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--text);
  opacity: 0.88;
}

.brand-mark {
  color: var(--text);
  flex-shrink: 0;
}

.brand-name {
  font-weight: 600;
  color: var(--text);
}

.brand-divider {
  color: var(--text-draft);
  font-weight: 300;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem clamp(0.75rem, 1.4vw, 1.4rem);
  margin: 0 auto;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-talk-link {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  transition: color 0.18s ease;
}

.nav-talk-link:hover {
  color: var(--text);
}

.btn-appointment-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  background: var(--panel-fill);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.22);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  transition: all 0.2s ease;
}

.btn-appointment-header:hover {
  background: var(--panel-fill-hover);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.45);
  color: var(--text);
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  padding: 0.38rem 0.65rem;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  color: var(--text);
  border-color: var(--border-highlight);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--page-gutter);
}

/* ── 8090 Hero Section ───────────────────────────────────── */
.hero {
  min-height: auto;
  display: block;
  padding: clamp(10.5rem, 16vw, 14.5rem) 0 clamp(4rem, 6vw, 6rem);
  background: transparent;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-caption);
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-pass);
  box-shadow: 0 0 0 3px rgba(121, 168, 122, 0.2);
}

.home-hero-draft {
  display: block;
  color: var(--text-draft);
  font-weight: 400;
}

.home-hero-ink {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-top: 0.08em;
}

/* 8090 Interactive "I need [ ... ] Get started →" Field */
.home-hero-field {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.65rem;
  width: 100%;
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
}

.intent-prefix {
  color: var(--text);
  white-space: nowrap;
}

.home-field {
  position: relative;
  display: inline-grid;
  vertical-align: baseline;
  min-width: min(100%, 30ch);
  flex: 1 1 32ch;
  max-width: 680px;
}

.home-field-input {
  grid-area: 1 / 1;
  width: 100%;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1.35;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--field-rule);
  border-radius: 0;
  padding: 0 0.5rem 0.15rem 0;
  transition: border-color 0.2s ease;
}

.home-field-input::placeholder {
  color: transparent;
}

.home-field-input:focus {
  outline: none;
  border-bottom-color: var(--palette-link);
}

.home-field-reel {
  grid-area: 1 / 1;
  pointer-events: none;
  display: flex;
  align-items: baseline;
  color: var(--text-draft);
  line-height: 1.35;
  padding: 0 0.5rem 0.15rem 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: opacity 0.18s ease;
}

#hero-reel-text {
  display: inline-block;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.home-reel-caret {
  display: inline-block;
  width: 2px;
  height: 0.82em;
  background: var(--text-muted);
  margin-left: 0.15em;
  vertical-align: -0.06em;
  animation: caret-blink 1s step-end infinite;
}

@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.home-field-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--panel-fill);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.22);
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  align-self: center;
  transition: all 0.2s ease;
}

.home-field-go:hover {
  background: var(--panel-fill-hover);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.45);
}

.home-field-go-arrow {
  transition: transform 0.2s ease;
}

.home-field-go:hover .home-field-go-arrow {
  transform: translateX(4px);
}

.hero-lede {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0;
}

/* 8090 Metrics Strip */
.hero-stats-ticker {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--panel-fill);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.14);
  border-radius: 6px;
  overflow: hidden;
}

.ticker-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--border);
}

.ticker-item:last-child {
  border-right: none;
}

.ticker-val {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.ticker-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.72rem 1.35rem;
  border-radius: 6px;
  border: 1px solid var(--cta-border);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--cta-bg-hover);
  color: var(--cta-text);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--panel-fill);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.18);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.72rem 1.35rem;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--panel-fill-hover);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.36);
  color: var(--text);
}

/* ── Sections ────────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-lede {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 58ch;
  margin-bottom: 2.5rem;
}

/* ── Filter Tabs ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--panel-fill);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.14);
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.3);
}

.filter-btn.active {
  background: var(--cta-bg);
  color: var(--cta-text);
  font-weight: 500;
  box-shadow: none;
}

/* ── Venture Grid & Cards ────────────────────────────────── */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

.entry-card {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
}

.entry-card.hidden {
  display: none !important;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.phase-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-active {
  background: rgba(121, 168, 122, 0.16);
  color: var(--status-pass);
  box-shadow: inset 0 0 0 1px rgba(121, 168, 122, 0.35);
}

.badge-dev {
  background: rgba(113, 154, 225, 0.15);
  color: var(--palette-link);
  box-shadow: inset 0 0 0 1px rgba(113, 154, 225, 0.35);
}

.badge-ideation {
  background: rgba(var(--hairline-rgb), 0.06);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.18);
}

.badge-past {
  background: transparent;
  color: var(--text-caption);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.12);
}

.card-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-caption);
}

.entry-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.metrics-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text);
  background: rgba(var(--hairline-rgb), 0.05);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.12);
  padding: 0.38rem 0.68rem;
  border-radius: 4px;
  margin-bottom: 0.9rem;
}

.entry-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
}

.entry-tags li {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-caption);
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.details-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  color: var(--palette-link);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.85rem 0 0.1rem 0;
  cursor: pointer;
  transition: color 0.18s ease;
}

.details-toggle-btn:hover {
  color: var(--palette-link-hover);
}

.toggle-arrow {
  transition: transform 0.2s ease;
}

.details-toggle-btn:hover .toggle-arrow {
  transform: translateX(4px);
}

.details-toggle-btn[aria-expanded="true"] .toggle-arrow {
  transform: rotate(90deg);
}

.entry-body-collapsible {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.collapsible-content {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.collapsible-content h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin: 1rem 0 0.35rem 0;
}

.collapsible-content ul {
  padding-left: 1.15rem;
  margin-bottom: 0.75rem;
}

/* ── 8090 "What teams bring us." Index Rows ──────────────── */
.index-rows-list {
  border-top: 1px solid var(--border);
}

.home-index-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 3rem;
  padding: clamp(1.75rem, 3.2vw, 2.35rem) 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  align-items: baseline;
}

@media (min-width: 900px) {
  .home-index-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  }
}

.home-index-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
}

.home-index-title::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 2px;
  background: var(--text);
  margin-right: 0;
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), margin-right 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-index-row:hover .home-index-title::before,
.home-index-row:focus-visible .home-index-title::before {
  width: 18px;
  margin-right: 14px;
}

.home-index-body p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-index-proof {
  margin-top: 0.75rem;
}

.home-index-proof strong {
  color: var(--text);
  font-weight: 500;
}

.home-index-go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--palette-link);
  transition: color 0.18s ease;
}

.home-index-arrow {
  display: inline-block;
  transition: transform 0.2s ease-out;
}

.home-index-row:hover .home-index-go {
  color: var(--palette-link-hover);
}

.home-index-row:hover .home-index-arrow {
  transform: translateX(4px);
}

/* ── Independent 3rd-Party Code & Architecture Audit Section ── */
.audit-rate-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.rate-card {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
}

.rate-card.featured {
  box-shadow: inset 0 0 0 1px var(--palette-link);
}

.rate-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.rate-card-top .plan-kicker {
  margin-bottom: 0;
}

.rate-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  background: rgba(113, 154, 225, 0.16);
  color: var(--palette-link);
  box-shadow: inset 0 0 0 1px rgba(113, 154, 225, 0.35);
}

.rate-badge--neutral {
  background: rgba(var(--hairline-rgb), 0.06);
  color: var(--text-muted);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.18);
}

.rate-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.rate-amount {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.rate-unit {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-caption);
}

.rate-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.rate-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.audit-subsection {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.audit-subhead {
  max-width: 64ch;
  margin-bottom: 1.75rem;
}

.audit-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.audit-subdesc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.span-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

@media (min-width: 1120px) {
  .span-matrix-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .span-matrix-grid {
    grid-template-columns: 1fr;
  }
}

.span-card {
  padding: 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.span-card.featured {
  box-shadow: inset 0 0 0 1px var(--palette-link);
}

.span-step-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--palette-link);
  margin-bottom: 0.45rem;
}

.span-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.span-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0.75rem;
  background: rgba(var(--hairline-rgb), 0.04);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.12);
  border-radius: 4px;
  margin-bottom: 0.95rem;
}

.span-hours {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
}

.span-cost {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--palette-link);
}

.span-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.span-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem 0;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

.span-specs li {
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 0.45rem;
  padding-left: 0.95rem;
  position: relative;
  line-height: 1.4;
}

.span-specs li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-caption);
}

/* 5-Pillar Audit Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
}

.deliverable-card {
  padding: 1.65rem;
}

@media (min-width: 900px) {
  .deliverable-card--wide {
    grid-column: 1 / -1;
  }
}

.deliverable-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--palette-link);
  margin-bottom: 0.55rem;
}

.deliverable-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.deliverable-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.deliverable-card p strong {
  color: var(--text);
  font-weight: 500;
}

.deliverable-wide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .deliverable-wide-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
  }
}

.dossier-preview-box {
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.16);
  border-radius: 5px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dossier-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--text-caption);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.dossier-verdict {
  background: rgba(224, 122, 107, 0.16);
  color: var(--status-fail);
  box-shadow: inset 0 0 0 1px rgba(224, 122, 107, 0.35);
  padding: 0.16rem 0.5rem;
  border-radius: 3px;
  font-weight: 500;
}

.dossier-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

@media (max-width: 520px) {
  .dossier-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dossier-metric {
  background: var(--panel-fill);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.1);
  border-radius: 4px;
  padding: 0.5rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dm-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-caption);
}

.dm-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.dm-val--warn {
  color: var(--status-fail);
}

.dm-val--accent {
  color: var(--palette-link);
}

.dossier-finding-sample {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.dossier-finding-sample code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--palette-link);
  background: rgba(113, 154, 225, 0.1);
  padding: 0.12rem 0.38rem;
  border-radius: 3px;
}

.dossier-finding-sample em {
  color: var(--text-caption);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* ── Commercial Pricing Matrix — 8090 Engagement Ledger ──── */
.pricing-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2.5rem;
}

.pricing-top-copy .section-lede {
  margin-bottom: 0;
}

.currency-selector-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
}

@media (min-width: 900px) {
  .currency-selector-wrapper {
    align-items: flex-end;
  }
}

.currency-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-caption);
}

.currency-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.22rem;
  background: var(--panel-fill);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.14);
  border-radius: 6px;
}

.currency-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.36rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.currency-pill:hover {
  color: var(--text);
}

.currency-pill.active {
  background: var(--cta-bg);
  color: var(--cta-text);
  font-weight: 500;
}

/* Track Section Dividers */
.pricing-track-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.25rem 0 1.15rem 0;
}

.track-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--palette-link);
  white-space: nowrap;
}

.track-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.track-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-caption);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .track-note {
    display: none;
  }
}

/* Track A: 2-Column Hourly Split Panels */
.pricing-hourly-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.hourly-panel {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.hourly-panel.featured {
  box-shadow: inset 0 0 0 1px var(--palette-link);
}

.hourly-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hourly-meta-top .plan-kicker {
  margin-bottom: 0;
}

.hourly-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
  background: rgba(var(--hairline-rgb), 0.06);
  color: var(--text-muted);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.16);
}

.hourly-tag--accent {
  background: rgba(113, 154, 225, 0.16);
  color: var(--palette-link);
  box-shadow: inset 0 0 0 1px rgba(113, 154, 225, 0.35);
}

.hourly-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hourly-title-row .plan-price-box {
  margin-top: 0;
}

.hourly-chip-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.5rem 0.75rem;
}

.hourly-chip-list li {
  font-size: 0.8rem;
  color: var(--text);
  padding: 0.42rem 0.65rem;
  background: rgba(var(--hairline-rgb), 0.03);
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hourly-chip-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--palette-link);
  flex-shrink: 0;
}

.hourly-panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.hourly-terms {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 220px;
}

.hourly-panel-footer .plan-cta-btn {
  width: auto;
  min-width: 195px;
  flex-shrink: 0;
}

/* Track B: Horizontal Architectural Specification Ledger */
.pricing-ledger {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.65rem 1.75rem;
  align-items: center;
}

.ledger-row.featured {
  box-shadow: inset 0 0 0 1px var(--palette-link);
}

@media (min-width: 980px) {
  .ledger-row {
    grid-template-columns: minmax(220px, 1.15fr) minmax(240px, 1.35fr) minmax(175px, 0.85fr) minmax(185px, 0.75fr);
    gap: 1.75rem;
  }
}

.ledger-col {
  min-width: 0;
}

@media (min-width: 980px) {
  .ledger-col--specs,
  .ledger-col--terms,
  .ledger-col--action {
    padding-left: 1.5rem;
    border-left: 1px solid var(--border);
  }
}

.ledger-kicker-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.ledger-kicker-row .plan-kicker {
  margin-bottom: 0;
}

.ledger-badge {
  background: rgba(113, 154, 225, 0.16);
  color: var(--palette-link);
  box-shadow: inset 0 0 0 1px rgba(113, 154, 225, 0.35);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.14rem 0.45rem;
  border-radius: 3px;
}

.ledger-col--identity .plan-title {
  margin-bottom: 0.45rem;
}

.ledger-col--identity .plan-desc {
  margin-bottom: 0;
}

.ledger-spec-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-caption);
  margin-bottom: 0.55rem;
}

.ledger-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.38rem;
}

.ledger-features li {
  font-size: 0.81rem;
  color: var(--text);
  padding-left: 0.95rem;
  position: relative;
  line-height: 1.4;
}

.ledger-features li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--palette-link);
}

.ledger-col--action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.ledger-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.plan-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-caption);
  margin-bottom: 0.35rem;
}

.plan-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.plan-inr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-caption);
}

.plan-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.plan-terms-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-caption);
  margin-bottom: 0.15rem;
}

.plan-terms-val {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.48;
}

.plan-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  border: 1px solid var(--cta-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-cta-btn:hover {
  background: var(--cta-bg-hover);
  color: var(--cta-text);
}

.plan-cta-btn.btn-outline {
  background: transparent;
  color: var(--text);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.22);
}
}

.plan-cta-btn.btn-outline:hover {
  box-shadow: inset 0 0 0 1px rgba(var(--hairline-rgb), 0.45);
}

/* ── 8090 Software Factory Process Steps ─────────────────── */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.process-step {
  padding: 1.65rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--palette-link);
  margin-bottom: 0.85rem;
}

.step-content h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Split Layout for Advisory Booking & Checkout ────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 920px) {
  .split-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: 4rem;
  }
}

.methodology-callout {
  padding: 1.35rem 1.5rem;
  margin-top: 1.5rem;
}

.callout-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--palette-link);
  margin-bottom: 0.4rem;
}

.methodology-callout p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.booking-container,
.checkout-card {
  padding: 2rem;
}

.booking-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.booking-form .form-group {
  margin-bottom: 1.15rem;
}

.booking-form .form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-caption);
  margin-bottom: 0.4rem;
}

.booking-form .form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  border-radius: 5px;
  transition: border-color 0.2s ease;
}

.booking-form .form-control:focus {
  outline: none;
  border-color: var(--palette-link);
}

.booking-actions {
  margin-top: 1.25rem;
}

.booking-status-msg {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Contact & Checkout */
.contact-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-email-btn:hover {
  background: var(--cta-bg-hover);
  color: var(--cta-text);
}

.contact-subtext {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-caption);
}

.checkout-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.checkout-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}

.checkout-currency-control {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.checkout-currency-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-caption);
}

.checkout-currency-select {
  padding: 0.35rem 0.65rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.checkout-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.checkout-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.retainer-amount-select {
  flex: 1;
  min-width: 240px;
  padding: 0.72rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.86rem;
}

.pay-razorpay-btn {
  cursor: pointer;
  background: var(--cta-bg);
  color: var(--cta-text);
  border: 1px solid var(--cta-border);
  font-family: var(--font-sans);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border-radius: 5px;
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.pay-razorpay-btn:hover {
  background: var(--cta-bg-hover);
}

.payment-status-msg {
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  border-radius: 5px;
  margin-top: 1rem;
}

.payment-status-badge {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border: 1px solid transparent;
}

.payment-status-badge.status-info {
  background: rgba(113, 154, 225, 0.12);
  color: var(--palette-link);
  border-color: rgba(113, 154, 225, 0.35);
}

.payment-status-badge.status-success {
  background: rgba(121, 168, 122, 0.14);
  color: var(--status-pass);
  border-color: rgba(121, 168, 122, 0.35);
}

.payment-status-badge.status-error {
  background: rgba(224, 122, 107, 0.14);
  color: var(--status-fail);
  border-color: rgba(224, 122, 107, 0.35);
}

.payment-status-badge.status-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.footer-mark {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-caption);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-caption);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links,
  .nav-talk-link,
  .brand-divider,
  .brand-sub {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 8.5rem 0 3.5rem;
  }

  .hero-stats-ticker {
    grid-template-columns: repeat(2, 1fr);
  }

  .ticker-item:nth-child(2) {
    border-right: none;
  }

  .ticker-item:nth-child(1),
  .ticker-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .booking-container,
  .checkout-card {
    padding: 1.35rem;
  }

  .pay-razorpay-btn {
    width: 100%;
  }
}
