/* Savian Boroanca · faithful rebuild of the Super.so "Minima" theme as it rendered on
   savianboroanca.com (values measured from the live site on 24.11.2026).
   Difference on purpose: Helvetica instead of Inter. Background #fffefc as on the original. */
:root {
  --bg: #fffefc;
  --text: #111111;
  --text-ui: rgb(55, 53, 47);
  --muted: rgb(113, 112, 108); /* darkened from 125,124,120 for 4.9:1 contrast */
  --border: rgba(32, 32, 32, 0.1);
  --table-border: rgba(55, 53, 47, 0.16);
  --hover: rgba(55, 53, 47, 0.06);
  --font: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --pad-x: 96px;
  --col-gap: 80px;
  --navbar-h: 56px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 16px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); display: flex; flex-direction: column; min-height: 100vh; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }

/* ---------- Navbar (Super "minimal": logo left, search + menu right) ---------- */
.navbar { position: sticky; top: 0; z-index: 20; height: var(--navbar-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; background: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.navbar__logo { font-size: 16px; font-weight: 600; color: var(--text-ui); text-decoration: none; }
.navbar__actions { display: flex; gap: 18px; color: var(--text-ui); }
.navbar__button { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 5px; opacity: .85; }
.navbar__button:hover { background: var(--hover); opacity: 1; }
.navbar__button .i-close, .menu-open .navbar__button .i-open { display: none; }
.menu-open .navbar__button .i-close { display: block; }
.navbar__menu { position: absolute; top: 60px; right: 4px; width: 350px; max-width: calc(100vw - 8px); padding: 14px 0; background: #fff;
  border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04); display: flex; flex-direction: column; }
.navbar__menu[hidden] { display: none; }
.navbar__menu a { padding: 7px 20px; font-size: 16px; line-height: 23.5px; color: var(--text-ui); text-decoration: none; }
.navbar__menu a:hover { background: var(--hover); }

/* ---------- Search (Pagefind) ---------- */
.search { position: fixed; inset: 0; z-index: 30; }
.search[hidden] { display: none; }
.search__backdrop { position: absolute; inset: 0; background: rgba(15, 15, 15, 0.35); }
.search__panel { position: relative; max-width: 640px; margin: 12vh auto 0; background: #fff; border-radius: 10px; padding: 16px; max-height: 70vh; overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); --pagefind-ui-font: var(--font); --pagefind-ui-primary: #111; --pagefind-ui-border-radius: 6px; --pagefind-ui-scale: .85; }

/* ---------- Page header (icon / cover / title) ---------- */
.page { flex: 1; padding-top: 80px; padding-bottom: 70px; }
.page-header { margin-bottom: 31px; }
.page-header__content { max-width: 1200px; margin: 0 auto; padding: 44px var(--pad-x) 0; }
.page-header__icon { width: 131px; height: 131px; padding: 3px; margin-bottom: 48px; }
.page-header__icon img { width: 125px; height: 125px; object-fit: contain; display: block; border-radius: 3px; }
.page-header__title { margin: 0 0 10px; padding: 2px 0; font-size: 48px; font-weight: 800; line-height: 60px; letter-spacing: -1.5px; color: var(--text); }
.page-header__description { margin: 6px 0 0; color: var(--muted); }

/* Cover on every page: 210px, framing as Super (object-position 50% 70.85%); page icon overlaps it */
.page-header__cover { height: 210px; overflow: hidden; }
.page-header__cover picture, .page-header__cover-img { display: block; width: 100%; height: 100%; }
.page-header__cover-img { object-fit: cover; object-position: 50% 70.85%; max-width: none; }
.page--icon .page-header__content { padding-top: 0; }
.page-header__icon--over { margin-top: -73px; margin-bottom: 38px; position: relative; }
.page-header__icon--logo img { background: #fff; object-fit: contain; padding: 17px 0; }

/* Content column */
.prose { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-x) 35px; }
.page--collection .page-header__content, .page--collection .prose { max-width: none; }

/* ---------- Text blocks ---------- */
.prose p { margin: 0 0 5px; padding: 4px 0; line-height: 24px; }
.prose h1, .prose h2 { font-size: 35.2px; font-weight: 500; line-height: 42.24px; letter-spacing: -0.5px; margin: 10px 0; padding: 3px 0; }
.prose h3 { font-size: 24px; font-weight: 500; line-height: 33.6px; margin: 10px 0 5px; padding: 3px 0; }
.prose h4, .prose h5 { font-size: 18px; font-weight: 600; margin: 10px 0 5px; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 2px; }
.prose a:hover { text-decoration-color: var(--text); }
.prose ul, .prose ol { margin: 2px 0; padding-left: 28px; }
.prose li { padding: 3px 0; line-height: 24px; }
.prose li p { margin: 0; padding: 0; }
.prose blockquote { margin: 8px 0; padding: 0 0 0 14.4px; border-left: 3px solid var(--text); }
.prose blockquote p { padding: 2px 0; }
.prose hr { border: 0; border-bottom: 1px solid var(--border); opacity: .8; margin: 15px 0; }
.prose code { font-size: .9em; background: rgba(135, 131, 120, .15); border-radius: 3px; padding: 2px 4px; }

/* Images: "normal" keep their Notion width, centered; "page-width" fill the column */
.prose figure { margin: 8px 0; }
.prose figure img { display: block; margin: 0 auto; }
.prose figure.img-full img { width: 100%; }
.prose figcaption { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.prose > p > img { display: block; margin: 8px auto; }

/* ---------- Components kept from Notion ---------- */
.prose .icon { width: 18px; height: 18px; flex: none; object-fit: contain; display: inline-block; margin: 0; }

/* Gallery cards: 2 columns in the 1008px column, 3 on full-width collection pages */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 30px; padding: 16px 0 4px; margin: 0; }
.prose a.card { display: flex; align-items: flex-start; gap: 8px; min-height: 45px; padding: 13px 11px 12px; border: 1px solid var(--border); border-radius: 5px;
  font-size: 16px; font-weight: 500; line-height: 19.2px; text-decoration: none; color: var(--text); }
.prose a.card:hover { background: var(--hover); }
.card .icon { width: 16px !important; height: 16px !important; margin: 1px 4px 0 2px !important; }

/* Tables: Notion column widths preserved */
.prose table.grid { border-collapse: separate; border-spacing: 0; table-layout: fixed; max-width: 100%; margin: 8px 0 18px; font-size: 16px;
  border: 1px solid var(--table-border); border-radius: 8px; overflow: hidden; }
.prose table.grid th, .prose table.grid td { border: 0; border-right: 1px solid var(--table-border); border-bottom: 1px solid var(--table-border); padding: 8px 10px; text-align: left; vertical-align: top; line-height: 24px; }
.prose table.grid tr > :last-child { border-right: 0; }
.prose table.grid tbody tr:last-child > *, .prose table.grid > tr:last-child > * { border-bottom: 0; }
.prose table.grid th { font-weight: 400; background: rgb(247, 246, 243); }

/* Columns */
.columns { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); column-gap: var(--col-gap); margin: 0; align-items: start; }
.columns .col > :first-child { margin-top: 0; }
.columns .col div:empty:not(.sp) { display: none; }

/* Callouts and link-only callouts ("buttons"): black boxes, white text */
.callout, .prose a.button { display: flex; align-items: flex-start; gap: 18px; margin: 5px 0; padding: 20px 40px 20px 15px; background: #111; color: #fff;
  border: 1px solid var(--border); border-radius: 8px; box-shadow: rgba(0, 0, 0, 0.03) 2px 8.1px 20.1px 0; line-height: 24px; }
.callout .icon, .button .icon { width: 18px !important; height: 20px !important; margin-top: 2px !important; }
.callout p { padding: 0; margin: 0 0 5px; }
.callout > div > :last-child { margin-bottom: 0; }
.prose .callout a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.6); font-weight: 400; }
.prose a.button { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.6); text-underline-offset: 2px; }
.prose a.button span { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.6); text-underline-offset: 2px; }
.button-row { display: flex; flex-wrap: wrap; gap: 0 var(--col-gap); }

