:root {
  color-scheme: dark;
  --bg: #0d1514;
  --bg-soft: #121d1b;
  --panel: rgba(18, 29, 27, 0.88);
  --panel-solid: #17221f;
  --text: #f5f2e8;
  --muted: #b7b5aa;
  --line: rgba(245, 242, 232, 0.14);
  --teal: #34d6bf;
  --amber: #f3b64c;
  --coral: #ef705d;
  --green: #8fce6b;
  --blue: #73a7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max: 1160px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f0e7;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-solid: #ffffff;
  --text: #17201d;
  --muted: #5d625c;
  --line: rgba(23, 32, 29, 0.16);
  --shadow: 0 24px 70px rgba(40, 50, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
a,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

svg {
  display: block;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.3rem;
  padding: 0.85rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid color-mix(in srgb, var(--teal) 55%, var(--line));
  border-radius: 8px;
  color: var(--teal);
  background: color-mix(in srgb, var(--panel-solid) 78%, transparent);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.65rem 0.72rem;
  border-radius: 8px;
  color: var(--muted);
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: color-mix(in srgb, var(--teal) 14%, transparent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--teal) 65%, var(--line));
  background: color-mix(in srgb, var(--teal) 10%, var(--panel));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg,
.icon-button svg,
.site-footer svg {
  width: 1.08rem;
  height: 1.08rem;
}

.button-primary {
  background: var(--teal);
  color: #07100f;
  box-shadow: 0 14px 36px color-mix(in srgb, var(--teal) 24%, transparent);
}

.button-secondary {
  background: color-mix(in srgb, var(--panel-solid) 82%, transparent);
  border-color: var(--line);
  color: var(--text);
}

.button-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--amber) 55%, var(--line));
  color: var(--text);
}

.button-ghost:hover {
  background: color-mix(in srgb, var(--amber) 13%, transparent);
}

.header-cv-button {
  min-height: 2.45rem;
  padding: 0.55rem 0.78rem;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 8rem max(1.25rem, calc((100vw - var(--max)) / 2)) 7rem;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 21, 20, 0.94), rgba(13, 21, 20, 0.66) 44%, rgba(13, 21, 20, 0.28) 100%),
    linear-gradient(180deg, rgba(13, 21, 20, 0.2), rgba(13, 21, 20, 0.92));
}

:root[data-theme="light"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(244, 240, 231, 0.93), rgba(244, 240, 231, 0.7) 46%, rgba(244, 240, 231, 0.24) 100%),
    linear-gradient(180deg, rgba(244, 240, 231, 0.16), rgba(244, 240, 231, 0.88));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  width: min(720px, 100%);
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 4.8rem;
  line-height: 0.95;
  max-width: 9ch;
}

.hero h1 span {
  display: block;
  margin-top: 1.05rem;
  color: var(--amber);
  font-size: 1.35rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin: 1.7rem 0 0;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-profile {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--teal) 36%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--teal) 11%, transparent), transparent 52%),
    color-mix(in srgb, var(--panel-solid) 88%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-profile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 34%;
}

.hero-profile-body {
  padding: 1.1rem;
}

.hero-profile-body > span {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: var(--amber);
  font-weight: 800;
  font-size: 0.88rem;
}

.hero-profile-body strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-profile-body a,
.profile-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-top: 0.8rem;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.92rem;
}

.hero-profile-body svg,
.profile-card svg,
.proof-strip svg,
.quick-list svg {
  width: 1rem;
  height: 1rem;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.mini-badges span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.34rem 0.5rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 48%, transparent);
  font-size: 0.82rem;
}

.hero-signals {
  position: absolute;
  z-index: 1;
  left: max(1.25rem, calc((100vw - var(--max)) / 2));
  right: max(1.25rem, calc((100vw - var(--max)) / 2));
  bottom: 1.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.signal {
  min-height: 6rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-solid) 84%, transparent);
  backdrop-filter: blur(16px);
}

.signal strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--teal);
}

.signal span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 6.5rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: var(--bg);
}

.section:nth-of-type(odd) {
  background: var(--bg-soft);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 2.4rem;
}

.section-heading h2,
.contact-band h2,
.demo-shell h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.05;
}

.section-heading p,
.contact-band p,
.demo-shell p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 3rem;
  align-items: start;
}

.profile-copy {
  max-width: 760px;
  color: var(--muted);
}

.profile-copy p {
  margin: 0 0 1rem;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.proof-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.35rem;
  padding: 0.48rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: color-mix(in srgb, var(--panel-solid) 72%, transparent);
}

.proof-strip svg {
  color: var(--green);
}

.story-panel,
.timeline-content,
.case-card,
.skill-card,
.tool-category,
.cert-section,
.contact-band,
.process-shell,
.demo-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.story-panel {
  padding: 1.5rem;
  position: sticky;
  top: 5.5rem;
}

.profile-card {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.profile-card img {
  width: 5.4rem;
  height: 5.4rem;
  border: 2px solid color-mix(in srgb, var(--teal) 70%, var(--line));
  border-radius: 999px;
  object-fit: cover;
  object-position: center 34%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.profile-card strong,
.profile-card span {
  display: block;
}

.profile-card strong {
  font-size: 1.05rem;
}

.profile-card span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.quick-list li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.65rem;
  color: var(--muted);
}

.quick-list svg {
  margin-top: 0.22rem;
  color: var(--teal);
}

.process-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
}

