/* ulasz.com — Playfair Display + Manrope (self-hosted), navy · teal · amber on warm off-white */
@font-face { font-family: "Playfair"; src: url("/assets/fonts/playfair.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/assets/fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --bg: #F7F5F1;
  --card: #FFFFFF;
  --sand: #EFEBE3;
  --deep: #1B2A4A;       /* navy: dark sections, text */
  --ink: #1B2A4A;
  --ink-2: #4A5570;
  --muted: #6B6E73;
  --line: #E5E1D8;
  --accent: #2F6F62;     /* teal: primary buttons */
  --accent-2: #245A4F;
  --amber: #C9883A;
  --amber-ink: #9A6524;
  --on-deep: #F7F5F1;
  --on-deep-2: #C3CADB;
  --serif: "Playfair", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 20px;
  --max: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2));   /* side padding that lines up with .wrap */
  --measure: 64ch;
  --pad: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  --sec: clamp(4rem, 2.5rem + 5vw, 7rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(27,42,74,.04), 0 12px 32px -12px rgba(27,42,74,.18);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121A2C; --card: #1A2439; --sand: #1E2940; --deep: #0D1424;
    --ink: #EDEAE3; --ink-2: #C3CADB; --muted: #9AA0AE; --line: #2A3550;
    --accent: #3E8C7C; --accent-2: #4FA190; --amber-ink: #E0A45C;
    --shadow: 0 12px 32px -12px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --bg: #121A2C; --card: #1A2439; --sand: #1E2940; --deep: #0D1424;
  --ink: #EDEAE3; --ink-2: #C3CADB; --muted: #9AA0AE; --line: #2A3550;
  --accent: #3E8C7C; --accent-2: #4FA190; --amber-ink: #E0A45C;
}

:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: clamp(1rem, .96rem + .22vw, 1.125rem); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; color: inherit; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); }
/* long German compounds: hyphenate properly, only force a break if one word can't fit at all */
/* words are never split: no hyphenation anywhere; long words are handled by fluid font sizes instead */
html { -webkit-hyphens: none; hyphens: none; overflow-wrap: normal; word-break: normal; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s var(--ease); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
strong { font-weight: 700; }
ul, ol { padding-left: 1.25rem; }
li { margin: .4em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
blockquote { margin: 2rem 0; padding-left: 1.3rem; border-left: 2px solid var(--amber); font-family: var(--serif); font-size: 1.2em; line-height: 1.5; }
code { background: var(--sand); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--deep); color: var(--on-deep); padding: .5rem 1rem; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
html:not(.js) .js-only { display: none; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--edge);
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); view-transition-name: site-head; }
.brand { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); text-decoration: none; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.brand span { color: var(--amber-ink); }
.pill { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 16px; background: rgba(27, 42, 74, .94); color: var(--on-deep); }
.site-nav { display: flex; gap: 2px; }
.site-nav a, .lang a, .lang-current { text-decoration: none; border-radius: 10px; transition: background .25s var(--ease), color .25s var(--ease); }
.site-nav a { color: var(--on-deep); font-size: .92rem; padding: .5rem .85rem; }
.site-nav a:hover { background: rgba(255,255,255,.1); }
.site-nav a[aria-current] { background: rgba(255,255,255,.14); }
.lang { display: flex; gap: 2px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; padding: 0 .35rem; }
.lang a, .lang-current { padding: .45rem .5rem; }
.lang a { color: var(--on-deep-2); }
.lang a:hover { color: #fff; background: rgba(255,255,255,.1); }
.lang-current { color: #E0A45C; }
/* light/dark switch: shows the moon in light mode, the sun in dark mode */
.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 11px; background: transparent; color: var(--on-deep); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.theme-toggle:hover { background: rgba(255,255,255,.12); color: #E0A45C; }
.theme-toggle:focus-visible { outline: 2px solid #E0A45C; outline-offset: 2px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.pill-cta { background: #fff; color: var(--deep); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .55rem 1rem; border-radius: 11px; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.pill-cta:hover, .pill-cta[aria-current] { background: var(--amber); color: #1B2A4A; }

/* mobile menu: a <details> element, so it opens without any script */
.menu { display: none; }
.menu > summary { position: relative; z-index: 2; list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 38px; border-radius: 11px; color: var(--on-deep); transition: background .25s var(--ease); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover, .menu[open] > summary { background: rgba(255,255,255,.14); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-icon { position: relative; transition: background .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; transition: transform .3s var(--ease); }
.menu-icon::before { transform: translateY(-6px); }
.menu-icon::after { transform: translateY(6px); }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { transform: rotate(45deg); }
.menu[open] .menu-icon::after { transform: rotate(-45deg); }
/* tapping anywhere outside the open menu only closes it (it never triggers what's underneath) */
.menu[open]::before { content: ""; position: absolute; left: 0; top: 0; width: 100vw; height: 100dvh; z-index: 1; background: rgba(13,20,36,.28); animation: fade-in .3s ease; }
@keyframes fade-in { from { opacity: 0; } }
.menu-panel { z-index: 2; position: absolute; top: calc(100% - 2px); right: var(--edge); width: min(380px, calc(100% - 2 * var(--gutter))); display: grid; gap: .75rem; padding: .9rem;
  background: var(--deep); color: var(--on-deep); border-radius: 20px; box-shadow: 0 24px 60px -18px rgba(13,20,36,.6); animation: menu-in .3s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.menu-nav { display: grid; }
.menu-nav a { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; padding: .75rem .8rem; border-radius: 12px; transition: background .2s var(--ease); }
.menu-nav a:hover { background: rgba(255,255,255,.08); }
.menu-nav a[aria-current] { color: var(--amber); }
.menu-panel .lang { gap: 6px; padding: .8rem .4rem .2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.menu-panel .lang a, .menu-panel .lang-current { padding: .55rem .9rem; background: rgba(255,255,255,.06); }
.menu-panel .btn { width: 100%; }
@media (max-width: 880px) {
  .site-nav, .pill > .lang { display: none; }
  .menu { display: block; }
}

/* ---------- layout ---------- */
main { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; }
@media (max-width: 1260px) { .wrap { max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); } }  /* longhands: keep the section spacing */
section { padding: var(--sec) 0; }
/* two light sections in a row share one gap instead of two */
main > section:not(.deep):not(.hero) + section:not(.deep) { padding-top: 0; }
.deep { background: var(--deep); color: var(--on-deep); }
.deep p { color: var(--on-deep-2); }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-ink); margin: 0 0 1.25rem; }
.deep .eyebrow, .hero .eyebrow, .panel .eyebrow, .book-card .eyebrow { color: var(--amber); }
.center { text-align: center; }
.eyebrow::before { content: ""; display: inline-block; width: 1.75em; height: 1px; margin: 0 .8em .3em 0; background: currentColor; opacity: .6; vertical-align: middle; }
.center .eyebrow::after, .head-center .eyebrow::after, .closing .eyebrow::after { content: ""; display: inline-block; width: 1.75em; height: 1px; margin: 0 0 .3em .8em; background: currentColor; opacity: .6; vertical-align: middle; }
.article-head .eyebrow::before { content: none; }
h1 em, h2 em { font-style: italic; color: var(--amber-ink); }
.deep h2 em, .hero h1 em, .panel h2 em, .founder em { color: var(--amber); }
.lead { font-size: 1.15em; color: var(--ink-2); max-width: 52ch; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.head-row h2 { margin: 0; max-width: 20ch; }
.head-center { justify-content: center; text-align: center; }
.head-center h2 { margin-inline: auto; }
.head-center ~ .price-grid { margin-inline: auto; }
.head-center ~ .note { text-align: center; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- buttons & links ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; background: var(--accent); color: #fff; text-decoration: none; font: inherit; font-weight: 600; font-size: 1rem; padding: 1rem 1.5rem; border-radius: 14px; line-height: 1.2; border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
a.btn::after { content: "→"; display: inline-block; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); background: var(--accent-2); color: #fff; box-shadow: 0 10px 24px -10px rgba(47,111,98,.55); }
a.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-amber { background: var(--amber); color: #1B2A4A; }
.btn-amber:hover { background: #D99A4D; color: #1B2A4A; box-shadow: 0 12px 28px -10px rgba(201,136,58,.6); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--amber); color: #1B2A4A; box-shadow: 0 12px 28px -10px rgba(0,0,0,.35); }
.btn-outline { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn-outline:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2.5rem; }
.more { font-weight: 600; font-size: .95rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease), color .25s var(--ease); }
.more::after { content: "→"; display: inline-block; margin-left: .4em; transition: transform .3s var(--ease); }
.more:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }
.more:hover::after { transform: translateX(4px); }

/* ---------- hero with cut-out portrait ---------- */
.hero { padding-top: clamp(.75rem, 2vw, 1.5rem); padding-bottom: var(--sec); }
.hero-card { position: relative; border-radius: calc(var(--r) + 8px); overflow: hidden; color: #fff; isolation: isolate; }
.hero-cut { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: stretch; min-height: clamp(520px, calc(100svh - 200px), 740px);
  background: radial-gradient(90% 70% at 78% 30%, #2A3C63 0%, var(--deep) 60%); }
.hero-text { padding: clamp(2rem, 6vw, 5.5rem); max-width: 860px; align-self: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4vw, 4.6rem); color: #fff; margin-bottom: .35em; text-wrap: pretty; }
.hero .lead { color: #E3E7F0; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
.hero-text > * { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
.hero-text > :nth-child(2) { animation-delay: .1s; }
.hero-text > :nth-child(3) { animation-delay: .2s; }
.hero-text > :nth-child(4) { animation-delay: .3s; }
.hero-note { align-self: center; color: var(--on-deep-2); font-size: .92rem; letter-spacing: .01em; }
.hero-figure { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 100%; }
.hero-figure::before { content: ""; position: absolute; left: 50%; top: 16%; width: min(420px, 90%); aspect-ratio: 1; transform: translateX(-50%) scale(.92); border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #E3C595 0%, #D3A767 50%, #BF8540 70%, rgba(191,133,64,0) 71%); opacity: 0; animation: disc 1.4s var(--ease) .15s forwards; }

.hero-figure img { position: relative; z-index: 1; height: 92%; max-height: 660px; width: auto; max-width: 100%; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 18px 28px rgba(8,14,28,.35)); opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) .25s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* "Sounds familiar?" cue under the hero: tells visitors there is more below */
.scroll-cue { display: flex; align-items: center; gap: .55rem; width: fit-content; margin: 1.25rem auto 0; padding: .7rem 1.1rem .7rem 1.35rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: .95rem; font-weight: 600;
  text-decoration: none; box-shadow: var(--shadow); transition: background .25s var(--ease), transform .25s var(--ease); }
.scroll-cue:hover { background: var(--sand); transform: translateY(2px); }
.scroll-cue svg { width: 18px; height: 18px; color: var(--amber-ink); animation: nudge 2.4s var(--ease) 1.5s infinite; }
@keyframes nudge { 0%, 55%, 100% { transform: none; } 25% { transform: translateY(4px); } }
/* laptop-height screens: compact the hero so the cue stays above the fold */
@media (min-width: 761px) and (max-height: 860px) {
  .hero-text { padding-block: clamp(1.5rem, 4svh, 3rem); }
  .hero h1 { font-size: clamp(2.4rem, 7.2svh, 4.6rem); }
  .hero .btn-row { margin-top: 1.75rem; }
  .hero-figure img { max-height: calc(100svh - 200px); }   /* the photo sets the card height */
}
@keyframes disc { to { opacity: 1; transform: translateX(-50%) scale(1); } }
@media (max-width: 760px) {
  .hero-cut { grid-template-columns: 1fr; min-height: 0; background: radial-gradient(120% 60% at 50% 18%, #2A3C63 0%, var(--deep) 65%); }
  .hero-figure { order: -1; height: min(64vh, 440px); }
  .hero-figure::before { top: 10%; width: min(300px, 78%); }
  .hero-text { margin-top: .5rem; padding: 0 1.5rem 2.25rem; }
}

/* ---------- block 2: mirror (recognise yourself) → shift (where it can go) ---------- */
.mirror-head { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .mirror-head { grid-template-columns: 1fr 1.1fr; } }
.mirror-head h2 { color: #fff; margin: 0; max-width: 16ch; }
.mirror-list { list-style: none; padding: 0; margin: 0; }
.mirror-list li { position: relative; margin: 0; padding: 1.1rem 0 1.1rem 2.1rem; border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.35; color: #fff; }
.mirror-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); color: var(--amber); }
.mirror-list li::before { content: ""; position: absolute; left: 0; top: 1.62em; width: 14px; height: 2px; background: var(--amber); }
.mirror-turn { margin: clamp(4rem, 8vw, 6.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.card.shift .icon { margin-bottom: 2rem; }
.card.shift h3 { margin: 0 0 .5rem; }
.card.shift .ctx { color: var(--muted); font-size: .95rem; line-height: 1.5; margin: 0; }
@media (min-width: 760px) { .card.shift h3 { min-height: 2.24em; } }  /* the small lines align when one outcome wraps */
.mirror-foot { margin-top: clamp(3.5rem, 7vw, 5.5rem); text-align: center; }
.mirror-foot > p { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; color: #fff !important; max-width: 30ch; margin: 0 auto; }
.mirror-foot > p.mirror-sub { font-family: var(--sans); font-style: normal; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.5; color: var(--on-deep-2) !important; max-width: 44ch; margin-top: 1rem; }
.mirror-foot .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- statement ---------- */
.statement { max-width: 900px; }
.statement blockquote { border: 0; padding: 0; margin: 0; font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.6rem); line-height: 1.32; letter-spacing: -0.015em; color: var(--ink); }
.statement blockquote p { margin: 0 0 .8em; }
.statement blockquote .soft { color: var(--muted); }
.sig { display: flex; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.sig img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.sig b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.sig span { font-size: .9rem; color: var(--muted); }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: var(--r); padding: var(--pad); display: flex; flex-direction: column; min-height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin: auto 0 .5rem; }
.card p { color: var(--ink-2); font-size: 1rem; margin: 0; }
.card .icon { width: 40px; height: 40px; margin-bottom: 4.5rem; color: var(--amber); transition: transform .4s var(--ease); }
.card:hover .icon { transform: rotate(-6deg) scale(1.08); }
.deep .card { color: var(--ink); }
.deep .card p { color: var(--ink-2); }
.deep .card .icon { margin-bottom: 3rem; }
.approach .card h3 { margin: 0 0 1rem; font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-ink); }
.approach .card .icon { margin-bottom: 1.75rem; }
.approach .card p + p { margin-top: .8em; }
.approach .card.core p { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); line-height: 1.35; color: var(--ink); }
.card.sand { background: var(--sand); }
.card.sand:hover { background: var(--card); }
.card.founder { background: var(--deep); color: var(--on-deep); justify-content: center; }
.card.founder h3 { margin: 0 0 1rem; font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.card.founder p { font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); line-height: 1.4; color: #fff; }
.card .more { margin-top: 1.5rem; align-self: flex-start; }
.grid-2 .card h3 { margin: 0 0 1rem; }

/* ---------- pricing ---------- */
.price-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 900px; }
.price { background: var(--card); border-radius: var(--r); padding: var(--pad); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price.featured { background: var(--deep); color: var(--on-deep); }
.price .label { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-ink); margin: 0 0 1rem; }
.price.featured .label { color: var(--amber); }
@media (min-width: 640px) { .price .label { min-height: 3.4em; } }  /* prices line up when one label wraps */
.price .amount { font-family: var(--serif); font-size: clamp(2.8rem, 2.2rem + 2vw, 3.8rem); line-height: 1; margin: 0 0 .4rem; }
.price .unit { font-size: .92rem; color: var(--muted); margin: 0 0 1.75rem; }
.price.featured .unit { color: var(--on-deep-2); }
.price ul { list-style: none; padding: 0; margin: 0; font-size: .96rem; }
.price li { padding: .7rem 0; border-top: 1px solid var(--line); margin: 0; }
.price.featured li { border-color: rgba(255,255,255,.12); }
.price li::before { content: "✓"; margin-right: .7rem; color: var(--accent); font-weight: 700; }
.price.featured li::before { color: var(--amber); }
.price { display: flex; flex-direction: column; }
.price ul { flex: 1; }
.price .btn { margin-top: 1.75rem; width: 100%; text-align: center; }
.price .fine { margin: .85rem 0 0; font-size: .8rem; line-height: 1.45; text-align: center; color: var(--muted); }
.price.featured .fine { color: var(--on-deep-2); }
/* dark mode: the page is navy too, so the highlighted tier gets a thin amber edge */
:root[data-theme="dark"] .price.featured { box-shadow: inset 0 0 0 1px rgba(201,136,58,.45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .price.featured { box-shadow: inset 0 0 0 1px rgba(201,136,58,.45); } }
.price.featured .btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.note { margin-top: 2rem; color: var(--ink-2); }
.note a { color: var(--accent); }

/* ---------- about ---------- */
.about { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 1fr 1.15fr; } }
.about .photo, .about-head .photo { border-radius: calc(var(--r) + 4px); overflow: hidden; aspect-ratio: 4 / 5; }
.about .photo img, .about-head .photo img, .split .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about .photo:hover img, .split .photo:hover img { transform: scale(1.03); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 2.25rem 0; }
.stats > div { background: var(--sand); border-radius: 14px; padding: 1.2rem 1.1rem; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); line-height: 1.05; color: var(--amber-ink); }
.stats span { font-size: .85rem; color: var(--ink-2); line-height: 1.35; display: block; margin-top: .3rem; }
.creds { list-style: none; padding: 0; margin: 0 0 2rem; font-size: .95rem; color: var(--ink-2); }
.creds li { padding: .6rem 0; border-top: 1px solid var(--line); margin: 0; }
.creds strong { color: var(--ink); font-weight: 700; }
.grid-2 .creds { margin: 0; }
.grid-2 .creds li:first-child { border-top: 0; }

/* ---------- split (talks) ---------- */
.split { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split .photo { border-radius: var(--r); overflow: hidden; min-height: 340px; }
@media (min-width: 860px) { .split.flip > .photo { order: 2; } }
.split .panel { background: var(--deep); color: var(--on-deep); border-radius: var(--r); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }
.split .panel h2 { color: #fff; }
.split .panel p { color: var(--on-deep-2); }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0; interpolate-size: allow-keywords; }
.faq-list details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
.faq-list details[open]::details-content { height: auto; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.1rem; color: var(--on-deep); transition: color .25s var(--ease); }
.faq-list summary:hover { color: var(--amber); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: transform .35s var(--ease), background .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--amber); color: #1B2A4A; }
.faq-list details p { margin: 1rem 0 0; color: var(--on-deep-2); max-width: 60ch; }

/* ---------- closing ---------- */
.closing { background: var(--sand); border-radius: calc(var(--r) + 8px); padding: clamp(3rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
.closing h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.closing p { color: var(--ink-2); max-width: 44ch; margin-left: auto; margin-right: auto; }
.closing .btn-row { justify-content: center; }
.closing .sig { justify-content: center; margin-top: 3rem; }
.closing .small { font-size: .9rem; margin-top: 1.5rem; }
.closing .small a { color: var(--accent); }

/* ---------- designed subpages ---------- */
.page-head { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); max-width: 16ch; margin-bottom: .4em; }
.lead-ink { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); color: var(--ink-2); max-width: 46ch; }
.page-body { padding-top: 0; }
.hero-note.ink { color: var(--muted); }
.about-head { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 860px) { .about-head { grid-template-columns: 1.15fr .85fr; } }
.stats-wide { margin: 0; gap: clamp(12px, 2vw, 20px); }
.stats-wide > div { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r); text-align: center; }
.stats-wide b { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); }
@media (max-width: 560px) { .stats-wide { grid-template-columns: 1fr; } .stats-wide > div { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 1.3rem; } .stats-wide span { margin: 0; } }

/* article cards */
.post-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 720px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post { container-type: inline-size; display: flex; flex-direction: column; gap: .8rem; min-width: 0; text-decoration: none; color: var(--ink); background: var(--card); border-radius: var(--r); padding: var(--pad); min-height: 290px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post:nth-child(3n+1) { background: var(--sand); }
.post-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); background: var(--sand); padding: .35rem .7rem; border-radius: 999px; }
.post:nth-child(3n+1) .post-tag { background: var(--card); }
.post-title { font-family: var(--serif); font-size: min(clamp(1.35rem, 1.2rem + .5vw, 1.6rem), calc(100cqi / (var(--lw, 1) * .6))); line-height: 1.18; letter-spacing: -.01em; }
.post-sum { color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.post .more { margin-top: auto; align-self: flex-start; }

/* ---------- prose (articles, legal pages) ---------- */
.prose { max-width: var(--measure); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter) var(--sec); }
.prose:has(+ .wrap) { padding-bottom: clamp(3rem, 6vw, 5rem); }
.prose + .wrap { padding-top: 0; }
.prose h1 { font-size: min(clamp(1.95rem, 1.2rem + 3.2vw, 3.2rem), calc(100cqi / (var(--lw, 1) * .6))); margin-bottom: .6em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.1rem); }
.prose h3 { margin-top: 1.8em; }
.prose a { color: var(--accent); }
.prose img { border-radius: var(--r); margin: 2rem 0; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { padding-left: 1.5rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.prose .btn { color: #fff; margin-top: 1rem; }
.meta { font-size: .9rem; color: var(--muted); }
.tldr { background: var(--sand); border-radius: 14px; padding: 1.2rem 1.4rem; margin: 0 0 2.5rem; border-left: 3px solid var(--amber); }
.article-head { margin-bottom: 2.5rem; }
.article-head .eyebrow { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.article-head .back { color: var(--ink-2); text-decoration: none; letter-spacing: .08em; }
.article-head .back:hover { color: var(--accent); }
.article-head .dot { color: var(--line); }
.refs { font-size: .9rem; color: var(--ink-2); padding-left: 0 !important; }
.refs li { overflow-wrap: anywhere; padding-left: 0 !important; }
.refs li::before { display: none; }

/* ---------- Erstgespräch page ---------- */
.book { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .book { grid-template-columns: 1.05fr .95fr; } }
.book-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.book-steps li { margin: 0; display: flex; gap: 1.25rem; align-items: flex-start; background: var(--card); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 1.9rem); }
.book-steps .num { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--amber-ink); min-width: 2.2ch; }
.book-steps h2 { margin: .1rem 0 .35rem; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); }
.book-steps p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.book-card { background: var(--deep); color: var(--on-deep); border-radius: calc(var(--r) + 4px); padding: var(--pad); }
@media (min-width: 900px) { .book-card { position: sticky; top: 96px; } }
.book-card .eyebrow { margin-bottom: .6rem; }
.book-mail { font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.2; color: #fff; margin: 0; overflow-wrap: anywhere; }
.book-card .btn-row { margin-top: 1.75rem; }
.book-card .btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.book-card .btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.book-hint { font-size: .9rem; color: var(--on-deep-2); margin: 1.25rem 0 1.5rem; }
.book-facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
.book-facts li { margin: 0; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .96rem; }
.book-facts li::before { content: "✓"; color: var(--amber); margin-right: .7rem; font-weight: 700; }
.book-note { margin: 1.25rem 0 0; font-size: .9rem; color: var(--on-deep-2); }
.book-alt { margin-top: 1.5rem; font-size: .95rem; color: var(--on-deep-2); }
.book-alt p { margin: 0; }
.book-alt a:not(.btn) { color: #fff; }
.book-alt .btn-row { margin-top: .9rem; gap: 8px; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; border-radius: 12px; }

/* ---------- 404 ---------- */
.nf { min-height: 55vh; }
.nf .btn-row { margin-top: 2rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--deep); color: var(--on-deep-2); padding: clamp(4rem, 8vw, 6rem) 0 2.5rem; font-size: .92rem; }
.foot-inner { max-width: var(--max); margin: 0 auto; }
@media (max-width: 1260px) { .foot-inner { max-width: none; padding: 0 var(--gutter); } }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.foot-grid p { margin: 0 0 .4em; }
.foot-name { font-family: var(--serif); font-size: 1.7rem; color: #fff; margin-bottom: .8rem !important; }
.site-foot a { color: var(--on-deep); text-decoration: none; transition: color .25s var(--ease); }
.site-foot a:hover { color: var(--amber); }
.foot-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: 1rem !important; }
.foot-nav a { color: #fff; }
.foot-note { margin-top: 3rem; font-size: .84rem; max-width: 80ch; }
.foot-copy { font-size: .8rem; margin-top: 1rem; opacity: .7; }

/* ---------- root language page ---------- */
.root-pick { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 1rem; padding: 2rem var(--gutter); }
.root-pick .brand { font-size: 2rem; margin: 0; }
.root-pick h1 { font-size: 1.3rem; font-family: var(--sans); color: var(--ink-2); }
.root-pick ul { list-style: none; padding: 0; display: flex; gap: 1rem; justify-content: center; }

/* ---------- motion ---------- */
/* scroll reveal (site.js adds .js to <html> and .reveal to blocks below the fold) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
/* smooth cross-fade between pages (Chrome, Edge, Safari 18+); other browsers simply load the page */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- small screens ---------- */
@media (max-width: 440px) {
  .btn-row .btn { width: 100%; }
  .hero-note { width: 100%; text-align: center; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stats > div { display: flex; align-items: baseline; gap: 1rem; padding: .8rem 1.1rem; }
  .stats b { min-width: 2.3em; font-size: 1.9rem; }
  .stats span { margin: 0; }
}
@media (max-width: 400px) {
  .site-head { gap: 8px; }
  .brand { font-size: 1.12rem; }
  .pill { padding: 4px; gap: 2px; border-radius: 14px; }
  .pill-cta { padding: .5rem .7rem; font-size: .82rem; }
  .theme-toggle { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .hero-text > *, .hero-figure img { opacity: 1; transform: none; }
  .hero-figure::before { opacity: 1; transform: translateX(-50%); }
  .js .reveal { opacity: 1; transform: none; }
}

/* justified text only in wide text columns (no hyphenation, so narrow cards stay left-aligned) */
@media (min-width: 700px) {
  .prose p, .prose li, .about-head .lead-ink, .about p, .faq-list details p, .tldr { text-align: justify; }
  .prose .meta, .prose .refs li { text-align: left; }
}

/* headings with a very long word shrink just enough to fit it (--lw = letters in the longest word, set by build.py) */
.prose { container-type: inline-size; }
.nw { white-space: nowrap; }