/* Page links with icon */
.prose a.pagelink { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 5px; border-radius: 5px; text-decoration: none; line-height: 24px; }
.prose a.pagelink span { font-weight: 500; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 2px; }
.prose a.pagelink:hover { background: var(--hover); }
.pagelink .icon { width: 19px !important; height: 18px !important; }
.pagelink-row { display: flex; flex-direction: column; align-items: flex-start; }

/* Bookmark (link preview) */
.prose a.bookmark { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; margin: 4px 0; border: 1px solid var(--border); border-radius: 5px; text-decoration: none; }
.prose a.bookmark:hover { background: var(--hover); }
.bookmark strong { font-weight: 500; font-size: 14px; }
.bookmark span { color: var(--muted); font-size: 12px; line-height: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bookmark small { font-size: 12px; color: var(--text); }

/* ---------- Footer: logo + footnote ---------- */
.footer { padding: 48px var(--pad-x); background: #fff; box-shadow: rgba(0, 0, 0, 0.02) 11px 14px 10px -8px; color: var(--text-ui); text-align: center; }
.footer__logo { display: inline-block; }
.footer__logo { height: 48px; display: inline-flex; align-items: center; }
.footer__logo img { width: auto; height: 36px; display: block; }
.footer__footnote { margin: 24px 0 0; font-size: 16px; line-height: 20px; }

/* ---------- Mobile (Notion/Super breakpoints) ---------- */
@media (max-width: 860px) {
  :root { --pad-x: 24px; --col-gap: 24px; }
  .page { padding-top: 40px; }
  .page-header__icon { width: 86px; height: 86px; margin-bottom: 24px; }
  .page-header__icon img { width: 80px; height: 80px; }
  .page-header__icon--over { margin-top: -50px; }
  .page-header__icon--logo img { padding: 10px 0; }
  .page-header__cover { height: 160px; }
  .page-header__title { font-size: 36px; line-height: 44px; letter-spacing: -1px; }
  .prose h1, .prose h2 { font-size: 30px; line-height: 36px; }
  .prose h3 { font-size: 22px; }
}
@media (max-width: 764px) {
  .columns { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .prose table.grid { display: block; overflow-x: auto; width: auto !important; }
}
@media (max-width: 546px) {
  :root { --pad-x: 16px; }
  .navbar { padding: 0 16px; }
}

/* Empty Notion text block = one line of vertical space (32px + 5px) */
.sp { height: 32px; margin-bottom: 5px; }
.columns .col div.sp:empty { display: block; }

/* Essay pages: narrower reading column (~75 characters per line); header aligned to it */
.page--article .page-header__content, .page--article .prose { max-width: calc(720px + 2 * var(--pad-x)); }
.prose picture { display: block; }
.prose figure picture img { margin: 0 auto; height: auto; max-width: 100%; }

/* Newsletter (Buttondown) at the end of essays */
.newsletter { margin: 48px 0 0; padding: 24px; border: 1px solid var(--border); border-radius: 8px; }
.newsletter__title { margin: 0 0 12px !important; padding: 0 !important; font-weight: 600; }
.newsletter__form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter__form input[type="email"] { flex: 1 1 220px; min-width: 0; padding: 10px 12px; font: inherit; border: 1px solid rgba(32, 32, 32, 0.2); border-radius: 6px; background: #fff; }
.newsletter__form button { padding: 10px 18px; background: #111; color: #fff; border-radius: 6px; font-weight: 500; }
.newsletter__form button:hover { background: #2a2a2a; }
.newsletter__note { margin: 10px 0 0 !important; padding: 0 !important; font-size: 13px; color: var(--muted); }

/* =====================================================================
   Typewriter layer (24.11.2026): the look of a page typed on a typewriter.
   Helvetica and the colors stay; what changes is the rhythm: one weight,
   caps + tracking for labels, asterisk section breaks, no shadows,
   thin straight lines, everything aligned and centered on one axis.
   ===================================================================== */
:root { --track: 0.14em; --line: rgba(17, 17, 17, 0.14); }

/* Navbar: typed letterhead */
.navbar { background: rgba(255, 254, 252, 0.9); border-bottom: 1px solid var(--line); }
.navbar__logo { font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); color: var(--text); }
.navbar__menu { border-radius: 0; border: 1px solid var(--line); box-shadow: none; background: var(--bg); padding: 10px 0; }
.navbar__menu a { font-size: 13px; text-transform: uppercase; letter-spacing: var(--track); padding: 9px 22px; }
.navbar__menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* Titles: one weight, no tight tracking */
.page-header__title { font-weight: 400; letter-spacing: -0.5px; }
.prose h1, .prose h2 { font-size: 30px; line-height: 38px; font-weight: 400; letter-spacing: 0; }
.prose h3 { font-size: 14px; line-height: 24px; font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); margin: 24px 0 6px; }
.prose h4, .prose h5 { font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }

/* Body: steady typed rhythm */
.prose p, .prose li { line-height: 26px; }
.prose a { text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote { border-left-width: 1px; padding-left: 20px; font-style: italic; }

/* Section break: centered asterisks instead of a line */
.prose hr { border: 0; opacity: 1; height: 26px; margin: 18px 0; text-align: center; overflow: visible; }
.prose hr::after { content: "*\2003*\2003*"; color: var(--muted); font-size: 16px; line-height: 26px; }

/* Small typed label (e.g. "Free Resources") */
.prose p.label { text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); margin: 0 0 6px; }

/* Tables: centered, thin lines, typed caps header */
.prose table.grid { margin: 12px auto 22px; border-color: var(--line); }
.prose table.grid th, .prose table.grid td { border-color: var(--line); padding: 12px 16px; }
.prose table.grid th { background: transparent; font-size: 12px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }

/* Cards: index cards, no fill */
.prose a.card { border-color: var(--line); border-radius: 4px; font-weight: 400; line-height: 20px; transition: border-color .15s; }
.prose a.card:hover { background: transparent; border-color: var(--text); }

/* Callouts and buttons: same black, no shadow */
.callout, .prose a.button { box-shadow: none; border-color: #111; }

/* Bookmarks, newsletter: thin lines */
.prose a.bookmark { border-color: var(--line); border-radius: 4px; }
.prose a.bookmark:hover { background: transparent; border-color: var(--text); }
.newsletter { border-color: var(--line); border-radius: 4px; }
.newsletter__title { font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: var(--track); }
.newsletter__form input[type="email"], .newsletter__form button { border-radius: 4px; }
.newsletter__form button { font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: var(--track); }

/* Footer: bottom of the typed page */
.footer { background: var(--bg); box-shadow: none; border-top: 1px solid var(--line); }
.footer__footnote { font-size: 12px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }

/* Search panel */
.search__panel { border-radius: 4px; }

/* Cover sits right under the letterhead line (no empty band) */
.page { padding-top: 0; }

/* Home: the name as a typed letterhead (caps + tracking) */
.page--home .page-header__title { text-transform: uppercase; letter-spacing: 0.14em; font-size: 34px; line-height: 44px; }
@media (max-width: 546px) { .page--home .page-header__title { font-size: 24px; line-height: 32px; } }

/* Home: section headings (Handpicked, Essays, About Me, Contact) as typed caps labels.
   The opening statement ("I do Growth...") stays in normal case. */
.page--home .prose h2 ~ h2 { text-transform: uppercase; letter-spacing: 0.14em; font-size: 22px; line-height: 30px; }

/* Shared end-of-page block (Contact buttons + page links), same on every page, 1008px column */
.site-links { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-x) 35px; }
.site-links__break { border: 0; height: 26px; margin: 18px 0 40px; text-align: center; overflow: visible; }
.site-links__break::after { content: "*\2003*\2003*"; color: var(--muted); font-size: 16px; line-height: 26px; }
.site-links__title { margin: 0 0 32px; font-size: 22px; line-height: 30px; font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); }
.site-links__buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.site-links a.button { display: flex; align-items: center; gap: 18px; padding: 20px 24px 20px 18px; background: #111; color: #fff; border: 1px solid #111; border-radius: 8px;
  line-height: 24px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.6); text-underline-offset: 3px; }
.site-links a.button:hover { text-decoration-color: #fff; }
.site-links .icon { width: 18px; height: 18px; flex: none; object-fit: contain; }
.site-links__pages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 24px; }
.site-links a.pagelink { display: inline-flex; align-items: center; gap: 8px; padding: 3px 4px; color: var(--text); text-decoration: none; line-height: 24px; }
.site-links a.pagelink:hover { text-decoration: underline; text-underline-offset: 3px; }
.page--article .prose { padding-bottom: 0; }
@media (max-width: 860px) {
  .site-links__buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .site-links__pages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 546px) {
  .site-links__buttons { grid-template-columns: 1fr; }
  .site-links__pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.site-links__break { margin: 48px 0; }
/* On essay / narrow pages the block follows the 720px reading column */
.page--article .site-links { max-width: calc(720px + 2 * var(--pad-x)); }
.page--article .site-links__buttons { gap: 14px; }
.page--article .site-links a.button { gap: 12px; padding: 18px 14px; }
.page--article .site-links__pages { gap: 8px 12px; }
/* Page links row: centered as one group, even spacing */
.site-links__pages, .page--article .site-links__pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; }
@media (max-width: 860px) { .site-links__pages, .page--article .site-links__pages { gap: 8px 24px; } }

/* Small left-aligned label above lists ("For example") */
.prose p.kicker { margin: 18px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }
/* Row of black buttons: even gaps, breathing room above */
.btn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.btn-grid a.button { margin: 0; align-items: center; padding: 18px 20px 18px 16px; }
/* Single call-to-action button, centered, one button wide */
.cta { display: flex; justify-content: center; margin: 8px 0; }
.cta a.button { width: 100%; max-width: 326px; align-items: center; padding: 18px 20px 18px 16px; }

/* All black buttons site-wide: icon + label centered as one group */
.prose a.button, .site-links a.button, .btn-grid a.button, .cta a.button { justify-content: center; align-items: center; text-align: center; padding-left: 20px; padding-right: 20px; }

/* Buttons: the label is centered on its own; the icon sits pinned on the left.
   Icons on black (buttons + callouts) take the page background color #fffefc. */
.prose a.button, .site-links a.button, .btn-grid a.button, .cta a.button { position: relative; padding-left: 48px; padding-right: 48px; }
.prose a.button > .icon, .site-links a.button > .icon, .btn-grid a.button > .icon, .cta a.button > .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); margin: 0 !important; }
.prose a.button .icon, .site-links a.button .icon, .callout .icon { filter: brightness(0) invert(1) sepia(0.05); opacity: 1; }
.page--article .site-links a.button { padding: 18px 36px; }
.page--article .site-links a.button > .icon { left: 14px; }

