/* ============================================================
   ClarityOS — styles.css
   Design System for clarityos.global-mkts.com
   Author: Built for Zeeshan Sabri
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   1. DESIGN TOKENS — CSS Custom Properties
   ============================================================ */
:root {
  /* Colour palette */
  --void: #0a0a0f;
  /* primary background */
  --shadow: #12121a;
  /* card / section backgrounds */
  --depth: #1a1a2e;
  /* subtle section variation */
  --dawn: #f5f5f7;
  /* primary text */
  --muted: #9a9aaa;
  /* secondary text */
  --faint: #3a3a4e;
  /* borders, dividers */
  --wisdom: #c9a227;
  /* ClarityOS gold — primary accent */
  --shine: #e8c547;
  /* gold hover */
  --ember: #e63935;
  /* Kuantum red — used sparingly */

  /* Typography scale (fluid) */
  --size-hero: clamp(2.75rem, 6vw, 5rem);
  --size-h1: clamp(2.25rem, 5vw, 4rem);
  --size-h2: clamp(1.75rem, 3.5vw, 2.75rem);
  --size-h3: clamp(1.25rem, 2.5vw, 1.875rem);
  --size-h4: clamp(1.1rem, 2vw, 1.375rem);
  --size-body: 1.125rem;
  --size-sm: 0.9375rem;
  --size-xs: 0.8125rem;

  /* Spacing */
  --section-gap: clamp(5rem, 10vw, 9rem);
  --content-max: 1440px;
  --pad-x: clamp(1.5rem, 4vw, 4rem);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --dur-fast: 180ms;
  --dur-med: 320ms;
  --dur-slow: 550ms;

  /* Shadows */
  --shadow-gold: 0 0 40px rgba(201, 162, 39, 0.15);
  --shadow-card: 0 2px 24px rgba(0, 0, 0, 0.4);
  --shadow-lift: 0 8px 48px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background-color: var(--void);
  color: var(--dawn);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--size-body);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   3. GRAIN TEXTURE OVERLAY
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--dawn);
}

h1 {
  font-size: var(--size-h1);
}

h2 {
  font-size: var(--size-h2);
}

h3 {
  font-size: var(--size-h3);
}

h4 {
  font-size: var(--size-h4);
}

.display-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--size-hero);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wisdom);
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

p {
  color: var(--muted);
  line-height: 1.8;
}

strong {
  color: var(--dawn);
  font-weight: 600;
}

/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: var(--section-gap);
}

.section--shadow {
  background-color: var(--shadow);
}

.section--depth {
  background-color: var(--depth);
}

.section--void {
  background-color: var(--void);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ============================================================
   6. REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger>*:nth-child(1) {
  transition-delay: 0ms;
}

.stagger>*:nth-child(2) {
  transition-delay: 80ms;
}

.stagger>*:nth-child(3) {
  transition-delay: 160ms;
}

.stagger>*:nth-child(4) {
  transition-delay: 240ms;
}

.stagger>*:nth-child(5) {
  transition-delay: 320ms;
}

.stagger>*:nth-child(6) {
  transition-delay: 400ms;
}

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem var(--pad-x);
  transition:
    background var(--dur-med) var(--ease-out),
    backdrop-filter var(--dur-med) var(--ease-out),
    padding var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: var(--faint);
  padding: 0.875rem var(--pad-x);
}

.nav__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dawn);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.nav__logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wisdom);
  flex-shrink: 0;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: var(--size-sm);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--dawn);
}

/* CTA button in nav */
.nav__cta {
  background: var(--wisdom);
  color: var(--void) !important;
  font-weight: 600;
  font-size: var(--size-sm);
  padding: 0.5625rem 1.25rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition:
    background var(--dur-fast),
    transform var(--dur-fast),
    box-shadow var(--dur-fast);
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--shine);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 1002;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dawn);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--void);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--dawn);
  transition: color var(--dur-fast);
  letter-spacing: -0.01em;
}

.nav__mobile-link:hover {
  color: var(--wisdom);
}