.process-tabs {
  display: grid;
  gap: 0;
  border-right: 1px solid var(--line);
}

.process-tab {
  display: grid;
  grid-template-columns: 2rem 1.25rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  width: 100%;
  min-height: 5.5rem;
  padding: 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.process-tab:last-child {
  border-bottom: 0;
}

.process-tab:hover,
.process-tab.is-active {
  color: var(--text);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
}

.step-number {
  grid-row: 1 / span 2;
  color: var(--amber);
  font-weight: 900;
  line-height: 1.4;
}

.process-tab svg {
  grid-row: 1 / span 2;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.14rem;
  color: var(--teal);
}

.process-tab strong,
.process-tab em {
  display: block;
  min-width: 0;
}

.process-tab strong {
  grid-column: 3;
  color: inherit;
}

.process-tab em {
  grid-column: 3;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

.process-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 2rem;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--teal) 11%, transparent), transparent 38%),
    linear-gradient(20deg, color-mix(in srgb, var(--amber) 8%, transparent), transparent 48%);
}

.process-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 16%, transparent);
}

.process-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.process-detail h3 {
  margin: 0;
  font-size: 1.65rem;
}

.process-detail p {
  max-width: 620px;
  margin: 0.8rem 0 1.2rem;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(var(--teal), var(--amber), var(--coral));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 1rem;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid color-mix(in srgb, var(--teal) 60%, var(--line));
  border-radius: 8px;
  background: var(--bg);
  color: var(--teal);
}

.timeline-content {
  padding: 1.35rem;
}

.timeline-top,
.case-top,
.skill-title,
.skill-meta,
.contact-actions,
.tool-category-title {
  display: flex;
  align-items: center;
}

.timeline-top {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.timeline-accent {
  color: var(--amber);
  font-weight: 800;
  font-size: 0.88rem;
}

.timeline-date {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.timeline h3,
.case-card h3,
.skill-card h3,
.tool-category h3,
.cert-section h3 {
  margin: 0;
  font-size: 1.22rem;
}

.timeline-company {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
}

.timeline ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.timeline li + li {
  margin-top: 0.35rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  min-height: 2.4rem;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.filter-button.is-active,
.filter-button:hover {
  border-color: color-mix(in srgb, var(--teal) 60%, var(--line));
  color: var(--text);
  background: color-mix(in srgb, var(--teal) 14%, var(--panel));
}

.filter-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.3rem;
}

.case-card:hover {
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
}

.case-top {
  gap: 1rem;
}

.case-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 15%, transparent);
}

.case-top p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.case-details {
  margin: 0;
}

.case-details dt {
  margin-top: 0.82rem;
  color: var(--amber);
  font-weight: 800;
}

.case-details dt:first-child {
  margin-top: 0;
}

.case-details dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.tag-list,
.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list span,
.tool-cloud span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.38rem 0.55rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 52%, transparent);
  font-size: 0.88rem;
}

.demo-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.demos-section {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--blue) 7%, transparent), transparent 20%),
    var(--bg);
}

.demo-stack {
  display: grid;
  gap: 1.2rem;
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 2rem;
  align-items: center;
  padding: 1.6rem;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--blue) 12%, transparent), transparent 40%),
    var(--panel);
}

.demo-controls {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.range-row {
  display: grid;
  gap: 0.55rem;
}

.range-row > span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.range-row strong {
  color: var(--teal);
}

.range-row input {
  width: 100%;
  accent-color: var(--teal);
}

.severity-card {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--teal) 13%, transparent), transparent 48%),
    color-mix(in srgb, var(--bg) 48%, transparent);
}

.severity-card > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.severity-card > span svg {
  width: 1rem;
  height: 1rem;
  color: var(--teal);
}

.severity-card strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 2rem;
  line-height: 1;
}

.severity-card p {
  margin-top: 0.9rem;
}

.automation-note {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  margin-top: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 45%, transparent);
  font-size: 0.9rem;
}

.automation-note svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: var(--teal);
}

.severity-hoog strong,
.severity-blokker strong {
  color: var(--coral);
}

.severity-middel strong {
  color: var(--amber);
}

.severity-laag strong {
  color: var(--green);
}

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

.severity-bars i {
  display: block;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
}

.testcase-demo {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--amber) 10%, transparent), transparent 42%),
    var(--panel);
}

.demo-fields {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.select-row {
  display: grid;
  gap: 0.45rem;
}

.select-row > span,
.switch-row {
  color: var(--muted);
  font-size: 0.92rem;
}

.select-row select {
  min-height: 2.8rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 58%, transparent);
  color: var(--text);
  padding: 0 0.8rem;
  outline: none;
}

.select-row select:focus {
  border-color: color-mix(in srgb, var(--teal) 70%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 16%, transparent);
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.6rem;
  cursor: pointer;
}

.switch-row input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--teal);
}