/* Icon + text, site-wide: one group, one space between them (0.35em).
   Buttons: the whole group (icon + label) is centered. */
.prose a.button, .site-links a.button, .btn-grid a.button, .cta a.button,
.page--article .site-links a.button { justify-content: center; align-items: center; gap: 0.35em; padding: 18px 20px; }
.prose a.button > .icon, .site-links a.button > .icon, .btn-grid a.button > .icon, .cta a.button > .icon,
.page--article .site-links a.button > .icon { position: static; transform: none; margin: 0 !important; }
.callout { gap: 0.35em; }
.prose a.card, .prose a.pagelink, .site-links a.pagelink { gap: 0.35em; }
.card .icon { margin: 1px 0 0 2px !important; }

/* ---------- Consultancy page components ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0 8px; }
.offer { display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); border-radius: 8px; }
.prose .offer p { padding: 0; margin: 0; }
.prose .offer__name { font-size: 13px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }
.prose .offer__price { margin-top: 14px !important; font-size: 34px; line-height: 40px; }
.prose .offer__meta { font-size: 14px; color: var(--muted); }
.prose .offer__promise { margin-top: 16px !important; }
.offer .kicker { margin-top: 18px !important; }
.offer ul { padding-left: 18px; margin: 4px 0 0; }
.offer li { padding: 2px 0; }
.offer__links { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 4px; border-top: 0; }
.offer__links::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 14px; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin: 16px 0 18px; }
.prose .topics p { padding: 0; margin: 0; }
.prose .topic__name { margin-bottom: 4px !important; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 16px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.prose .stats p { padding: 0; margin: 0; }
.prose .stat__v { font-size: 30px; line-height: 38px; }
.prose .stat__l { font-size: 12px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }
.prose ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 12px 0 28px; }
.prose ol.steps li { counter-increment: step; position: relative; padding: 6px 0 6px 40px; }
.prose ol.steps li::before { content: counter(step) "."; position: absolute; left: 0; top: 6px; width: 28px; color: var(--muted); }
@media (max-width: 860px) {
  .offers, .topics { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact block: 5 buttons (WhatsApp added) */