.nav__mobile-cta {
  background: var(--wisdom);
  color: var(--void) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

/* ============================================================
   8. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--size-sm);
  letter-spacing: 0.03em;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--dur-fast),
    color var(--dur-fast),
    border-color var(--dur-fast),
    transform var(--dur-fast),
    box-shadow var(--dur-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary gold */
.btn--primary {
  background: var(--wisdom);
  color: var(--void);
  border-color: var(--wisdom);
}

.btn--primary:hover {
  background: var(--shine);
  border-color: var(--shine);
  box-shadow: 0 6px 28px rgba(201, 162, 39, 0.4);
  color: var(--void);
}

/* Ghost (outlined) */
.btn--ghost {
  background: transparent;
  color: var(--dawn);
  border-color: var(--faint);
}

.btn--ghost:hover {
  border-color: var(--wisdom);
  color: var(--wisdom);
}

/* Ghost gold */
.btn--ghost-gold {
  background: transparent;
  color: var(--wisdom);
  border-color: var(--wisdom);
}

.btn--ghost-gold:hover {
  background: var(--wisdom);
  color: var(--void);
}

/* Ember / red */
.btn--ember {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
}

.btn--ember:hover {
  background: #f04540;
  border-color: #f04540;
  box-shadow: 0 6px 28px rgba(230, 57, 53, 0.35);
}

/* Arrow icon shorthand */
.btn__arrow {
  font-size: 1.1em;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* Button group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ============================================================
   9. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
  padding-top: clamp(7rem, 12vw, 9rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
  overflow: hidden;
}

/* Ambient gold bloom — left */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -8%;
  width: 55%;
  height: 85%;
  background: radial-gradient(ellipse at 30% 40%, rgba(201, 162, 39, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle bottom-left vignette */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 30%;
  background: radial-gradient(ellipse at 0% 100%, rgba(201, 162, 39, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.hero__eyebrow-line {
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--wisdom), rgba(201, 162, 39, 0.3));
  flex-shrink: 0;
}

/* Gold eyebrow text */
.hero__eyebrow .eyebrow {
  color: var(--wisdom);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero__title {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--dawn);
}

.hero__title em {
  font-style: italic;
  color: var(--wisdom);
  display: block;
}

.hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 50ch;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* Refined stat pills — pill shape with subtle gold border + glow */
.hero__stat {
  background: rgba(201, 162, 39, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 999px;
  padding: 0.45rem 1.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wisdom);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.08), inset 0 1px 0 rgba(201, 162, 39, 0.12);
  transition: background var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
}

.hero__stat:hover {
  background: rgba(201, 162, 39, 0.12);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.14), inset 0 1px 0 rgba(201, 162, 39, 0.2);
}

/* Hero image side — editorial treatment */
.hero__image-wrap {
  position: relative;
  height: clamp(560px, 85vh, 820px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 162, 39, 0.08);
}

/* Top-left cinematic gradient — darkens top-left corner */
.hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 10, 15, 0.55) 0%, transparent 45%),
    linear-gradient(to top, rgba(10, 10, 15, 0.7) 0%, transparent 50%);
  z-index: 1;
}

/* Gold edge shimmer — right side */
.hero__image-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(201, 162, 39, 0.4) 30%,
      rgba(201, 162, 39, 0.6) 60%,
      transparent 100%);
  z-index: 2;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s var(--ease-out);
  filter: contrast(1.04) saturate(0.9);
}

.hero__image-wrap:hover .hero__img {
  transform: scale(1.015);
}

/* ============================================================
   10. SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 72ch;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-header .eyebrow {
  margin-bottom: 0.875rem;
}

.section-header h2 {
  margin-bottom: 1.125rem;
}

.section-header p {
  font-size: clamp(1rem, 1.75vw, 1.2rem);
  color: var(--muted);
}

/* ============================================================
   11. INVESTMENT PARADOX / DIAGNOSIS SECTION
   ============================================================ */
.diagnosis {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Central gold bloom */
.diagnosis::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.055) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Pull-quote wrapper — adds decorative opening " ── */
.diagnosis__quote-wrap {
  position: relative;
  max-width: 84ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  padding-top: 3.5rem;
  /* space for the decorative mark */
}

/* Giant decorative opening quotation mark */
.diagnosis__quote-wrap::before {
  content: '\201C';
  /* " */
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: var(--wisdom);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.diagnosis__quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.875rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dawn);
  position: relative;
  z-index: 1;
}

/* Highlight the key numbers in gold */
.diagnosis__quote strong {
  color: var(--wisdom);
  font-style: normal;
  font-weight: 700;
}

