:root {
  --bg: #f7f8f9;
  --bg-card: #ffffff;
  --border: #dfe4e8;
  --text: #1c2b33;
  --text-muted: #5a6b76;
  --slate: #30505e;
  --accent: #a11d1e;
  --accent-ink: #ffffff;
  --logo-bg: #ffffff;
  --logo-ink: #30505e;
  --max: 1080px;
  --radius: 12px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f171c;
    --bg-card: #17232a;
    --border: #253640;
    --text: #e8edf0;
    --text-muted: #98a8b2;
    --slate: #9fb8c4;
    --accent: #e0464a;
    --accent-ink: #ffffff;
    --logo-bg: #f4f6f8;
    --logo-ink: #eef2f4;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-family: var(--serif); font-size: clamp(2.3rem, 5.5vw, 3.9rem); font-weight: 700; }
h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
}
.brand svg { width: 140px; height: auto; display: block; color: var(--logo-ink); }
.site-nav { display: flex; gap: 22px; align-items: center; font-size: .95rem; font-weight: 500; color: var(--text-muted); }
.site-nav a:hover { color: var(--text); }
.nav-cta { color: var(--text); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; }
.nav-cta:hover { border-color: var(--accent); }

/* Layout */
main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--text-muted); }

/* Hero */
.hero { padding: 88px 0 80px; max-width: 780px; }
.eyebrow, .tag { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--text-muted); max-width: 640px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--slate); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { background: var(--accent); } }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-muted); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: border-color .15s; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.card p { color: var(--text-muted); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }
.card-feature { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.link { color: var(--text); font-weight: 500; }
.link:hover { color: var(--accent); }
.social-row { display: flex; gap: 18px; }

/* Client logos */
.logos {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px;
}
.logos li {
  background: var(--logo-bg); border: 1px solid var(--border); border-radius: 10px;
  height: 84px; display: flex; align-items: center; justify-content: center; padding: 16px;
}
.logos a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.logos img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* About */
.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.about-photo img { border-radius: 50%; width: 220px; height: 220px; object-fit: cover; object-position: top; border: 4px solid var(--bg-card); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.prose { max-width: 680px; }
.prose p { color: var(--text-muted); }
.talk { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: center; margin-top: 56px; }
.talk-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--border); }
.talk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.talk-meta p { color: var(--text-muted); }

/* Contact */
.section-contact { text-align: center; padding: 96px 0; }
.section-contact p { color: var(--text-muted); max-width: 520px; margin: 0 auto 28px; }

/* Footer */
.site-footer {
  max-width: var(--max); margin: 0 auto; padding: 32px 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--border); color: var(--text-muted); font-size: .88rem;
}
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  .about-grid, .talk { grid-template-columns: 1fr; }
  .about-photo img { width: 160px; height: 160px; }
}
@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
}

/* Hero proof points */
.hero-proof { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: var(--text-muted); }
.hero-proof li { padding-left: 14px; position: relative; }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.steps span { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--slate); margin-bottom: 10px; }
.steps p { color: var(--text-muted); font-size: .97rem; margin: 0; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--border); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--text-muted); margin: 0 0 18px; }
.faq a { color: var(--accent); }

/* Brand accents */
.section-head .tag { color: var(--slate); }
.card h3 { color: var(--slate); }
@media (prefers-color-scheme: dark) { .card h3 { color: var(--text); } }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
