/* ============================================
   More Than Theory — CSS
   Light theme, purple primary, Playfair + Inter
   ============================================ */

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

:root {
  --background: #F8F8FA;
  --foreground: #08070D;
  --card: #FFFFFF;
  --border: #DDDDE2;
  --primary: #7D53DE;
  --primary-light: #F0EBFC;
  --muted: #F0F0F2;
  --muted-foreground: #5E5D63;
  --radius: 0.5rem;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

.label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ============================================
   Header / Nav
   ============================================ */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 248, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo {
  height: 28px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

nav a:hover { color: var(--foreground); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-outline:hover { background: var(--muted); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  padding: 0.25rem;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 1.5rem;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.mobile-nav a {
  font-size: 0.95rem;
  color: var(--muted-foreground);
}

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

.hero {
  padding: 10rem 1.5rem 7rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(to right, var(--foreground) 1px, transparent 1px),
    linear-gradient(to bottom, var(--foreground) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(125, 83, 222, 0.07) 0%, transparent 70%);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

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

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin: 1.25rem 0 1.75rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

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

/* ============================================
   Section base
   ============================================ */

section {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header { max-width: 640px; margin-bottom: 4rem; }

.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-top: 1rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ============================================
   Services grid
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
}

.service-card:hover { background: var(--muted); }

.service-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ============================================
   About — two col
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 1px;
}

.about-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 2.5rem;
}

.about-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0.75rem 0 1rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ============================================
   Team profiles
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-grid--solo {
  grid-template-columns: 1fr;
  max-width: 280px;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 2rem;
}
.team-card--featured {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  margin-bottom: 1rem;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
}

.team-title {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  margin: 0.2rem 0 0.75rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ============================================
   Process steps
   ============================================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.process-step {}

.step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(125, 83, 222, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ============================================
   CTA
   ============================================ */

.cta-box {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  background: var(--card);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  pointer-events: none;
  position: absolute;
  top: -6rem; right: -6rem;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(125, 83, 222, 0.07) 0%, transparent 70%);
}

.cta-box h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
  max-width: 640px;
  margin: 1rem auto 1.5rem;
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--foreground); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

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

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  nav, .header-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 8rem 1.5rem 5rem; }
}
