/* ============================================
   ANGUS NELSON — NEURO-RESILIENT LEADERSHIP
   Global Design System
   ============================================ */

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

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Colors */
  --navy-primary: #1B2A4A;
  --navy-deep: #0F1A2E;
  --navy-soft: #243556;
  --ivory: #FAF8F5;
  --ivory-light: #FDFCFA;
  --slate: #6B7B8D;
  --slate-light: #8A97A6;
  --gold-accent: #C4A265;
  --gold-hover: #D4B275;
  --gold-muted: rgba(196, 162, 101, 0.15);
  --white: #FFFFFF;
  --text-dark: #1B2A4A;
  --text-body: #3A4A5C;
  --text-light: #8A97A6;
  --text-on-dark: #E8E4DF;
  --text-on-dark-bright: #FAF8F5;
  --border-light: rgba(27, 42, 74, 0.08);
  --border-gold: rgba(196, 162, 101, 0.3);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding-desktop: 120px;
  --section-padding-tablet: 80px;
  --section-padding-mobile: 60px;
  --container-max: 1140px;
  --container-narrow: 800px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--ivory);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.body-large {
  font-size: 1.15rem;
  line-height: 1.8;
}

.body-small {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate);
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-accent);
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

.section--ivory {
  background: var(--ivory);
}

.section--ivory-light {
  background: var(--ivory-light);
}

.section--navy-soft {
  background: var(--navy-soft);
}

.section--navy-soft h1,
.section--navy-soft h2,
.section--navy-soft h3 {
  color: var(--text-on-dark-bright);
}

.section--navy-soft p,
.section--navy-soft li {
  color: var(--text-on-dark);
}

.section--navy-deep {
  background: var(--navy-deep);
}

.section--navy-deep h1,
.section--navy-deep h2,
.section--navy-deep h3 {
  color: var(--text-on-dark-bright);
}

.section--navy-deep p,
.section--navy-deep li {
  color: var(--text-on-dark);
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: var(--gold-accent);
  color: var(--navy-deep);
}

.btn--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 162, 101, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--navy-primary);
  border: 1px solid var(--navy-primary);
}

.btn--secondary:hover {
  background: var(--navy-primary);
  color: var(--ivory);
}

.btn--secondary-light {
  background: transparent;
  color: var(--text-on-dark-bright);
  border: 1px solid rgba(250, 248, 245, 0.3);
}

.btn--secondary-light:hover {
  background: rgba(250, 248, 245, 0.1);
  border-color: rgba(250, 248, 245, 0.5);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--ivory);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.nav--scrolled {
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(15, 26, 46, 0.06);
}

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

.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav__brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-primary);
  letter-spacing: -0.01em;
}

.nav__brand-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate-light);
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--navy-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: var(--navy-primary);
}

.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-deep);
  background: var(--gold-accent);
  padding: 10px 24px;
  transition: all var(--transition-base);
}

.nav__cta:hover {
  background: var(--gold-hover);
}

/* Mobile Nav */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-primary);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

/* --- Gold Divider --- */
.divider-gold {
  width: 60px;
  height: 1px;
  background: var(--gold-accent);
  margin: 24px 0;
}

.divider-gold--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Image Placeholder --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 248, 245, 0.2);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  overflow: hidden;
  position: relative;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* --- Logo Strip --- */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px 0;
}

.logo-strip__item {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-light);
  letter-spacing: 0.06em;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.logo-strip__item:hover {
  opacity: 0.8;
}

/* --- Metric Cards --- */
.metric {
  text-align: center;
}

.metric__value {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: 4px;
}

.metric__label {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.5;
}

/* --- C3 Protocol Cards --- */
.c3-card {
  text-align: center;
  padding: 32px 24px;
}

.c3-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-on-dark-bright);
  margin-bottom: 12px;
}

.c3-card__text {
  font-size: 0.95rem;
  color: var(--text-on-dark);
  line-height: 1.7;
}

/* --- Recognition List --- */
.recognition-list {
  list-style: none;
  margin: 28px 0;
}

.recognition-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.recognition-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--gold-accent);
}

/* --- Qualifier List (for/not for) --- */
.qualifier-list {
  list-style: none;
}

.qualifier-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.qualifier-list--yes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--gold-accent);
}

.qualifier-list--no li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--slate-light);
  font-size: 0.85rem;
}

/* --- Outcome List --- */
.outcome-list {
  list-style: none;
}

.outcome-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.outcome-list li::before {
  content: '~';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-accent);
  font-weight: 600;
}

/* --- Form Styles --- */
.form-block {
  max-width: 480px;
}

.form-block input[type="email"],
.form-block input[type="text"],
.form-block textarea,
.form-block select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition-fast);
  outline: none;
  margin-bottom: 12px;
}

.form-block input:focus,
.form-block textarea:focus,
.form-block select:focus {
  border-color: var(--gold-accent);
}

.form-block textarea {
  min-height: 120px;
  resize: vertical;
}

.form-inline {
  display: flex;
  gap: 12px;
}

.form-inline input {
  flex: 1;
  margin-bottom: 0;
}

.form-inline .btn {
  white-space: nowrap;
}

/* --- Footer --- */
.footer {
  background: var(--navy-deep);
  padding: 80px 0 40px;
}

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

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-on-dark-bright);
  margin-bottom: 4px;
}

.footer__brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate-light);
  margin-bottom: 20px;
}

.footer__text {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  line-height: 1.7;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-accent);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  border-top: 1px solid rgba(250, 248, 245, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--slate-light);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.75rem;
  color: var(--slate-light);
}

.footer__legal a:hover {
  color: var(--gold-accent);
}

/* --- Page Header (Interior Pages) --- */
.page-header {
  padding-top: 160px;
  padding-bottom: 80px;
}

.page-header__label {
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 16px;
}

/* --- Content Blocks --- */
.content-block {
  margin-bottom: 32px;
}

.content-block p {
  margin-bottom: 16px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

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

.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-60 { margin-bottom: 60px; }

.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Engagement Format List --- */
.format-list {
  list-style: none;
}

.format-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

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

/* --- Speaking Theme Card --- */
.theme-card {
  padding: 32px 0;
  border-bottom: 1px solid rgba(250, 248, 245, 0.08);
}

.theme-card:last-child {
  border-bottom: none;
}

.theme-card h3 {
  margin-bottom: 8px;
}

.theme-card p {
  font-size: 0.95rem;
}

/* --- Micro Text --- */
.micro-text {
  font-size: 0.75rem;
  color: var(--slate-light);
  margin-top: 8px;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .section {
    padding: var(--section-padding-tablet) 0;
  }
  
  .grid-2 {
    gap: 40px;
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile) 0;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-2--reverse-mobile {
    direction: ltr;
  }

  .grid-2--reverse-mobile > *:first-child {
    order: 2;
  }

  .grid-2--reverse-mobile > *:last-child {
    order: 1;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(15, 26, 46, 0.08);
  }

  .nav__links.active {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .btn-group {
    flex-direction: column;
  }

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

  .form-inline {
    flex-direction: column;
  }

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

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

  .logo-strip {
    gap: 24px;
  }

  .page-header {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  h1 {
    font-size: 2.2rem;
  }
}