.diagnosis__attribution {
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--wisdom);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── Two-column split — dramatic with centre dividing line ── */
.diagnosis__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(3.5rem, 6vw, 6rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--faint);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.06), 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Gold centre dividing line */
.diagnosis__split::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(201, 162, 39, 0.5) 20%,
      rgba(201, 162, 39, 0.7) 50%,
      rgba(201, 162, 39, 0.5) 80%,
      transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.diagnosis__col {
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: left;
}

.diagnosis__col--invest {
  background: rgba(230, 57, 53, 0.06);
}

.diagnosis__col--gap {
  background: rgba(201, 162, 39, 0.06);
}

.diagnosis__col-label {
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* Label icons */
.diagnosis__col--invest .diagnosis__col-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(230, 57, 53, 0.5);
}

.diagnosis__col--gap .diagnosis__col-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wisdom);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.5);
}

.diagnosis__col--invest .diagnosis__col-label {
  color: var(--ember);
  border-bottom-color: rgba(230, 57, 53, 0.2);
}

.diagnosis__col--gap .diagnosis__col-label {
  color: var(--wisdom);
  border-bottom-color: rgba(201, 162, 39, 0.2);
}

.diagnosis__col-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.diagnosis__col-list li {
  font-size: var(--size-sm);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color var(--dur-fast);
}

.diagnosis__col-list li:last-child {
  border-bottom: none;
}

.diagnosis__col--invest li {
  color: rgba(245, 245, 247, 0.55);
}

.diagnosis__col--gap li {
  color: rgba(245, 245, 247, 0.7);
}

.diagnosis__col--invest li::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(230, 57, 53, 0.12);
  border: 1px solid rgba(230, 57, 53, 0.28);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='%23e63935' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.diagnosis__col--gap li::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3' fill='%23c9a227'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Closing statement — the most important sentence on the page ── */
.diagnosis__cta-statement {
  margin-top: clamp(4rem, 7vw, 7rem);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--dawn);
  position: relative;
}

/* Subtle underline accent beneath "Fix the Human OS first." */
.diagnosis__cta-statement::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--wisdom);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.diagnosis__cta-statement .stmt-line {
  display: block;
}

.diagnosis__cta-statement .stmt-line--gold {
  color: var(--wisdom);
  font-style: italic;
}

/* ============================================================
   12. FEATURE GRID — What ClarityOS Is
   ============================================================ */
.feature-card {
  background: var(--shadow);
  border: 1px solid var(--faint);
  border-top: 2px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-md);
  padding: 2.5rem 2.25rem;
  transition:
    border-color var(--dur-med),
    border-top-color var(--dur-med),
    transform var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--dur-med);
}

.feature-card:hover {
  border-color: rgba(201, 162, 39, 0.2);
  border-top-color: rgba(201, 162, 39, 0.7);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 162, 39, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

/* SVG icon container — replaces emoji */
.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  position: relative;
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--wisdom);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gold horizontal rule before label */
.feature-card__label {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-card__label::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--ember);
  opacity: 0.5;
  flex-shrink: 0;
}

.feature-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dawn);
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.feature-card__body {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   13. THE PROOF SECTION
   ============================================================ */
.proof-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.proof__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(400px, 60vh, 600px);
  position: relative;
}

.proof__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(201, 162, 39, 0.08) 0%,
      transparent 60%);
}

.proof__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.proof__content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.proof__story {
  font-size: clamp(1rem, 1.75vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  font-style: italic;
  border-left: 3px solid var(--wisdom);
  padding-left: 1.5rem;
}

.credential-badges {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.credential-badge {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  background: transparent;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.08);
  transition: background var(--dur-fast);
}

.credential-badge:last-child {
  border-bottom: none;
}

.credential-badge:hover {
  background: rgba(201, 162, 39, 0.04);
}

/* SVG icon cell */
.credential-badge__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credential-badge__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--wisdom);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credential-badge__text {
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--dawn);
  letter-spacing: -0.01em;
}

.credential-badge__sub {
  display: block;
  font-size: var(--size-xs);
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.125rem;
  line-height: 1.5;
}

/* ============================================================
   14. TWO PATHS CARDS
   ============================================================ */
.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.path-card {
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid var(--faint);
  background: var(--shadow);
  transition:
    transform var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med),
    border-color var(--dur-med);
  position: relative;
  overflow: hidden;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--faint);
  transition: background var(--dur-med);
}