.site-links__buttons { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.page--article .site-links__buttons { gap: 10px; }
.page--article .site-links a.button { padding: 18px 8px; font-size: 15px; }
/* Two CTAs side by side, centered */
.cta { gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .site-links__buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 546px) { .site-links__buttons { grid-template-columns: 1fr; } }
.prose .site-links__buttons { display: grid; margin: 8px 0; }
.prose .site-links__buttons a.button { margin: 0; }

/* ---------- Home ---------- */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 8px; }
.prose a.choice { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.prose a.choice:hover { border-color: var(--text); }
.choice__label { font-size: 12px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }
.choice__title { font-size: 24px; line-height: 32px; margin-top: 6px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.choice__text { margin-top: 6px; line-height: 24px; }
.choice__proof { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }
.prose p.more { margin: 18px 0 0; text-align: center; font-size: 15px; color: var(--muted); }
.page--home .newsletter { max-width: 720px; margin: 40px auto 0; }
@media (max-width: 764px) { .choices { grid-template-columns: 1fr; } }
.page--home .prose hr { margin: 48px 0 40px; }
.page--home .prose h2 ~ h2 { margin-bottom: 0; }
/* "Read all essays": a bigger, blog-style button */
.cta--wide { margin: 28px 0 8px; }
.cta--wide a.button { max-width: 480px; padding: 22px 24px; font-size: 18px; }
.prose p.motto { text-align: center; margin: 8px 0 24px; }
.page-header__icon--logo img { background: var(--bg); }
/* "Read all essays": quiet outline button in the page color, not a primary black one */
.cta--wide a.button { background: var(--bg); color: var(--text); border: 1px solid var(--line); text-decoration-color: currentColor; transition: border-color .15s; }
.cta--wide a.button:hover { border-color: var(--text); }
.cta--wide a.button .icon { filter: none; }
.cta--wide a.button .icon { filter: brightness(0); opacity: .75; }
/* h3 promoted to h2 for a correct outline (see heading-outline transform): same look as h3 */
.prose h2.as-h3 { font-size: 14px; line-height: 24px; font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); margin: 24px 0 6px; padding: 3px 0; }
.columns .col h2.as-h3 { margin-top: 0; }

/* ---------- One reading width everywhere (24.11.2026) ----------
   Every page uses the same ~720px column that is optimal for reading (about 75 characters per line). */
.page-header__content, .prose, .site-links,
.page--collection .page-header__content, .page--collection .prose { max-width: calc(720px + 2 * var(--pad-x)); }
.cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.site-links__buttons { gap: 10px; }
.site-links a.button { padding: 18px 8px; font-size: 15px; }
.offers { gap: 12px; }
.offer { padding: 20px 16px; }
.prose .offer__price { font-size: 30px; line-height: 36px; }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
.topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 764px) { .cards { grid-template-columns: 1fr; } }

