/* enneagram.cz – generováno src/build.py, needitovat ručně */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/fraunces-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/fraunces-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fraunces-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fraunces-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/nunito-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/nunito-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/nunito-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/nunito-sans-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-sans-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --terracotta-50: #fbeee5;
  --terracotta-100: #f6d9c6;
  --terracotta-200: #eab79b;
  --terracotta-300: #db8f66;
  --terracotta-400: #cd7040;
  --terracotta-500: #c1622d;
  --terracotta-600: #a94d25;
  --terracotta-700: #8a3d1f;
  --amber-100: #f9e6b8;
  --amber-300: #eec25c;
  --amber-400: #e0a52e;
  --amber-600: #a9751a;
  --sage-100: #e6ead7;
  --sage-300: #b3bd97;
  --sage-500: #6f7d5a;
  --sage-700: #4c563b;
  --sand-50: #faf4ec;
  --sand-100: #f3e9db;
  --sand-200: #e8dbc7;
  --sand-300: #d8c6ac;
  --clay-400: #b9a488;
  --clay-500: #94806a;
  --clay-600: #74624e;
  --clay-700: #52422f;
  --clay-800: #382b1e;
  --clay-900: #261c12;
  --clay-950: #1a120b;
  --white-warm: #fffdf9;
  --rust-100: #f7ddd6;
  --rust-500: #b23b2e;
  --rust-700: #7f2a20;
  --leaf-100: #dcecd4;
  --leaf-500: #3f7a4f;
  --leaf-300: #8bc199;
  --honey-100: #f7e6bf;
  --honey-600: #9a6a12;
  --honey-300: #e8c063;
  --bg-page: #faf4ec;
  --bg-surface: #fffdf9;
  --bg-raised: #f3e9db;
  --bg-sunken: #f0e6d6;
  --bg-brand-soft: #fbeee5;
  --bg-accent-soft: #f9e6b8;
  --bg-secondary-soft: #e6ead7;
  --border-subtle: #e8dbc7;
  --border-strong: #d8c6ac;
  --text-primary: #261c12;
  --text-secondary: #52422f;
  --text-muted: #74624e;
  --text-brand: #8a3d1f;
  --text-on-brand: #ffffff;
  --primary: #a94d25;
  --primary-hover: #8a3d1f;
  --primary-text: #ffffff;
  --accent: #e0a52e;
  --secondary: #6f7d5a;
  --focus-ring: #c1622d;
  --success: #356b42;
  --success-surface: #dcecd4;
  --warning: #7a5410;
  --warning-surface: #f7e6bf;
  --error: #b23b2e;
  --error-surface: #f7ddd6;
  --3xs: 2px;
  --2xs: 4px;
  --xs: 8px;
  --sm: 12px;
  --md: 16px;
  --lg: 24px;
  --xl: 32px;
  --2xl: 48px;
  --3xl: 64px;
  --4xl: 96px;
  --5xl: 128px;
  --content: 72px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px rgb(58 33 20 / 0.06), 0 1px 3px rgb(58 33 20 / 0.08);
  --shadow-md: 0 4px 8px -2px rgb(58 33 20 / 0.08), 0 8px 20px -4px rgb(58 33 20 / 0.10);
  --shadow-lg: 0 12px 28px -6px rgb(58 33 20 / 0.14), 0 24px 48px -12px rgb(58 33 20 / 0.16);
  --font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --terracotta-50: #fbeee5;
  --terracotta-100: #f6d9c6;
  --terracotta-200: #eab79b;
  --terracotta-300: #db8f66;
  --terracotta-400: #cd7040;
  --terracotta-500: #c1622d;
  --terracotta-600: #a94d25;
  --terracotta-700: #8a3d1f;
  --amber-100: #f9e6b8;
  --amber-300: #eec25c;
  --amber-400: #e0a52e;
  --amber-600: #a9751a;
  --sage-100: #e6ead7;
  --sage-300: #b3bd97;
  --sage-500: #6f7d5a;
  --sage-700: #4c563b;
  --sand-50: #faf4ec;
  --sand-100: #f3e9db;
  --sand-200: #e8dbc7;
  --sand-300: #d8c6ac;
  --clay-400: #b9a488;
  --clay-500: #94806a;
  --clay-600: #74624e;
  --clay-700: #52422f;
  --clay-800: #382b1e;
  --clay-900: #261c12;
  --clay-950: #1a120b;
  --white-warm: #fffdf9;
  --rust-100: #f7ddd6;
  --rust-500: #b23b2e;
  --rust-700: #7f2a20;
  --leaf-100: #dcecd4;
  --leaf-500: #3f7a4f;
  --leaf-300: #8bc199;
  --honey-100: #f7e6bf;
  --honey-600: #9a6a12;
  --honey-300: #e8c063;
  --bg-page: #1a120b;
  --bg-surface: #241a11;
  --bg-raised: #2f2318;
  --bg-sunken: #150e08;
  --bg-brand-soft: #3a2114;
  --bg-accent-soft: #3a2c10;
  --bg-secondary-soft: #28301c;
  --border-subtle: #3a2c1e;
  --border-strong: #4b3928;
  --text-primary: #f4ebdf;
  --text-secondary: #d3c3ad;
  --text-muted: #a8927a;
  --text-brand: #db8f66;
  --text-on-brand: #ffffff;
  --primary: #b0521f;
  --primary-hover: #cd7040;
  --primary-text: #ffffff;
  --accent: #e0a52e;
  --secondary: #b3bd97;
  --focus-ring: #e0a52e;
  --success: #8bc199;
  --success-surface: #22331f;
  --warning: #e8c063;
  --warning-surface: #37280f;
  --error: #f0a196;
  --error-surface: #3a1c17;
}
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --terracotta-50: #fbeee5;
  --terracotta-100: #f6d9c6;
  --terracotta-200: #eab79b;
  --terracotta-300: #db8f66;
  --terracotta-400: #cd7040;
  --terracotta-500: #c1622d;
  --terracotta-600: #a94d25;
  --terracotta-700: #8a3d1f;
  --amber-100: #f9e6b8;
  --amber-300: #eec25c;
  --amber-400: #e0a52e;
  --amber-600: #a9751a;
  --sage-100: #e6ead7;
  --sage-300: #b3bd97;
  --sage-500: #6f7d5a;
  --sage-700: #4c563b;
  --sand-50: #faf4ec;
  --sand-100: #f3e9db;
  --sand-200: #e8dbc7;
  --sand-300: #d8c6ac;
  --clay-400: #b9a488;
  --clay-500: #94806a;
  --clay-600: #74624e;
  --clay-700: #52422f;
  --clay-800: #382b1e;
  --clay-900: #261c12;
  --clay-950: #1a120b;
  --white-warm: #fffdf9;
  --rust-100: #f7ddd6;
  --rust-500: #b23b2e;
  --rust-700: #7f2a20;
  --leaf-100: #dcecd4;
  --leaf-500: #3f7a4f;
  --leaf-300: #8bc199;
  --honey-100: #f7e6bf;
  --honey-600: #9a6a12;
  --honey-300: #e8c063;
  --bg-page: #1a120b;
  --bg-surface: #241a11;
  --bg-raised: #2f2318;
  --bg-sunken: #150e08;
  --bg-brand-soft: #3a2114;
  --bg-accent-soft: #3a2c10;
  --bg-secondary-soft: #28301c;
  --border-subtle: #3a2c1e;
  --border-strong: #4b3928;
  --text-primary: #f4ebdf;
  --text-secondary: #d3c3ad;
  --text-muted: #a8927a;
  --text-brand: #db8f66;
  --text-on-brand: #ffffff;
  --primary: #b0521f;
  --primary-hover: #cd7040;
  --primary-text: #ffffff;
  --accent: #e0a52e;
  --secondary: #b3bd97;
  --focus-ring: #e0a52e;
  --success: #8bc199;
  --success-surface: #22331f;
  --warning: #e8c063;
  --warning-surface: #37280f;
  --error: #f0a196;
  --error-surface: #3a1c17;
}
/* Enneagram components — every value comes from tokens.css */

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* preview helpers */
.nm-stage { padding: var(--lg); display: flex; flex-wrap: wrap; gap: var(--md); align-items: center; }
.nm-stack { padding: var(--lg); display: grid; gap: var(--lg); max-width: 440px; }
.nm-stack-wide { max-width: 640px; }
.nm-grid  { padding: var(--lg); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lg); }
.nm-grid-3 { padding: var(--lg); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lg); }
.nm-pad { padding: var(--lg); }
.nm-preview-col { display: grid; gap: var(--lg); padding-bottom: var(--lg); }
.nm-phone { width: 375px; margin-left: var(--lg); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-page); }

