:root {
  --paper: #f7f9fc;
  --paper-2: #edf1f7;
  --line: #d5dce8;
  --ink: #10234a;
  --muted: #4d5b78;
  --ochre: #c29a3c;
  --ochre-text: #8f6a12;
  --serif: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

h1, h2, h3 { text-wrap: balance; font-family: var(--serif); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.6vw, 58px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 20px; }
h3 { font-size: 22px; }
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--muted); max-width: 52ch; line-height: 1.75; }
.muted { color: var(--muted); font-size: 16px; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { top: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247, 249, 252, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand { display: grid; line-height: 1.15; }
.brand-name { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.brand-sub { font-size: 13px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav a:not(.btn) { color: var(--muted); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ochre); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; cursor: pointer; position: relative; color: var(--ink); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; inset-inline: 11px; height: 2px; background: currentColor; content: ''; }
.menu-btn span { top: 21px; }
.menu-btn span::before { top: -7px; inset-inline: 0; }
.menu-btn span::after { top: 7px; inset-inline: 0; }

/* buttons & links */
.btn { display: inline-block; background: var(--ink); color: #fff; padding: 14px 30px; border-radius: 0; font-weight: 700; font-size: 17px; border: 1px solid var(--ink); border-bottom: 3px solid var(--ochre); cursor: pointer; font-family: inherit; line-height: 1.4; }
.btn:hover { background: #1b3470; border-color: #1b3470; border-bottom-color: var(--ochre); }
.btn-sm { padding: 8px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); border-bottom-width: 1px; }
.btn-ghost:hover { background: transparent; border-color: var(--ochre); color: var(--ink); }
.link { border-bottom: 1px solid var(--ochre); padding-bottom: 2px; }
.link:hover { color: var(--ochre-text); }
.more { margin-top: 28px; }

/* hero */
.hero { padding: 40px 0 72px; background: radial-gradient(60% 70% at 85% 0%, #e1e9f5 0%, rgba(247, 249, 252, 0) 70%); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 28px; color: var(--muted); font-size: 15px; }
.portrait { width: min(100%, 360px); margin-inline: auto; position: relative; }
.portrait img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border-radius: 0; position: relative; z-index: 1; background: var(--paper-2); }
.portrait::after { content: ''; display: block; width: 64px; height: 4px; background: var(--ochre); margin-top: 16px; }
/* sections */
.section { padding: 84px 0; }
.section-tight { padding-top: 12px; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.pull { border-inline-start: 2px solid var(--ochre); padding-inline-start: 28px; }
blockquote p { font-size: clamp(21px, 2.3vw, 26px); font-weight: 500; line-height: 1.6; }

/* ruled rows */
.rows, .episodes { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.rows > li { border-bottom: 1px solid var(--line); }
.row { display: grid; gap: 6px 40px; padding: 26px 0; }
.service-row { grid-template-columns: minmax(200px, 1fr) 2fr; align-items: baseline; }
.row-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.3; }
.row:hover .row-title { color: var(--ochre-text); }
.row-text { color: #2f3f60; font-size: 18px; }
.row-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: 15px; }
.row-meta > * + *::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--ochre); border-radius: 50%; margin-inline-end: 18px; vertical-align: middle; }
.article-row { grid-template-columns: 1fr; }

/* page head & crumbs */
.page-head { padding: 56px 0 36px; background: radial-gradient(50% 120% at 90% 0%, #e6edf7 0%, rgba(247, 249, 252, 0) 70%); }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; max-width: 24ch; }
.narrow h1 { max-width: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs > * + *::before { content: '/'; margin-inline-end: 10px; color: var(--line); }
.crumbs a:hover { color: var(--ochre-text); }
.byline { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: 15px; margin-top: 8px; }
.byline > * + *::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--ochre); border-radius: 50%; margin-inline-end: 18px; vertical-align: middle; }
.byline a { color: var(--ink); border-bottom: 1px solid var(--ochre); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin-top: 28px; }
.chips a { display: inline-block; border: 1px solid var(--line); padding: 6px 18px; font-size: 15px; color: var(--muted); border-radius: 2px; }
.chips a:hover, .chips a[aria-current] { border-color: var(--ochre); color: var(--ink); }

/* prose */
.prose { max-width: 64ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; margin-bottom: .5em; font-size: clamp(23px, 2.5vw, 29px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { line-height: 1.95; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--ochre); }
.prose strong { font-weight: 700; }
.prose a { border-bottom: 1px solid var(--ochre); }
.prose a:hover { color: var(--ochre-text); }
.prose blockquote { border-inline-start: 2px solid var(--ochre); padding-inline-start: 26px; margin-block: 1.8em; }
.prose .ref { text-align: right; color: var(--muted); font-size: 16px; }
.prose figure img { border-radius: 4px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 19px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ochre-text); font-family: var(--sans); font-size: 26px; line-height: 1.2; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { margin-top: 12px; color: var(--muted); max-width: 60ch; }

/* podcasts */
.episodes > li { padding: 40px 0; border-bottom: 1px solid var(--line); }
.episodes h2 { font-size: 24px; margin-bottom: 8px; }
.episodes p { color: var(--muted); margin-bottom: 16px; }
.embed { width: 100%; border: 0; border-radius: 12px; margin: 14px 0 18px; background: var(--paper-2); }
.embed-video { aspect-ratio: 16 / 9; height: auto; }
.episode .embed { margin-top: 24px; max-width: 760px; }

/* process steps: a real sequence, so it's numbered */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ochre); padding-top: 20px; }
.steps li::before { content: counter(step); display: block; font-size: 15px; font-weight: 700; color: var(--ochre-text); margin-bottom: 6px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 17px; }

/* whatsapp */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1f8f4e; color: #fff; box-shadow: 0 4px 14px rgba(16, 35, 74, .25); }
.wa-float:hover { background: #18773f; }
.wa-lead { display: grid; gap: 12px; justify-items: start; margin-bottom: 28px; font-weight: 600; }

/* cta band */
.cta-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.cta-band .wrap { display: grid; gap: 14px; justify-items: start; }
.cta-band h2 { margin-bottom: 0; }
.cta-band p { color: var(--muted); max-width: 52ch; margin-bottom: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; margin-bottom: 20px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; }
.contact-list span { color: var(--muted); }
.contact-list a:hover { color: var(--ochre-text); }
form { display: grid; gap: 18px; }
label { display: grid; gap: 6px; font-size: 16px; color: var(--muted); }
input, textarea, select { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 12px 14px; border-radius: 2px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--ochre); border-color: transparent; }
form .btn { justify-self: start; }
.form-status { color: var(--ochre-text); min-height: 1.5em; }

/* footer */
.site-footer { background: var(--paper); border-top: 3px solid var(--ochre); padding: 56px 0 28px; font-size: 16px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-name { font-size: 22px; font-weight: 700; }
.foot-sub { color: var(--muted); max-width: 30ch; }
.foot-h { color: var(--ochre-text); font-weight: 700; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.site-footer .contact-list { margin: 0; }
.site-footer .contact-list li { grid-template-columns: 70px 1fr; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* responsive */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 24px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding-block: 10px; font-size: 18px; }
  .hero { padding-top: 44px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { width: min(100%, 300px); }
  .hero .portrait { order: -1; width: 180px; margin-inline: 0; }
  .hero .portrait img { aspect-ratio: 1; height: auto; }
  .hero .portrait::after { display: none; }
  .hero-grid { gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .service-row { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .foot { grid-template-columns: 1fr; }
  .brand-name { font-size: 26px; }
}
.hero-text .prose { margin-top: 48px; }
.page-head .lead { max-width: 72ch; }
