:root,
[data-theme="light"] {
  --ink: #12141c;
  --muted: #5c6570;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #e4e8f0;
  --navy: #0b1f4a;
  --blue: #0e6cb5;
  --sky: #e8f3fb;
  --btn: #0b1f4a;
  --btn-ink: #ffffff;
  --footer: #0b1f4a;
  --footer-ink: #d5e2f2;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #f2f5fb;
  --muted: #b7c2d0;
  --paper: #0e141d;
  --white: #182232;
  --line: #2c3a4e;
  --navy: #d6e4f5;
  --blue: #8ebfed;
  --sky: #1b3046;
  --btn: #e8eef8;
  --btn-ink: #0b1f4a;
  --footer: #070d16;
  --footer-ink: #d5e2f2;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}

main { flex: 1 0 auto; }

img { display: block; max-width: 100%; }

a { color: inherit; }

.hero, .paths, .try-band, .doors, .prices-teaser, .voices, .who {
  width: min(1120px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  min-height: 4.25rem;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.35rem max(1rem, calc((100% - 1120px) / 2));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a { text-decoration: none; }

.nav-menu { position: relative; }

.nav-menu > summary {
  cursor: pointer;
  list-style: none;
  color: var(--muted);
}

.nav-menu > summary::-webkit-details-marker { display: none; }

.nav-menu > summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.nav-menu-panel {
  position: absolute;
  z-index: 3;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 8.5rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  box-shadow: 0 16px 36px rgba(11, 31, 74, 0.1);
}

.nav-menu-panel a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
}

.path-ask .choices { margin-top: 0.85rem; }

.path-ask .choices legend {
  color: var(--ink);
  font-weight: 650;
  font-size: 1rem;
}

.path-ask .choices.scale {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.path-ask .choices.scale legend { grid-column: 1 / -1; }

.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.button.small { padding: 0.55rem 0.9rem; font-size: 0.92rem; }
.button.locked {
  gap: 0.4rem;
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  cursor: not-allowed;
}
.button.locked:hover { transform: none; }
.lock-icon { width: 0.95rem; height: 0.95rem; }
.tip { position: relative; display: inline-flex; }
.tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.45rem);
  z-index: 5;
  width: max-content;
  max-width: 14rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.55rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
}
.tip:hover::after,
.tip:focus-within::after { opacity: 1; }
.button.solid { background: var(--btn); color: var(--btn-ink); }
.button.ghost { background: #ffffff; color: #0b1f4a; border-color: var(--line); }
.button.light { background: #f4f7fb; color: #0b1f4a; }

.button:focus-visible, a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 3.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h3 { margin: 0; font-size: 1.15rem; letter-spacing: -0.02em; }

.lead {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: 0 24px 50px rgba(11, 31, 74, 0.08);
  padding: 1.1rem;
}

.preview-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.2rem 0.35rem 0.9rem;
}

.preview-top img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.preview-label, .preview-status { margin: 0; }
.preview-label { font-weight: 700; }
.preview-status { color: var(--blue); font-size: 0.82rem; }

.preview ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.preview li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.8rem;
  border-radius: 0.9rem;
}

.preview li span {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.preview li p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.preview li.is-next {
  background: var(--sky);
}

.preview li.is-next span {
  background: #0b1f4a;
  color: #f4f7fb;
}

.paths, .doors, .prices-teaser, .voices, .who {
  padding: 1rem 0 3.5rem;
  scroll-margin-top: 5.75rem;
}

.section-head { max-width: 38rem; margin-bottom: 1.4rem; }
.section-head p { margin: 0.55rem 0 0; color: var(--muted); font-size: 1.1rem; }

.path-grid, .door-grid, .people {
  display: grid;
  gap: 0.9rem;
}

.path-grid article, .door {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.25rem 1.2rem 1.35rem;
}

.path-grid span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.path-grid p, .door p { margin: 0.45rem 0 0; color: var(--muted); }

.note { font-size: 0.95rem; }

.door .button { margin-top: 1.15rem; }

.price-cards {
  display: grid;
  gap: 0.9rem;
}

.price-cards article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.25rem 1.2rem 1.35rem;
}

.price-cards h3 { margin: 0; }

.price-cards p { margin: 0.45rem 0 0; color: var(--muted); }

.prices-teaser .button { margin-top: 1.15rem; }

.price-grid {
  display: grid;
  gap: 0.9rem;
  margin: 1.2rem 0;
}

.price-grid article {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.25rem 1.2rem 1.35rem;
}

.price-eur {
  margin: 0.35rem 0 0;
  color: var(--blue);
  font-weight: 700;
}

.price-grid article > .button,
.price-grid article > form {
  margin-top: auto;
}

.price-grid .button { margin-top: 1rem; }

.price-extra {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.25rem 1.2rem 1.35rem;
  margin: 0.9rem 0;
}

.prose .price-extra h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.fine {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.route {
  background: var(--sky);
  border-radius: 1.2rem;
  padding: 1rem 1.15rem 1.15rem;
  margin: 0.4rem 0 1.2rem;
}

.prose .route h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.route p { margin: 0.35rem 0 0; }

.route ul {
  margin: 0.45rem 0 0;
  padding-left: 1.15rem;
}

.route .button { margin-top: 0.85rem; }

.door-coach {
  background: #0b1f4a;
  border-color: #0b1f4a;
  color: #f4f7fb;
}

.door-coach p { color: #d5e2f2; }
.door-coach .note { color: #b7cbe2; }

.people article {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.2rem;
}

.voice-stage {
  width: min(46rem, 100%);
  margin-inline: auto;
  display: grid;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.5rem 1.4rem 1.15rem;
}

.voice-stage .section-head { margin: 0; }

.voice-frame {
  display: grid;
  position: relative;
}

.voice-card {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

.voice-card:not(.is-on) {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
}

.voice-card.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.55s ease, visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .voice-card { transition: none; }
}

.voice-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.voice-card blockquote::before {
  content: "«";
  display: block;
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-size: 2rem;
  line-height: 0.8;
}

.voice-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.voice-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.voice-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.who-said {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.who-said strong { color: var(--ink); font-weight: 650; }

.people img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.45rem;
}

.people .role, .profile .role { margin: 0.15rem 0 0; color: var(--blue); font-size: 0.92rem; }
.people p, .profile p { margin: 0.45rem 0 0; color: var(--muted); }
.people .person-link {
  color: var(--blue);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.theme {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.when-dark { display: none; }
[data-theme="dark"] .when-light { display: none; }
[data-theme="dark"] .when-dark { display: inline; }

.page, .team {
  width: min(1120px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.page { padding: 2.5rem 0 1rem; }
.page.prose { max-width: 42rem; }
.page.desk { max-width: 52rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.prose h2 { margin-top: 1.8rem; font-size: 1.35rem; }
.prose p, .profile p { font-size: 1.05rem; }
.updated { color: var(--muted); }

.stack-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
  max-width: 26rem;
}

.stack-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.stack-form.wide { max-width: 40rem; }

.stack-form input,
.stack-form textarea,
.stack-form select {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.75rem 0.85rem;
}

.stack-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.stack-form textarea.short { min-height: 4.5rem; }

.stack-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.stack-form fieldset legend {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 650;
}

.stack-form label.choice {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--ink);
}

.stack-form label.choice input {
  width: 1rem;
  height: 1rem;
  padding: 0;
  accent-color: var(--navy);
}

.fold {
  margin-top: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 0.15rem 1.15rem 1rem;
}

.fold > summary {
  cursor: pointer;
  position: relative;
  list-style: none;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--ink);
  padding: 0.85rem 1.6rem 0.85rem 0;
}

.fold > summary::-webkit-details-marker { display: none; }

.fold > summary::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 1.15rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}

.fold[open] > summary::after {
  top: 1.28rem;
  transform: rotate(225deg);
}

.fold > summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.fold .stack-form { margin-top: 0.15rem; }

.fold ul {
  margin: 0.2rem 0 0.6rem;
  padding-left: 1.15rem;
}

.fold li { margin: 0.35rem 0; }

.fold.tip {
  background: var(--paper);
  padding-bottom: 0.35rem;
}

.fold.tip > summary {
  font-size: 1rem;
  font-weight: 600;
}

.score {
  margin: 0.35rem 0 1rem;
  padding: 0.75rem 0.9rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted);
  border-radius: 0.8rem;
}

.score-high { border-left-color: #1f7a4d; }
.score-mid { border-left-color: #a67c00; }
.score-low { border-left-color: #9b2c2c; }

.score-title {
  margin: 0;
  font-weight: 650;
  color: var(--ink);
}

.score-total {
  margin: 0.35rem 0 0;
  color: var(--ink);
}

.score-total strong {
  font-size: 1.55rem;
  font-weight: 650;
}

.score-band {
  margin: 0.15rem 0 0.35rem;
  color: var(--muted);
}

.score .updated { margin: 0.55rem 0 0; }

.score ul {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
}

.review {
  margin: 0.35rem 0 1rem;
  padding: 0.75rem 0.9rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0.8rem;
}

.review h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
}

.review .review-who {
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
  font-weight: 650;
}

.review .actions { margin-top: 0.7rem; }

.review h3 {
  margin: 0.85rem 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.review p { margin: 0.4rem 0 0; }

.review ul {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
}

.review-good { color: #1f7a4d; }
.review-regular { color: #8a6800; }
.review-urgent { color: #9b2c2c; }

[data-theme="dark"] .review-good { color: #8ed4ae; }
[data-theme="dark"] .review-regular { color: #e6c36a; }
[data-theme="dark"] .review-urgent { color: #f0a8a8; }

.review .groups {
  margin: 0.35rem 0 0;
}

.review .groups dt {
  margin-top: 0.45rem;
  font-weight: 650;
}

.review .groups dd {
  margin: 0.1rem 0 0;
}

.review form { margin-top: 0.7rem; }

.path-report {
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.path-report h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.path-report h3 {
  margin: 0.95rem 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.path-report p { margin: 0.4rem 0 0; }

.path-report .path-headline {
  margin-top: 0.8rem;
  font-size: 1.12rem;
  font-weight: 650;
}

.path-report .updated { margin-top: 0.4rem; }

.path-report .actions { margin-top: 0.75rem; }

.path-report form { margin-top: 0.7rem; }

.path-report ul {
  margin: 0.3rem 0 0;
  padding-left: 1.15rem;
}

.bars { display: grid; gap: 0.55rem; margin-top: 0.45rem; }

.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(5.5rem, 1fr) 2.5rem;
  gap: 0.55rem;
  align-items: center;
  margin: 0.45rem 0 0;
}

.bar-name { font-size: 0.92rem; line-height: 1.35; }

.bar-num {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  text-align: right;
}

.bar {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--blue);
}

.bar.gap > span { background: #8a6800; }

[data-theme="dark"] .bar.gap > span { background: #e6c36a; }

.bar > span.n0 { width: 0%; }
.bar > span.n5 { width: 5%; }
.bar > span.n10 { width: 10%; }
.bar > span.n15 { width: 15%; }
.bar > span.n20 { width: 20%; }
.bar > span.n25 { width: 25%; }
.bar > span.n30 { width: 30%; }
.bar > span.n35 { width: 35%; }
.bar > span.n40 { width: 40%; }
.bar > span.n45 { width: 45%; }
.bar > span.n50 { width: 50%; }
.bar > span.n55 { width: 55%; }
.bar > span.n60 { width: 60%; }
.bar > span.n65 { width: 65%; }
.bar > span.n70 { width: 70%; }
.bar > span.n75 { width: 75%; }
.bar > span.n80 { width: 80%; }
.bar > span.n85 { width: 85%; }
.bar > span.n90 { width: 90%; }
.bar > span.n95 { width: 95%; }
.bar > span.n100 { width: 100%; }

.path-ways { display: grid; gap: 0.7rem; margin-top: 0.45rem; }

.path-card {
  margin: 0;
  padding: 0.7rem 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--white);
}

.path-card h3 { margin: 0; font-size: 0.98rem; }

.path-card .bar-row { margin-top: 0.55rem; }

.path-kind {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.path-phases {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.45rem;
}

@media (min-width: 800px) {
  .path-ways { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 640px) {
  .bar-row { grid-template-columns: 1fr; }
  .bar-num { text-align: left; }
}

.cv-board { position: relative; }

.cv-sections-button { display: none; }

.cv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.15rem 0 0.95rem;
}

.cv-tabs label {
  margin: 0;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
}

#cv-panel-load:checked ~ .cv-tabs label[for="cv-panel-load"],
#cv-panel-form:checked ~ .cv-tabs label[for="cv-panel-form"],
#cv-panel-review:checked ~ .cv-tabs label[for="cv-panel-review"] {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--btn-ink);
}

#cv-panel-load:focus-visible ~ .cv-tabs label[for="cv-panel-load"],
#cv-panel-form:focus-visible ~ .cv-tabs label[for="cv-panel-form"],
#cv-panel-review:focus-visible ~ .cv-tabs label[for="cv-panel-review"],
.cv-sections-toggle:focus-visible + .cv-sections-button {
  outline: 2px solid var(--btn);
  outline-offset: 2px;
}

.cv-panel { display: none; }

#cv-panel-load:checked ~ .cv-panel-load,
#cv-panel-form:checked ~ .cv-panel-form,
#cv-panel-review:checked ~ .cv-panel-review { display: block; }

.cv-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 1rem;
}

.cv-bars span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.meter {
  margin: 0;
  padding: 0.7rem 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--white);
}

.review .meter h3 { margin-top: 0; }

.review .meter .lights { margin-top: 0.45rem; }

.review .updated { margin-top: 0.45rem; }

.lights {
  display: flex;
  gap: 0.7rem;
  margin: 0.85rem 0 0.15rem;
}

.lamp {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
  text-align: center;
}

.lamp::before {
  content: "";
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  margin: 0 auto 0.4rem;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.lamp.on { color: var(--ink); font-weight: 650; }
.lamp.low.on::before { background: #9b2c2c; border-color: #9b2c2c; }
.lamp.mid.on::before { background: #a67c00; border-color: #a67c00; }
.lamp.high.on::before { background: #1f7a4d; border-color: #1f7a4d; }

.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;
}

.try-band {
  padding: 0.4rem 0 2.6rem;
  scroll-margin-top: 5.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.stack-form input:focus-visible,
.stack-form textarea:focus-visible,
.stack-form select:focus-visible,
.linkish:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.choices {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.choices legend {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.choices label {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--ink);
}

.stack-form .choices input {
  width: 1rem;
  height: 1rem;
  padding: 0;
  accent-color: var(--navy);
}

.examples {
  color: var(--muted);
  font-size: 0.95rem;
}

.examples a {
  color: var(--blue);
  font-weight: 650;
}

.desk-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin-top: 1.2rem;
}

.desk-tools label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.desk-tools input,
.desk-tools select {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.65rem 0.75rem;
  min-width: 12rem;
}

.desk-tools input:focus-visible,
.desk-tools select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.table-wrap { overflow-x: auto; margin-top: 0.8rem; }

.file-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.file-table th {
  text-align: left;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 650;
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid var(--line);
}

.file-table td {
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.file-table a {
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}

.file-table a:hover { color: var(--blue); }

.row-actions a + a { margin-left: 0.85rem; }

.form-error {
  margin: 1rem 0 0;
  color: #9b2c2c;
  background: #fdecec;
  border-radius: 0.8rem;
  padding: 0.7rem 0.85rem;
}

.form-note {
  margin: 1rem 0 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.7rem 0.85rem;
}

[data-theme="dark"] .form-error {
  color: #ffd5d5;
  background: #3a1d24;
}

.toasts {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: grid;
  gap: 0.55rem;
  width: min(22rem, calc(100% - 2rem));
}

.toast {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  color: #ffffff;
  background: #2f7d4a;
  box-shadow: 0 10px 28px rgba(11, 31, 74, 0.18);
}

.toast.bad { background: #9b2c2c; }

.wait { display: none; }

.wait.is-on {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}

.wait-card {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  width: min(18rem, 100%);
  margin: 0;
  padding: 1.35rem 1.5rem;
  text-align: center;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: 0 16px 40px rgba(11, 31, 74, 0.18);
}

.wait-card p { margin: 0; font-weight: 650; }

.wait-lock { width: 1.8rem; height: 1.8rem; color: var(--navy); }

.inline-form { margin: 0; }

.linkish {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  padding: 0;
  cursor: pointer;
}

.quiet-card {
  margin-top: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.2rem;
}

.quiet-card p { margin: 0.35rem 0 0; }
.quiet-card p:first-child { margin-top: 0; }

.board-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.board-counts p {
  margin: 0;
  min-width: 7rem;
  padding: 0.7rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.board-counts strong {
  display: block;
  font-size: 1.25rem;
}

.board-counts span {
  color: var(--muted);
  font-size: 0.85rem;
}

.board-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.board-paths a {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.board-paths a[aria-current="page"] {
  border-color: var(--ink);
  font-weight: 650;
}

.creed {
  width: min(1120px, calc(100% - 2rem));
  margin: 0.4rem auto 2.2rem;
  display: grid;
  gap: 1rem;
}

.creed-pair { display: grid; gap: 1rem; }

.creed article,
.values li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.15rem 1.25rem;
}

.creed h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.creed-label { margin: 0.4rem 0 0; }

.creed p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.values strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
}

.values span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.team { padding-bottom: 3rem; display: grid; gap: 1rem; }
.team h2 { margin-bottom: 0.4rem; }

.profile {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.2rem;
}

.profile img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.profile .sultan {
  width: 100%;
  height: 240px;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center 70%;
}

.site-footer {
  background: #0b1f4a;
  color: #d5e2f2;
  padding: 1.8rem 0 2.2rem;
}

.site-footer .inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

body { background: var(--paper); }

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a { color: #f4f7fb; text-decoration: none; }
.site-footer p { margin: 0; color: #b7cbe2; }
.site-footer img { width: 22px; height: 22px; }
.site-footer .brand img { width: 28px; height: 28px; border-radius: 50%; }
.legal { font-size: 0.9rem; }

@media (max-width: 799px) {
  .nav-links { flex-basis: 100%; gap: 0.4rem 0.75rem; }
  .nav-menu-panel {
    position: static;
    margin-top: 0.35rem;
    box-shadow: none;
  }
  .paths, .try-band, .doors, .prices-teaser, .voices, .who { scroll-margin-top: 8.5rem; }
}

@media (min-width: 800px) {
  .creed-pair { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: 120px 1fr; align-items: start; }
  .profile-sultan { grid-template-columns: 240px 1fr; }
  .profile .sultan { height: 180px; }
  .hero { grid-template-columns: 1.15fr 0.85fr; padding-top: 3.5rem; }
  .path-grid { grid-template-columns: repeat(3, 1fr); }
  .door-grid, .people, .price-grid, .price-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .price-cards { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .nav .button.small { display: none; }
  .path-ask .choices.scale { grid-template-columns: 1fr; }
  .meters { grid-template-columns: 1fr; }
  .cv-sections-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.15rem 0 0.7rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 650;
  }
  .cv-tabs { display: none; }
  .cv-sections-toggle:checked ~ .cv-tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 641px) {
  .cv-sections-toggle { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .actions,
  .preview {
    animation: rise 0.7s ease both;
  }

  .hero-copy h1 { animation-delay: 0.06s; }
  .hero-copy .lead { animation-delay: 0.12s; }
  .hero-copy .actions { animation-delay: 0.18s; }
  .preview { animation-delay: 0.14s; }

  .button { transition: transform 0.16s ease; }
  .button:hover { transform: translateY(-2px); }

  .path-grid article,
  .door,
  .people article,
  .price-cards article,
  .voice-stage {
    transition: border-color 0.2s ease;
  }

  .path-grid article:hover,
  .door:hover,
  .people article:hover,
  .price-cards article:hover,
  .voice-stage:hover,
  .blog-card:hover,
  .blog-feature a:hover {
    border-color: var(--blue);
  }

  .blog-card,
  .blog-feature a {
    transition: border-color 0.2s ease, transform 0.16s ease;
  }

  .blog-card:hover,
  .blog-feature a:hover {
    transform: translateY(-3px);
  }

  html.js .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  html.js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  html.js .toast { animation: toast-in 0.28s ease; }

  html.js .toast.is-out { animation: toast-out 0.32s ease forwards; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

@keyframes toast-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.blog-page { padding-bottom: 3rem; }

.blog-hero { max-width: 40rem; margin-bottom: 1.8rem; }

.blog-toolbar { margin: 1.2rem 0 0; }

.blog-feature a,
.blog-card {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.blog-feature { margin: 0 0 1.2rem; }

.blog-feature h2,
.blog-card h2 {
  margin: 0.35rem 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.03em;
}

.blog-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-mark {
  min-height: 9rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.45) 0 14%, transparent 15%),
    radial-gradient(circle at 78% 72%, rgba(14, 108, 181, 0.85) 0 16%, transparent 17%),
    linear-gradient(145deg, #0b1f4a, #1d4f86);
}

.blog-mark-1 {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.4) 0 12%, transparent 13%),
    linear-gradient(160deg, #12315f, #0e6cb5);
}

.blog-mark-2 {
  background:
    radial-gradient(circle at 30% 80%, rgba(232, 243, 251, 0.7) 0 18%, transparent 19%),
    linear-gradient(200deg, #0b1f4a, #3d7eb8);
}

.blog-mark-3 {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.35) 0 10%, transparent 11%),
    linear-gradient(120deg, #071428, #0e6cb5 70%, #8ebfed);
}

.blog-kicker,
.blog-by {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-badge {
  display: inline-block;
  margin-right: 0.4rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.blog-more {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--blue);
  font-weight: 700;
}

.blog-admin {
  display: flex;
  gap: 0.9rem;
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
}

.blog-admin a { color: var(--blue); }

.story { max-width: 44rem; }

.story-head h1 { margin-bottom: 0.4rem; }

.story-by { margin: 0; color: var(--muted); }

.story-band { margin: 1.2rem 0 0.4rem; }

.story-cover {
  width: 100%;
  margin: 1.2rem 0 0.4rem;
  border-radius: 1.1rem;
  object-fit: cover;
  max-height: 28rem;
}

.story-body {
  font-size: 1.08rem;
  line-height: 1.7;
}

.story-body > :first-child { margin-top: 1.2rem; }

.story-body h2,
.story-body h3,
.story-body h4 {
  margin: 1.6rem 0 0.45rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.story-body h2 { font-size: 1.45rem; }
.story-body h3 { font-size: 1.22rem; }

.story-body p,
.story-body ul,
.story-body ol { margin: 0.85rem 0; }

.story-body ul,
.story-body ol { padding-left: 1.2rem; }

.story-body li { margin: 0.28rem 0; }

.story-body a { color: var(--blue); }

.story-body a.btn {
  display: inline-flex;
  margin: 0.4rem 0.4rem 0.4rem 0;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-ink);
  font-weight: 700;
  text-decoration: none;
}

.story-body blockquote {
  margin: 1.4rem 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 4px solid var(--blue);
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.4;
}

.story-body img {
  width: 100%;
  height: auto;
  margin: 1.1rem 0;
  border-radius: 1rem;
}

.story-body code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.92em;
  background: var(--sky);
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
}

.story-body pre {
  overflow-x: auto;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.story-body pre code { background: none; padding: 0; }

.story-body hr {
  margin: 1.6rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.story-body table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
}

.story-body th,
.story-body td {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  text-align: left;
}

.story-body th { background: var(--sky); }

.story-body .columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.9rem;
  margin: 1rem 0;
}

.story-body .column {
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.story-body .author-box {
  margin-top: 1.8rem;
  padding: 1rem 1.1rem;
  background: var(--sky);
  border-left: 4px solid var(--blue);
  border-radius: 0.9rem;
}

.story-share {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.story-share h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }

.story-share p { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 0; }

.story-share a { color: var(--blue); font-weight: 700; }

.editor-split { display: grid; gap: 1.4rem; align-items: start; }

.blog-form { max-width: none; }

.blog-form textarea.tall { min-height: 22rem; }

.editor-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.hint { margin: 0; color: var(--muted); font-size: 0.92rem; }

.preview-pane {
  padding: 1rem 1.1rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
}

.preview-pane h2 { margin: 0 0 0.8rem; font-size: 1rem; }

.preview-title {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.image-form { margin-top: 1.6rem; }

.image-form code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.92em;
}

@media (min-width: 900px) {
  .blog-feature a { grid-template-columns: 0.85fr 1.15fr; align-items: stretch; }
  .blog-feature .blog-mark,
  .blog-feature img { min-height: 16rem; height: 100%; object-fit: cover; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .editor-split { grid-template-columns: 1.05fr 0.95fr; }
  .preview-pane {
    position: sticky;
    top: 5.2rem;
    max-height: calc(100vh - 6.4rem);
    overflow: auto;
  }
}
