/*
 * Ornava Theme — assets/css/main.css
 * Main stylesheet for all public-facing pages.
 * Extracted from v1.3 inline styles and organised by component.
 *
 * Version: 1.4.0
 */

/* ── BRAND TOKENS ──────────────────────────────────────────── */
:root {
  --ornava-navy:        #1E2D40;
  --ornava-gold:        #B08D57;
  --ornava-gold-dark:   #8a6d40;
  --ornava-cream:       #F5F0E8;
  --ornava-bg:          #F5F0E8;
  --ornava-white:       #FFFFFF;
  --ornava-charcoal:    #2E2E2E;
  --ornava-grey:        #6B7280;
  --ornava-warm-dark:   #5a5248;
  --ornava-stone:       #E8E4DE;
  --ornava-gold-faint:  rgba(176,141,87,0.15);

  /* Alternating section colours */
  --ornava-section-odd:  #F5F0E8;
  --ornava-section-even: #FFFFFF;

  /* Type scale */
  --font-size-hero:  clamp(2.4rem, 5vw, 3.8rem);
  --font-size-h1:    clamp(2rem, 4vw, 3rem);
  --font-size-h2:    clamp(1.5rem, 3vw, 2.2rem);
  --font-size-h3:    clamp(1.2rem, 2vw, 1.5rem);
  --font-size-body:  1.05rem;
  --font-size-small: 0.875rem;
  --font-size-label: 0.75rem;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  background: var(--ornava-cream);
  color: var(--ornava-charcoal);
  overflow-x: hidden;
}

/* ── SECTION ALTERNATING COLOURS ───────────────────────────── */
section.section-odd  { background: var(--ornava-section-odd); }
section.section-even { background: var(--ornava-section-even); }

/* ── SECTION SHARED LAYOUT ─────────────────────────────────── */
section {
  padding: 100px 5%;
}
.section-label {
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ornava-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--ornava-gold);
  opacity: 0.75;
  flex-shrink: 0;
}
.section-title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--ornava-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  max-width: 760px;
}
.section-body {
  font-size: var(--font-size-body);
  color: var(--ornava-grey);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: var(--ornava-navy);
  border-bottom: 1px solid rgba(176,141,87,0.2);
  transition: border-bottom-color 0.3s;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: rgba(248,245,242,0.75);
  text-decoration: none;
  font-size: 0.85rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ornava-gold); }
.nav-cta-btn {
  color: var(--ornava-gold) !important;
  border: 1.5px solid var(--ornava-gold);
  padding: 0.45rem 1.1rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta-btn:hover {
  background: var(--ornava-gold) !important;
  color: var(--ornava-white) !important;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(248,245,242,0.85);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.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); }
.nav-mobile {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0;
  background: var(--ornava-navy);
  border-bottom: 1px solid rgba(176,141,87,0.2);
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.nav-mobile.open { max-height: 400px; padding: 1rem 0 1.5rem; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; }
.nav-mobile ul li a {
  display: block;
  padding: 0.85rem 5%;
  color: rgba(248,245,242,0.8);
  text-decoration: none;
  font-size: 0.9rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-mobile ul li:last-child a { border-bottom: none; }
.nav-mobile ul li a:hover { color: var(--ornava-gold); }
.nav-mobile ul li a.nav-mobile-cta { color: var(--ornava-gold); font-weight: 700; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  background: var(--ornava-navy);
  color: var(--ornava-white);
  padding: 0.875rem 2rem;
  border-radius: 3px;
  font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease;
  display: inline-block;
  border: 2px solid var(--ornava-navy);
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  font-family: 'Satoshi', system-ui, sans-serif;
  min-height: 48px;
  line-height: 1.4;
}
.btn-primary:hover { background: #152130; border-color: #152130; }

.btn-secondary {
  background: transparent;
  color: var(--ornava-navy);
  padding: 0.875rem 2rem;
  border-radius: 3px;
  font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  display: inline-block;
  border: 2px solid var(--ornava-navy);
  text-align: center;
  cursor: pointer;
  font-family: 'Satoshi', system-ui, sans-serif;
  min-height: 48px;
  line-height: 1.4;
}
.btn-secondary:hover { background: var(--ornava-navy); color: var(--ornava-white); border-color: var(--ornava-navy); }

.btn-gold {
  background: var(--ornava-gold);
  color: var(--ornava-white);
  padding: 0.875rem 2.5rem;
  border-radius: 3px;
  font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease;
  display: inline-block;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'Satoshi', system-ui, sans-serif;
  min-height: 48px;
  line-height: 1.4;
}
.btn-gold:hover { background: var(--ornava-gold-dark); border-color: var(--ornava-gold-dark); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 5% 80px;
}
.hero-content { max-width: 700px; }
.hero-eyebrow {
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ornava-gold);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 700;
  color: var(--ornava-navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-rule {
  width: 56px; height: 2px;
  background: var(--ornava-gold);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ornava-grey);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}
.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  min-width: 180px;
}
.hero-trust-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
}
.hero-trust-item {
  font-size: 0.78rem;
  color: var(--ornava-grey);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 0.4rem;
}
.hero-trust-item::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ornava-gold);
  flex-shrink: 0;
}

