/* =============================================================
   Berkay Kuru, portfolio
   Opbouw:
   1. Tokens en thema
   2. Basis
   3. Layout-hulpklassen
   4. Navigatie
   5. Start (hero)
   6. Secties
   7. Over mij en tijdlijn
   8. Vaardigheden
   9. Werk
   10. Contact
   11. Footer
   12. Projectvenster
   13. Snelnavigatie
   14. Responsive
   ============================================================= */

/* ---------- 1. Tokens en thema ---------- */

:root {
  /* Donkere weergave is de standaard */
  --bg:          #0A1626;
  --bg-alt:      #0D1D31;
  --surface:     #112741;
  --surface-2:   #16314F;
  --line:        #1E3A5C;

  --text:        #EAF0F6;
  --text-soft:   #9DB2C8;
  --text-faint:  #6C86A2;

  --accent:      #A9C3A0;
  --accent-soft: #6F9A7A;
  --accent-ink:  #0A1626;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow: 0 18px 50px rgba(0, 0, 0, .38);

  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body:    "IBM Plex Sans", "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: 24px;

  --step--1: 0.875rem;
  --step-0:  1.0625rem;
  --step-1:  1.3rem;
  --step-2:  1.65rem;
  --step-3:  2.1rem;
  --step-4:  clamp(2.2rem, 4vw, 3rem);

  --ease: cubic-bezier(.4, .1, .2, 1);
}

[data-theme="light"] {
  --bg:          #F4F6F3;
  --bg-alt:      #EAEEE8;
  --surface:     #FFFFFF;
  --surface-2:   #F4F6F3;
  --line:        #D6DDD3;

  --text:        #0A1626;
  --text-soft:   #4A5B6E;
  --text-faint:  #6F8093;

  --accent:      #3F6B4A;
  --accent-soft: #5B8A66;
  --accent-ink:  #FFFFFF;

  --shadow: 0 16px 40px rgba(10, 22, 38, .10);
}

/* ---------- 2. Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.02em;
}

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

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

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Leesvoortgang */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

/* ---------- 3. Layout-hulpklassen ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: .01em;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-soft); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 4. Navigatie ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.is-stuck {
  padding: 10px 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.03em;
}
.logo span { color: var(--accent); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-soft);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }

.icon-btn kbd {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-faint);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 40px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Start (hero) ---------- */

.hero {
  padding: 180px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 70px;
  align-items: center;
  position: relative;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: var(--step--1);
  color: var(--text-soft);
  background: var(--surface);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title {
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -.045em;
  margin: 0 0 26px;
}

.hero-lead {
  font-size: var(--step-1);
  color: var(--text-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  max-width: 620px;
}
.hero-meta dt {
  font-size: var(--step--1);
  color: var(--text-faint);
  margin-bottom: 6px;
}
.hero-meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.portrait-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--accent);
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

/* Eén verzorgd binnenkomstmoment bij het laden van de pagina */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  animation: enter .8s var(--ease) forwards;
}
[data-reveal="1"] { animation-delay: .05s; }
[data-reveal="2"] { animation-delay: .15s; }
[data-reveal="3"] { animation-delay: .25s; }
[data-reveal="4"] { animation-delay: .35s; }
[data-reveal="5"] { animation-delay: .45s; }

@keyframes enter {
  to { opacity: 1; transform: none; }
}

/* ---------- 6. Secties ---------- */

.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 56px; }

.section-head h2 {
  font-size: var(--step-4);
  margin-bottom: 10px;
}

.section-note {
  color: var(--text-soft);
  margin: 0;
  font-size: var(--step-0);
}

/* ---------- 7. Over mij en tijdlijn ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 70px;
}

.about-text p { color: var(--text-soft); }
.about-text p:first-child {
  color: var(--text);
  font-size: var(--step-1);
}

.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding-bottom: 28px;
}
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-soft);
}
.timeline li:first-child::before { background: var(--accent); border-color: var(--accent); }

.timeline-when {
  display: block;
  font-size: var(--step--1);
  color: var(--text-faint);
  margin-bottom: 4px;
}

.timeline h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.timeline p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--step--1);
}

/* ---------- 8. Vaardigheden ---------- */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.skill-group {
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.skill-group h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.skill-group p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.tags li {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* ---------- 9. Werk ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.work-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.work-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-4px);
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.work-card:hover .work-thumb img { transform: scale(1.04); }

.work-kind {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(6px);
  color: var(--accent);
  border: 1px solid var(--line);
}

.work-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-body h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.work-client {
  font-size: var(--step--1);
  color: var(--text-faint);
  margin-bottom: 14px;
}

.work-body > p {
  font-size: var(--step--1);
  color: var(--text-soft);
  margin-bottom: 18px;
  flex: 1;
}

.work-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.work-stack li {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--text-soft);
}