.path-card--gold {
  border-color: rgba(201, 162, 39, 0.3);
}

.path-card--gold::before {
  background: linear-gradient(90deg, var(--wisdom), var(--shine));
}

.path-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.path-card--gold:hover {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: var(--shadow-gold), var(--shadow-lift);
}

.path-card:not(.path-card--gold):hover::before {
  background: linear-gradient(90deg, var(--wisdom), var(--shine));
}

.path-card__tag {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wisdom);
}

.path-card__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--dawn);
  line-height: 1.2;
}

.path-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.path-card__price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--wisdom);
  line-height: 1;
}

.path-card__price-label {
  font-size: var(--size-sm);
  color: var(--muted);
}

.path-card__body {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

/* ============================================================
   15. TRUST BAR
   ============================================================ */
.trust-bar {
  padding-block: 3rem;
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.trust-bar__label {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  margin-bottom: 1.75rem;
}

.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 3rem;
}

.trust-bar__name {
  font-family: 'Inter', sans-serif;
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--dur-fast);
}

.trust-bar__name:hover {
  color: var(--muted);
}

/* ============================================================
   16. MEMOIR / BOOK SECTION
   ============================================================ */
.memoir-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
}

/* CSS book visual */
.book {
  position: relative;
  width: 220px;
  height: 300px;
  flex-shrink: 0;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
  transform: perspective(900px) rotateY(-10deg);
  transition: transform var(--dur-med) var(--ease-out);
}

.book:hover {
  transform: perspective(900px) rotateY(-4deg);
}

.book__cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #1a1a30 0%, #0d0d1a 100%);
  border-radius: 3px 10px 10px 3px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  gap: 0.75rem;
  overflow: hidden;
}

.book__cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wisdom), var(--shine));
}

.book__cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wisdom), var(--shine));
}

.book__spine {
  position: absolute;
  left: -16px;
  top: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(to right, var(--ember) 0%, #c0302d 100%);
  border-radius: 3px 0 0 3px;
}

.book__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wisdom);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.book__subtitle {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0.04em;
}

.book__author {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.book__ornament {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wisdom), transparent);
  margin: 0.25rem auto;
}

.book__badge {
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--wisdom);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memoir-section__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ============================================================
   17. NEWSLETTER / DISPATCH SECTION
   ============================================================ */
.dispatch-section {
  text-align: center;
}

.dispatch__form {
  display: flex;
  gap: 0.875rem;
  max-width: 480px;
  margin-inline: auto;
  margin-top: 2rem;
}

.dispatch__input {
  flex: 1;
  background: var(--shadow);
  border: 1px solid var(--faint);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
  color: var(--dawn);
  font-family: 'Inter', sans-serif;
  font-size: var(--size-sm);
  outline: none;
  transition: border-color var(--dur-fast);
}

.dispatch__input::placeholder {
  color: var(--muted);
}

.dispatch__input:focus {
  border-color: var(--wisdom);
}

/* ============================================================
   18. TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.4375rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--wisdom), transparent);
}

.timeline__item {
  position: relative;
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.6875rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wisdom);
  border: 2px solid var(--void);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

.timeline__year {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: rgba(201, 162, 39, 0.12);
  line-height: 1;
  position: absolute;
  right: 0;
  top: -0.5rem;
  letter-spacing: -0.04em;
}

.timeline__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dawn);
}

.timeline__body {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.75;
  max-width: 70ch;
}

/* ============================================================
   19. PROCESS STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--wisdom), rgba(201, 162, 39, 0.2));
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.1);
  border: 2px solid rgba(201, 162, 39, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--wisdom);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background-color: var(--void);
}

.step__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dawn);
}

.step__body {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   20. PRICING BOX
   ============================================================ */
.pricing-box {
  background: var(--shadow);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 540px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wisdom), var(--shine));
}

.pricing-box__amount {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--wisdom);
  line-height: 1;
}

.pricing-box__period {
  font-size: var(--size-sm);
  color: var(--muted);
  margin-bottom: 2rem;
}

.pricing-box__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-box__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--size-sm);
  color: var(--muted);
}

.pricing-box__feature::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.4);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 4' stroke='%23c9a227' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   21. FAQ ACCORDION
   ============================================================ */
.faq {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--faint);
}

.faq__item {
  border-bottom: 1px solid var(--faint);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dawn);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--dur-fast);
}

