/* =========================================
   AXIS CHAMBER — Design System
   Private Executive Alignment
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

/* =========================================
   Reset & Base
   ========================================= */

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

:root {
  --bg:          #f4f2ee;
  --surface:     #ffffff;
  --bg-secondary:#eceae5;
  --text:        #0d0d0b;
  --text-muted:  #5a5955;
  --accent:      #0d0d0b;
  --border:      #d8d5ce;
  --nav-bg:      #0d0d0b;
  --nav-text:    #f4f2ee;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    2rem;
  --space-lg:    4rem;
  --space-xl:    7rem;
  --space-2xl:   11rem;

  --max-width:   1160px;
  --content-width: 780px;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
}

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

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

/* =========================================
   Typography
   ========================================= */

.label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1.5rem;
}

.headline-xl {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
}

.headline-lg {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

.headline-md {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
}

.headline-sm {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}

.body-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 62ch;
}

.body-text + .body-text {
  margin-top: 1.5rem;
}

.body-lg {
  font-size: 1.05rem;
  line-height: 1.9;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--lg {
  padding: var(--space-2xl) 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

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

.nav {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #1e1e1b;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nav-text);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__links a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.65);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--nav-text);
}

.nav__cta {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nav-text);
  border: 1px solid rgba(244, 242, 238, 0.35);
  padding: 0.55rem 1.1rem;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav__cta:hover {
  border-color: var(--nav-text);
  background: rgba(244, 242, 238, 0.07);
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--nav-text);
  transition: opacity 0.2s;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: none;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}

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

.btn--outline-white {
  background: transparent;
  color: #f4f2ee;
  border: 1px solid rgba(244, 242, 238, 0.5);
}

.btn--outline-white:hover {
  border-color: #f4f2ee;
  background: rgba(244, 242, 238, 0.06);
}

.btn--solid {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
}

.btn--solid:hover {
  background: #2a2a27;
}

.link-arrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.link-arrow:hover {
  color: var(--text);
  border-color: var(--text);
}

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

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  background-image:
    linear-gradient(rgba(238,236,232,0.80), rgba(238,236,232,0.80)),
    url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero .label {
  color: #6b6b68;
}

.hero .headline-xl {
  color: #0d0d0b;
  font-size: clamp(2rem, 5vw, 4rem);
  transition: opacity 1s ease, transform 1s ease;
}

.hero__sub {
  color: #5a5955 !important;
}

.hero .btn--outline {
  color: #0d0d0b;
  border-color: #0d0d0b;
  background: transparent;
}

.hero .btn--outline:hover {
  background: #0d0d0b;
  color: #f4f2ee;
  border-color: #0d0d0b;
}

.hero__rule {
  border-color: rgba(13, 13, 11, 0.12) !important;
}

/* Hero entrance animations */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-animate {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-animate--1 { animation-delay: 0.2s; }
.hero-animate--2 { animation-delay: 0.6s; }
.hero-animate--3 { animation-delay: 1.1s; }
.hero-animate--4 { animation-delay: 1.6s; }
.hero-animate--5 { animation-delay: 2.0s; }

.hero__inner {
  max-width: 820px;
}

.hero__label {
  margin-bottom: 2.5rem;
}

.hero__headline {
  margin-bottom: 2rem;
}

.hero__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 3rem;
  font-weight: 300;
  text-align: center;
}

.hero__rule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* =========================================
   Section headers
   ========================================= */

.section-header {
  margin-bottom: var(--space-lg);
}

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

/* =========================================
   Grid layouts
   ========================================= */

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

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

.card {
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.card__label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  display: block;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1rem;
}

.card__body {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.card__link {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.card__link:hover {
  border-color: var(--text);
}

/* Column blocks (no border) */
.col-block {
  padding: var(--space-md) 0;
}

.col-block__label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
  display: block;
}

.col-block__body {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

/* =========================================
   Two-column text layout
   ========================================= */

.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.two-col-list__block h3 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.two-col-list__block ul {
  list-style: none;
  padding: 0;
}

.two-col-list__block ul li {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.two-col-list__block ul li:first-child {
  border-top: 1px solid var(--border);
}

/* =========================================
   Ecosystem cards
   ========================================= */

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

.ecosystem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ecosystem-card--current {
  background: var(--bg-secondary);
}

.ecosystem-card__site {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ecosystem-card__role {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.3;
}

.ecosystem-card__link {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 1rem;
  border-bottom: 1px solid var(--border);
  display: inline-block;
  align-self: flex-start;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.ecosystem-card__link:hover {
  color: var(--text);
  border-color: var(--text);
}

.ecosystem-card__tag {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 1rem;
}

/* =========================================
   Not coaching display block
   ========================================= */

.not-coaching-block {
  max-width: 660px;
}

.not-coaching-line {
  font-family: var(--font-serif);
  font-size: clamp(3.75rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.01em;
}

.not-coaching-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.75rem 0;
}

/* =========================================
   Closing CTA band
   ========================================= */

.cta-band {
  background: var(--text);
  color: var(--bg);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.cta-band .headline-lg {
  color: var(--bg);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.cta-band__sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(244, 242, 238, 0.6);
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

/* =========================================
   Research pages
   ========================================= */

.research-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.research-body {
  padding: var(--space-xl) 0;
}

.research-body p {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--text-muted);
  max-width: 68ch;
  margin-bottom: 1.8rem;
}

.research-body h2 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin: var(--space-lg) 0 1.5rem;
}

.numbered-list {
  list-style: none;
  padding: 0;
  counter-reset: item;
  margin-bottom: var(--space-md);
}

.numbered-list li {
  counter-increment: item;
  display: flex;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  align-items: baseline;
}

.numbered-list li:first-child {
  border-top: 1px solid var(--border);
}

.numbered-list li::before {
  content: counter(item, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--border);
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.outcomes-list {
  list-style: none;
  padding: 0;
}

.outcomes-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.outcomes-list li:first-child {
  border-top: 1px solid var(--border);
}

.pullquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 62ch;
  margin: var(--space-lg) 0;
}

/* =========================================
   Mandate page
   ========================================= */

.mandate-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
}

.mandate-section:last-of-type {
  border-bottom: none;
}

.mandate-section h2 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.mandate-section p {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--text-muted);
  max-width: 64ch;
  margin-bottom: 1.5rem;
}

/* =========================================
   Request page
   ========================================= */

.request-hero {
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.request-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 2.5rem auto 0;
  line-height: 1.7;
}

.request-contact {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-bottom: 1px solid var(--border);
}

.request-email {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: block;
}

.request-criteria {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.criteria-list {
  list-style: none;
  padding: 0;
  max-width: 36ch;
  margin: 0 auto var(--space-lg);
}

.criteria-list li {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.criteria-list li:first-child {
  border-top: 1px solid var(--border);
}

.ecosystem-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-md);
  border-top: 1px solid var(--border);
}

.ecosystem-links a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.ecosystem-links a:hover {
  color: var(--text);
}

.ecosystem-links a span {
  color: var(--border);
  margin-right: 0.4rem;
}

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

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) var(--space-md);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__wordmark {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.footer__sub {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__links a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__copy {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--border);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
}

/* =========================================
   Utility
   ========================================= */

.text-center { text-align: center; }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .two-col-list {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 720px) {
  :root {
    --space-xl:  4rem;
    --space-2xl: 6rem;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--space-md);
    gap: 1.2rem;
    border-top: 1px solid #1e1e1b;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .nav {
    position: sticky;
  }

  .ecosystem-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}
