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

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

:root {
  --slate:       #1e2229;
  --slate-mid:   #22282f;
  --slate-light: #2d333d;
  --slate-hover: #353c47;
  --ember:       #e07040;
  --ember-dark:  #c05c30;
  --cream:       #f0ece4;
  --muted:       #9aa0ab;
  --faint:       #6b7280;
  --border:      #2d333d;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--slate);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--slate);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { display: block; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--cream); }

.nav-cta {
  background: var(--ember);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 3px;
  font-weight: 500;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--ember-dark) !important; color: #fff !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream); transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  padding: 80px 40px 72px;
  border-bottom: 1px solid var(--border);
  max-width: 860px;
}

.hero-pills {
  display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap;
}
.pill {
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--slate-light);
  color: var(--muted);
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

.ember-rule {
  width: 48px; height: 2px;
  background: var(--ember);
  margin: 28px 0;
}

.hero-body {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  background: var(--ember);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--ember-dark); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  border: 1px solid var(--slate-light);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  padding: 12px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
  letter-spacing: 0.02em;
}
.btn-ghost:hover { border-color: var(--muted); color: var(--cream); }

/* ── APPROACH STRIP ── */
.approach {
  border-bottom: 1px solid var(--border);
  padding: 56px 40px;
}

.section-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 28px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.approach-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 10px;
}
.approach-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--slate-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  color: var(--cream);
}
.cta-band p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ── ABOUT PAGE ── */
.about-hero {
  padding: 80px 40px 64px;
  border-bottom: 1px solid var(--border);
  max-width: 720px;
}

.about-body {
  padding: 56px 40px;
  border-bottom: 1px solid var(--border);
}

.about-body .lead {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 28px;
}

.about-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 20px;
}

/* ── FOUNDERS ── */
.founders {
  padding: 56px 40px;
  border-bottom: 1px solid var(--border);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.founder-card {
  background: var(--slate-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-photo img {
  width: 100%; height: 100%; object-fit: cover;
}

.founder-photo-placeholder {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--slate-hover);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--muted);
}

.founder-info { padding: 24px; }
.founder-info h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}
.founder-info .founder-role {
  font-size: 12px;
  color: var(--ember);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.founder-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── CONTACT PAGE ── */
.contact-hero {
  padding: 80px 40px 64px;
  border-bottom: 1px solid var(--border);
  max-width: 640px;
}

.contact-body {
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  border-bottom: 1px solid var(--border);
}

.contact-info h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
}
.contact-info p { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--slate-mid);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 0.2s;
  appearance: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--faint); }

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

.form-honeypot { display: none; }

.form-notice {
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 20px;
  line-height: 1.6;
}

.form-success {
  display: none;
  background: var(--slate-mid);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ember);
  padding: 20px 24px;
  border-radius: 3px;
  margin-top: 16px;
}
.form-success p { font-size: 14px; color: var(--cream); margin: 0; }

/* ── HERO BACKGROUND ── */
.hero-bg {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1507676184212-d03ab07a01bf?w=1600&q=80');
  background-size: cover;
  background-position: center 30%;
  max-width: 100%;
  padding: 100px 40px 88px;
  border-bottom: 1px solid var(--border);
}

.hero-bg .hero-inner {
  max-width: 680px;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 24, 30, 0.92) 0%,
    rgba(20, 24, 30, 0.85) 50%,
    rgba(20, 24, 30, 0.60) 100%
  );
}

.hero-bg > * {
  position: relative;
  z-index: 1;
}

/* ── FOOTER LOGO IMG ── */
.footer-logo-img { display: block; opacity: 0.85; }
footer {
  background: var(--slate-mid);
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer .footer-logo {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

footer .footer-copy {
  font-size: 12px;
  color: var(--faint);
}

/* ── PAGE TRANSITIONS ── */
.page { display: none; opacity: 0; transition: opacity 0.3s ease; }
.page.active { display: block; opacity: 1; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1     { animation: fadeUp 0.6s ease both; }
.ember-rule  { animation: fadeUp 0.6s 0.15s ease both; }
.hero-body   { animation: fadeUp 0.6s 0.25s ease both; }
.btn-row     { animation: fadeUp 0.6s 0.35s ease both; }

/* ── MOBILE ── */
@media (max-width: 700px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--slate); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  .hero, .about-hero, .contact-hero { padding: 52px 20px 44px; }
  .approach, .founders, .about-body { padding: 44px 20px; }
  .cta-band { padding: 44px 20px; flex-direction: column; align-items: flex-start; }
  .contact-body { padding: 44px 20px; grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}