.faq__question:hover {
  color: var(--wisdom);
}

.faq__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-fast), transform var(--dur-med) var(--ease-out);
  font-size: 1rem;
  color: var(--wisdom);
  font-style: normal;
}

.faq__item.open .faq__icon {
  background: var(--wisdom);
  color: var(--void);
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}

.faq__answer-inner {
  padding-bottom: 1.5rem;
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.8;
}

.faq__item.open .faq__answer {
  max-height: 400px;
}

/* ============================================================
   22. PHOTO GALLERY (architect page)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

/* ============================================================
   23. PULL QUOTE
   ============================================================ */
.pull-quote {
  border-left: 4px solid var(--wisdom);
  padding: 1.5rem 2rem;
  background: rgba(201, 162, 39, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-block: 2rem;
}

.pull-quote__text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  color: var(--dawn);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.pull-quote__attribution {
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--wisdom);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   24. ENTERPRISE SECTION
   ============================================================ */
.enterprise-card {
  background: var(--depth);
  border: 1px solid var(--faint);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.enterprise-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.enterprise-pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.enterprise-pillar__num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(201, 162, 39, 0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.enterprise-pillar__text {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.7;
}

.enterprise-pillar__text strong {
  display: block;
  color: var(--dawn);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ============================================================
   25. CONTACT FORM
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: var(--size-sm);
  font-weight: 500;
  color: var(--dawn);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--shadow);
  border: 1px solid var(--faint);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.125rem;
  color: var(--dawn);
  font-family: 'Inter', sans-serif;
  font-size: var(--size-sm);
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  width: 100%;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%239a9aaa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--wisdom);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group select option {
  background: var(--shadow);
}

/* ============================================================
   26. FOOTER
   ============================================================ */
.footer {
  background: var(--shadow);
  border-top: 1px solid var(--faint);
  padding: 4rem var(--pad-x) 2.5rem;
}

.footer__inner {
  max-width: var(--content-max);
  margin-inline: auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--faint);
}

.footer__brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dawn);
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.footer__brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wisdom);
}

.footer__tagline {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.7;
  max-width: 28ch;
}

.footer__col-title {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: var(--size-sm);
  color: var(--muted);
  transition: color var(--dur-fast);
}

.footer__link:hover {
  color: var(--dawn);
}

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

.footer__copyright {
  font-size: var(--size-xs);
  color: var(--faint);
}

.footer__social a {
  font-size: var(--size-sm);
  color: var(--muted);
  transition: color var(--dur-fast);
}

.footer__social a:hover {
  color: var(--wisdom);
}

/* ============================================================
   27. TESTIMONIALS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--shadow);
  border: 1px solid var(--faint);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color var(--dur-med), transform var(--dur-med) var(--ease-out);
}

.testimonial-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-3px);
}

/* Stars — replaced with SVG dots / line motif */
.testimonial-card__stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.testimonial-card__stars svg {
  width: 14px;
  height: 14px;
  fill: var(--wisdom);
  flex-shrink: 0;
}

.testimonial-card__text {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  border-top: 1px solid var(--faint);
  padding-top: 1rem;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--dawn);
  font-size: var(--size-sm);
}

.testimonial-card__role {
  font-size: var(--size-xs);
  color: var(--muted);
}

/* ============================================================
   28. CONTACT PATH CARDS
   ============================================================ */
.contact-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.contact-path-card {
  background: var(--shadow);
  border: 1px solid var(--faint);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    border-color var(--dur-med),
    transform var(--dur-med) var(--ease-out);
}

.contact-path-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 162, 39, 0.06);
}

/* SVG icon container */
.contact-path-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 39, 0.07);
  border: 1px solid rgba(201, 162, 39, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.contact-path-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--wisdom);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-path-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dawn);
}

.contact-path-card__body {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

/* ============================================================
   29. UTILITY CLASSES
   ============================================================ */
.gold {
  color: var(--wisdom);
}

.ember {
  color: var(--ember);
}

.muted {
  color: var(--muted);
}

.dawn {
  color: var(--dawn);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-6 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 3rem;
}

.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;
}

/* ============================================================
   30. LINKEDIN SOCIAL WALL
   ============================================================ */

/* Speaker moment strip */
.speaker-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.speaker-strip__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.speaker-strip__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.speaker-strip__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10, 10, 15, 0.4) 100%);
  pointer-events: none;
}

