/* ============================================================
   veradis.ai — Brand v1.1 LOCKED
   Communication surface tokens for veradis.ai website v3
   Source of truth: 20260508_MKT_BRIEF_Brand-Implementation-Guide-v1-1_v01.md
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600&family=Instrument+Sans:wght@500;600&display=swap');

:root {
  /* Palette — eight tokens, no others */
  --parchment: #FAF6EC;
  --obsidian: #1A1714;
  --graphite: #33302B;
  --stone: #6B6956;
  --ash: #BFB9AD;
  --brass: #A87D2E;        /* 18pt+ only */
  --brass-deep: #8A6420;   /* under 18pt — AAA on Parchment */
  --forest: #1A4533;        /* italic emphasis on light */

  /* Optional palette (Appendix A) — use only where specified */
  --bone: #E8E2D2;
  --veil: #F2EDDC;
  --brass-light: #D4A565;
  --ink: #0E0C0A;
  --mint: #D4F2C3;

  /* Spectrum palette — diagrams / knowledge graph only (Appendix F) */
  --spectrum-brass: #A87D2E;
  --spectrum-sage: #7FA88C;
  --spectrum-sky: #7B9DBF;
  --spectrum-coral: #C8826F;
  --spectrum-lavender: #9D8FB5;
  --spectrum-sand: #D4B88A;

  /* Type — three faces, locked */
  --serif: 'DM Serif Display', Georgia, serif;        /* headlines, 28pt+ on brand surfaces */
  --sans: 'Inter', -apple-system, sans-serif;          /* body */
  --label: 'Instrument Sans', 'Inter', sans-serif;     /* tracked caps labels */

  /* Brass gradient — always inside Brass shapes, never flat */
  --brass-gradient: linear-gradient(180deg, #D4A565 0%, #A87D2E 60%, #7A5818 100%);

  /* Layout */
  --container: 1280px;
  --gutter: 64px;
  --radius-card: 12px;        /* single-radius vocabulary for cards */
  --radius-pill: 999px;       /* CTAs and pills */

  /* Motion (250ms ceiling per §6) */
  --motion-fast: 150ms;
  --motion-mid: 250ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Elevation — communication surface only, low-opacity warm */
  --elev-1: 0 4px 16px rgba(26, 23, 20, 0.08);
  --elev-2: 0 8px 24px rgba(26, 23, 20, 0.12);
}