/* ---------- Button ---------- */
.nm-btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--xs);
  height: 44px;
  padding: 0 var(--lg);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.nm-btn-primary { background: var(--primary); color: var(--primary-text); }
.nm-btn-primary:hover { background: var(--primary-hover); }
.nm-btn-secondary { background: var(--bg-surface); color: var(--text-brand); border-color: var(--border-strong); }
.nm-btn-secondary:hover { border-color: var(--text-brand); background: var(--bg-brand-soft); }
.nm-btn-ghost { background: transparent; color: var(--text-brand); }
.nm-btn-ghost:hover { background: var(--bg-brand-soft); }
.nm-btn-sm { height: 36px; padding: 0 var(--md); font-size: 14px; }
.nm-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.nm-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Badge ---------- */
.nm-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: .02em;
  padding: 0 var(--sm);
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  color: var(--text-secondary);
}
.nm-badge-brand   { background: var(--bg-brand-soft);     color: var(--text-brand); }
.nm-badge-accent  { background: var(--bg-accent-soft);    color: var(--text-primary); }
.nm-badge-sage    { background: var(--bg-secondary-soft); color: var(--text-primary); }
.nm-badge-success { background: var(--success-surface);   color: var(--success); }
.nm-badge-warning { background: var(--warning-surface);   color: var(--warning); }
.nm-badge-error   { background: var(--error-surface);     color: var(--error); }

