/* ═══════════════════════════════════════════
   Ethos Innovation Partners — Stylesheet
   Palette: Obsidian + Warm Gold
   ═══════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --obsidian:  #1C2026;
  --charcoal:  #2D343D;
  --gold:      #C4883A;
  --gold-lt:   #E8C98A;
  --champagne: #F0DDB8;
  --cream:     #FAF8F5;
  --sand:      #F4F0E8;
  --ink:       #1C2026;
  --muted:     #6B737A;
  --line:      #E2DDD6;
  --white:     #FFFFFF;
  --nav-h:     72px;
  --max-w:     1120px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section { scroll-margin-top: var(--nav-h); }

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}

#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  color: var(--obsidian);
}

.nav-logo .wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

.nav-logo .nav-tag {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-links .cta-link {
  background: var(--obsidian);
  color: var(--white) !important;
  padding: 0.5rem 1.3rem;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.nav-links .cta-link:hover { background: var(--charcoal) !important; }

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

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--obsidian);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--obsidian);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 45%, rgba(196,136,58,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 15% 75%, rgba(196,136,58,0.06) 0%, transparent 55%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-h1 em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-execution {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-lt);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-primary { background: var(--gold); color: var(--obsidian); }
.btn-primary:hover { background: var(--gold-lt); }

.btn-ghost { border: 1px solid rgba(255,255,255,0.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ── Section helpers ── */
.section-light { background: var(--cream); padding: 7rem 0; }
.section-sand  { background: var(--sand);  padding: 7rem 0; }
.section-dark  { background: var(--obsidian); padding: 7rem 0; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--obsidian);
  margin-bottom: 1.5rem;
}

.section-title.on-dark { color: var(--white); }

.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.8;
}

.divider {
  width: 48px; height: 3px;
  background: var(--gold);
  margin: 1.5rem 0 2.5rem;
}

/* ── Partners strip ── */
.partners-strip {
  background: var(--sand);
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--muted);
  opacity: 0.75;
  white-space: nowrap;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}

.about-body p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.about-body p strong { color: var(--ink); font-weight: 500; }

.about-highlights { display: flex; flex-direction: column; gap: 1.5rem; }

.highlight-card {
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--sand);
}

.highlight-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--obsidian);
  margin-bottom: 0.4rem;
}

.highlight-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

.initiative-banner {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  background: var(--obsidian);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.initiative-badge {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--obsidian);
}

.initiative-badge svg { width: 24px; height: 24px; }

.initiative-text h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.initiative-text p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.55; }

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
  border: 1px solid var(--line);
}

.stat-item {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--obsidian);
  display: block;
}

.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }

/* ── Pull quote ── */
.quote-section { padding: 6rem 0; background: var(--charcoal); }

.quote-block { max-width: 800px; margin: 0 auto; text-align: center; }

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 0.5;
  display: block;
  margin-bottom: 1rem;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.quote-attr {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  margin-top: 4rem;
  background: var(--line);
}

.service-card {
  background: var(--sand);
  padding: 2.5rem;
  transition: background 0.25s;
}

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

.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--champagne);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--obsidian);
  margin-bottom: 0.75rem;
}

.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }

.service-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ── Who We Work With ── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  margin-top: 4rem;
  background: rgba(255,255,255,0.08);
}

.who-card {
  background: rgba(255,255,255,0.04);
  padding: 2.5rem;
  transition: background 0.25s;
}

.who-card:hover { background: rgba(196,136,58,0.08); }

.who-icon {
  width: 44px; height: 44px;
  background: rgba(196,136,58,0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.who-icon svg { width: 20px; height: 20px; }

.who-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.who-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* ── FAQ ── */
.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--obsidian);
  padding: 1.5rem 2rem 1.5rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover { color: var(--gold); }

.faq-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  padding: 0 2rem 1.5rem 0;
  max-width: 720px;
}

/* ── Booking ── */
.booking-wrap {
  margin-top: 3rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
}

.calendly-fallback {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.calendly-fallback a { color: var(--gold); text-decoration: none; }
.calendly-fallback a:hover { text-decoration: underline; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  margin-top: 4rem;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: rgba(196,136,58,0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-icon svg { width: 15px; height: 15px; }

.contact-detail-body label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-detail-body span,
.contact-detail-body a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail-body a:hover { color: var(--gold-lt); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

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

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

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

.form-group select option { background: var(--charcoal); }

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

.form-submit {
  background: var(--gold);
  color: var(--obsidian);
  border: none;
  padding: 0.9rem 2.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  align-self: flex-start;
}

.form-submit:hover { background: var(--gold-lt); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-msg { font-size: 0.875rem; margin-top: 0.5rem; }
.form-msg.success { color: var(--gold-lt); }
.form-msg.error   { color: #F8A0A0; }

/* ── Footer ── */
footer {
  background: #111318;
  padding: 3rem 0;
}

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
}

.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); text-align: center; }

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

.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .services-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }

  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: none; }

  .form-row { grid-template-columns: 1fr; }

  .initiative-banner { flex-direction: column; gap: 1.25rem; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .section-light,
  .section-sand,
  .section-dark { padding: 5rem 0; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }

  .partners-row { gap: 1.5rem; }
}

/* ── Profile Photo ── */
.about-photo {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.about-photo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--gold);
  filter: grayscale(100%);
}

/* ── Initiative link ── */
.initiative-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.initiative-link:hover { text-decoration: underline; }

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--obsidian);
  border-top: 1px solid var(--gold);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 9999;
  flex-wrap: wrap;
}

#cookie-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

#cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

#cookie-banner button {
  background: var(--gold);
  color: var(--obsidian);
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
}

#cookie-banner button:hover { background: var(--gold-lt); }

@media (max-width: 640px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* ── Selected Writing & Talks ── */
.writing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.writing-item {
  border-left: 2px solid var(--gold);
  padding: 0 0 0 1.5rem;
}

.writing-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.writing-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--obsidian);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.writing-item h4 a {
  color: var(--obsidian);
  text-decoration: none;
}
.writing-item h4 a:hover { color: var(--gold); }

.writing-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Availability signal ── */
.availability {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.avail-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(76,175,80,0.2);
}

/* ── Highlight card recognition line ── */
.highlight-recognition {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
}

/* ── Split Book / Contact layout ── */
.split-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}

.split-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.split-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.split-booking .calendly-fallback,
.split-booking .calendly-fallback a {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

.split-booking .calendly-fallback a {
  color: var(--gold);
}

/* Divider between columns */
.split-contact {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 4rem;
}

@media (max-width: 900px) {
  .split-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .split-contact {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-left: 0;
    padding-top: 3rem;
  }
}

/* ── Calendly mobile height fix ── */
@media (max-width: 640px) {
  .calendly-inline-widget {
    height: 500px !important;
  }
}