/* Portrait (pencil sketch) on Building */
.prose figure.portrait { margin: 8px 0 28px; }
.prose figure.portrait img { width: 280px; max-width: 70%; border-radius: 50%; margin: 0 auto; display: block; border: 1px solid var(--line); }

/* ---------- Typewriter keys (replace the Notion icons everywhere) ----------
   A round key with a double rim, like the keys of an old typewriter. */
.key { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid currentColor; box-shadow: inset 0 0 0 1.5px var(--bg), inset 0 0 0 2.5px currentColor;
  font-size: 9.5px; font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--text); background: var(--bg); }
.card .key, .pagelink .key { margin-top: -1px; }
.prose a.card { align-items: center; }
/* on black (buttons, callouts) the key is drawn in the page color */
.callout .key, a.button .key { color: var(--bg); background: #111; box-shadow: inset 0 0 0 1.5px #111, inset 0 0 0 2.5px var(--bg); }
.cta--wide a.button .key { color: var(--text); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--bg), inset 0 0 0 2.5px var(--text); }
.callout .key { margin-top: 1px; }
/* page header: one big key instead of the Notion picture */
.page-key { display: flex; align-items: center; justify-content: center; width: 125px; height: 125px; border-radius: 50%; background: var(--bg);
  border: 3px solid var(--text); box-shadow: inset 0 0 0 6px var(--bg), inset 0 0 0 8px var(--text);
  font-size: 54px; font-weight: 400; color: var(--text); letter-spacing: 0; }