/* ── PROBLEM ─────────────────────────────────────────────────── */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.problem-card {
  background: var(--ornava-white);
  border: 1.5px solid var(--ornava-stone);
  border-top: 3px solid var(--ornava-gold);
  padding: 2rem;
}
.problem-card-title {
  font-size: 1rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.problem-card-body {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.7;
}

/* ── PROCESS ─────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  counter-reset: steps;
}
.step-number {
  font-size: 2.5rem; font-weight: 700;
  color: var(--ornava-stone);
  line-height: 1;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.step-title {
  font-size: 1.1rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.step-body {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.7;
}

/* ── SERVICE TIERS ───────────────────────────────────────────── */
.services-note {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  margin-top: 0.5rem;
  margin-bottom: 3.5rem;
  font-style: italic;
}
.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.tier-card {
  background: var(--ornava-white);
  border: 1.5px solid var(--ornava-stone);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-card.featured {
  border-color: var(--ornava-navy);
  border-width: 2px;
  border-top-color: var(--ornava-gold);
  border-top-width: 3px;
}
.tier-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--ornava-navy);
  color: var(--ornava-white);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.8rem;
  white-space: nowrap;
  text-transform: uppercase;
}
.tier-name {
  font-size: 1.15rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.tier-strapline {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.tier-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}
.tier-features li {
  font-size: var(--font-size-small);
  color: var(--ornava-charcoal);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--ornava-stone);
  display: flex; align-items: flex-start; gap: 0.5rem;
  line-height: 1.5;
}
.tier-features li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ornava-gold);
  flex-shrink: 0;
  margin-top: 5px;
}
.tier-cta { margin-top: auto; }

/* ── RETAINERS ───────────────────────────────────────────────── */
.retainer-section {
  background: var(--ornava-cream);
  border: 1.5px solid var(--ornava-stone);
  padding: 2.5rem;
  margin-bottom: 2rem;
}
.retainer-heading {
  font-size: 1.1rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 0.4rem;
}
.retainer-sub {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  margin-bottom: 2rem;
}
.retainer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.retainer-card {
  background: var(--ornava-white);
  border: 1px solid var(--ornava-stone);
  padding: 1.5rem;
}
.retainer-name {
  font-size: 0.95rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 1rem;
}
.retainer-features { list-style: none; }
.retainer-features li {
  font-size: 0.8rem;
  color: var(--ornava-grey);
  padding: 0.3rem 0;
  display: flex; align-items: flex-start; gap: 0.4rem;
  line-height: 1.5;
}
.retainer-features li::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ornava-stone);
  flex-shrink: 0;
  margin-top: 5px;
}
.retainer-footnote {
  font-size: 0.78rem;
  color: var(--ornava-grey);
  font-style: italic;
  margin-top: 1.5rem;
}

/* ── MANAGED MAIL ─────────────────────────────────────────────── */
.managed-mail-block {
  border: 1.5px solid var(--ornava-stone);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--ornava-white);
}
.managed-mail-label {
  font-size: var(--font-size-label); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ornava-gold);
  margin-bottom: 0.5rem;
}
.managed-mail-title {
  font-size: 1.05rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 0.5rem;
}
.managed-mail-body {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 1rem;
}
.managed-mail-features {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}
.managed-mail-features li {
  font-size: 0.8rem; color: var(--ornava-grey);
  display: flex; align-items: flex-start; gap: 0.4rem;
  line-height: 1.5;
}
.managed-mail-features li::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ornava-gold);
  flex-shrink: 0;
  margin-top: 4px;
}
.managed-mail-cta { flex-shrink: 0; }