.speaker-strip__label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.625rem 1rem;
  font-size: var(--size-xs);
  font-weight: 600;
  color: var(--wisdom);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 1;
}

/* LinkedIn wall container */
.linkedin-wall {
  display: grid;
  gap: 1.25rem;
}

.linkedin-wall--2col {
  grid-template-columns: repeat(2, 1fr);
}

.linkedin-wall--3col {
  grid-template-columns: repeat(3, 1fr);
}

.linkedin-wall--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* Individual embed wrapper */
.linkedin-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--shadow);
  border: 1px solid var(--faint);
  transition: border-color var(--dur-med), transform var(--dur-med) var(--ease-out);
  position: relative;
}

.linkedin-embed:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-3px);
}

.linkedin-embed iframe {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
}

/* Featured (tall) embed */
.linkedin-embed--featured {
  grid-row: span 2;
}

/* Wall section header */
.wall-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.wall-header__left {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.wall-header__link {
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--wisdom);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap var(--dur-fast);
}

.wall-header__link:hover {
  gap: 0.625rem;
}

/* SuperJet use-case card */
.usecase-card {
  background: var(--depth);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.usecase-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 20px;
  padding: 0.3rem 0.875rem;
  font-size: var(--size-xs);
  font-weight: 600;
  color: var(--wisdom);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ============================================================
   31. RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {

  /* LinkedIn wall responsive */
  .linkedin-wall--2col,
  .linkedin-wall--3col,
  .linkedin-wall--4col {
    grid-template-columns: 1fr;
  }

  .linkedin-embed--featured {
    grid-row: span 1;
  }

  .speaker-strip {
    grid-template-columns: 1fr;
  }

  .usecase-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }

  :root {
    --pad-x: 1.5rem;
    --section-gap: 4rem;
  }

  /* Nav */
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    gap: 2.5rem;
  }

  .hero__image-wrap {
    order: -1;
    height: clamp(300px, 50vw, 420px);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  }

  .hero__title {
    font-size: clamp(2.5rem, 9vw, 3.25rem);
    line-height: 1.08;
  }

  .hero__content {
    gap: 1.25rem;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4,
  .path-cards,
  .proof-section,
  .testimonials,
  .contact-paths,
  .enterprise-card {
    grid-template-columns: 1fr;
  }

  /* Diagnosis split — stack on mobile, hide centre line */
  .diagnosis__split {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .diagnosis__split::after {
    display: none;
  }

  .diagnosis__col {
    padding: 1.75rem;
  }

  .diagnosis__col--invest {
    border-bottom: 1px solid rgba(230, 57, 53, 0.2);
  }

  /* Closing statement — still big, slightly smaller */
  .diagnosis__cta-statement {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
  }

  /* Memoir */
  .memoir-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .book {
    margin-inline: auto;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps::before {
    display: none;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Timeline */
  .timeline {
    padding-left: 2rem;
  }

  .timeline__year {
    font-size: 2.5rem;
  }

  /* Dispatch form */
  .dispatch__form {
    flex-direction: column;
  }

  /* Enterprise */
  .enterprise-card {
    padding: 2rem;
    gap: 2rem;
  }
}

/* ── 480px micro adjustments ── */
@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-box {
    padding: 2rem 1.5rem;
  }
}

/* ── 1440px wide screens ── */
@media (min-width: 1440px) {
  :root {
    --content-max: 1280px;
  }
}


/* ══════════════════════════════════════════════════════════════
   CODEX ROTATOR
   ══════════════════════════════════════════════════════════════ */
.codex-section {
  text-align: center;
}

.codex-rotator {
  position: relative;
  min-height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.codex-quote {
  position: absolute;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  pointer-events: none;
  max-width: 72ch;
  margin-inline: auto;
}

.codex-quote.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.codex-quote__text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--dawn);
  line-height: 1.35;
  letter-spacing: -0.02em;
  border: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.codex-quote__text::before {
  content: '\201C';
  color: var(--wisdom);
  font-size: 1.2em;
  margin-right: 0.1em;
}

.codex-quote__text::after {
  content: '\201D';
  color: var(--wisdom);
  font-size: 1.2em;
  margin-left: 0.1em;
}

.codex-quote__context {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.codex-dots {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2.5rem;
}

.codex-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  transition: background var(--dur-med), transform var(--dur-med);
  cursor: pointer;
}

.codex-dot.active {
  background: var(--wisdom);
  transform: scale(1.4);
}


/* ══════════════════════════════════════════════════════════════
   OS LAYER STACK
   ══════════════════════════════════════════════════════════════ */
.os-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--faint);
  max-width: 56rem;
  margin-inline: auto;
}