/* ---------- Input ---------- */
.nm-field { display: flex; flex-direction: column; gap: var(--2xs); font-family: var(--font-sans); }
.nm-label { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--text-primary); }
.nm-input {
  font: inherit;
  font-size: 16px;
  height: 46px;
  padding: 0 var(--md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nm-input::placeholder { color: var(--text-muted); }
.nm-input:hover { border-color: var(--text-muted); }
.nm-input:focus { outline: none; border-color: var(--focus-ring); box-shadow: 0 0 0 3px var(--bg-brand-soft); }
.nm-input:disabled { background: var(--bg-sunken); color: var(--text-muted); cursor: not-allowed; }
.nm-input-invalid, .nm-input-invalid:hover { border-color: var(--error); }
.nm-hint { font-size: 13px; line-height: 18px; color: var(--text-muted); }
.nm-hint-invalid { color: var(--error); }

/* ---------- Card ---------- */
.nm-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--lg);
  color: var(--text-primary);
  font-family: var(--font-sans);
}
.nm-card-lg { padding: var(--xl); }
.nm-card h3, .nm-card-title { font-family: var(--font-serif); font-weight: 600; font-size: 22px; line-height: 30px; margin: 0 0 var(--xs); }
.nm-card p { margin: 0; font-size: 16px; line-height: 26px; color: var(--text-secondary); }

/* ---------- Overline (shared) ---------- */
.nm-overline {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-brand);
  margin-bottom: var(--2xs);
}