/* ============================================================
   Reset
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--obsidian);
  background: var(--parchment);
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section--dark {
  background: var(--obsidian);
  color: var(--ash);
}

.section--dark h1, .section--dark h2, .section--dark h3 {
  color: var(--parchment);
}

@media (max-width: 768px) {
  :root { --gutter: 24px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
}

/* ============================================================
   Typography — communication surface
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--obsidian);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: 64px; }
h2 { font-size: 48px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }

.italic-accent {
  font-style: italic;
  color: var(--forest);
}
.section--dark .italic-accent { color: var(--brass-light); }

@media (max-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }
}

.kicker, .label {
  font-family: var(--label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.section--dark .kicker, .section--dark .label {
  color: var(--brass-light);
}

.lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  color: var(--graphite);
  max-width: 620px;
}
.section--dark .lede { color: var(--ash); }

p { max-width: 65ch; }

.tabular { font-variant-numeric: tabular-nums; }

/* Pull-quote — DM Serif italic, no quotes, em-dash attribution */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.3;
  color: var(--forest);
  border-left: 1px solid var(--brass-deep);
  padding-left: 24px;
  max-width: 640px;
  margin: 48px 0;
}
.section--dark .pull-quote {
  color: var(--brass-light);
  border-left-color: var(--brass);
}
.pull-quote-attribution {
  font-family: var(--label);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 16px;
  display: block;
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  background: rgba(26, 23, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  z-index: 100;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15.5px;
  color: #E6E0D0;
  transition: color var(--motion-fast) var(--ease);
}
.nav-link:hover { color: #FFFFFF; }
.nav-link[aria-current="page"] { color: #FFFFFF; }

.nav-cta {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  background: #7ED4A6;
  color: #0F2E1C;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: background var(--motion-fast) var(--ease);
}
.nav-cta:hover { background: #93DEB5; }

/* --- top-nav dropdowns --- */
.nav-item { position: relative; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-caret { font-size: 9px; color: rgba(255,255,255,0.55); transition: transform var(--motion-fast) var(--ease); position: relative; top: 1px; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 12px; display: none; min-width: 250px; z-index: 120; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { display: block; }
.nav-drop-inner { background: #FFFFFF; border: 1px solid var(--bone); border-radius: 12px; box-shadow: 0 18px 44px rgba(26,23,20,0.14); padding: 8px; }
.nav-drop a { display: block; padding: 10px 14px; border-radius: 8px; font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--graphite); text-decoration: none; }
.nav-drop a:hover { background: var(--veil); color: var(--obsidian); }
.nav-drop a small { display: block; font-family: var(--sans); font-weight: 400; font-size: 11px; color: var(--stone); margin-top: 1px; }
.nav-drop-inner.nav-drop--wide { min-width: 300px; }
.nav-group { font-family: var(--label); font-weight: 600; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-deep); padding: 9px 14px 3px; }
.nav-sep { height: 1px; background: var(--bone); border: 0; margin: 7px 8px; }

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

/* ============================================================
   Buttons / CTAs
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--motion-fast) var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--forest);
  color: var(--parchment);
}
.btn-primary:hover { background: #14362A; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--obsidian);
  border-color: var(--obsidian);
}
.btn-secondary:hover { background: var(--obsidian); color: var(--parchment); }

.section--dark .btn-secondary {
  color: var(--parchment);
  border-color: var(--parchment);
}
.section--dark .btn-secondary:hover { background: var(--parchment); color: var(--obsidian); }

.btn-arrow::after {
  content: '→';
  font-family: var(--sans);
  font-weight: 400;
  transition: transform var(--motion-fast) var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   Dotted Brass grid — the brand signature
   Per session brief: "the single most important visual continuity element"
   Small Brass cross marks at 30% opacity on Parchment.
   ============================================================ */

.dotted-grid {
  background-image:
    radial-gradient(circle, var(--brass) 0.5px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  opacity: 0.18;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding-top: 88px;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-headline {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--obsidian);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-subhead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--graphite);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: var(--label);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  padding: 6px 12px;
  border: 1px solid var(--brass-deep);
  border-radius: var(--radius-pill);
  background: transparent;
}

.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--veil);
  border: 1px solid var(--bone);
  border-radius: var(--radius-card);
  overflow: hidden;
}

@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-headline { font-size: 48px; }
  .hero-subhead { font-size: 18px; }
}

/* ============================================================
   Standards wall — no claim text, adjacency does the work
   ============================================================ */

.standards-wall {
  padding: 48px 0;
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  background: var(--veil);
}

.standards-wall-label {
  text-align: center;
  margin-bottom: 24px;
}

.standards-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
}

.standard-chip {
  font-family: var(--label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 8px 14px;
  background: var(--parchment);
  border: 1px solid var(--bone);
  border-radius: 4px;
  white-space: nowrap;
}

/* ============================================================
   Cards
   ============================================================ */

.card {
  background: var(--parchment);
  border: 1px solid var(--bone);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: transform var(--motion-mid) var(--ease), box-shadow var(--motion-mid) var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-1);
}

.section--dark .card {
  background: var(--graphite);
  border-color: rgba(191, 185, 173, 0.18);
}

/* ============================================================
   Verb grid
   ============================================================ */

.verb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.verb-card {
  background: var(--parchment);
  border: 1px solid var(--bone);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: all var(--motion-mid) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.verb-card:hover {
  border-color: var(--brass-deep);
  transform: translateY(-2px);
}

.verb-card-label {
  font-family: var(--label);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.verb-card-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  color: var(--obsidian);
}

.verb-card-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--graphite);
}

.verb-card-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--brass-deep);
  margin-top: auto;
  padding-top: 16px;
}

.verb-card-link::after {
  content: ' →';
  transition: margin-left var(--motion-fast) var(--ease);
}

@media (max-width: 1024px) {
  .verb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .verb-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Industry cards (dark band)
   ============================================================ */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.industry-card {
  background: var(--graphite);
  border: 1px solid rgba(191, 185, 173, 0.18);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--motion-mid) var(--ease);
}

.industry-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
}

.industry-card-label {
  font-family: var(--label);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.industry-card-title {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--parchment);
}

.industry-card-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ash);
}

.industry-card-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--brass-light);
  margin-top: auto;
  padding-top: 16px;
}

@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .industry-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Network counter
   ============================================================ */

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.counter-cell {
  border-left: 1px solid var(--bone);
  padding-left: 24px;
}

.counter-value {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--obsidian);
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-family: var(--label);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
}

.counter-delta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  color: var(--forest);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

@media (max-width: 1024px) {
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .counter-value { font-size: 40px; }
}

/* ============================================================
   PCS card — the centrepiece artefact
   ============================================================ */

.pcs-card {
  background: var(--parchment);
  border: 1px solid var(--bone);
  border-radius: var(--radius-card);
  padding: 40px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  box-shadow: var(--elev-1);
}

.pcs-card-visual {
  background: var(--veil);
  border: 1px solid var(--bone);
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pcs-card-header {
  margin-bottom: 24px;
}

.pcs-card-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--obsidian);
  margin-bottom: 4px;
}

.pcs-card-subtitle {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--stone);
}

.pcs-specs {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  margin-bottom: 24px;
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  padding: 16px 0;
}

.pcs-spec-label {
  font-family: var(--label);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  padding-top: 4px;
}

.pcs-spec-value {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--obsidian);
  font-variant-numeric: tabular-nums;
}