@media (max-width: 860px) { .page-key { width: 80px; height: 80px; font-size: 34px; border-width: 2px; box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5.5px var(--text); } }
/* Home: the five disciplines as a typed label above the statement */
.prose p.kicker--lead { margin: 0 0 4px; font-size: 13px; color: var(--text); }
/* Contact QR (vCard) */
.prose figure.qr { margin: 8px auto 0; text-align: center; }
.prose figure.qr img { width: 220px; height: 220px; margin: 0 auto; padding: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.prose figure.qr figcaption { margin-top: 10px; }
.prose .site-links__buttons a.button { padding: 18px 8px; font-size: 15px; white-space: nowrap; }
/* Portrait sits quietly in the personal "Yes and No" section, small, above the motto */
.prose figure.portrait { margin: 20px 0 6px; }
.prose figure.portrait img, .prose figure.portrait picture img { width: 150px; max-width: 40%; }
/* Portrait: the pencil circle is drawn in the image itself; no CSS frame */
.prose figure.portrait img, .prose figure.portrait picture img { border: 0; border-radius: 0; background: transparent; width: 170px; }
.page--home .prose h2 ~ h2 + p { margin-top: 14px; }
/* Contact: QR on the left, portrait on the right */
.contact-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; margin: 8px 0; }
.contact-card figure.qr, .contact-card figure.portrait { margin: 0; }
@media (max-width: 546px) { .contact-card { grid-template-columns: 1fr; } .contact-card figure.portrait { order: -1; } }
.contact-card figure.portrait img, .contact-card figure.portrait picture img { width: 250px !important; max-width: 100%; }
/* Contact: QR and portrait centered as one pair, caption under both, a blank line before the buttons */
.contact-card { grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 56px; margin: 8px 0 0; }
.contact-card figure.portrait img, .contact-card figure.portrait picture img { width: 220px !important; }
.prose p.qr-note { text-align: center; font-size: 14px; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 546px) { .contact-card { grid-template-columns: 1fr; justify-items: center; gap: 16px; } }
.prose p.qr-note { margin-bottom: 26px; }