/* ---------- EventCard ---------- */
.nm-event { display: flex; align-items: center; gap: var(--lg); }
.nm-event-date {
  flex: none;
  width: 68px;
  height: 76px;
  border-radius: var(--radius-md);
  background: var(--bg-brand-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nm-event-day { font-family: var(--font-serif); font-size: 30px; font-weight: 600; line-height: 1; color: var(--text-brand); }
.nm-event-mon { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); margin-top: var(--2xs); }
.nm-event-body { flex: 1; min-width: 0; }
.nm-event-title { font-family: var(--font-serif); font-size: 20px; font-weight: 600; line-height: 28px; margin: 0; color: var(--text-primary); }
.nm-event-meta { margin: var(--2xs) 0 0; font-size: 14px; line-height: 20px; color: var(--text-muted); }

/* ---------- ArticleCard ---------- */
.nm-article { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.nm-article-media {
  aspect-ratio: 16 / 10;
  background-color: var(--bg-secondary-soft);
  background-size: cover;
  background-position: center;
}
.nm-article-body { padding: var(--lg); display: flex; flex-direction: column; gap: var(--xs); }
.nm-article-body .nm-overline { margin-bottom: 0; }
.nm-article-title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 30px; margin: 0; color: var(--text-primary); }
.nm-article-excerpt { margin: 0; font-size: 15px; line-height: 24px; color: var(--text-secondary); }
.nm-link { font-family: var(--font-sans); font-weight: 700; font-size: 15px; color: var(--text-brand); text-decoration: none; margin-top: var(--2xs); align-self: flex-start; }
.nm-link::after { content: " \2192"; }
.nm-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Shared small bits ---------- */
.nm-text-link { color: var(--text-brand); font-weight: 600; text-decoration: none; }
.nm-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.nm-btn-block { width: 100%; }
.nm-alert { font-size: 14px; line-height: 20px; padding: var(--sm) var(--md); border-radius: var(--radius-sm); }
.nm-alert-error { background: var(--error-surface); color: var(--error); }

/* ---------- Header ---------- */
.nm-header {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
}
.nm-header-bar { display: flex; align-items: center; gap: var(--xl); padding: var(--md) var(--lg); }
.nm-brand { font-family: var(--font-serif); font-size: 26px; font-weight: 600; letter-spacing: -.01em; color: var(--text-primary); text-decoration: none; }
.nm-nav { display: flex; gap: var(--lg); flex: 1; }
.nm-nav-link { font-size: 15px; font-weight: 600; color: var(--text-secondary); text-decoration: none; }
.nm-nav-link:hover { color: var(--text-brand); }
.nm-header-actions { display: flex; gap: var(--xs); align-items: center; }
.nm-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nm-menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text-primary); transition: transform .2s ease, opacity .2s ease; }
.nm-menu-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.nm-header-open .nm-menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nm-header-open .nm-menu-btn span:nth-child(2) { opacity: 0; }
.nm-header-open .nm-menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nm-mobile-nav { display: none; }
.nm-mobile-link { font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 30px; color: var(--text-primary); text-decoration: none; padding: var(--sm) 0; border-top: 1px solid var(--border-subtle); }
.nm-mobile-link:hover { color: var(--text-brand); }
.nm-header-compact .nm-header-bar { gap: var(--md); padding: var(--sm) var(--md); }
.nm-header-compact .nm-brand { flex: 1; font-size: 24px; }
.nm-header-compact .nm-nav { display: none; }
.nm-header-compact .nm-menu-btn { display: inline-flex; }
.nm-header-compact.nm-header-open .nm-mobile-nav { display: flex; flex-direction: column; padding: 0 var(--md) var(--md); }
@media (max-width: 720px) {
  .nm-header-bar { gap: var(--md); padding: var(--sm) var(--md); }
  .nm-brand { flex: 1; font-size: 24px; }
  .nm-nav { display: none; }
  .nm-menu-btn { display: inline-flex; }
  .nm-header-open .nm-mobile-nav { display: flex; flex-direction: column; padding: 0 var(--md) var(--md); }
}

/* ---------- TypeCard ---------- */
.nm-type {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  text-decoration: none;
  border-color: transparent;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nm-type:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nm-type:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.nm-type-brand  { background: var(--bg-brand-soft); }
.nm-type-accent { background: var(--bg-accent-soft); }
.nm-type-sage   { background: var(--bg-secondary-soft); }
.nm-type-num {
  position: absolute;
  right: -6px; bottom: -34px;
  font-family: var(--font-serif);
  font-size: 150px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}
.nm-type-brand  .nm-type-num { color: var(--text-brand); opacity: .14; }
.nm-type-accent .nm-type-num { color: var(--accent);     opacity: .45; }
.nm-type-sage   .nm-type-num { color: var(--secondary);  opacity: .30; }
.nm-type .nm-overline, .nm-type-name, .nm-type-summary { position: relative; }
.nm-type-name { font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 30px; margin: 0 0 var(--xs); color: var(--text-primary); }
.nm-type-quote { position: relative; margin: 0 0 var(--xs); font-family: var(--font-serif); font-weight: 400; font-size: 17px; line-height: 26px; color: var(--text-secondary); max-width: calc(100% - 64px); }
.nm-type-summary { margin: 0; font-size: 15px; line-height: 23px; color: var(--text-secondary); max-width: calc(100% - 64px); }

/* ---------- LecturerCard ---------- */
.nm-lecturer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--xs); padding-top: var(--xl); }
.nm-avatar { width: 88px; height: 88px; border-radius: var(--radius-pill); object-fit: cover; margin-bottom: var(--xs); }
.nm-avatar-initials { display: flex; align-items: center; justify-content: center; background: var(--bg-brand-soft); color: var(--text-brand); font-family: var(--font-serif); font-size: 30px; font-weight: 600; }
.nm-lecturer-name { font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 30px; margin: 0; color: var(--text-primary); }
.nm-lecturer-title { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--text-muted); }
.nm-lecturer-role { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--text-brand); }
.nm-lecturer-bio { margin: var(--2xs) 0 0; font-size: 15px; line-height: 24px; color: var(--text-secondary); }
.nm-lecturer-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--2xs); margin-top: var(--2xs); }
.nm-lecturer .nm-link { align-self: center; margin-top: auto; padding-top: var(--xs); }

