/* ============================================================
   hintofblue. — stylesheet
   Kleuren en lettertypes pas je hieronder aan bij :root
   ============================================================ */

:root {
  --black: #0A0A0A;
  --panel: #121212;
  --panel-2: #0D0D0D;
  --elevated: #18181B;
  --line: #27272A;
  --line-hover: #3F3F46;
  --yellow: #FFDD00;        /* hoofd-accent */
  --yellow-hover: #E6C700;
  --blue: #4D7CFE;          /* de "hint of blue" */
  --text: #F4F4F5;
  --text-2: #A1A1AA;
  --text-3: #71717A;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--yellow); color: #09090B; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--line); border: 2px solid var(--black); }
::-webkit-scrollbar-thumb:hover { background: var(--yellow); }

.container { max-width: 80rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) { .container { padding-left: 3rem; padding-right: 3rem; } }

.hint { color: var(--blue); }

/* Secties springen niet onder de vaste balk bij ankernavigatie */
section[id] { scroll-margin-top: 7rem; }

/* Korrel-textuur */
.noise {
  pointer-events: none;
  position: fixed; inset: 0; z-index: 60;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 16px 16px;
}

/* ============ NAVIGATIE ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 80rem; margin: 0 auto;
  height: 4rem; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 1024px) { .nav-inner { padding: 0 3rem; } }

.nav-logo { display: inline-flex; align-items: center; gap: 0.75rem; transition: opacity .2s; }
.nav-logo:hover { opacity: .8; }
.logo-mark { width: 1.75rem; height: 1.75rem; border: 1px solid var(--line); }
.logo-mark.big { width: 3rem; height: 3rem; }
.wordmark {
  font-weight: 800; font-size: 1.5rem; text-transform: uppercase;
  letter-spacing: -0.04em; color: #fff;
}

.nav-links { display: none; gap: 2rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a, .nav-mobile a {
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--text-2);
  position: relative; white-space: nowrap;
  transition: color .2s;
}
.nav-links a:hover, .nav-mobile a:hover { color: #fff; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  height: 1px; width: 0; background: var(--yellow);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-mobile {
  display: flex; gap: 1.5rem; overflow-x: auto;
  padding: 0.75rem 1.5rem; border-top: 1px solid var(--line);
  scrollbar-width: none;
}
.nav-mobile::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .nav-mobile { display: none; } }

.nav-inner .nav-cta { display: none; }
@media (min-width: 640px) { .nav-inner .nav-cta { display: inline-flex; } }

/* ============ KNOPPEN ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
  transition: background-color .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn-primary { background: var(--yellow); color: #000; }
.btn-primary:hover { background: var(--yellow-hover); }
.btn-ghost {
  border: 1px solid #3f3f46; background: rgba(24,24,27,.6); color: #fff;
}
.btn-ghost:hover { background: #26262b; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 7rem;
}
@media (min-width: 1024px) { .hero { padding-top: 4rem; } }

.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* ZICHTBAARHEID ACHTERGRONDFOTO: 0 = onzichtbaar, 1 = volledig zichtbaar.
     Hoger = foto prominenter, lager = tekst rustiger. Bijv. 0.7 voor meer foto. */
  opacity: 0.55; filter: grayscale(1);
  mix-blend-mode: luminosity;
}
/* Donkere verlooplaag over de foto: pas de 0.35 / 0.7 aan voor meer/minder dimming */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.35), rgba(10,10,10,.7), var(--black));
}

.blueprint-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-frame {
  display: none;
  position: absolute; right: -8rem; top: 6rem;
  width: 420px; height: 420px; border: 1px solid var(--line);
}
@media (min-width: 768px) { .hero-frame { display: block; } }

.hero-ghost {
  position: absolute; bottom: -1.5rem; left: 0;
  font-size: 18vw; font-weight: 800; text-transform: uppercase;
  line-height: 1; letter-spacing: -0.04em; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.14);
  pointer-events: none; user-select: none;
}

.hero-inner {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr; gap: 4rem;
  width: 100%; padding-top: 6rem; padding-bottom: 6rem;
}
@media (min-width: 1024px) { .hero-inner { grid-template-columns: repeat(12, 1fr); } }

.hero-text { grid-column: 1 / -1; }
@media (min-width: 1280px) { .hero-text { grid-column: 1 / 9; } }

