/* ============================================================
   raedts.net — gedeelde stijl
   Warm & persoonlijk. Eén stylesheet voor alle pagina's.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

:root {
  --paper:      #faf6ef;   /* warme crème achtergrond */
  --paper-deep: #f2ebde;
  --ink:        #2b2622;   /* warm donkerbruin i.p.v. zwart */
  --ink-soft:   #5c534a;
  --rust:       #b8492f;   /* accent: gebrande terracotta */
  --rust-deep:  #8f3621;
  --ochre:      #d99a2b;   /* secundair accent */
  --moss:       #5a6b4d;   /* derde accent, voor afwisseling */
  --line:       #e0d6c6;
  --shadow:     rgba(43, 38, 34, 0.10);

  --display: 'Fraunces', Georgia, serif;
  --body:    'Newsreader', Georgia, serif;

  --maxw: 720px;
  --maxw-wide: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.18rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtiele papierachtige textuur via gelaagde gradients */
  background-image:
    radial-gradient(circle at 15% 10%, rgba(217,154,43,0.06), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(184,73,47,0.05), transparent 45%);
  background-attachment: fixed;
}

/* ---------- Navigatie ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(250, 246, 239, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.nav-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav-brand:hover { color: var(--rust); }
.nav-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--rust);
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--rust); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.lang-switch {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-switch:hover { color: var(--rust); border-color: var(--rust); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 1.5rem; }

section { padding: 3.5rem 0; }

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 0.6em; }
h3 { font-size: 1.4rem; margin: 0 0 0.4em; }

p { margin: 0 0 1.25em; }
a { color: var(--rust-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rust); }

.lead {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
}

.kicker {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.8rem;
  display: inline-block;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 9vw, 6rem) 0 3rem;
  position: relative;
}
.hero h1 .accent { color: var(--rust); font-style: italic; font-weight: 400; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 14px 40px var(--shadow);
  transform: rotate(1.2deg);
}
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { max-width: 380px; }
  .hero-photo img { transform: none; }
}

/* ---------- Foto-plekhouders ---------- */
.photo-slot {
  background: var(--paper-deep);
  border: 1.5px dashed var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem;
  font-style: italic;
  margin: 2rem 0;
}
.photo-slot img { width: 100%; height: auto; border-radius: 6px; display: block; }
figure { margin: 2rem 0; }
figure img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 8px 30px var(--shadow); display: block; }
figcaption { font-size: 0.92rem; color: var(--ink-soft); font-style: italic; margin-top: 0.6rem; text-align: center; }

/* ---------- Projectkaarten ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 12px var(--shadow);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px var(--shadow);
  border-color: var(--rust);
}
.card .kicker { margin-bottom: 0.5rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1rem; }
.card .more {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rust);
}

/* accentkleur per kaart */
.card.c1 .kicker, .card.c1 .more { color: var(--rust); }
.card.c2 .kicker, .card.c2 .more { color: var(--ochre); }
.card.c2:hover { border-color: var(--ochre); }
.card.c3 .kicker, .card.c3 .more { color: var(--moss); }
.card.c3:hover { border-color: var(--moss); }

/* ---------- Citaat / pull ---------- */
.pull {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  line-height: 1.3;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--rust);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}

/* ---------- Schermafbeeldingen-galerij ---------- */
.shots {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  margin: 1.5rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.shots img {
  flex: 0 0 auto;
  width: 240px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px var(--shadow);
  scroll-snap-align: center;
}
.title-icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  vertical-align: middle;
  margin-right: 0.6rem;
  box-shadow: 0 4px 14px var(--shadow);
}

/* ---------- Terug-link ---------- */
.back {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: var(--ink-soft);
}
.back:hover { color: var(--rust); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2.5rem 0 3rem;
  text-align: center;
}
.socials {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.socials a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--ink-soft);
}
.socials a:hover { color: var(--rust); }
.footer .small { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Entree-animatie ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { opacity: 0; animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsief ---------- */
@media (max-width: 600px) {
  body { font-size: 1.08rem; }
  .nav-links { gap: 1.1rem; font-size: 0.9rem; }
  section { padding: 2.5rem 0; }
}