/* ---------- NewsletterBand ---------- */
.nm-newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xl);
  align-items: center;
  padding: var(--2xl) var(--xl);
  border-radius: var(--radius-xl);
  background: var(--bg-accent-soft);
  font-family: var(--font-sans);
}
.nm-newsletter-title { font-family: var(--font-serif); font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: -.01em; margin: 0 0 var(--xs); color: var(--text-primary); }
.nm-newsletter-text { margin: 0; font-size: 16px; line-height: 26px; color: var(--text-secondary); }
.nm-newsletter-form { display: flex; flex-direction: column; gap: var(--xs); }
.nm-newsletter-row { display: flex; gap: var(--sm); align-items: flex-end; }
.nm-newsletter-input { flex: 1; }
.nm-newsletter-row .nm-btn { height: 46px; }
@media (max-width: 720px) {
  .nm-newsletter { grid-template-columns: 1fr; padding: var(--xl) var(--lg); }
  .nm-newsletter-row { flex-direction: column; align-items: stretch; }
}

/* ---------- SignInForm ---------- */
.nm-signin { max-width: 420px; display: flex; flex-direction: column; gap: var(--md); box-shadow: var(--shadow-md); }
.nm-signin .nm-overline { margin-bottom: calc(var(--md) * -1 + var(--2xs)); }
.nm-signin-title { font-family: var(--font-serif); font-size: 30px; font-weight: 600; line-height: 38px; margin: 0; color: var(--text-primary); }
.nm-signin-text { margin: calc(var(--xs) * -1) 0 0; font-size: 15px; line-height: 24px; color: var(--text-secondary); }
.nm-signin-row { display: flex; justify-content: flex-end; margin-top: calc(var(--xs) * -1); font-size: 14px; }
.nm-signin-foot { margin: 0; text-align: center; font-size: 14px; line-height: 20px; color: var(--text-muted); }

/* ---------- Footer ---------- */
.nm-footer { background: var(--clay-900); color: var(--clay-400); font-family: var(--font-sans); }
.nm-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--xl); padding: var(--2xl) var(--lg) var(--xl); }
.nm-footer .nm-brand { color: var(--sand-50); }
.nm-footer-brand p { margin: var(--xs) 0 0; font-size: 15px; line-height: 24px; color: var(--clay-400); max-width: 28ch; }
.nm-footer-col { display: flex; flex-direction: column; gap: var(--xs); }
.nm-footer-head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sand-50); margin-bottom: var(--2xs); }
.nm-footer-link { font-size: 15px; line-height: 22px; color: var(--clay-400); text-decoration: none; }
.nm-footer-link:hover { color: var(--sand-50); }
.nm-footer-bottom { border-top: 1px solid var(--clay-800); padding: var(--md) var(--lg); font-size: 13px; line-height: 18px; color: var(--clay-400); }
@media (max-width: 720px) {
  .nm-footer-top { grid-template-columns: 1fr 1fr; }
  .nm-footer-brand { grid-column: 1 / -1; }
}