/* ── WHY ORNAVA / DIFFERENTIATORS ────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.why-card { padding: 0; }
.why-card-number {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ornava-gold);
  margin-bottom: 0.75rem;
}
.why-card-title {
  font-size: 1rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.why-card-body {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.7;
}

/* ── PROOF ───────────────────────────────────────────────────── */
.proof-intro {
  font-size: var(--font-size-body);
  color: var(--ornava-grey);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 3rem;
}
.proof-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.proof-metric-card {
  background: var(--ornava-cream);
  border: 1.5px solid var(--ornava-stone);
  padding: 2rem;
  text-align: center;
}
.proof-metric-value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--ornava-navy);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.proof-metric-label {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  letter-spacing: 0.04em;
}
.proof-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.proof-credential { padding: 1.5rem 0; }
.proof-credential-title {
  font-size: 0.95rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.proof-credential-body {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.6;
}
.proof-qualifying {
  font-size: 0.78rem;
  color: var(--ornava-grey);
  line-height: 1.7;
  font-style: italic;
  max-width: 640px;
  margin-bottom: 2rem;
}
.proof-link {
  font-size: var(--font-size-small);
  color: var(--ornava-gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.proof-link:hover { opacity: 0.75; }

/* ── CASE STUDIES ─────────────────────────────────────────────── */
.case-studies-track-wrap {
  margin-top: 3rem;
  overflow: hidden;
}
.case-studies-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1.5rem;
  cursor: grab;
}
.case-studies-track:active { cursor: grabbing; }
.case-studies-track::-webkit-scrollbar { height: 4px; }
.case-studies-track::-webkit-scrollbar-track { background: var(--ornava-stone); border-radius: 2px; }
.case-studies-track::-webkit-scrollbar-thumb { background: var(--ornava-gold); border-radius: 2px; }
.cs-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--ornava-white);
  border: 1.5px solid var(--ornava-stone);
  border-top: 3px solid var(--ornava-gold);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cs-card-discipline {
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ornava-gold);
}
.cs-card-title {
  font-size: 1rem; font-weight: 700;
  color: var(--ornava-navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.cs-card-body {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.7;
  flex: 1;
}
.cs-card-metrics {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ornava-stone);
}
.cs-metric { display: flex; flex-direction: column; gap: 0.15rem; }
.cs-metric-value {
  font-size: 1.2rem; font-weight: 700;
  color: var(--ornava-navy);
  line-height: 1;
}
.cs-metric-label {
  font-size: 0.7rem;
  color: var(--ornava-grey);
  letter-spacing: 0.04em;
}
.cs-card-tier {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ornava-navy);
  background: var(--ornava-cream);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--ornava-stone);
  border-radius: 2px;
  align-self: flex-start;
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-intro {
  font-size: var(--font-size-body);
  color: var(--ornava-grey);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 3rem;
}
.about-highlights {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
  margin-bottom: 3rem;
}
.about-highlights li {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  display: flex; align-items: center; gap: 0.4rem;
}
.about-highlights li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ornava-gold);
  flex-shrink: 0;
}
.profile-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.profile-card {
  background: var(--ornava-white);
  border: 1.5px solid var(--ornava-stone);
  padding: 2rem;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.profile-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ornava-navy);
  color: var(--ornava-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-name {
  font-size: 1rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}
.profile-role {
  font-size: var(--font-size-small);
  color: var(--ornava-gold);
  font-weight: 400;
}
.profile-bio {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.profile-linkedin {
  font-size: 0.78rem;
  color: var(--ornava-gold);
  text-decoration: none;
  transition: opacity 0.2s;
}
.profile-linkedin:hover { opacity: 0.75; }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact .section-label { justify-content: center; }
.contact .section-label::before { display: none; }
.contact-sub {
  font-size: 1rem;
  color: var(--ornava-grey);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.contact-cta { margin-bottom: 1.5rem; }
.contact-email {
  font-size: var(--font-size-small);
  color: var(--ornava-gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
  display: block;
  margin-bottom: 0.5rem;
}
.contact-email:hover { opacity: 0.75; }
.contact-phone {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  text-decoration: none;
  display: block;
}
.contact-notices { margin-top: 1.5rem; }
.contact-notice {
  font-size: 0.78rem;
  color: var(--ornava-grey);
  line-height: 1.6;
  font-style: italic;
}

/* ── ENQUIRY MODAL ───────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  align-items: center; justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(3px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--ornava-white);
  max-width: 560px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  border-radius: 12px;
  border-top: 4px solid var(--ornava-gold);
  animation: fadeUp 0.3s ease;
}
.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none;
  font-size: 1.4rem; color: #aaa;
  cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--ornava-navy); }
.modal-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ornava-gold); margin-bottom: 0.4rem;
}
.modal-title {
  font-size: 1.15rem; font-weight: 700;
  color: var(--ornava-navy); margin-bottom: 0.4rem;
  line-height: 1.3;
}
.modal-sub {
  font-size: 0.83rem; color: var(--ornava-grey);
  line-height: 1.6; margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ornava-stone);
}
.modal-form { display: flex; flex-direction: column; gap: 0.8rem; }
.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--ornava-stone);
  border-radius: 4px;
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: var(--font-size-small);
  color: var(--ornava-charcoal);
  background: var(--ornava-white);
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus { border-color: var(--ornava-gold); }
.modal-form textarea { resize: vertical; min-height: 90px; }
.modal-form input::placeholder,
.modal-form textarea::placeholder { color: #bbb; }
.modal-form select { appearance: none; cursor: pointer; }
.modal-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.78rem; color: var(--ornava-grey); line-height: 1.5;
  cursor: pointer;
}
.modal-consent input[type="checkbox"] {
  width: auto; margin-top: 3px;
  accent-color: var(--ornava-gold); flex-shrink: 0;
}
.modal-privacy {
  font-size: 0.71rem; color: #aaa; line-height: 1.5;
}
.modal-privacy a { color: var(--ornava-gold); text-decoration: none; }
.modal-submit {
  background: var(--ornava-gold);
  color: var(--ornava-white);
  padding: 0.85rem 1.5rem;
  border: none; border-radius: 4px;
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: var(--font-size-small); font-weight: 700;
  cursor: pointer; width: 100%;
  transition: background 0.2s;
  letter-spacing: 0.03em;
}
.modal-submit:hover { background: var(--ornava-gold-dark); }
.modal-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.modal-success { display: none; text-align: center; padding: 1rem 0; }
.modal-success-icon { font-size: 2.8rem; margin-bottom: 0.75rem; color: var(--ornava-gold); }
.modal-success h3 { font-size: 1.1rem; font-weight: 700; color: var(--ornava-navy); margin-bottom: 0.5rem; }
.modal-success p { font-size: var(--font-size-small); color: var(--ornava-grey); line-height: 1.6; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--ornava-navy);
  padding: 2.5rem 5%;
  border-top: 1px solid rgba(176,141,87,0.15);
}
.footer-main {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--ornava-gold);
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
}
.footer-links {
  display: flex; gap: 2rem; list-style: none;
  align-items: center;
}
.footer-links a {
  font-size: 0.78rem; color: rgba(248,245,242,0.45);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ornava-gold); }
.footer-contact a {
  font-size: 0.82rem;
  color: var(--ornava-gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.footer-contact a:hover { opacity: 0.75; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(248,245,242,0.25);
  letter-spacing: 0.04em;
}
.footer-legal { display: flex; gap: 1.5rem; list-style: none; }
.footer-legal a {
  font-size: 0.72rem;
  color: rgba(248,245,242,0.25);
  text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--ornava-gold); }

/* ── COOKIE BANNER ───────────────────────────────────────────── */
#ornava-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #13202f;
  border-top: 2px solid var(--ornava-gold);
  padding: 1.2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
#ornava-cookie-banner.visible { transform: translateY(0); }
.cookie-text {
  font-size: 0.82rem; color: rgba(248,245,242,0.7);
  line-height: 1.6; flex: 1; min-width: 260px;
}
.cookie-text a { color: var(--ornava-gold); text-decoration: underline; cursor: pointer; }
.cookie-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.55rem 1.4rem; border-radius: 4px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  cursor: pointer; border: none; transition: opacity 0.2s;
  text-transform: uppercase;
  font-family: 'Satoshi', system-ui, sans-serif;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn.accept  { background: var(--ornava-gold); color: var(--ornava-white); }
.cookie-btn.decline { background: transparent; color: rgba(248,245,242,0.5); border: 1px solid rgba(248,245,242,0.2); }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 404 PAGE ────────────────────────────────────────────────── */
.page-404 {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 5rem 5%;
}
.page-404-inner { max-width: 480px; }
.page-404-code {
  font-size: 6rem; font-weight: 700;
  color: var(--ornava-stone);
  line-height: 1;
  margin-bottom: 1rem;
}
.page-404-title {
  font-size: 1.5rem; font-weight: 700;
  color: var(--ornava-navy);
  margin-bottom: 1rem;
}
.page-404-body {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links      { display: none; }
  .nav-hamburger  { display: flex; }
  .nav-mobile     { display: block; }

  .problem-cards  { grid-template-columns: 1fr; }
  .process-steps  { grid-template-columns: 1fr; gap: 2.5rem; }
  .tier-cards     { grid-template-columns: 1fr; }
  .retainer-cards { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
  .proof-primary  { grid-template-columns: 1fr 1fr 1fr; }
  .proof-credentials { grid-template-columns: 1fr; }
  .profile-cards  { grid-template-columns: 1fr; }
  .footer-main    { flex-direction: column; gap: 1.5rem; }
  .footer-links   { flex-wrap: wrap; gap: 1rem; }
  .managed-mail-block { flex-direction: column; }

  .hero { padding: 120px 5% 80px; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 600px) {
  section { padding: 70px 5%; }
  .why-grid       { grid-template-columns: 1fr; }
  .proof-primary  { grid-template-columns: 1fr; }

  .hero { padding: 100px 5% 60px; min-height: 100svh; }
  .hero-title  { font-size: 2.4rem; }
  .hero-sub    { font-size: 1rem; margin-bottom: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-gold {
    width: 100%; text-align: center; flex: none; max-width: 100%;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   v1.5.0 ADDITIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── Proof section additions ────────────────────────────────── */
.proof-metric-body-header {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ornava-navy);
  margin-top: 0.75rem;
  letter-spacing: -0.01em;
}
.proof-metric-body {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.6;
  margin-top: 0.25rem;
}
.proof-credential-body-header {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ornava-navy);
  margin-top: 0.5rem;
  letter-spacing: -0.01em;
}

/* ── Case studies carousel ───────────────────────────────────── */
.cs-carousel-wrap { margin-top: 3rem; }

.cs-carousel-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cs-carousel-btn {
  background: var(--ornava-navy);
  color: var(--ornava-white);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cs-carousel-btn:hover:not(:disabled) { background: var(--ornava-gold); }
.cs-carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.cs-carousel-counter {
  font-size: 0.78rem;
  color: var(--ornava-grey);
  letter-spacing: 0.04em;
}

.cs-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Cards hidden by JS when not in current page */
.cs-card { display: none; }

/* ── Case study card ─────────────────────────────────────────── */
.cs-card {
  background: var(--ornava-white);
  border: 1.5px solid var(--ornava-stone);
  border-top: 3px solid var(--ornava-gold);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.cs-card-link {
  cursor: pointer;
}
.cs-card-link:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.cs-card-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ornava-gold);
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Customer feedback block */
.cs-card-feedback {
  border-left: 3px solid var(--ornava-gold);
  padding-left: 1rem;
  margin-top: 0.25rem;
}
.cs-card-feedback p {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  line-height: 1.7;
  font-style: italic;
}

/* Placeholder card */
.cs-card-placeholder {
  background: var(--ornava-cream);
  border-style: dashed;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 280px;
}
.cs-placeholder-icon {
  font-size: 1.8rem;
  color: var(--ornava-stone);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.cs-card-placeholder p {
  font-size: var(--font-size-small);
  color: var(--ornava-grey);
  margin-bottom: 0.5rem;
}
.cs-card-placeholder a {
  font-size: var(--font-size-small);
  color: var(--ornava-gold);
  text-decoration: none;
  font-weight: 700;
}

/* ── About — profile photo redesign ─────────────────────────── */
.profile-card {
  background: var(--ornava-white);
  border: 1.5px solid var(--ornava-stone);
  padding: 2rem;
  overflow: hidden; /* clearfix for float */
}

.profile-photo-wrap {
  float: left;
  width: 160px;
  height: 160px;
  margin-right: 1.75rem;
  margin-bottom: 0.5rem;
  position: relative;
}

/* Double-line gold border — outer frame */
.profile-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--ornava-gold);
  border-radius: 6px;
  opacity: 0.5;
  pointer-events: none;
}

/* Inner frame */
.profile-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 1.5px solid var(--ornava-gold);
  border-radius: 5px;
  pointer-events: none;
}

.profile-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.profile-initials-block {
  width: 160px;
  height: 160px;
  background: var(--ornava-navy);
  color: var(--ornava-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 4px;
}

.profile-content { display: block; }

/* Remove old circular avatar rules — replaced above */
.profile-avatar { display: none; }
.profile-header { margin-bottom: 0.5rem; }

/* ── Footer click-to-reveal email ────────────────────────────── */
.footer-email-reveal {
  font-size: 0.82rem;
  color: var(--ornava-gold);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-style: dashed;
  transition: opacity 0.2s;
}
.footer-email-reveal:hover { opacity: 0.75; }

.footer-email-link {
  font-size: 0.82rem;
  color: var(--ornava-gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.footer-email-link:hover { opacity: 0.75; }

/* ── Contact section — label left, heading/intro centred ────── */
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact .section-label {
  justify-content: flex-start;
  text-align: left;
  margin-left: 0;
}
.contact .section-label::before { display: inline-block; }

/* ── Responsive updates for v1.5.0 ─────────────────────────── */
@media (max-width: 900px) {
  .cs-carousel-track { grid-template-columns: 1fr; }
  .profile-card { flex-direction: column; align-items: flex-start; }
  .profile-photo-wrap { width: 120px; height: 120px; }
  .profile-photo { width: 120px; height: 120px; }
  .profile-initials-block { width: 120px; height: 120px; font-size: 1.6rem; }
}

/* ── Proof credentials — white background wrap ──────────────── */
.proof-credentials-wrap {
  background: var(--ornava-white);
  margin: 2rem -5%;
  padding: 2.5rem 5%;
}

/* ── v1.5.3 Hover shading — interactive card types ─────────── */
.tier-card {
  transition: box-shadow 0.2s, transform 0.15s;
}
.tier-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.retainer-card {
  transition: background 0.2s, box-shadow 0.2s;
}
.retainer-card:hover {
  background: #F5F0E8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.why-card {
  transition: background 0.2s;
  padding: 1rem;
  border-radius: 3px;
}
.why-card:hover {
  background: var(--ornava-white);
}

/* cs-card hover already set for cs-card-link; extend to all cards */
.cs-card {
  transition: box-shadow 0.2s, transform 0.15s;
}
.cs-card:not(.cs-card-placeholder):hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* ── ORNAVA VISUAL DEPTH PASS v1.0 ─────────────────────────── */
/* Fixed for v1.6.1: specificity override for section.section-odd;  */
/* gradient range widened to be perceptible.                         */
/* Selector notes: .why-ornava → #why; .contact (section) → #contact */

section.hero,
section#why,
section#contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Tonal wash — specificity beats section.section-odd (0-1-1) */
section.hero {
  background:
    radial-gradient(circle at 88% 14%, rgba(176,141,87,0.10), transparent 38%),
    radial-gradient(circle at 8% 82%, rgba(30,45,64,0.055), transparent 32%),
    linear-gradient(180deg, #F5F0E8 0%, #EDE8DF 100%);
}

section#why,
section#contact {
  background:
    radial-gradient(circle at 88% 16%, rgba(176,141,87,0.075), transparent 36%),
    linear-gradient(180deg, #F5F0E8 0%, #EEE9E1 100%);
}

/* Geometric texture — SVG implementation (v1.8.5)
   Replaces CSS linear-gradient pattern with SVG diamond grid asset.
   SVG approach avoids the double-alpha reduction of gradient line colour x opacity.
   Single opacity value directly controls overall pattern strength. */
section.hero::before,
section#why::before,
section#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url('../images/ornava-diamond-grid-soft.svg');
  background-repeat: repeat;
  background-size: 240px 240px;
  opacity: 0.09;
}

section#why::before,
section#contact::before {
  opacity: 0.045;
  background-size: 280px 280px;
}

section.hero > *,
section#why > *,
section#contact > * {
  position: relative;
  z-index: 1;
}

/* Card elevation */
.problem-card,
.tier-card,
.retainer-card,
.proof-metric-card,
.cs-card,
.profile-card,
.managed-mail-block {
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .problem-card:hover,
  .tier-card:hover,
  .retainer-card:hover,
  .proof-metric-card:hover,
  .cs-card:hover,
  .profile-card:hover,
  .managed-mail-block:hover {
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.11);
    transform: translateY(-2px);
  }
}

.retainer-section {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.proof-metric-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 100%),
    var(--ornava-cream);
}

.hero-trust-item {
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

/* Mobile refinement */
@media (max-width: 768px) {
  .problem-card,
  .tier-card,
  .retainer-card,
  .proof-metric-card,
  .cs-card,
  .profile-card,
  .managed-mail-block {
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
  }
}

/* ══════════════════════════════════════════════════════════════
   ORNAVA PASS 2 — SPACING, HIERARCHY & POLISH  v1.7.0
   ══════════════════════════════════════════════════════════════
   Scope: spacing rhythm, card hierarchy, button polish,
   section label/heading consistency, micro-consistency cleanup.
   No new visual motifs. No layout changes. CSS only.
   ══════════════════════════════════════════════════════════════ */

/* ── 1. SECTION RHYTHM ──────────────────────────────────────── */

/* Global section padding: tighten top/bottom from 100px to 90px.
   Keeps sections generous but reduces looseness between them.    */
section {
  padding: 90px 5%;
}

/* Hero stays full-viewport — its padding is set independently.
   Restore hero padding explicitly so section override doesn't clip it. */
.hero {
  padding: 120px 5% 90px;
}

/* Section label → heading gap: reduce from 1rem to 0.75rem.
   Tighter coupling makes the label feel like an annotation,
   not a disconnected element.                                    */
.section-label {
  margin-bottom: 0.75rem;
}

/* Section title → content gap: tighten from 2.5rem to 2rem.
   2.5rem felt slightly adrift from what follows.                 */
.section-title {
  margin-bottom: 2rem;
}

/* Section body (intro copy) → next element: reduce from 2.5rem to 2rem. */
.section-body {
  margin-bottom: 2rem;
}

/* ── HERO spacing refinements ───────────────────────────────── */

/* Eyebrow → headline: tighten from 1.25rem to 1rem.             */
.hero-eyebrow {
  margin-bottom: 1rem;
}

/* Title → rule: reduce from 1.5rem to 1.25rem.                  */
.hero-title {
  margin-bottom: 1.25rem;
}

/* Sub → actions: tighten from 2.5rem to 2rem.                   */
.hero-sub {
  margin-bottom: 2rem;
}

/* Trust bar: reduce top gap from 2.5rem to 2rem.                */
.hero-trust-bar {
  margin-top: 2rem;
}

/* ── PROBLEM spacing ────────────────────────────────────────── */

/* Cards grid: already 1.5rem gap — no change needed.
   Add top padding to cards to give gold top border more air.    */
.problem-card {
  padding: 2rem 2rem 1.75rem;
}

/* Title → body gap: increase from 0.75rem to 0.875rem for clarity. */
.problem-card-title {
  margin-bottom: 0.875rem;
}

/* ── PROCESS spacing ────────────────────────────────────────── */

/* Step number → title: reduce from 1rem to 0.75rem.
   Number is decorative; title should follow close behind.       */
.step-number {
  margin-bottom: 0.75rem;
}

/* Title → body: consistent with card pattern at 0.875rem.       */
.step-title {
  margin-bottom: 0.875rem;
}

/* ── SERVICES spacing ───────────────────────────────────────── */

/* Services note (italic intro under heading): tighten top margin,
   reduce bottom from 3.5rem to 2.5rem.                          */
.services-note {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

/* Tier cards grid: reduce bottom from 4rem to 3rem.
   The retainer section follows — 4rem felt excessive.           */
.tier-cards {
  margin-bottom: 3rem;
}

/* Tier name → strapline: increase from 0.3rem to 0.5rem.
   0.3rem was too tight — name and strapline blurred together.   */
.tier-name {
  margin-bottom: 0.5rem;
}

/* Strapline → features: consistent at 1.5rem — no change.       */

/* Feature list items: increase padding from 0.4rem to 0.45rem.
   Small improvement to list readability in dense cards.         */
.tier-features li {
  padding: 0.45rem 0;
}

/* Tier CTA: add top padding to give button breathing room.      */
.tier-cta {
  padding-top: 1.5rem;
}

/* Remove inline width:100% dependency — move to CSS.
   (inline style remains in template; this reinforces it cleanly) */
.tier-cta .btn-primary {
  width: 100%;
  text-align: center;
}

/* ── RETAINERS / ONGOING CARE spacing ──────────────────────── */

/* Retainer sub (description line): reduce bottom from 2rem to 1.5rem. */
.retainer-sub {
  margin-bottom: 1.5rem;
}

/* Retainer card: increase padding from 1.5rem to 1.75rem.
   Cards were slightly cramped vs tier cards.                    */
.retainer-card {
  padding: 1.75rem;
}

/* Retainer name → features: increase from 1rem to 1.25rem.     */
.retainer-name {
  margin-bottom: 1.25rem;
}

/* Retainer feature items: increase from 0.3rem to 0.375rem.    */
.retainer-features li {
  padding: 0.375rem 0;
}

/* ── WHY ORNAVA spacing ─────────────────────────────────────── */

/* Why card: padding already set to 1rem — increase to 1.25rem
   to match the card elevation added in Pass 1.                  */
.why-card {
  padding: 1.25rem;
}

/* Card number → title: reduce from 0.75rem to 0.6rem.
   Number is small and decorative; title should be nearby.      */
.why-card-number {
  margin-bottom: 0.6rem;
}

/* Title → body: consistent 0.5rem — no change.                 */

/* ── PROOF spacing ──────────────────────────────────────────── */

/* Proof intro: reduce bottom from 3rem to 2.5rem.              */
.proof-intro {
  margin-bottom: 2.5rem;
}

/* Proof primary grid: reduce bottom from 2rem to 1.75rem.      */
.proof-primary {
  margin-bottom: 1.75rem;
}

/* Proof metric card: consistent padding — no change to 2rem.   */
/* Metric value → label: reduce from 0.5rem to 0.375rem.
   They're a pair — tighter coupling reads as a unit.           */
.proof-metric-value {
  margin-bottom: 0.375rem;
}

/* Credentials wrap: adjust margins.                             */
.proof-credentials-wrap {
  margin: 1.75rem -5%;
  padding: 2.5rem 5%;
}

/* Credential padding: consistent at 1.5rem 0 — no change.      */

/* Qualifying note: reduce bottom from 2rem to 1.5rem.          */
.proof-qualifying {
  margin-bottom: 1.5rem;
}

/* ── CASE STUDIES spacing ───────────────────────────────────── */

/* Carousel wrap: reduce top from 3rem to 2.5rem.               */
.cs-carousel-wrap {
  margin-top: 2.5rem;
}

/* CS card gap between elements: reduce from 1rem to 0.85rem
   already set; discipline label → title tighter.               */
.cs-card {
  gap: 0.75rem;
}

/* Metrics section: consistent border gap.                      */
.cs-card-metrics {
  padding-top: 0.875rem;
}

/* ── ABOUT spacing ──────────────────────────────────────────── */

/* About intro: reduce bottom from 3rem to 2.5rem.              */
.about-intro {
  margin-bottom: 2.5rem;
}

/* About highlights: reduce bottom from 3rem to 2rem.           */
.about-highlights {
  margin-bottom: 2rem;
}

/* Profile card: maintain padding at 2rem.
   Add a top border treatment to anchor the photo float.        */
.profile-card {
  padding: 2rem;
}

/* Profile name → role: increase from 0.2rem to 0.35rem.        */
.profile-name {
  margin-bottom: 0.35rem;
}

/* Role → bio: add spacing.                                      */
.profile-role {
  margin-bottom: 0.75rem;
}

/* Profile bio: increase bottom margin from 1rem to 1.25rem.    */
.profile-bio {
  margin-bottom: 1.25rem;
}

/* ── CONTACT spacing ────────────────────────────────────────── */

/* Contact sub: reduce bottom from 2.5rem to 2rem.
   Tighter path from copy to CTA.                               */
.contact-sub {
  margin-bottom: 2rem;
}

/* Contact CTA: reduce bottom from 1.5rem to 1.25rem.           */
.contact-cta {
  margin-bottom: 1.25rem;
}

/* ── 3. SECTION LABEL REFINEMENTS ──────────────────────────── */

/* Label: letter-spacing 0.2em — deliberate and exact.          */
.section-label {
  letter-spacing: 0.2em;
}

/* ── 4. MANAGED MAIL BLOCK ──────────────────────────────────── */

/* Managed mail block: already has 2rem 2.5rem padding.
   Reduce body bottom margin from 1rem to 0.75rem.
   Features bottom from 1rem to 0.75rem.                        */
.managed-mail-body {
  margin-bottom: 0.75rem;
}
.managed-mail-features {
  margin-bottom: 0.75rem;
}

/* ── 5. GEOMETRIC TEXTURE CHECK ────────────────────────────── */

/* Why Ornava and Contact texture: no change needed — see authoritative block. */

/* ── 6. MICRO-CONSISTENCY ───────────────────────────────────── */

/* Proof credential title → body: increase from 0.4rem to 0.5rem. */
.proof-credential-title {
  margin-bottom: 0.5rem;
}

/* CS card discipline label → title: gap already in gap property.
   Discipline label letter-spacing: standardise to 0.18em
   (currently 0.15em — small uplift to match section label rhythm). */
.cs-card-discipline {
  letter-spacing: 0.18em;
}

/* Why card: remove the background transition on .why-card-hover
   to avoid conflicting with Pass 1 hover system.
   Replace with a consistent border approach.                   */
.why-card:hover {
  background: rgba(255,255,255,0.7);
}

/* Retainer card hover: remove background shift — conflicted with
   Pass 1 box-shadow hover. Shadow is the primary lift signal.  */
.retainer-card:hover {
  background: var(--ornava-white);
}

/* About highlights: standardise gap.                           */
.about-highlights {
  gap: 0.5rem 1.75rem;
}

/* Proof link: consistent letter-spacing with other small links. */
.proof-link {
  letter-spacing: 0.05em;
}

/* ── 7. MOTION RESTRAINT ────────────────────────────────────── */

/* Unify card hover transition to single consistent value.
   Some cards had 0.2s, depth pass added 0.22s — consolidate.  */
.tier-card,
.cs-card {
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease;
}

/* Reduce reveal animation travel from 24px to 18px.
   Less displacement feels more composed, less page-builder.    */
.reveal {
  transform: translateY(18px);
}

/* ── RESPONSIVE PASS 2 ADJUSTMENTS ─────────────────────────── */

@media (max-width: 900px) {
  section {
    padding: 80px 5%;
  }
  .hero {
    padding: 110px 5% 80px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 65px 5%;
  }
  .hero {
    padding: 95px 5% 65px;
    min-height: 100svh;
  }
  /* Retainer cards: slightly less padding on mobile.           */
  .retainer-card {
    padding: 1.5rem;
  }
  /* Why card: reduce padding on mobile.                        */
  .why-card {
    padding: 1rem;
  }
}

/* ── GEOMETRIC PATTERN — see authoritative block above ─────── */
/* v1.8.0: all pattern overrides consolidated. No further rules needed here. */

/* ── GEOMETRIC PATTERN — MOBILE REFINEMENT (v1.8.5) ─────────── */
@media (max-width: 768px) {
  section.hero::before {
    opacity: 0.055;
    background-size: 300px 300px;
  }
  section#why::before,
  section#contact::before {
    opacity: 0.028;
    background-size: 340px 340px;
  }
}

/* ── ORNAVA LOGO v1.8.7 ─────────────────────────────────────── */
/* Inline SVG mark + live Satoshi text.                          */
/* ── ORNAVA LOGO v1.8.9 ─────────────────────────────────────── */
/* SVG mark + CSS live text. No SVG text elements.               */
/* Eliminates font-metric rendering variance across browsers.    */

.ornava-logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 1;
  text-decoration: none;
}

.ornava-logo__mark {
  display: block;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.ornava-logo__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.ornava-logo__wordmark {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  display: block;
}

.ornava-logo__subline-row {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
}

.ornava-logo__rule {
  flex: 1;
  height: 1px;
  display: block;
  min-width: 18px;
}

.ornava-logo__subline {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Nav logo wrapper */
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

/* Footer logo wrapper */
.footer-logo {
  display: inline-block;
  margin-bottom: 0.5rem;
  line-height: 0;
}

@media (max-width: 600px) {
  .ornava-logo__mark {
    width: 36px;
    height: 36px;
  }
  .ornava-logo__wordmark {
    font-size: 1.1rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   ORNAVA DESIGN STEP 3 EXTENSION — v1.9.2
   ══════════════════════════════════════════════════════════════
   Consolidation of v1.9.1 overrides into base definitions
   completed above. This block handles remaining Step 3
   objectives: featured tier hover, badge, nav-cta, modal-submit,
   cs-carousel-btn, pattern opacity, section-title tracking,
   and section-label letter-spacing consolidation.
   CSS only. No markup changes.
   ══════════════════════════════════════════════════════════════ */

/* ── 1. GOLD RULE — remaining consolidation ─────────────────── */

/* section-label letter-spacing: already set in Pass 2 block
   to 0.2em. Consolidate margin-bottom to 0.75rem here so the
   spacing chain is explicit in one block.                       */
.section-label {
  margin-bottom: 0.75rem;
}

/* ── 2. FEATURED TIER — shadow hierarchy and badge ─────────── */

/* Featured card: authoritative shadow — deeper than base cards
   (0 10px 28px) but not dramatic. Replaces the partial override
   that existed in the depth pass.                               */
.tier-card.featured {
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

/* Featured hover: maintain depth advantage at hover state.     */
@media (hover: hover) and (pointer: fine) {
  .tier-card.featured:hover {
    box-shadow: 0 22px 50px rgba(16, 24, 40, 0.15);
    transform: translateY(-3px);
  }
}

/* Badge: more generous padding and letter-spacing — reads as a
   considered label, not a generic UI element.                   */
.tier-badge {
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  padding: 0.25rem 1rem;
}

/* ── 3. BUTTON SYSTEM — remaining members ───────────────────── */

/* nav-cta-btn: align border to 2px, padding and letter-spacing
   consistent with the button family. The !important overrides
   on colour are retained — they override nav-links a rules.    */
.nav-cta-btn {
  border: 2px solid var(--ornava-gold);
  padding: 0.45rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  transition: background 0.22s ease, color 0.22s ease !important;
}

/* modal-submit: align to btn-gold family — matching padding,
   font-size, letter-spacing, border-radius, and transition.    */
.modal-submit {
  padding: 0.875rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 3px;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: background 0.22s ease, border-color 0.22s ease;
}
.modal-submit:hover {
  background: var(--ornava-gold-dark);
  border-color: var(--ornava-gold-dark);
}

/* cs-carousel-btn: bring transition timing in line with the
   button family (0.22s ease). No other changes — circular
   form is correct for prev/next navigation controls.            */
.cs-carousel-btn {
  transition: background 0.22s ease, opacity 0.22s ease;
}

/* ── 4. GEOMETRIC PATTERN — hero opacity restraint ─────────── */

/* Hero pattern: reduce from 0.09 to 0.07 desktop.
   The SVG approach is more opaque than the old gradient lines
   at equivalent opacity values — a small reduction prevents
   it feeling slightly busier than intended.                     */
section.hero::before {
  opacity: 0.07;
}

/* Mobile: reduce proportionally from 0.055 to 0.045.           */
@media (max-width: 768px) {
  section.hero::before {
    opacity: 0.045;
    background-size: 300px 300px;
  }
}

/* ── 5. SECTION TITLE — tracking micro-correction ───────────── */

/* section-title: relax from -0.02em to -0.018em.
   At large clamp sizes the tighter tracking can compress
   long headings slightly. Single-value correction.              */
.section-title {
  letter-spacing: -0.018em;
}

