/* ==========================================
   EDUPLACE GROUP — Corporate Design System

   Palette:
   White:      #FFFFFF
   Stone:      #F7F5F0
   Warm Gray:  #E8E4DD
   Navy:       #1B2A4A
   Charcoal:   #2D3436
   Brass:      #B8976A
   Brass Light:#D4C4A8
   Dark Text:  #1A1A1A
   Body Text:  #4A4A4A
   Muted Text: #7A7A7A
   ========================================== */

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

:root {
  --white: #FFFFFF;
  --stone: #F7F5F0;
  --warm-gray: #E8E4DD;
  --navy: #1B2A4A;
  --charcoal: #2D3436;
  --brass: #B8976A;
  --brass-light: #D4C4A8;
  --brass-faint: rgba(184, 151, 106, 0.08);
  --dark: #1A1A1A;
  --body: #4A4A4A;
  --muted: #7A7A7A;
  --border: #E2DED7;
  --border-light: #EEEAE4;
  --radius: 4px;
  --transition: 0.3s ease;
  --max-width: 1140px;
  --section-pad: clamp(5rem, 10vh, 8rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.2;
  font-weight: 600;
}

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

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

p:last-child { margin-bottom: 0; }

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--body);
  line-height: 1.8;
  max-width: 640px;
}

/* ==========================================
   LAYOUT
   ========================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

section {
  padding: var(--section-pad) 0;
}

.section--stone { background: var(--stone); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.75); }
.section--navy .label { color: var(--brass-light); }

/* ==========================================
   NAVIGATION
   ========================================== */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

nav.scrolled {
  padding: 0.75rem 0;
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo .logo-mark {
  width: 32px; height: 32px;
  background: var(--navy);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 0;
}

.nav-center {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-center a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
  letter-spacing: 0;
}

.nav-center a:hover,
.nav-center a.active {
  color: var(--dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--navy);
}

.nav-cta:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-center { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-center.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem 2rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    gap: 0.75rem;
  }
  .nav-center.open a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--charcoal);
  transform: translateY(-1px);
}

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

.btn--secondary:hover {
  border-color: var(--dark);
}

.btn--brass {
  background: var(--brass);
  color: var(--white);
}

.btn--brass:hover {
  background: #A6845C;
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn svg {
  width: 16px; height: 16px;
  transition: transform var(--transition);
}

.btn:hover svg { transform: translateX(2px); }

/* ==========================================
   HERO
   ========================================== */

.hero {
  padding: 10rem 0 var(--section-pad);
  position: relative;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero .lead {
  margin-bottom: 2.5rem;
}

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

.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--brass);
  border: none;
  margin: 3.5rem 0 1.5rem;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ==========================================
   CARDS & TILES
   ========================================== */

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.tile {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2rem;
}

/* ==========================================
   GRID UTILITIES
   ========================================== */

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

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

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

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

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================
   BRAND CARDS
   ========================================== */

.brand-tile {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: var(--transition);
}

.brand-tile:hover {
  border-color: var(--border);
  box-shadow: 0 6px 30px rgba(0,0,0,0.05);
}

.brand-tile .brand-sector {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.75rem;
}

.brand-tile h3 {
  margin-bottom: 0.75rem;
}

.brand-tile p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.brand-tile .brand-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.brand-tile .brand-link:hover { gap: 0.6rem; }

/* ==========================================
   LEADERSHIP CAPABILITIES STRIP
   ========================================== */

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

.cap-item {
  padding: 1.5rem;
  border-left: 2px solid var(--brass-light);
}

.cap-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.cap-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 900px) { .cap-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cap-strip { grid-template-columns: 1fr; } }

/* ==========================================
   PROOF / CREDENTIAL MARKERS
   ========================================== */

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

.proof-item {
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.proof-item .proof-stat {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.proof-item h4 {
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}

.proof-item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 768px) { .proof-grid { grid-template-columns: 1fr; } }

/* ==========================================
   SPLIT LAYOUT
   ========================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.split--center { align-items: center; }

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
}

/* ==========================================
   EXECUTIVE PROFILE
   ========================================== */

.exec-header {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 3rem;
}

.exec-photo {
  width: 180px;
  height: 220px;
  background: var(--stone);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brass);
  font-family: 'Inter', sans-serif;
}

.exec-intro h1 {
  margin-bottom: 0.5rem;
}

.exec-intro .exec-title {
  font-size: 1.1rem;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.exec-intro .lead {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .exec-header {
    flex-direction: column;
    gap: 2rem;
  }
  .exec-photo {
    width: 120px; height: 150px;
    font-size: 2.5rem;
  }
}

/* ==========================================
   ARTICLE / INSIGHTS CARDS
   ========================================== */

.article-card {
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
  transition: var(--transition);
}

.article-card:first-child { padding-top: 0; }
.article-card:last-child { border-bottom: none; }

.article-card .article-meta {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.article-card h3 {
  margin-bottom: 0.5rem;
}

.article-card h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color var(--transition);
}

.article-card h3 a:hover { color: var(--brass); }

.article-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ==========================================
   CONTACT
   ========================================== */

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

.contact-lane {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-lane h3 { margin-bottom: 0.75rem; }
.contact-lane p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-lane a.btn { margin-top: 0.5rem; }

@media (max-width: 768px) { .contact-lanes { grid-template-columns: 1fr; } }

/* ==========================================
   FOOTER
   ========================================== */

footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  background: var(--white);
}

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

.footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--dark); }

/* ==========================================
   PAGE HEADER (interior pages)
   ========================================== */

.page-header {
  padding: 9rem 0 4rem;
  background: var(--stone);
}

.page-header .label { margin-bottom: 1rem; }
.page-header h1 { margin-bottom: 1rem; }
.page-header .lead { max-width: 640px; }

/* ==========================================
   DIVIDERS & SPACERS
   ========================================== */

.divider {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 3rem 0;
}

.spacer-sm { height: 2rem; }
.spacer-md { height: 4rem; }
.spacer-lg { height: 6rem; }

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==========================================
   INLINE LIST
   ========================================== */

.inline-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inline-list li {
  background: var(--stone);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--body);
  font-weight: 500;
}

.section--navy .inline-list li {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}

/* ==========================================
   BLOCKQUOTE
   ========================================== */

blockquote {
  border-left: 2px solid var(--brass);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ==========================================
   EXPERIENCE ENTRIES
   ========================================== */

.exp-entry {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-light);
}

.exp-entry:last-child { border-bottom: none; }

.exp-entry h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.exp-entry .exp-role {
  font-size: 0.88rem;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.exp-entry p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ==========================================
   PHILOSOPHY PRINCIPLES
   ========================================== */

.principle-list {
  list-style: none;
  counter-reset: principle;
}

.principle-list li {
  counter-increment: principle;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

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

.principle-list li::before {
  content: counter(principle, decimal-leading-zero);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brass-light);
  flex-shrink: 0;
  line-height: 1.4;
  min-width: 2rem;
}

.principle-list h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.principle-list p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.7;
}