/* ---------- Softer ink (24.11.2026) ----------
   Callouts ("In one line", essay notes) become a typed note on the same sheet: slightly darker paper,
   thin rule on the left, normal text. Buttons keep a dark fill, in warm charcoal instead of pure black. */
:root { --ink: #2b2a27; --note: #f5f3ee; }
.callout { background: var(--note); color: var(--text); border: 0; border-left: 2px solid var(--text); border-radius: 0 6px 6px 0; box-shadow: none; padding: 18px 24px 18px 18px; }
.prose .callout a { color: var(--text); text-decoration-color: currentColor; }
.callout .key { color: var(--text); background: var(--note); box-shadow: inset 0 0 0 1.5px var(--note), inset 0 0 0 2.5px var(--text); }
.prose a.button, .site-links a.button, .btn-grid a.button, .cta a.button { background: var(--ink); border-color: var(--ink); }
a.button .key { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 0 0 2.5px var(--bg); }
.cta--wide a.button { background: var(--bg); border-color: var(--line); }
.cta--wide a.button .key { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--bg), inset 0 0 0 2.5px var(--text); }
.newsletter__form button { background: var(--ink); }
.prose h2 a, .prose h3 a { text-decoration: none; } .prose h2 a:hover, .prose h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Section titles that match the home sections (HANDPICKED, ESSAYS) */
.prose h2.section-title { text-transform: uppercase; letter-spacing: 0.14em; font-size: 22px; line-height: 30px; font-weight: 400; margin: 10px 0 0; }

/* =====================================================================
   Audit 2027 (24.11.2026)
   ===================================================================== */

/* Accessibility: skip link, visible keyboard focus, comfortable tap targets */
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--bg); font-size: 13px;
  text-transform: uppercase; letter-spacing: var(--track); text-decoration: none; border-radius: 4px; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 2px; }
.navbar__logo { padding: 10px 0; }