/* ===== page layer ===== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { background: var(--bg-page); color: var(--text-primary); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }
h1, h2, h3 { text-wrap: balance; }
.sec { padding-block: var(--content); }
.sec-brand { background: var(--bg-brand-soft); }
.sec-sage { background: var(--bg-secondary-soft); }
.sec-raised { background: var(--bg-raised); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--md) var(--xl); margin-bottom: var(--xl); }
.sec-head > div { max-width: 640px; }
.h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.lead { font-size: 18px; line-height: 30px; color: var(--text-secondary); margin: var(--xs) 0 0; max-width: 62ch; }
.g3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--lg); }
.g4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--lg); }
.stack { display: grid; gap: var(--md); }
.muted { color: var(--text-muted); }

/* header */
.nm-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; }
.nm-header-bar { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.nm-mobile-nav { padding-inline: 24px; }
.nm-nav-link[aria-current="page"] { color: var(--text-brand); }
.nm-nav { justify-content: flex-end; }
.nm-nav-link { padding-block: 6px; border-bottom: 2px solid transparent; }
.nm-nav-link[aria-current="page"] { border-bottom-color: var(--text-brand); }

/* hero */
.hero { padding-block: var(--3xl) var(--content); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--2xl); align-items: center; }
.hero h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin: var(--xs) 0 var(--md); }
.hero .lead { font-size: 19px; line-height: 31px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sm); margin-top: var(--xl); }
.hero-note { margin-top: var(--lg); font-size: 14px; color: var(--text-muted); }
.hero-note a { color: var(--text-brand); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-block: var(--2xl) var(--3xl); } }

