/* Buske Consulting 2026
   Leitmotiv: das gefaltete Band aus dem Logo. Eine Schrift (Archivo, breit für Überschriften, normal für Text),
   Farben aus dem Logo gemessen. Siehe docs/website-redesign.md. */

/* ---------- Tokens ---------- */
:root {
  --paper: #FFFFFF;
  --mist: #EFEFF6;      /* the U's fading end: quiet bands */
  --ink: #17183C;       /* text and buttons */
  --ink-2: #393A5E;     /* running text */
  --ink-3: #5E5F80;     /* secondary text, still 6:1 on white */
  --indigo: #535399;    /* logo indigo */
  --indigo-deep: #3E3F82;
  --lavender: #9698C1;  /* middle of the logo's fade: lines, axes */
  --pale: #CBCCE0;      /* end of the fade */
  --line: #DEDEEB;
  --night: #1B1C47;     /* contact band; the logo never sits on it */
  --on-night: #F4F4FA;
  --on-night-2: #B9BAD9;

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --wide: 114%;         /* font-stretch of headings, after the wordmark */
  --band: linear-gradient(90deg, #535399 0%, #6668A3 45%, #9698C1 75%, #CBCCE0 100%);

  --container: 1240px;
  --gutter: max(20px, 4vw);
  --section: clamp(72px, 9vw, 136px);
  --cut: 12px;          /* slanted corner, as at the ends of the logo's band */

  /* Names the buske-seo plugin's stylesheet (TLDR, FAQ) uses */
  --indigo-wash: var(--mist);
  --rule: var(--line);
  --serif: var(--font);
  --sans: var(--font);
  --mono: var(--font);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, ul, ol, dl, dd, figure, blockquote, h1, h2, h3, h4, h5 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--pale); color: var(--ink); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-stretch: var(--wide);
  font-weight: 640;
  letter-spacing: -0.02em;
  text-wrap: balance;
  hyphens: auto;             /* long German compounds in wide type on narrow phones */
  overflow-wrap: anywhere;   /* where the browser has no hyphenation dictionary; unlike break-word it also keeps grid columns from widening */
}
h1 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.5vw, 50px); line-height: 1.06; }
/* On the narrowest phones a long compound ("Organisationsdesign.") still fits the 280px column in one piece. */
@media (max-width: 360px) { h2 { font-size: 25px; } }
h3 { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; font-weight: 620; letter-spacing: -0.01em; }
h4 { font-size: 20px; line-height: 1.3; font-weight: 620; letter-spacing: -0.005em; }
h5 { font-size: 15px; line-height: 1.4; font-weight: 650; font-stretch: 100%; letter-spacing: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
main > section, main > .entry > section { padding-block: var(--section); }
.method { background: var(--mist); }
hr.rule { display: none; }  /* sections are told apart by their bands now */

.eyebrow { display: block; color: var(--indigo); font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons: slanted corner from the band's ends ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px 14px 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: background-color 0.2s ease;
}
.btn:hover { background: var(--indigo-deep); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--lavender); }
.btn .arrow { display: none; }  /* the landing pages still carry "→" spans */
.btn--small { min-height: 42px; padding: 10px 20px 10px 16px; font-size: 15px; --cut: 9px; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  clip-path: none;
  padding-inline: 4px;
  text-decoration: underline;
  text-decoration-color: var(--lavender);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.btn-ghost:hover { background: transparent; text-decoration-color: var(--indigo); }
.btn-ghost:focus-visible { box-shadow: none; outline: 3px solid var(--indigo); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head__inner {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; flex: none; line-height: 0; }
.brand-logo, .custom-logo-link img, img.custom-logo { height: 42px; width: auto; max-width: 220px; }
.custom-logo-link { display: inline-flex; line-height: 0; flex: none; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-nav nav { margin-inline: auto; }
.site-nav .nav-links { display: flex; gap: 34px; }
.site-nav .nav-links a { display: block; position: relative; padding: 8px 0; color: var(--ink); font-size: 16px; font-weight: 500; }
.site-nav .nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px;
  background: var(--band); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.site-nav .nav-links a:hover::after,
.site-nav .nav-links .current-menu-item > a::after,
.site-nav .nav-links .current-page-ancestor > a::after,
.site-nav .nav-links .current_page_parent > a::after,
.site-nav .nav-links a.active::after { transform: scaleX(1); }
.single-post .site-nav .nav-links .current_page_parent > a::after { transform: scaleX(1); }
.site-nav__end { display: flex; align-items: center; gap: 22px; }
.lang-toggle { display: flex; gap: 2px; font-size: 14px; font-weight: 600; }
.lang-toggle a { padding: 6px 7px; color: var(--ink-3); border-bottom: 2px solid transparent; }
.lang-toggle a:hover { color: var(--ink); }
.lang-toggle a.active { color: var(--ink); border-bottom-color: var(--indigo); }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  /* A backdrop filter would make the header the containing block of the fixed menu sheet and clip it. */
  .site-head { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-head__inner { gap: 16px; padding-block: 12px; }
  .brand-logo, .custom-logo-link img, img.custom-logo { height: 36px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    min-height: 44px; padding: 8px 4px 8px 12px; background: none; border: 0; cursor: pointer;
    font-size: 16px; font-weight: 600; color: var(--ink);
  }
  .nav-toggle__icon { position: relative; width: 22px; height: 12px; }
  .nav-toggle__icon::before, .nav-toggle__icon::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.2s ease, top 0.2s ease;
  }
  .nav-toggle__icon::before { top: 0; }
  .nav-toggle__icon::after { top: 10px; }
  .is-open .nav-toggle__icon::before { top: 5px; transform: rotate(45deg); }
  .is-open .nav-toggle__icon::after { top: 5px; transform: rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--head-h, 64px) 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 36px;
    padding: 28px var(--gutter) max(32px, env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .site-nav nav { margin: 0; }
  .site-nav .nav-links { flex-direction: column; gap: 0; }
  .site-nav .nav-links li { border-bottom: 1px solid var(--line); }
  .site-nav .nav-links a { padding: 16px 0; font-size: 24px; font-weight: 600; font-stretch: var(--wide); letter-spacing: -0.01em; }
  .site-nav .nav-links a::after { bottom: 10px; width: 48px; right: auto; }
  .site-nav__end { justify-content: space-between; }
  .lang-toggle { font-size: 16px; }
  .site-nav__end .btn--small { min-height: 52px; font-size: 16px; padding-inline: 22px 26px; }
  html.nav-open { overflow: hidden; }
}

/* ---------- Hero (front page) ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(16px, 2vw, 32px) !important; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.hero__text { grid-column: 1 / span 8; grid-row: 1; position: relative; z-index: 1; }
.hero__title { margin-top: 22px; font-size: clamp(40px, 5.7vw, 86px); font-stretch: 108%; line-height: 0.98; font-weight: 660; }
.hero__title span { display: block; }
.hero .lede { margin-top: 30px; max-width: 54ch; }
.hero__band { grid-column: 8 / span 5; grid-row: 1; position: relative; aspect-ratio: 760 / 940; width: 100%; max-width: 520px; justify-self: end; margin-right: -2vw; }
.hero__band img, .hero__band canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__band img { object-fit: contain; transition: opacity 0.6s ease; }
.hero__band canvas { opacity: 0; transition: opacity 0.6s ease; }
.hero__band.is-live canvas { opacity: 1; }
.hero__band.is-live img { opacity: 0; }

/* One orchestrated moment on load: the two headline lines and the band arrive, nothing else moves by itself. */
@media (prefers-reduced-motion: no-preference) {
  .hero__title span, .hero .lede, .hero .actions, .hero__band { animation: arrive 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__title span:nth-child(2) { animation-delay: 0.08s; }
  .hero .lede { animation-delay: 0.16s; }
  .hero .actions { animation-delay: 0.22s; }
  .hero__band { animation-name: arrive-band; animation-duration: 1.4s; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes arrive-band { from { opacity: 0; transform: translateY(30px) rotate(-3deg); } to { opacity: 1; transform: none; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px 48px; margin-top: clamp(40px, 5vw, 72px); padding-top: 28px; position: relative; }
.facts::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--band); }
.fact dt { color: var(--ink); font-size: clamp(36px, 3.6vw, 52px); font-stretch: var(--wide); font-weight: 640; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact dt span { color: var(--indigo); margin-left: 2px; }
.fact dd { margin-top: 8px; color: var(--ink-3); font-size: 16px; hyphens: auto; overflow-wrap: break-word; }

/* ---------- Section heads ---------- */
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 980px; }
.section-head .num, .section-head br { display: none; }  /* "— 01" on the landing pages */
.section-head .eyebrow { margin-top: 0 !important; }
.title-block { display: grid; gap: 22px; }
.title-block h2 { max-width: 24ch; }
.terms {
  display: inline-block; justify-self: start; padding: 8px 16px 8px 14px;
  background: var(--paper); border-left: 3px solid var(--indigo);
  color: var(--ink); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.method .terms { background: var(--paper); }
section:not(.method) .terms { background: var(--mist); }

/* ---------- Register (services, mandate forms) ---------- */
.register { border-top: 2px solid var(--ink); }
.register li { border-bottom: 1px solid var(--line); }
.register__row {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr); gap: 12px 32px;
  align-items: baseline; padding: 30px 0; isolation: isolate;
}
a.register__row::before {
  content: ""; position: absolute; inset: 0 calc(-1 * min(var(--gutter), 24px)); z-index: -1;
  background: var(--mist); transform: scaleX(0); transform-origin: left; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.register__row:hover::before, a.register__row:focus-visible::before { transform: scaleX(1); }
a.register__row:hover h3 { color: var(--indigo-deep); }
.register__code { color: var(--indigo); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.register h3 { font-size: clamp(22px, 2.1vw, 30px); transition: color 0.2s ease; }
.register p { color: var(--ink-2); font-size: 17px; max-width: 56ch; }

/* ---------- Roadmap: a real sequence on the band, fading out where the client takes over ---------- */
.roadmap { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 36px; }
.roadmap::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 6px; background: var(--band); }
.roadmap__step { position: relative; padding-top: 48px; }
.roadmap__step::before {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px;
  background: var(--paper); border: 3px solid var(--ink);
}
.roadmap__num { display: block; color: var(--indigo); font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.roadmap__step h3 { margin-top: 6px; }
.roadmap__step p { margin-top: 12px; font-size: 17px; }
.roadmap__out { margin-top: 18px; display: grid; gap: 6px; }
.roadmap__out li { position: relative; padding-left: 20px; font-size: 15px; font-weight: 500; color: var(--ink); }
.roadmap__out li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--lavender); }

/* ---------- Two columns and lists ---------- */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(40px, 6vw, 96px); }
.col h3 { padding-bottom: 18px; margin-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: clamp(20px, 1.7vw, 24px); }
.bullet-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.method .bullet-list li { border-bottom-color: color-mix(in srgb, var(--lavender) 40%, transparent); }
.bullet-list .glyph { position: relative; font-size: 0; }
.bullet-list .glyph::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 3px; background: var(--indigo); }
.bullet-list.exclude .glyph::before { background: none; border-top: 2px dashed var(--lavender); height: 0; }
.bullet-list.exclude li { color: var(--ink-3); }

/* Situations (interim) */
.situations { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 clamp(32px, 5vw, 72px); border-top: 2px solid var(--ink); }
.situations li { padding: 24px 0; border-bottom: 1px solid color-mix(in srgb, var(--lavender) 45%, transparent); color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.situations strong { color: var(--ink); font-weight: 620; }

/* ---------- Person ---------- */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.person__portrait { position: relative; }
.person__portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
}
.person__portrait::after { content: ""; position: absolute; left: 0; bottom: -14px; width: 62%; height: 6px; background: var(--band); }
.person__name { font-size: clamp(30px, 3vw, 42px); }
.person__role { margin-top: 6px; color: var(--indigo); font-weight: 600; }
.person__text > p:not(.person__role) { margin-top: 22px; font-size: 19px; max-width: 60ch; }
.person__text > .person__role + p { margin-top: 28px; }
.cv { margin-top: 40px; border-top: 2px solid var(--ink); }
.cv li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--lavender) 45%, transparent); font-size: 16px; }
.cv__years { color: var(--indigo); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv__what strong { display: block; color: var(--ink); font-weight: 620; }

/* ---------- Mandates as dossiers ---------- */
.cases { border-top: 2px solid var(--ink); }
.case { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 24px clamp(28px, 4vw, 56px); padding: clamp(36px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); }
.case__duration { color: var(--ink); font-size: clamp(30px, 3vw, 44px); font-stretch: var(--wide); font-weight: 640; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.case__kind { margin-top: 12px; color: var(--indigo); font-weight: 600; font-size: 16px; }
.case__sector { margin-top: 4px; color: var(--ink-3); font-size: 15px; }
.case__body h3 { font-size: clamp(21px, 1.9vw, 26px); }
.case__body p { margin-top: 14px; font-size: 17px; }
.case__result { align-self: start; padding: 4px 0 4px 22px; border-left: 4px solid var(--indigo); }
.case__result p { color: var(--ink); font-size: clamp(19px, 1.6vw, 22px); font-style: italic; font-stretch: 104%; line-height: 1.4; }

/* ---------- Contact band ---------- */
.contact { background: var(--night); color: var(--on-night-2); }
.contact h2 { color: var(--on-night); font-size: clamp(34px, 4.6vw, 68px); margin-top: 18px; max-width: 18ch; }
.contact .eyebrow { color: var(--on-night-2); }
.contact .lede { color: var(--on-night-2) !important; margin-top: 22px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px clamp(40px, 7vw, 120px); align-items: end; }
.contact h2[style], .contact .lede[style] { margin-top: 18px; }
.contact .btn { background: var(--on-night); color: var(--night); }
.contact .btn:hover { background: var(--pale); }
.contact .btn + .btn, .contact .btn-ghost { background: transparent; color: var(--on-night); clip-path: none; padding-inline: 4px; text-decoration: underline; text-decoration-color: var(--lavender); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.contact .btn + .btn:hover, .contact .btn-ghost:hover { text-decoration-color: var(--on-night); }
.contact-info { border-top: 1px solid rgba(244, 244, 250, 0.2); }
.contact-info-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(244, 244, 250, 0.14); font-size: 16px; }
.contact-info-row .label { color: var(--on-night-2); }
.contact-info-row .value { color: var(--on-night); font-weight: 500; overflow-wrap: anywhere; }
.contact-info-row .value a { text-decoration: underline; text-decoration-color: rgba(244, 244, 250, 0.35); text-underline-offset: 4px; }
.contact-info-row .value a:hover { text-decoration-color: var(--on-night); }
.contact :focus-visible { outline-color: var(--on-night); }

/* ---------- Page hero (sub-pages, posts, tool landing pages) ---------- */
.page-hero { padding-top: clamp(36px, 5vw, 72px) !important; padding-bottom: clamp(56px, 7vw, 104px) !important; }
.page-hero > .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.page-hero > .container > div { grid-column: 1; }
.page-hero-arch { display: none; }
.page-hero h1 { margin-top: 20px !important; max-width: 20ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero .eyebrow { margin-top: 28px; }
.page-hero__text > :first-child { margin-top: 0 !important; }
.breadcrumb { font-size: 15px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.breadcrumb a:hover { color: var(--ink); text-decoration-color: var(--indigo); }
.breadcrumb span { color: var(--ink); }
.page-hero__art, .page-template-buske-seo-landingpage .page-hero > .container::after {
  grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 1; max-width: 520px; justify-self: end;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.page-template-buske-seo-landingpage .page-hero > .container::after {
  content: ""; background: var(--mist) url(art/werkzeuge.webp) center / cover no-repeat;
}
.page-hero--plain > .container, .page-hero--post > .container { grid-template-columns: minmax(0, 1fr); }
.page-hero--post h1 { max-width: 26ch; font-size: clamp(34px, 4.4vw, 64px); }
.post-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-3); font-size: 16px; }

/* ---------- Tool landing pages: plugin boxes in the new look ---------- */
body .tldr-section { padding: 0 0 clamp(16px, 2vw, 24px) !important; margin-top: calc(-1 * clamp(24px, 3vw, 48px)); }
body .tldr { max-width: 920px; padding: 28px 32px 30px; background: var(--mist); border-left: 4px solid var(--indigo); }
body .tldr h2 { font-family: var(--font); font-size: 16px; font-weight: 650; font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--indigo); margin-bottom: 14px; }
body .tldr li { font-size: 18px; color: var(--ink); }
body .tldr li::before { content: ""; width: 14px; height: 3px; margin-top: 0.7em; background: var(--indigo); }
body .faq-list { border-top: 2px solid var(--ink); max-width: 920px; margin-top: 0; }
body details.faq { border-bottom: 1px solid color-mix(in srgb, var(--lavender) 45%, transparent); }
body details.faq summary { font-family: var(--font); font-stretch: 108%; font-weight: 620; font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -0.01em; }
body details.faq summary::after { font-weight: 400; }
body details.faq p { font-size: 17px; color: var(--ink-2); }
main figure figcaption { color: var(--ink-3); font-size: 15px !important; opacity: 1 !important; }
main figure a img { border: 1px solid var(--line); }

/* ---------- Insights ---------- */
.articles { padding-top: 0 !important; }
.article-list { border-top: 2px solid var(--ink); }
.article-list > li { border-bottom: 1px solid var(--line); }
.article-row { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px 40px; padding: 36px 0; isolation: isolate; }
.article-row::before {
  content: ""; position: absolute; inset: 0 calc(-1 * min(var(--gutter), 24px)); z-index: -1;
  background: var(--mist); transform: scaleX(0); transform-origin: left; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.article-row:hover::before, .article-row:focus-visible::before { transform: scaleX(1); }
.article-row__meta { display: flex; flex-direction: column; gap: 2px; color: var(--ink-3); font-size: 15px; font-variant-numeric: tabular-nums; }
.article-row__meta time { color: var(--indigo); font-weight: 600; }
.article-row h3 { font-size: clamp(23px, 2.3vw, 32px); max-width: 30ch; transition: color 0.2s ease; }
.article-row:hover h3 { color: var(--indigo-deep); }
.article-row__text p { margin-top: 12px; font-size: 17px; max-width: 70ch; }
.pagination { margin-top: 48px; }
.pagination .nav-links { justify-content: flex-start; gap: 8px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Post content ---------- */
.post-section { padding-top: 0 !important; }
.post-content { max-width: 720px; }
.post-thumb { margin-bottom: 48px; }
.post-body { font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.post-body > * + * { margin-top: 1.2em; }
.post-body h2 { margin-top: 2em; font-size: clamp(28px, 2.8vw, 38px); }
.post-body h3 { margin-top: 1.8em; font-size: clamp(22px, 2vw, 27px); }
.post-body h4 { margin-top: 1.6em; }
.post-body h2 + *, .post-body h3 + *, .post-body h4 + * { margin-top: 0.6em; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: 0.4em; }
.post-body li::marker { color: var(--indigo); }
.post-body a { color: var(--indigo-deep); text-decoration: underline; text-decoration-color: var(--lavender); text-underline-offset: 4px; }
.post-body a:hover { text-decoration-color: var(--indigo); }
.post-body strong { color: var(--ink); font-weight: 620; }
.post-body blockquote { padding: 4px 0 4px 24px; border-left: 4px solid var(--indigo); color: var(--ink); font-size: 1.12em; font-style: italic; }
.post-body figure { margin-block: 2em; }
.post-body figcaption { margin-top: 0.6em; font-size: 15px; color: var(--ink-3); }
.post-body hr { border: 0; height: 3px; width: 96px; background: var(--band); margin-block: 2.6em; }
.post-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em; background: var(--mist); padding: 0.1em 0.35em; }
.post-body pre { overflow-x: auto; background: var(--mist); padding: 20px; font-size: 15px; line-height: 1.55; }
.post-body pre code { background: none; padding: 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.post-body th, .post-body td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body th { color: var(--ink); font-weight: 620; border-bottom: 2px solid var(--ink); }
.post-body .wp-block-table { overflow-x: auto; }
.post-nav { max-width: 720px; margin-top: 64px; padding-top: 24px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-weight: 600; color: var(--ink); }
.post-nav .next { text-align: right; grid-column: 2; }
.post-nav a:hover { color: var(--indigo); }

/* ---------- Footer ---------- */
.site-foot { padding: clamp(56px, 6vw, 88px) 0 32px; background: var(--paper); border-top: 6px solid transparent; border-image: var(--band) 1; }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.site-foot__brand p { margin-top: 20px; max-width: 34ch; color: var(--ink-3); font-size: 15px; }
.site-foot h5 { margin-bottom: 14px; }
.site-foot h5 a:hover { color: var(--indigo); }
.site-foot ul { display: grid; gap: 8px; }
.site-foot ul a { color: var(--ink-2); font-size: 15px; }
.site-foot ul a:hover { color: var(--indigo); text-decoration: underline; text-underline-offset: 4px; }
.site-foot__bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--ink-3); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-foot__brand { grid-column: 1 / -1; }
  .case { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .case__result { grid-column: 2; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__text { grid-column: 1; grid-row: 2; }
  .hero__band { grid-column: 1; grid-row: 1; width: 132px; max-width: none; justify-self: end; margin: 0 0 -96px; }
  .register__row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px 0; }
  .two-col, .person, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .person__portrait { max-width: 440px; }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case__result { grid-column: 1; }
  .article-row { grid-template-columns: minmax(0, 1fr); padding: 28px 0; }
  .article-row__meta { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  .page-hero > .container { grid-template-columns: minmax(0, 1fr); }
  .page-hero__art, .page-template-buske-seo-landingpage .page-hero > .container::after { grid-column: 1; grid-row: 2; max-width: none; aspect-ratio: 16 / 9; justify-self: stretch; }
  .roadmap { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 40px; }
  .roadmap::before { left: 7px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; background: linear-gradient(180deg, #535399 0%, #6668A3 45%, #9698C1 75%, #CBCCE0 100%); }
  .roadmap__step { padding: 0 0 36px; }
  .roadmap__step::before { left: -40px; }
  .roadmap__num { line-height: 20px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero__title { font-size: clamp(31px, 9.2vw, 44px); font-stretch: 104%; }
  .hero__band { width: 80px; margin-bottom: -44px; }
  .hero__text > .eyebrow { display: block; padding-right: 88px; } /* clear of the band, which overlaps the text by its negative margin */
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .fact dt { font-size: clamp(26px, 8vw, 36px); }
  .fact dd { font-size: 14px; }
  .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-info-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cv li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav .next { grid-column: 1; text-align: left; }
  body .tldr { padding: 22px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