.os-layer {
  padding: 1.75rem 2.25rem;
  border-bottom: 1px solid var(--faint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.os-layer:last-child {
  border-bottom: none;
}

.os-layer--system {
  background: rgba(255, 255, 255, 0.02);
}

.os-layer--gap {
  background: rgba(230, 57, 53, 0.06);
  border-color: rgba(230, 57, 53, 0.2);
}

.os-layer--foundation {
  background: rgba(201, 162, 39, 0.06);
  border-color: rgba(201, 162, 39, 0.25);
}

.os-layer__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.75vw, 1.2rem);
  font-weight: 600;
  color: var(--dawn);
  margin: 0 0 0.25rem;
}

.os-layer__sub {
  font-size: var(--size-sm);
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.os-layer__badge {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.os-layer__badge--gold {
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.35);
  color: var(--wisdom);
}

.os-layer__badge--red {
  background: rgba(230, 57, 53, 0.1);
  border-color: rgba(230, 57, 53, 0.3);
  color: var(--ember);
}

@media (max-width: 600px) {
  .os-layer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ══════════════════════════════════════════════════════════════
   PHASE TIMELINE
   ══════════════════════════════════════════════════════════════ */
.phase-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--faint);
  max-width: 60rem;
  margin-inline: auto;
}

.phase-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 2rem;
  padding: 2rem 2.25rem;
  border-bottom: 1px solid var(--faint);
  align-items: start;
}

.phase-row:last-child {
  border-bottom: none;
}

.phase-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.phase-label {
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wisdom);
  padding-top: 0.2rem;
}

.phase-item-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--dawn);
  margin: 0 0 0.3rem;
}

.phase-item-sub {
  font-size: var(--size-xs);
  color: var(--wisdom);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
}

.phase-desc {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.phase-result {
  font-size: var(--size-xs);
  font-weight: 600;
  color: var(--dawn);
  background: rgba(201, 162, 39, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.875rem;
  text-align: center;
  white-space: nowrap;
  align-self: center;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .phase-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .phase-result {
    align-self: flex-start;
    white-space: normal;
  }
}


/* ══════════════════════════════════════════════════════════════
   METHODOLOGY ARC
   ══════════════════════════════════════════════════════════════ */
.method-arc {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--faint);
  max-width: 56rem;
  margin-inline: auto 0;
  margin-bottom: 2rem;
}

.method-step {
  display: flex;
  gap: 1.75rem;
  padding: 1.75rem 2.25rem;
  border-bottom: 1px solid var(--faint);
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.01);
  transition: background var(--dur-med);
}

.method-step:last-child {
  border-bottom: none;
}

.method-step--active,
.method-step:hover {
  background: rgba(201, 162, 39, 0.04);
}

.method-step__dot {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-xs);
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.method-step--active .method-step__dot,
.method-step:hover .method-step__dot {
  border-color: var(--wisdom);
  color: var(--wisdom);
  background: rgba(201, 162, 39, 0.08);
}

.method-step__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.75vw, 1.2rem);
  font-weight: 600;
  color: var(--dawn);
  margin: 0 0 0.4rem;
}

.method-step__sub {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.method-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 56rem;
  margin-inline: auto 0;
}

.method-outcome {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--size-sm);
  font-weight: 500;
  color: var(--muted);
  background: rgba(201, 162, 39, 0.04);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.625rem 1rem;
}

@media (max-width: 600px) {
  .method-step {
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }
}


/* ══════════════════════════════════════════════════════════════
   CASE CARDS
   ══════════════════════════════════════════════════════════════ */
.case-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.3s, transform 0.3s;
}

.case-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-4px);
}

.case-card__role {
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wisdom);
  margin: 0;
}

.case-card__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--dawn);
  line-height: 1.3;
  margin: 0;
}

.case-card__sub {
  font-size: var(--size-sm);
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.case-card__impacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.case-card__impacts li {
  font-size: var(--size-xs);
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.case-card__impacts li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--wisdom);
  font-size: 0.7em;
  top: 0.1em;
}