.coverage-box {
  margin-top: 1.3rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 42%, transparent);
}

.coverage-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.coverage-top strong {
  color: var(--teal);
}

.coverage-meter {
  overflow: hidden;
  height: 0.48rem;
  margin-top: 0.6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 12%, transparent);
}

.coverage-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--green));
}

.generated-panel {
  display: grid;
  gap: 1rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--teal) 12%, transparent), transparent 50%),
    color-mix(in srgb, var(--bg) 48%, transparent);
}

.generated-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.generated-title > svg {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.58rem;
  border-radius: 8px;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 14%, transparent);
}

.generated-title span,
.generated-title strong {
  display: block;
}

.generated-title span {
  color: var(--muted);
  font-size: 0.88rem;
}

.scenario-list {
  display: grid;
  gap: 0.75rem;
}

.scenario-card {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel-solid) 58%, transparent);
}

.scenario-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.scenario-meta span {
  color: var(--amber);
  font-weight: 900;
}

.scenario-meta em {
  color: var(--teal);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.scenario-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.scenario-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.skill-card {
  padding: 1.2rem;
}

.skill-title {
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.skill-title > span,
.tool-category-title svg {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 14%, transparent);
}

.skill-title svg,
.tool-category-title svg {
  width: 1.15rem;
  height: 1.15rem;
}

.skill-list {
  display: grid;
  gap: 0.95rem;
}

.skill-meta {
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.skill-meta em {
  color: var(--muted);
  font-style: normal;
  white-space: nowrap;
}

.meter {
  overflow: hidden;
  height: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--text) 12%, transparent);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.tool-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.tool-category {
  padding: 1.1rem;
}

.tool-category-title {
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.cert-section {
  margin-top: 1rem;
  padding: 1.25rem;
}

.cert-section h3 {
  margin-bottom: 1rem;
}

.cert-section ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cert-section li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.cert-section li svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: var(--green);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.provider-grid article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--amber) 10%, transparent), transparent 50%),
    color-mix(in srgb, var(--bg) 42%, transparent);
}

.provider-grid span,
.provider-grid strong,
.provider-grid p {
  display: block;
}

.provider-grid span {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.provider-grid strong {
  margin-top: 0.25rem;
}

.provider-grid p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-section {
  padding-bottom: 4rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--teal) 13%, transparent), transparent 42%),
    var(--panel);
}

.contact-actions {
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem max(1.25rem, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--bg);
}

.site-footer p {
  margin: 0;
}

.site-footer button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .nav-links a {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .skill-grid,
  .tool-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-section ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 16rem;
  }

  .hero-layout,
  .section-grid,
  .case-grid,
  .contact-band,
  .demo-shell,
  .process-shell {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .hero-profile {
    max-width: 420px;
  }

  .hero-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-panel {
    position: static;
  }

  .process-tabs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-tab {
    grid-template-columns: 2rem 1.25rem minmax(0, 1fr);
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .brand span:last-child,
  .print-icon {
    display: none;
  }

  .header-cv-button {
    min-width: 2.45rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 4.8rem;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero h1 span {
    font-size: 1.05rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-signals {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    width: 100%;
    margin-top: 2rem;
    grid-template-columns: 1fr;
  }

  .filter-count {
    width: 100%;
    margin-left: 0;
  }

  .section {
    padding: 4.8rem 1rem;
  }

  .section-heading h2,
  .contact-band h2,
  .demo-shell h2 {
    font-size: 2rem;
  }

  .timeline-item {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .timeline-marker {
    width: 2.2rem;
    height: 2.2rem;
  }

  .timeline::before {
    left: 1.1rem;
  }

  .timeline-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .timeline-date {
    text-align: left;
  }

  .process-detail,
  .demo-shell,
  .contact-band {
    padding: 1.25rem;
  }

  .process-tab {
    min-height: auto;
  }

  .skill-grid,
  .tool-category-grid,
  .cert-section ul {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-soft: #ffffff;
    --panel: #ffffff;
    --panel-solid: #ffffff;
    --text: #111111;
    --muted: #333333;
    --line: #cfcfcf;
    --shadow: none;
  }

  body {
    background: #ffffff;
    font-size: 11pt;
  }

  .site-header,
  .hero-image,
  .hero-shade,
  .hero-actions,
  .hero-profile,
  .filter-bar,
  .demo-section,
  .site-footer {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 0 0 1.2rem;
  }

  .hero-layout {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-copy {
    max-width: none;
    margin-top: 0.8rem;
    font-size: 1rem;
  }

  .hero-signals {
    position: static;
    margin-top: 1rem;
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }

  .section-heading {
    margin-bottom: 1rem;
  }

  .section-heading h2,
  .contact-band h2 {
    font-size: 1.35rem;
  }

  .section-grid,
  .case-grid,
  .skill-grid,
  .tool-category-grid,
  .cert-section ul,
  .provider-grid,
  .process-shell {
    grid-template-columns: 1fr 1fr;
  }

  .process-tabs {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .case-card,
  .timeline-content,
  .skill-card,
  .tool-category,
  .cert-section,
  .process-shell,
  .contact-band,
  .story-panel {
    box-shadow: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
