/* Jelle Creëert — stijlblad */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

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

:root {
  --teal:        #1e736a;
  --teal-dark:   #145650;
  --teal-light:  #2a8f85;
  --teal-pale:   #d4ecea;
  --ink:         #1a1a18;
  --ink-soft:    #4a4a46;
  --warm-white:  #f7f4ef;
  --off-white:   #efecea;
  --line:        rgba(30, 115, 106, 0.18);
  --font: 'Inter', system-ui, sans-serif;
  --radius: 2px;
  --max-w: 1100px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

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

.eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.lead { font-size: 1.05rem; font-weight: 300; line-height: 1.75; color: var(--ink-soft); max-width: 640px; }
.divider { height: 1px; background: var(--line); margin: 0; }
.section { padding: 64px 0; }

.section-head { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; }
.section-head h2 { white-space: nowrap; }
.section-rule { flex: 1; height: 1px; background: var(--teal); opacity: 0.2; }
.section-link { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); text-decoration: none; white-space: nowrap; }
.section-link:hover { color: var(--teal-dark); }

h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; }

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.btn-white { background: #fff; color: var(--teal-dark); border-color: #fff; }
.btn-white:hover { background: var(--teal-pale); border-color: var(--teal-pale); }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--warm-white); border-bottom: 1.5px solid var(--teal); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand-name { font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; color: var(--teal-dark); }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); opacity: 0.5; text-decoration: none; transition: color 0.15s, opacity 0.15s; }
.main-nav a:hover { color: var(--teal); opacity: 1; }
.main-nav a[aria-current="page"] { color: var(--teal); opacity: 1; border-bottom: 1px solid var(--teal); padding-bottom: 1px; }

/* Image placeholders */
.image-placeholder {
  background: #b5a898;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: center;
  min-height: 260px;
  width: 100%;
}
.image-placeholder.square { aspect-ratio: 1; min-height: 0; }
.image-placeholder.wide   { aspect-ratio: 16/9; min-height: 0; }
.image-placeholder.tall   { aspect-ratio: 2/3; min-height: 0; }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Portfolio tiles */
.portfolio-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #8a7560;
}

.portfolio-tile img,
.portfolio-tile .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  transition: transform 0.4s ease;
}

.portfolio-tile:hover img,
.portfolio-tile:hover .image-placeholder { transform: scale(1.03); }

.portfolio-tile-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(10,30,24,0.82), transparent);
}

.portfolio-tile-caption .tile-name { display: block; font-size: 0.9rem; font-weight: 400; color: #fff; letter-spacing: -0.01em; }
.portfolio-tile-caption .tile-meta { display: block; font-size: 0.68rem; font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 3px; }

/* Accent band */
.accent-band { background: var(--teal); padding: 56px 28px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.accent-band-text { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 300; font-style: italic; color: #fff; max-width: 540px; line-height: 1.5; }

/* About split */
.about-split { display: grid; grid-template-columns: 1fr 1fr; }
.about-split-img { position: relative; min-height: 360px; overflow: hidden; background: #2e5040; }
.about-split-img img { width: 100%; height: 100%; object-fit: cover; }
.about-split-text { padding: 64px 52px; background: var(--warm-white); border-left: 4px solid var(--teal); display: flex; flex-direction: column; justify-content: center; }
.about-split-text blockquote { font-size: 1.1rem; font-weight: 300; font-style: italic; line-height: 1.65; color: var(--teal-dark); margin-bottom: 20px; border: none; padding: 0; }
.about-split-text p { font-size: 0.88rem; font-weight: 300; line-height: 1.85; color: var(--ink-soft); }

/* Cards */
.card { border: 1px solid var(--teal); border-radius: var(--radius); padding: 28px 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.card p { font-size: 0.88rem; font-weight: 300; line-height: 1.75; color: var(--ink-soft); }
.card-meta { margin-top: auto; padding-top: 14px; font-size: 0.75rem; font-weight: 400; color: var(--teal-dark); display: flex; align-items: center; gap: 7px; }
.card-dot { display: inline-block; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; flex-shrink: 0; }

/* Infolist */
.infolist { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 0.88rem; }
.infolist dt { font-weight: 500; color: var(--ink); white-space: nowrap; }
.infolist dd { color: var(--ink-soft); font-weight: 300; }
.infolist a { color: var(--teal); text-decoration: none; }
.infolist a:hover { text-decoration: underline; }

/* Contact form */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field label { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select { font-family: var(--font); font-size: 0.92rem; font-weight: 300; color: var(--ink); background: #fff; border: 1px solid rgba(30,115,106,0.35); border-radius: var(--radius); padding: 10px 14px; transition: border-color 0.15s; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); }
.field textarea { min-height: 140px; resize: vertical; }

/* Legal pages */
body.legal main { max-width: 720px; margin: 0 auto; padding: 64px 28px; }
body.legal h1 { margin-bottom: 8px; }
body.legal .updated { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 32px; }
body.legal h2 { font-size: 1.05rem; font-weight: 500; margin-top: 40px; margin-bottom: 12px; color: var(--teal-dark); }
body.legal p, body.legal li { font-size: 0.92rem; font-weight: 300; line-height: 1.8; color: var(--ink-soft); margin-bottom: 12px; }
body.legal ul { list-style: disc; padding-left: 20px; }
body.legal a { color: var(--teal); text-decoration: none; }
body.legal a:hover { text-decoration: underline; }
body.legal table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.88rem; }
body.legal th { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; font-weight: 500; color: var(--ink); }
body.legal td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-weight: 300; }

/* Footer */
.site-footer { background: var(--ink); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid .brand-name { color: var(--teal-pale); }
.footer-grid .brand-logo { opacity: 0.8; }
.footer-grid p { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.4); line-height: 1.75; margin-top: 12px; max-width: 28em; }
.footer-grid h3 { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul a { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; }
.footer-grid ul a:hover { color: var(--teal-pale); }
.footer-grid ul li:not(:has(a)) { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.4); }

.legal-bar { padding-top: 24px; font-size: 0.72rem; font-weight: 300; color: rgba(255,255,255,0.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.legal-bar a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.15s; }
.legal-bar a:hover { color: var(--teal-pale); }

/* ── Homepage (simplified) ──────────────────────────────────── */
.home-photo { width: 100%; overflow: hidden; }
.home-photo img, .home-photo .image-placeholder { width: 100%; object-fit: cover; min-height: 200px; max-height: 50vh; }

.home-intro { padding: 72px 28px 80px; }
.home-intro-inner { max-width: 560px; }
.home-intro h1 { margin: 14px 0 20px; }
.home-intro h1 em { font-style: normal; color: var(--teal); }
.home-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ── Portfolio full grid ─────────────────────────────────────── */
.portfolio-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; }

/* Zorg dat <a class="portfolio-tile"> exact hetzelfde gedraagt
   als de vroegere <div class="portfolio-tile"> */
a.portfolio-tile {
  display: block;          /* was al block via grid */
  text-decoration: none;
  color: inherit;
  outline-offset: 3px;     /* zichtbare focus-ring voor toetsenbord */
}

a.portfolio-tile:focus-visible {
  outline: 2px solid var(--teal);
}
  
/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-split { grid-template-columns: 1fr; }
  .about-split-img { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-full-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .accent-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-split-text { padding: 40px 28px; }
  .legal-bar { flex-direction: column; }
  .portfolio-full-grid { grid-template-columns: 1fr; }
  .home-photo .image-placeholder { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .portfolio-tile img, .portfolio-tile .image-placeholder { transform: none !important; }
}
