:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #15181D;
  --muted: #5F6570;
  --line: #E4E3DD;
  --accent: #1F3A5F;
  --accent-ink: #FFFFFF;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1114; --surface: #16191E; --ink: #ECEBE6; --muted: #9AA0AA;
    --line: #2A2E35; --accent: #8FB0D9; --accent-ink: #0F1114;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1114; --surface: #16191E; --ink: #ECEBE6; --muted: #9AA0AA;
  --line: #2A2E35; --accent: #8FB0D9; --accent-ink: #0F1114;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--serif); font-size: 22px; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.nav nav { display: flex; gap: 28px; align-items: center; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--ink); }
@media (max-width: 760px) { .nav nav a:not(.btn):not(.keep) { display: none; } .nav nav { gap: 16px; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink) !important;
  padding: 12px 22px; border-radius: 999px; border: 0;
  font: 500 15px var(--sans); text-decoration: none; cursor: pointer;
  transition: opacity .2s;
}
.btn:hover { opacity: .88; }
.btn.sm { padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }

.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.textlink { color: var(--accent); text-decoration: none; font-weight: 500; font-size: 15px; }
.textlink:hover { text-decoration: underline; }

section { padding: 104px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { section { padding: 72px 0; } }
.sec-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; margin-bottom: 56px; align-items: end; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }

/* Hero */
.hero { padding: 88px 0 104px; }
.hero .wrap.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { margin: 24px 0 36px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.portrait { position: relative; justify-self: end; width: 100%; max-width: 360px; }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 45% 30%; border-radius: 4px; filter: grayscale(10%); }
.portrait figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }
@media (max-width: 820px) {
  .hero .wrap.split { grid-template-columns: 1fr; gap: 40px; }
  .portrait { justify-self: start; max-width: 280px; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; }
.stat b { display: block; font: 400 44px/1 var(--serif); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 200px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 8px; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service .n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.service h3 { margin: 18px 0 10px; }
.service p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; }
.step .n { font: 400 15px var(--serif); font-style: italic; color: var(--accent); }
.step h3 { margin: 8px 0 10px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* Trajectory */
.timeline { list-style: none; }
.timeline > li {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.timeline > li:last-child { border-bottom: 1px solid var(--line); }
.timeline .yr { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
.timeline .role { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.timeline .org { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.wins { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.wins li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; font-size: 15px; align-items: baseline; }
.wins b { font: 400 22px/1 var(--serif); color: var(--accent); letter-spacing: -0.01em; }
.wins li.plain { grid-template-columns: 1fr; padding-left: 88px; position: relative; color: var(--muted); }
.wins li.plain::before { content: "—"; position: absolute; left: 72px; transform: translateX(-100%); color: var(--line); }
@media (max-width: 720px) {
  .timeline > li { grid-template-columns: 1fr; gap: 6px; }
  .wins li { grid-template-columns: 60px 1fr; gap: 12px; }
  .wins li.plain { padding-left: 72px; }
  .wins li.plain::before { left: 60px; }
}

/* Booking */
.book .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
@media (max-width: 860px) { .book .wrap { grid-template-columns: 1fr; gap: 40px; } }
.book .lead { margin: 20px 0 32px; }
.contact-list { list-style: none; font-size: 15px; }
.contact-list li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
@media (max-width: 600px) { .card { padding: 22px; } }
.card[hidden] { display: none; }
.tabs { display: flex; gap: 4px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 10px 14px; font: 500 14px var(--sans); color: var(--muted); cursor: pointer; }
.tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.card.cal { padding: 8px; overflow: hidden; }
.card.cal iframe { display: block; width: 100%; height: 640px; border: 0; background: #fff; border-radius: 4px; }
.card.cal .note { margin: 8px 0 6px; }
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; gap: 0; } }
label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 400 15px var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  padding: 11px 12px; outline: none; transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 96px; }
.modes { display: flex; gap: 8px; flex-wrap: wrap; }
.modes label {
  margin: 0; font-weight: 400; font-size: 14px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}
.modes input { display: none; }
.modes input:checked + span { color: var(--accent); font-weight: 500; }
.modes label:has(input:checked) { border-color: var(--accent); }
form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* About page */
.prose { max-width: 640px; }
.prose p { font-size: 18px; margin-bottom: 20px; }
.prose p:first-child::first-letter { font: 400 64px/0.8 var(--serif); float: left; padding: 8px 10px 0 0; color: var(--accent); }
.signature { font: italic 400 24px var(--serif); margin-top: 8px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.about-grid .portrait { justify-self: start; position: sticky; top: 96px; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-grid .portrait { position: static; max-width: 280px; } }
.passions { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.passions li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }

.book-feature { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.book-cover { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 100% 50%; border-radius: 4px; background: #2a2a2e; }
.book-feature blockquote { font: italic 400 24px/1.35 var(--serif); margin: 20px 0 24px; padding-left: 20px; border-left: 2px solid var(--accent); }
.book-feature p { color: var(--muted); margin-bottom: 16px; max-width: 540px; }
.book-feature .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 820px) { .book-feature { grid-template-columns: 1fr; gap: 40px; } .book-cover { max-width: 300px; } }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-bottom: 64px; }
.cat { padding: 24px 24px 24px 0; }
.cat + .cat { padding-left: 24px; border-left: 1px solid var(--line); }
.cat h3 { font-size: 20px; margin-bottom: 6px; }
.cat { display: flex; flex-direction: column; }
.cat p { font-size: 14px; color: var(--muted); }
.cat-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 18px; }
.cat-links .textlink { font-size: 14px; }
@media (max-width: 720px) { .cats { grid-template-columns: 1fr; } .cat + .cat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.post { text-decoration: none; display: block; }
.post img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; transition: opacity .2s; }
.post:hover img { opacity: .85; }
.post .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.post .meta span:first-child { color: var(--accent); font-weight: 500; }
.post h3 { font-size: 20px; line-height: 1.25; }
.post:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.more { margin-top: 48px; }

.socials { display: flex; gap: 20px; flex-wrap: wrap; }
.socials a { text-decoration: none; color: var(--muted); }
.socials a:hover { color: var(--ink); }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 640px; margin: 14px auto 16px; }
.cta-band .lead { margin: 0 auto 32px; }

footer { padding: 40px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Credentials under hero CTAs */
.creds { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 32px; font-size: 14px; color: var(--muted); }
.creds span::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 600; }
.creds em { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.creds a { text-decoration: none; }
.creds a:hover em { text-decoration: underline; text-underline-offset: 3px; }

/* Pain points */
.pains { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.pains li { padding: 22px 0 22px 40px; border-top: 1px solid var(--line); position: relative; font-size: 17px; }
.pains li::before { content: "?"; position: absolute; left: 0; top: 20px; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; font: italic 400 15px/1 var(--serif); color: var(--accent); }
.pains li small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.pains-cta { margin-top: 40px; font: 400 24px/1.3 var(--serif); }
.pains-cta a { color: var(--accent); }
@media (max-width: 720px) { .pains { grid-template-columns: 1fr; } }

/* Deliverables in process */
.step ul { list-style: none; margin-top: 14px; font-size: 14px; color: var(--muted); }
.step ul li { padding: 4px 0 4px 18px; position: relative; }
.step ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* Book band */
.book-band { background: #15181D; color: #ECEBE6; border-bottom: 0; }
.book-band .eyebrow { color: #9AA0AA; }
.book-band .book-feature p { color: #B5BAC2; }
.book-band blockquote { border-left-color: #8FB0D9; }
.book-band .btn { background: #ECEBE6; color: #15181D !important; }
.book-band .btn.ghost { background: transparent; color: #ECEBE6 !important; border-color: #3A3F47; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .book-band { background: #1B1F25; } }
:root[data-theme="dark"] .book-band { background: #1B1F25; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 400 21px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 26px var(--sans); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); }

/* Principles (about) */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.principles div { border-top: 2px solid var(--ink); padding-top: 20px; }
.principles h3 { margin-bottom: 10px; }
.principles p { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; gap: 32px; } }
.facts { list-style: none; margin-top: 36px; font-size: 15px; }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts span { color: var(--muted); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; } }

/* Footer */
footer .foot-name { font-family: var(--serif); font-size: 18px; color: var(--ink); display: block; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