/* enneagram figure */
.fig { display: grid; justify-items: center; gap: var(--md); }
.fig svg { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.fig-ring { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.fig-line { fill: none; stroke: var(--clay-400); stroke-width: 1.25; opacity: .55; }
.fig-tri { fill: none; stroke: var(--terracotta-400); stroke-width: 1.5; opacity: .6; }
.fig-pt circle { stroke-width: 2; transition: transform .2s ease; transform-box: fill-box; transform-origin: center; }
.fig-pt text { font-family: var(--font-serif); font-weight: 600; font-size: 20px; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.fig-pt.body circle { fill: var(--bg-brand-soft); stroke: var(--terracotta-500); }
.fig-pt.heart circle { fill: var(--bg-accent-soft); stroke: var(--amber-400); }
.fig-pt.head circle { fill: var(--bg-secondary-soft); stroke: var(--sage-500); }
.fig-pt text { fill: var(--text-primary); }
.fig-pt:hover circle, .fig-pt:focus circle, .fig-pt.on circle { transform: scale(1.18); }
.fig-pt:focus { outline: none; }
.fig-pt:focus-visible circle { stroke: var(--focus-ring); stroke-width: 3; }
.fig-cap { min-height: 76px; text-align: center; max-width: 380px; }
.fig-cap .nm-overline { margin-bottom: 2px; }
.fig-cap strong { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 20px; line-height: 28px; }
.fig-cap span.q { font-family: var(--font-serif); font-size: 16px; color: var(--text-secondary); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--xs) var(--md); font-size: 13px; color: var(--text-secondary); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; border: 2px solid; }
.legend .b i { background: var(--bg-brand-soft); border-color: var(--terracotta-500); }
.legend .h i { background: var(--bg-accent-soft); border-color: var(--amber-400); }
.legend .m i { background: var(--bg-secondary-soft); border-color: var(--sage-500); }

/* benefit tiles */
.benefit { display: flex; flex-direction: column; gap: var(--xs); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.benefit:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.benefit h3 { margin: 0; }
.benefit .nm-link { margin-top: auto; padding-top: var(--xs); }
.benefit-mark { width: 40px; height: 40px; border-radius: var(--radius-pill); display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600; font-size: 18px; margin-bottom: var(--xs); }
.mk-brand { background: var(--bg-brand-soft); color: var(--text-brand); }
.mk-accent { background: var(--bg-accent-soft); color: var(--text-primary); }
.mk-sage { background: var(--bg-secondary-soft); color: var(--text-primary); }

/* type grid tweaks */
.nm-type { min-height: 200px; }

/* how to find your type */
.paths { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--2xl); align-items: start; }
.paths blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; font-weight: 400; color: var(--text-primary); }
.paths blockquote footer { margin-top: var(--md); font-family: var(--font-sans); font-size: 14px; color: var(--text-muted); }
.path { display: grid; grid-template-columns: 44px 1fr; gap: var(--md); padding-block: var(--md); border-top: 1px solid var(--border-subtle); }
.path:first-child { border-top: 0; padding-top: 0; }
.path h3 { font-family: var(--font-serif); font-weight: 600; font-size: 20px; line-height: 28px; margin: 0; }
.path p { margin: 2px 0 0; color: var(--text-secondary); }
.path a { color: var(--text-brand); font-weight: 700; text-decoration: none; }
.path a:hover { text-decoration: underline; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* event list */
.events { display: grid; gap: var(--md); }
.nm-event-meta b { color: var(--text-secondary); font-weight: 600; }
.ev-price { font-variant-numeric: tabular-nums; }
.ev-side { display: flex; flex-direction: column; align-items: flex-end; gap: var(--xs); }
.ev-badges { display: flex; gap: var(--2xs); flex-wrap: wrap; margin-bottom: var(--2xs); }
@media (max-width: 640px) { .nm-event { flex-wrap: wrap; } .ev-side { width: 100%; align-items: stretch; } .ev-side .nm-btn { width: 100%; box-sizing: border-box; } }
.chips { display: flex; flex-wrap: wrap; gap: var(--xs); margin-bottom: var(--lg); }
.chip { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: var(--bg-surface); color: var(--text-secondary); cursor: pointer; }
.chip:hover { border-color: var(--text-brand); color: var(--text-brand); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
.chip:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* article cards as links */
a.nm-article { text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.nm-article:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nm-article-media { display: grid; place-items: center; }
.nm-article-media svg { width: 34%; height: auto; opacity: .75; }
.am-brand { background-color: var(--bg-brand-soft); }
.am-accent { background-color: var(--bg-accent-soft); }
.am-sage { background-color: var(--bg-secondary-soft); }
.am-line { fill: none; stroke: var(--text-brand); stroke-width: 2.5; }
.am-dot { fill: var(--text-brand); }

/* page heads */
.phead { padding-block: var(--2xl) var(--xl); }
.phead h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.015em; margin: var(--xs) 0 0; }
.crumb { font-size: 14px; color: var(--text-muted); }
.crumb a { color: var(--text-brand); text-decoration: none; font-weight: 600; }
.crumb a:hover { text-decoration: underline; }

/* centres */
.centres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lg); }
@media (max-width: 800px) { .centres { grid-template-columns: 1fr; } }
.centre h3 { display: flex; align-items: baseline; justify-content: space-between; gap: var(--xs); }
.centre .nums { font-family: var(--font-serif); font-size: 18px; color: var(--text-brand); white-space: nowrap; }
.types-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--2xl); align-items: center; }
@media (max-width: 900px) { .types-intro { grid-template-columns: 1fr; } }
.pull { font-family: var(--font-serif); font-size: 22px; line-height: 32px; margin: var(--lg) 0 0; padding-left: var(--md); border-left: 3px solid var(--terracotta-300); color: var(--text-primary); }

/* type detail */
.td-head { position: relative; overflow: hidden; }
.td-num { position: absolute; right: -10px; top: -40px; font-family: var(--font-serif); font-weight: 600; font-size: clamp(200px, 26vw, 340px); line-height: 1; opacity: .16; pointer-events: none; }
.td-body .td-num { color: var(--text-brand); }
.td-heart .td-num { color: var(--amber-400); opacity: .4; }
.td-head-mind .td-num { color: var(--sage-500); opacity: .3; }
.td-motto { font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; color: var(--text-secondary); margin: var(--md) 0 0; max-width: 32ch; position: relative; }
.td-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--2xl); align-items: start; }
@media (max-width: 900px) { .td-grid { grid-template-columns: 1fr; } }
.prose p { margin: 0 0 var(--md); font-size: 18px; line-height: 30px; color: var(--text-primary); max-width: 66ch; }
.prose h2 { font-family: var(--font-serif); font-weight: 600; font-size: 26px; line-height: 34px; margin: 0 0 var(--md); }
.facts { display: grid; gap: var(--md); }
.fact { display: grid; gap: 2px; padding-bottom: var(--md); border-bottom: 1px solid var(--border-subtle); }
.fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fact dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.fact dd { margin: 0; font-family: var(--font-serif); font-size: 20px; line-height: 28px; }
.fact dd a { color: var(--text-brand); text-decoration: none; }
.fact dd a:hover { text-decoration: underline; }
.td-nav { display: flex; justify-content: space-between; gap: var(--md); margin-top: var(--2xl); padding-top: var(--lg); border-top: 1px solid var(--border-subtle); }
.td-nav a { text-decoration: none; color: var(--text-secondary); font-weight: 600; }
.td-nav a strong { display: block; font-family: var(--font-serif); color: var(--text-primary); font-size: 18px; }
.td-nav a:hover strong { color: var(--text-brand); }
.td-nav .next { text-align: right; }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--lg); padding: var(--xl); border-radius: var(--radius-xl); background: var(--bg-brand-soft); }
.cta-band h2 { font-family: var(--font-serif); font-weight: 600; font-size: 26px; line-height: 34px; margin: 0; }
.cta-band p { margin: 4px 0 0; color: var(--text-secondary); }