.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--yellow);
  margin-bottom: 2rem;
}

.pulse {
  position: relative; display: inline-flex; width: .5rem; height: .5rem; flex: none;
}
.pulse::before {
  content: ""; position: absolute; inset: 0; border-radius: 9999px;
  background: var(--yellow); opacity: .6;
  animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite;
}
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 9999px; background: var(--yellow);
}
.pulse.small { width: .375rem; height: .375rem; }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

h1 {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.25rem, 12.5vw, 5.25rem);
  line-height: 0.95; letter-spacing: -0.02em; color: #fff;
}

/* Masked line-by-line reveal */
.mask { display: block; overflow: hidden; padding-bottom: 0.25rem; }
.mask-line { display: block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(0); } }

/* Hero-regel "Subtle details." — Inter ExtraLight 200.
   Groter/kleiner? Pas de clamp-waarden aan (min, vloeiend, max). */
.hero-serif {
  font-family: var(--font-sans); font-weight: 200; font-style: normal;
  text-transform: none; letter-spacing: 0.01em;
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  color: #d4d4d8; margin-bottom: 0.5rem;
}
.hero-bold { color: var(--yellow); }

.fade-in { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero-sub {
  margin-top: 2rem; max-width: 36rem;
  font-size: 1.125rem; line-height: 1.7; color: #d4d4d8;
}
@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }

.badges { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  border: 1px solid rgba(255,221,0,.3); background: rgba(255,221,0,.1);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--yellow);
}

.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Statusbord */
.status-board {
  grid-column: 1 / -1;
  align-self: end;
  width: 100%; max-width: 28rem;
  position: relative;
  background: rgba(18,18,18,.8); backdrop-filter: blur(4px);
  border: 1px solid var(--line); padding: 1.5rem;
  font-family: var(--font-mono);
}
@media (min-width: 1280px) { .status-board { grid-column: 9 / 13; } }

.cross { position: absolute; font-size: .75rem; color: var(--text-3); }
.cross.tl { top: -7px; left: -5px; } .cross.tr { top: -7px; right: -5px; }
.cross.bl { bottom: -7px; left: -5px; } .cross.br { bottom: -7px; right: -5px; }

.board-head {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--text-3); margin-bottom: 1.25rem;
}
.status-board dl > div {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem; margin-bottom: 1rem;
}
.status-board dl > div:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.status-board dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }
.status-board dd {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
}
.board-foot { margin-top: 1.5rem; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #52525b; }

.hero-scroll {
  display: none;
  position: absolute; bottom: 2rem; left: 3rem; z-index: 10;
  align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--text-3);
}
@media (min-width: 1024px) { .hero-scroll { display: flex; } }
.scroll-line { display: block; width: 1px; height: 2.5rem; background: var(--yellow); transform-origin: top; animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.3); } }

/* ============ SECTIES ALGEMEEN ============ */
.section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 640px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }
.section-alt { background: var(--panel-2); border-top: 1px solid var(--line); }

.section-head { max-width: 48rem; margin-bottom: 4rem; }
@media (min-width: 640px) { .section-head { margin-bottom: 5rem; } }