.pcs-verdict {
  background: var(--obsidian);
  color: var(--parchment);
  padding: 20px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pcs-verdict-score {
  font-family: var(--serif);
  font-size: 40px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.pcs-verdict-label {
  font-family: var(--label);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 4px;
}

.pcs-components {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.pcs-component {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-family: var(--sans);
  font-size: 12px;
  border-bottom: 1px solid var(--bone);
}

.pcs-component-name { color: var(--graphite); }
.pcs-component-score { color: var(--obsidian); font-variant-numeric: tabular-nums; font-weight: 500; }

.pcs-disclaimer {
  font-family: var(--sans);
  font-style: italic;
  font-size: 11px;
  color: var(--stone);
  line-height: 1.4;
  margin-top: 16px;
}

@media (max-width: 968px) {
  .pcs-card { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .pcs-components { grid-template-columns: 1fr; }
}

/* ============================================================
   Final CTA dark band
   ============================================================ */

.final-cta {
  background: var(--obsidian);
  color: var(--parchment);
  padding: 120px 0;
  text-align: center;
}

.final-cta h2 {
  color: var(--parchment);
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--ash);
  margin: 0 auto 32px;
  font-size: 18px;
}

.final-cta .btn-primary {
  background: var(--parchment);
  color: var(--obsidian);
}
.final-cta .btn-primary:hover { background: var(--bone); }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--obsidian);
  color: var(--ash);
  padding: 64px 0 32px;
  border-top: 1px solid var(--graphite);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 32px; margin-bottom: 16px; }

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--brass-light);
  max-width: 280px;
}

.footer-column-title {
  font-family: var(--label);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ash);
  padding: 4px 0;
  transition: color var(--motion-fast) var(--ease);
}
.footer-link:hover { color: var(--parchment); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--graphite);
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--stone);
}

@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   Section heading composition
   ============================================================ */

.section-head {
  margin-bottom: 48px;
  max-width: 720px;
}
.section-head .kicker { display: block; margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lede { color: var(--graphite); }
.section--dark .section-head .lede { color: var(--ash); }

/* ============================================================
   Motion — restraint
   Per §6: fade transitions allowed on web pages at 150–250ms.
   Three motion moments only: hero, PCS card, network counter.
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Accessibility helpers
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
}

/* ============ mobile navigation (burger) — added launch-prep ============ */
.nav-burger{ display:none; flex-direction:column; justify-content:center; gap:5px; width:40px; height:40px; padding:9px; background:none; border:0; cursor:pointer; margin-left:6px; }
.nav-burger span{ display:block; width:22px; height:2px; background:#E6E0D0; border-radius:2px; transition:transform .25s ease, opacity .2s ease; }
.nav.nav-open .nav-burger span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav.nav-open .nav-burger span:nth-child(2){ opacity:0; }
.nav.nav-open .nav-burger span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
@media (max-width:1024px){
  .nav-burger{ display:flex; }
  .nav{ position:relative; }
  .nav.nav-open .nav-links{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:#fff; border-top:1px solid var(--bone,#E7E1D3);
    box-shadow:0 16px 30px rgba(26,23,20,.10); padding:8px 22px 22px;
    max-height:calc(100vh - 66px); overflow-y:auto; z-index:200;
  }
  .nav.nav-open .nav-links .nav-item{ border-bottom:1px solid var(--bone,#F0EBDD); }
  .nav.nav-open .nav-links > li > .nav-link{ display:block; padding:15px 2px 7px; font-size:16px; }
  .nav.nav-open .nav-caret{ display:none; }
  .nav.nav-open .nav-drop{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; background:transparent; padding:0 0 10px; pointer-events:auto; }
  .nav.nav-open .nav-drop-inner{ display:flex; flex-direction:column; gap:2px; padding:0 0 0 12px; min-width:0; box-shadow:none; border:0; background:transparent; }
  .nav.nav-open .nav-drop-inner.wide{ width:auto; }
  .nav.nav-open .nav-drop-inner a{ padding:7px 0; font-size:14px; }
  .nav.nav-open .nav-drop-inner a small{ display:none; }
  .nav.nav-open .nav-group{ margin-top:6px; }
}

/* ===== demo CTAs — black + green shadow (cue: leaving for the live demo) ===== */
a[data-demo]{ background:#1A1714 !important; color:#FAF6EC !important; border:1px solid #1A1714 !important; box-shadow:0 4px 18px rgba(45,106,79,.5), 0 2px 0 0 #2D6A4F !important; }
a[data-demo]:hover{ box-shadow:0 8px 26px rgba(45,106,79,.62), 0 2px 0 0 #2D6A4F !important; transform:translateY(-1px); }
/* ===== standardise hero visuals to one larger footprint ===== */
.hero-stage, .kg-stage, .acct-mock--hero{ min-height:540px; }
@media (max-width:968px){ .hero-stage, .kg-stage, .acct-mock--hero{ min-height:0; } }
