/* ============================================
   True Bearing Collective
   Calm · Trustworthy · Clear
   ============================================ */

:root {
  --navy-950: #0a1422;
  --navy-900: #0f1c2e;
  --navy-800: #16253a;
  --navy-700: #1e334d;
  --navy-600: #2a4566;
  --cream-50: #fbf9f6;
  --cream-100: #f7f4ef;
  --cream-200: #ebe5db;
  --cream-300: #d9d0c2;
  --gold-400: #d4b896;
  --gold-500: #c4a574;
  --gold-600: #a88955;
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --ink-muted: #6b7585;
  --white: #ffffff;
  --border: rgba(15, 28, 46, 0.08);
  --border-strong: rgba(15, 28, 46, 0.14);
  --shadow-sm: 0 1px 2px rgba(15, 28, 46, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 28, 46, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 28, 46, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --narrow: 680px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

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

/* Accessibility */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy-900);
  color: var(--cream-100);
  border-radius: 8px;
  font-weight: 500;
  transition: top 0.2s ease;
}

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

/* Layout */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(2.75rem, 6vw, 4rem);
}

.section-header h2 {
  margin-top: 0.75rem;
}

.section-lead {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 2.875rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.65rem);
  margin-bottom: 0.85rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.eyebrow.light {
  color: var(--gold-400);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

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

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

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 4px 16px rgba(196, 165, 116, 0.28);
}

.btn-primary:hover {
  background: var(--gold-400);
  box-shadow: 0 8px 24px rgba(196, 165, 116, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--cream-100);
  border: 1px solid rgba(247, 244, 239, 0.28);
}

.btn-ghost:hover {
  background: rgba(247, 244, 239, 0.08);
  border-color: rgba(247, 244, 239, 0.5);
}

.btn-full {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 249, 246, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(251, 249, 246, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, var(--max));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy-900);
}

.logo-mark {
  color: var(--gold-500);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--navy-900);
}

.site-nav .nav-cta {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--cream-100);
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--navy-800);
  color: var(--cream-100);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy-900);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

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

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

/* Hero */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--cream-100);
  padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(5.5rem, 12vw, 9rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(196, 165, 116, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(42, 69, 102, 0.45), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 48rem;
}

.hero .eyebrow {
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--cream-50);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(247, 244, 239, 0.78);
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

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

/* Intro */
.intro {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border);
}

.intro-text {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--navy-800);
  text-align: center;
}

/* Experience pillars */
.experience {
  background: var(--cream-100);
}

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

.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  margin-bottom: 1.25rem;
}

.pillar-tag {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 0.85rem !important;
}

.pillar p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.pillar-emphasis {
  margin-top: 1.1rem !important;
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  font-style: italic;
  color: var(--navy-900) !important;
}

/* Membership */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto auto;
  column-gap: 1.5rem;
  background:
    linear-gradient(135deg, rgba(196, 165, 116, 0.08), transparent 45%),
    var(--white);
  border-color: rgba(196, 165, 116, 0.28);
}

.card-featured .card-icon {
  grid-row: 1 / span 2;
}

.card-featured h3 {
  grid-column: 2;
}

.card-featured p,
.card-featured .card-note {
  grid-column: 2;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(196, 165, 116, 0.12);
  color: var(--gold-600);
  margin-bottom: 1.25rem;
}

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

.card-note {
  margin-top: 1.15rem !important;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  font-style: italic;
  color: var(--navy-800) !important;
}

.support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0;
}

.support-list li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--cream-100);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-700);
}

/* Founding */
.founding {
  background: var(--navy-900);
  color: rgba(247, 244, 239, 0.82);
  position: relative;
  overflow: hidden;
}

.founding::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 10% 50%, rgba(196, 165, 116, 0.1), transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(42, 69, 102, 0.5), transparent 55%);
  pointer-events: none;
}

.founding-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.founding h2 {
  color: var(--cream-50);
  margin: 0.75rem 0 1.5rem;
}

.founding strong {
  color: var(--cream-50);
  font-weight: 600;
}

.founding-note {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  font-size: 0.975rem;
  color: rgba(247, 244, 239, 0.65);
}

.pricing-card {
  background: var(--cream-50);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}

.pricing-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}

.pricing-amount .currency {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy-900);
  align-self: flex-start;
  margin-top: 0.45rem;
}

.pricing-amount .price {
  font-family: var(--font-display);
  font-size: 4.25rem;
  font-weight: 500;
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.pricing-amount .period {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-left: 0.25rem;
}

.pricing-compare {
  font-size: 0.925rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem !important;
}

.pricing-features {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.975rem;
  color: var(--ink-soft);
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.pricing-footnote {
  margin-top: 1rem !important;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Promise */
.promise {
  background: var(--cream-100);
}

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

.promise-item {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem) 1.25rem;
  border-top: 2px solid var(--gold-500);
}

.promise-item p {
  color: var(--ink-soft);
  font-size: 1.025rem;
}

/* Contact */
.contact {
  text-align: center;
  background:
    linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%);
}

.contact-inner h2 {
  margin: 0.75rem 0 1rem;
}

.contact .section-lead {
  margin-bottom: 2rem;
}

.contact-email {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(247, 244, 239, 0.6);
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  text-align: center;
  justify-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--cream-100);
}

.footer-brand .logo-mark {
  color: var(--gold-500);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream-50);
  text-align: left;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(247, 244, 239, 0.55);
  text-align: left;
}

.footer-copy {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(247, 244, 239, 0.75);
}

.footer-legal {
  font-size: 0.825rem;
  color: rgba(247, 244, 239, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .pillars,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .founding-inner {
    grid-template-columns: 1fr;
  }

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

  .card-featured {
    grid-template-columns: 1fr;
  }

  .card-featured .card-icon {
    grid-row: auto;
  }

  .card-featured h3,
  .card-featured p,
  .card-featured .card-note {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(251, 249, 246, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.25s ease, visibility 0.25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .pricing-amount .price {
    font-size: 3.5rem;
  }
}

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

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