h2 {
  font-weight: 800; text-transform: uppercase;
  font-size: 1.875rem; line-height: 1.05; letter-spacing: -0.02em; color: #fff;
}
@media (min-width: 640px) { h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { h2 { font-size: 3rem; } }

.lead { margin-top: 1.5rem; font-size: 1rem; line-height: 1.7; color: var(--text-2); }
@media (min-width: 640px) { .lead { font-size: 1.125rem; } }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* PARALLAX: secties glijden scroll-gekoppeld omhoog en de hero-achtergrond
   beweegt trager mee — alles wordt gestuurd door js/main.js.
   Zonder JavaScript blijft alle content gewoon zichtbaar. */
body.js-parallax .section > .container {
  opacity: 0;
  transform: translateY(80px);
  will-change: transform, opacity;
}

/* Mensen met "verminderde animatie"-instelling krijgen alles direct te zien */
@media (prefers-reduced-motion: reduce) {
  body.js-parallax .section > .container { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ SERVICES ============ */
.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
  transition: background-color .3s, padding .3s;
}
.service:hover { background: var(--panel); padding-left: 1rem; }
@media (min-width: 1024px) {
  .service { grid-template-columns: repeat(12, 1fr); padding: 4rem 0; }
  .service-meta { grid-column: 1 / 3; }
  .service-main { grid-column: 3 / 8; }
  .service-list-items { grid-column: 8 / 13; }
}

.service-num { font-family: var(--font-mono); font-size: 0.875rem; color: var(--yellow); }
.service:hover .service-tag { border-color: rgba(255,221,0,.4); color: var(--yellow); }

.service-main h3 {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #fff;
  transition: color .3s;
}
@media (min-width: 640px) { .service-main h3 { font-size: 1.875rem; } }
.service:hover .service-main h3 { color: var(--yellow); }
.service-main p { margin-top: 1rem; max-width: 28rem; font-size: 0.875rem; line-height: 1.7; color: var(--text-2); }
@media (min-width: 640px) { .service-main p { font-size: 1rem; } }

.service-metric {
  display: inline-block; margin-top: 1.5rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(255,221,0,.3); background: rgba(255,221,0,.1);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--yellow);
}

.service-list-items { list-style: none; }
.service-list-items li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem;
  font-size: 0.875rem; line-height: 1.6; color: #d4d4d8;
}
.service-list-items li::before {
  content: "\2197"; /* pijltje */
  position: absolute; left: 0; top: 0; color: var(--yellow); font-size: 0.8rem;
}

/* ============ WORK / PROJECTEN ============
   Twee kolommen; oneven kaarten verspringen (offset).
   De banner (Sensi Seeds) staat full-width onder het raster. */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .project.offset { margin-top: 5rem; }
}

.project {
  display: block; width: 100%; margin: 0;
  text-align: left;
  background: var(--elevated); border: 1px solid var(--line);
  cursor: pointer; font-family: inherit; color: inherit;
  overflow: hidden;
  transition: border-color .3s;
}
.project:hover { border-color: rgba(255,221,0,.6); }

.project-media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
}
.project:hover .project-media img { filter: grayscale(0); }
.project-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black), rgba(10,10,10,.2), transparent);
}
.project-media.tall { aspect-ratio: 3 / 4; }
/* Vierkant kader (1:1) voor vierkante beelden zoals logo's */
.project-media.sq { aspect-ratio: 1 / 1; }
/* Breed kader (banner) — exacte verhouding 1315:721, nooit vergroot
   of bijgesneden. Breedte aanpassen? Verander 900px.
   Ruimte boven de banner? Verander 5rem (margin-top). */
.project-media.wide { aspect-ratio: 1315 / 721; }
.project.wide-card { width: min(900px, 100%); margin: auto 0; }
/* Natuurlijk kader: volgt het exacte formaat van de afbeelding.
   Geen crop, geen resize — de foto bepaalt de hoogte. */
.project-media.natural { aspect-ratio: auto; }
.project-media.natural img {
  position: static; width: 100%; height: auto;
}
.project-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  /* 1 = altijd zwart-wit, 0 = altijd kleur */
  filter: grayscale(1);
}
/* INZOOMEM op een projectfoto: 1 = normaal, 1.3 = 30% ingezoomd.
   transform-origin bepaalt WELK deel zichtbaar blijft (nu gericht op de R) */
.project-media img.zoom {
  transform: scale(1.3);
  transform-origin: 40% 48%;
}
@media (max-width: 640px) {
  .project-media img.zoom { transform: scale(1.05); transform-origin: 50% 50%; }
}
.project-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black), rgba(10,10,10,.2), transparent);
}

.project-chip {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: 0.25rem 0.625rem;
  border: 1px solid rgba(255,255,255,.2); background: rgba(10,10,10,.7);
  backdrop-filter: blur(4px);
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: #fff;
}
.project-chip.hint-chip { left: auto; right: 1rem; border-color: rgba(255,221,0,.4); color: var(--yellow); }