.case-card__badge {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wisdom);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 20px;
  padding: 0.3rem 0.875rem;
  align-self: flex-start;
  margin-top: 0.25rem;
}


/* ══════════════════════════════════════════════════════════════
   CREDENTIALS SCROLLING STRIP
   ══════════════════════════════════════════════════════════════ */
.cred-track-wrapper {
  overflow: hidden;
  width: 100%;
  margin-top: 2.5rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cred-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: credScroll 32s linear infinite;
}

.cred-img {
  height: 220px;
  width: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes credScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cred-track {
    animation: none;
  }
}


/* ══════════════════════════════════════════════════════════════
   IN THE FIELD — Rolling carousel
   ══════════════════════════════════════════════════════════════ */
.field-track-wrapper {
  overflow: hidden;
  width: 100%;
  margin-top: 1rem;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.field-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: fieldScroll 45s linear infinite;
}

.field-track:hover {
  animation-play-state: paused;
}

.field-track__img {
  height: 320px;
  width: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: brightness(0.78);
  transition: filter 0.3s, border-color 0.3s, transform 0.4s ease;
}

.field-track__img:hover {
  filter: brightness(0.92);
  border-color: rgba(201, 162, 39, 0.35);
  transform: scale(1.02);
}

@keyframes fieldScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .field-track__img {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .field-track__img {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .field-track {
    animation: none;
  }
}


/* ══════════════════════════════════════════════════════════════
   THOUGHT LEADERSHIP VIDEO CARDS
   ══════════════════════════════════════════════════════════════ */
.tl-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.tl-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-4px);
}

.tl-card__embed {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.tl-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tl-card__embed--static {
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.tl-card__embed--static:hover {
  background: rgba(201, 162, 39, 0.08);
}

.tl-card__play-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.tl-card__ig-link {
  display: block;
  text-decoration: none;
}

.tl-card__name {
  font-weight: 700;
  font-size: var(--size-md);
  color: var(--dawn);
  padding: 1.25rem 1.25rem 0.25rem;
  margin: 0;
}

.tl-card__label {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wisdom);
  padding: 0 1.25rem 1.25rem;
  margin: 0;
}

/* ============================================================
   OS MANIFESTO — replaces OS stack boxes (clarityos.html)
   ============================================================ */
.os-manifesto {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto;
  padding: 3rem 0;
}

.os-manifesto__eyebrow {
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.os-manifesto__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--wisdom);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.os-manifesto__sub {
  font-size: var(--size-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dawn);
  margin-bottom: 2rem;
}

.os-manifesto__body {
  font-size: var(--size-md);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.os-manifesto__stack-labels {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.os-stack-label {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: 20px;
}

.os-stack-label--muted {
  color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.os-stack-label--active {
  color: var(--wisdom);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

/* ============================================================
   ARCHITECT HERO — CODEX VERSION (the-architect.html)
   ============================================================ */
.architect-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.architect-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(201, 162, 39, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.architect-hero__inner {
  text-align: center;
  max-width: 72ch;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.architect-codex {
  position: relative;
  min-height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.architect-codex__quote {
  position: absolute;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  pointer-events: none;
  max-width: 72ch;
  margin-inline: auto;
  width: 100%;
}

.architect-codex__quote.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.architect-codex__quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--dawn);
  line-height: 1.35;
  letter-spacing: -0.02em;
  border: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.architect-codex__quote blockquote::before {
  content: '\201C';
  color: var(--wisdom);
  font-size: 1.2em;
  margin-right: 0.1em;
}

.architect-codex__quote blockquote::after {
  content: '\201D';
  color: var(--wisdom);
  font-size: 1.2em;
  margin-left: 0.1em;
}

.architect-codex__attrib {
  display: block;
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Dots for architect codex */
.architect-codex-dots {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2.5rem;
}

.architect-codex-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  transition: background var(--dur-med), transform var(--dur-med);
  cursor: pointer;
}

.architect-codex-dot.active {
  background: var(--wisdom);
  transform: scale(1.4);
}

.architect-hero__identity {
  margin-top: 3rem;
}

.architect-hero__name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dawn);
  margin-bottom: 0.75rem;
}

.architect-hero__title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

.architect-hero__badges {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.arch-badge {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  font-size: var(--size-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.arch-badge--gold {
  border-color: rgba(201, 162, 39, 0.4);
  color: var(--wisdom);
}