/* Buttons: a button is already a button, no underline on its label */
.prose a.button, .prose a.button span, .site-links a.button { text-decoration: none; }

/* Contact row: Email is the one primary action; the others are quiet outlines on the page color */
.site-links__buttons a.button:not(.button--primary) { background: var(--bg); color: var(--text); border: 1px solid var(--line); transition: border-color .15s; }
.site-links__buttons a.button:not(.button--primary):hover { border-color: var(--text); }
.site-links__buttons a.button:not(.button--primary) .key { color: var(--text); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--bg), inset 0 0 0 2.5px var(--text); }
.site-links__buttons a.button--primary:hover { background: #000; }

/* Phones: the first screen shows who and what, not only the cover */
@media (max-width: 546px) {
  .page-header__cover { height: 104px; }
  .page-header__icon--over { margin-top: -44px; margin-bottom: 20px; }
  .page-header__icon { width: 72px; height: 72px; padding: 2px; }
  .page-header__icon img { width: 68px; height: 68px; }
  .page-header__icon--logo img { padding: 8px 0; }
  .page-key { width: 68px; height: 68px; font-size: 28px; }
  .page-header__title { font-size: 30px; line-height: 38px; }
  .page--home .page-header__title { font-size: 22px; line-height: 30px; margin-bottom: 4px; }
  .page--home .prose > h2:first-of-type { font-size: 22px; line-height: 30px; margin-top: 6px; }
  .page-header { margin-bottom: 16px; }
  .choices { margin-top: 18px; }
}

/* Keep reading: three more pieces at the end of every essay, before the newsletter */
.keep-reading { margin: 56px 0 0; }
.prose p.keep-reading__title { margin: 0 0 2px; padding: 0; font-size: 13px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }
.keep-reading .cards { grid-template-columns: 1fr; gap: 10px; padding-top: 10px; }
.keep-reading + .newsletter { margin-top: 32px; }

/* Testimonials (Consultancy): a typed quote, name and role in caps underneath */
.quotes { display: grid; gap: 16px; margin: 16px 0 18px; }
.quote { margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; }
.prose .quote p { margin: 0; padding: 0; font-style: italic; }
.prose .quote footer { margin-top: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); font-style: normal; }

/* Home: the pencil sketch in About Me */
.page--home .prose figure.portrait { margin: 12px 0 4px; }

/* Page-to-page transitions: a quiet cross-fade, like turning a sheet (off for reduced motion) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Consultancy proof: checkable results, each card links to its story or source */
.proofs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 18px; }
.prose a.proof { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none; transition: border-color .15s; }
.prose a.proof:hover { border-color: var(--text); }
.proof__label { font-size: 12px; text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }
.proof__text { line-height: 24px; }
.proof__more { margin-top: auto; padding-top: 8px; font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 764px) { .proofs { grid-template-columns: 1fr; } }

/* Two-button CTA rows (e.g. Consultancy "How we start"): same model as the Contact row,
   the first (email) is the dark primary, the second is a quiet outline */
.cta a.button + a.button { background: var(--bg); color: var(--text); border: 1px solid var(--line); transition: border-color .15s; }
.cta a.button + a.button:hover { border-color: var(--text); }
.cta a.button + a.button .key { color: var(--text); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--bg), inset 0 0 0 2.5px var(--text); }
/* Two-button rows span the full reading column, so their edges line up with the text above
   (a single CTA stays one button wide and centered) */
.cta:has(> a.button + a.button) { flex-wrap: nowrap; }
.cta:has(> a.button + a.button) > a.button { flex: 1 1 0; max-width: none; width: auto; }
@media (max-width: 546px) { .cta:has(> a.button + a.button) { flex-direction: column; } }
/* Link to the QR contact card, under the Contact buttons on every page */
.site-links__card { margin: 18px 0 0; text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: var(--track); }
.site-links__card a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
/* Phones: Email full width, the four quieter contacts in a 2 x 2 grid (half the height of a single column) */
@media (max-width: 546px) {
  .site-links__buttons, .prose .site-links__buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .site-links__buttons a.button--primary { grid-column: 1 / -1; }
  .site-links__buttons a.button, .prose .site-links__buttons a.button { padding: 16px 8px; }
}