.project-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem;
}
.project-title {
  display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: #fff;
  transition: color .3s;
}
@media (min-width: 640px) { .project-title { font-size: 1.5rem; } }
.project:hover .project-title { color: var(--yellow); }
.project-cat {
  display: block; margin-top: 0.25rem;
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3);
}
.project-arrow {
  flex: none; width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--text-2);
  transition: all .3s;
}
.project:hover .project-arrow { border-color: var(--yellow); background: var(--yellow); color: #000; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-quote { font-size: 1.5rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; color: #fff; }
@media (min-width: 640px) { .about-quote { font-size: 1.875rem; } }

.about-p1 { margin-top: 2rem; font-size: 1rem; line-height: 1.7; color: #d4d4d8; }
@media (min-width: 640px) { .about-p1 { font-size: 1.125rem; } }
.about-p2 { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.7; color: var(--text-2); }
@media (min-width: 640px) { .about-p2 { font-size: 1rem; } }

.pillars { margin-top: 2.5rem; }
.pillar { border-left: 2px solid var(--yellow); padding-left: 1.25rem; margin-bottom: 1.5rem; }
.pillar h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
@media (min-width: 640px) { .pillar h4 { font-size: 1.125rem; } }
.pillar p { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.6; color: var(--text-2); }

.about-figure { position: relative; }
.about-frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border: 1px solid var(--line); background: var(--elevated);
}

.about-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  /* 1 = altijd zwart-wit, 0 = altijd kleur */
  filter: grayscale(1);
}
.about-figure figcaption {
  margin-top: 1.5rem;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: #52525b;
}

/* ============ CONTACT ============ */
.mailto-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1.25rem 2rem;
  border: 1px solid var(--yellow); background: rgba(255,221,0,.1);
  font-family: var(--font-mono); font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--yellow);
  transition: background-color .2s, color .2s;
}
@media (min-width: 640px) { .mailto-btn { font-size: 1rem; } }
.mailto-btn:hover { background: var(--yellow); color: #000; }

.contact-meta {
  list-style: none; margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 48rem;
}
@media (min-width: 640px) { .contact-meta { grid-template-columns: repeat(3, 1fr); } }
.contact-meta li {
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-2);
}
.contact-meta li::before {
  content: "\25A0"; /* geel vierkantje */
  color: var(--yellow); font-size: 0.55rem; margin-right: 0.6rem;
  vertical-align: 2px;
}

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); background: var(--black); padding: 4rem 0; }
.footer-top {
  display: flex; flex-direction: column; gap: 3rem;
}
@media (min-width: 1024px) {
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-wordmark {
  font-size: 2.25rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.05em; color: #fff;
}
@media (min-width: 640px) { .footer-wordmark { font-size: 3.75rem; } }
.footer-tagline { margin-top: 1.5rem; max-width: 28rem; font-size: 0.875rem; line-height: 1.7; color: var(--text-2); }

.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.footer-links a {
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--text-2); transition: color .2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-links a.hint:hover { color: var(--blue); }

.footer-bottom {
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom p {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: #52525b;
}
.footer-right { display: flex; align-items: center; gap: 1.5rem; }
.to-top {
  width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--text-2);
  transition: all .2s;
}
.to-top:hover { border-color: var(--yellow); background: var(--yellow); color: #000; }

/* ============ MODAL (project pop-up) ============ */
.modal { position: fixed; inset: 0; z-index: 70; display: none; }
.modal.open { display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 48rem; max-height: 90vh; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line);
  animation: modalIn .35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
  width: 2.5rem; height: 2.5rem;
  background: rgba(10,10,10,.7); border: 1px solid var(--line);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: all .2s;
}
.modal-close:hover { background: var(--yellow); color: #000; border-color: var(--yellow); }
/* Modal beeldvlak: schaalt mee met de foto en het venster.
   De foto is altijd volledig zichtbaar en zo groot mogelijk (max 60% schermhoogte). */
.modal-media { position: relative; background: var(--elevated); }
.modal-media img { width: 100%; height: 350px; object-fit: cover; }
.modal-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--panel), transparent);
}
.modal-body { padding: 2rem; }
.modal-cat {
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--yellow);
}
.modal-body h3 {
  margin-top: 0.75rem; font-size: 1.875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.02em; color: #fff;
}
.modal-brief { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: var(--text-2); }
@media (min-width: 640px) { .modal-brief { font-size: 1rem; } }
.modal-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.modal-tags span {
  padding: 0.375rem 0.75rem; border: 1px solid var(--line); background: var(--black);
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: #d4d4d8;
}
.modal-note {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: #52525b;
}