/* article detail */
.article-body h2 { font-family: var(--font-serif); font-weight: 600; font-size: 26px; line-height: 34px; margin: var(--xl) 0 var(--sm); }
.article-body p.lead-in { font-size: 19px; line-height: 30px; }
.article-body ul { margin: 0 0 var(--lg); padding: 0; list-style: none; display: grid; gap: var(--md); max-width: 66ch; }
.article-body li { position: relative; padding-left: var(--lg); font-size: 17px; line-height: 28px; }
.article-body li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta-400); }
.article-body li strong:first-child { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--text-primary); }
.article-body blockquote { margin: 0 0 var(--xs); padding: var(--lg) var(--xl); background: var(--bg-accent-soft); border-radius: var(--radius-lg); }
.article-body blockquote p { font-family: var(--font-serif); font-size: 18px; line-height: 29px; margin: 0 0 var(--sm); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body p.cite { font-size: 15px; font-weight: 700; color: var(--text-secondary); margin: 0 0 var(--lg) var(--xl); }
.article-body p.cite::before { content: "— "; }
.article-body hr { border: 0; border-top: 1px solid var(--border-subtle); margin: var(--xl) 0; max-width: 66ch; }
.article-body a:not(.nm-btn) { color: var(--text-brand); font-weight: 600; }
a.feature { display: grid; grid-template-columns: 1fr 1.2fr; margin-bottom: var(--lg); }
a.feature .nm-article-media { aspect-ratio: auto; min-height: 220px; }
a.feature .nm-article-title { font-size: 28px; line-height: 36px; }
@media (max-width: 760px) { a.feature { grid-template-columns: 1fr; } a.feature .nm-article-media { aspect-ratio: 16 / 9; min-height: 0; } }
.article { max-width: 720px; }
.article-body { max-width: 672px; margin-inline: auto; }
.article-body > p:first-child { font-size: 20px; line-height: 32px; color: var(--text-secondary); }

/* footer inner width */
.nm-footer-top, .nm-footer-bottom { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.nm-footer { margin-top: var(--content); }
.nm-footer-bottom { display: flex; flex-wrap: wrap; gap: var(--sm); justify-content: space-between; }

/* cookies page */
.ck-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--2xl); align-items: start; }
@media (max-width: 900px) { .ck-grid { grid-template-columns: 1fr; } }
.ck-sum { display: grid; gap: var(--sm); }
.ck-sum div { display: grid; grid-template-columns: 22px 1fr; gap: var(--xs); font-size: 15px; line-height: 22px; }
.ck-yes { color: var(--success); font-weight: 700; } .ck-no { color: var(--text-muted); font-weight: 700; }
.prose h3 { font-family: var(--font-serif); font-weight: 600; font-size: 21px; line-height: 28px; margin: var(--xl) 0 var(--xs); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--bg-surface); padding: 8px 12px; border-radius: 8px; }

/* production additions */
.ev-loading { min-height: 120px; display: grid; place-items: center; color: var(--text-muted); font-size: 15px; }
.nm-footer-link { text-decoration: none; }
.nm-footer-link:hover { color: var(--text-brand); }
/* leták A5 (skrytá stránka, #252) */
.leaflet { display: grid; gap: var(--lg); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.leaflet img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