.work-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--accent);
}
.work-more i { transition: transform .25s var(--ease); }
.work-card:hover .work-more i { transform: translateX(4px); }

/* ---------- 10. Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 60px;
  align-items: start;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease);
  max-width: none;
}
.contact-row:hover { color: var(--accent); }
.contact-row.is-static { cursor: default; }
.contact-row.is-static:hover { color: inherit; }

.contact-row i {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 14px;
}

.contact-row span { display: block; font-size: var(--step--1); }
.contact-row strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2px;
}

.copy-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px 54px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-soft);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.copy-mail:hover { color: var(--accent); border-color: var(--accent); }
.copy-mail.is-done { color: var(--accent); border-color: var(--accent); }

.contact-form {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: var(--step-0);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 130px; }

.field.has-error input,
.field.has-error textarea { border-color: #E2725B; }

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  font-size: 13px;
  color: #E2725B;
}

.form-status {
  margin: 16px 0 0;
  font-size: var(--step--1);
  color: var(--accent);
}

/* ---------- 11. Footer ---------- */

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-faint);
}
.footer a { color: var(--text-soft); transition: color .2s var(--ease); }
.footer a:hover { color: var(--accent); }

/* ---------- 12. Projectvenster ---------- */

.modal,
.palette {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden],
.palette[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 18, .72);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: panelIn .28s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border: 1px solid var(--line);
  color: var(--text);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.modal-close:hover { color: var(--accent); border-color: var(--accent); }

.modal-hero {
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }

.modal-content { padding: 30px 34px 34px; }

.modal-content h3 {
  font-size: var(--step-2);
  margin-bottom: 4px;
}

.modal-client {
  color: var(--text-faint);
  font-size: var(--step--1);
  margin-bottom: 22px;
}

.modal-block { margin-bottom: 22px; }
.modal-block h4 {
  font-size: var(--step--1);
  color: var(--accent);
  margin-bottom: 6px;
}
.modal-block p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--step-0);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.modal-note {
  font-size: var(--step--1);
  color: var(--text-faint);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- 13. Snelnavigatie ---------- */

.palette { place-items: start center; padding-top: 14vh; }

.palette-panel {
  position: relative;
  width: min(560px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: panelIn .22s var(--ease);
}

.palette-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-faint);
}
.palette-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: var(--step-0);
  color: var(--text);
}
.palette-input kbd {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.palette-list { max-height: 320px; overflow-y: auto; padding: 8px; }

.palette-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 11px 14px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: var(--step--1);
  color: var(--text-soft);
}
.palette-item i { width: 18px; color: var(--text-faint); }
.palette-item.is-highlighted {
  background: var(--surface-2);
  color: var(--text);
}
.palette-item.is-highlighted i { color: var(--accent); }

.palette-empty {
  padding: 24px 18px;
  font-size: var(--step--1);
  color: var(--text-faint);
  text-align: center;
}

/* ---------- 14. Responsive ---------- */

@media (max-width: 980px) {
  .hero { padding: 150px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-portrait { max-width: 380px; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 46px; }
}

@media (max-width: 820px) {
  .menu-btn { display: flex; }
  .palette-hint { display: none; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 82vw);
    padding: 100px 26px 40px;
    background: var(--bg-alt);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .3s var(--ease);
  }
  .nav.is-open { transform: none; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 12px 10px; font-size: var(--step-0); }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--accent); }
}

@media (max-width: 620px) {
  .section { padding: 80px 0; }
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .contact-form { padding: 24px; }
  .modal-content { padding: 26px 22px 28px; }
  .copy-mail { margin-left: 0; }
}

/* ---------- 15. Filter en galerij ---------- */

.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -24px 0 34px;
}

.work-filter button {
  padding: 9px 20px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text-soft);
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background-color .2s var(--ease);
}
.work-filter button:hover { color: var(--text); border-color: var(--accent-soft); }
.work-filter button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.work-card.is-hidden { display: none; }

.modal-thumbs {
  display: flex;
  gap: 10px;
  padding: 14px 34px 0;
  overflow-x: auto;
}

.modal-thumb {
  flex: none;
  width: 92px;
  height: 62px;
  padding: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  opacity: .6;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumb:hover { opacity: 1; }
.modal-thumb.is-active { opacity: 1; border-color: var(--accent); }

@media (max-width: 620px) {
  .modal-thumbs { padding: 12px 22px 0; }
  .modal-thumb { width: 74px; height: 50px; }
}

/* Respecteer de systeeminstelling voor minder beweging */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
