/* franssteginga.nl — stijl gebaseerd op het oorspronkelijke Webflow-ontwerp
   (Photographos-template): wit, groot Oranienbaum-kapitaal, Rubik als broodtekst. */

@font-face {
  font-family: "Oranienbaum";
  src: url("/assets/fonts/oranienbaum-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/rubik-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --zwart: #111;
  --wit: #fff;
  --grijs: #767676;
  --lijn: #e3e3e3;
  --zijmarge: clamp(1.25rem, 6vw, 6rem);
  --display: "Oranienbaum", "Times New Roman", serif;
  --body: "Rubik", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wit);
  color: var(--zwart);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p a, .nieuws-tekst a, .midden a { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

/* ---------------------------------------------------------- typografie --- */

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.82;
  font-size: clamp(2.5rem, 7vw, 6rem);
  margin: 0 0 1.5rem;
}
.display.groot { font-size: clamp(3rem, 11vw, 11rem); line-height: 0.8; }
.midden { text-align: center; }

.klein-kop {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
}

.lead { font-size: 1.2rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; }

.visueel-verborgen {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------------- layout ---- */

main { padding: 0 var(--zijmarge); }

.sectie { max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) 0; }
.kop-sectie { padding-bottom: clamp(1.5rem, 4vw, 3rem); }

/* vast verticaal woordmerk links */
.wordmark {
  position: fixed;
  left: 0.9rem;
  bottom: 5.5rem;
  z-index: 40;
  transform: rotate(-90deg);
  transform-origin: left bottom;
}
.wordmark img { width: 150px; }

/* verticale navigatie rechts (leest van onder naar boven, zoals het origineel) */
.zij-nav {
  position: fixed;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.zij-nav a, .contact-knop {
  position: relative;
  padding: 0.15rem 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.zij-nav a[aria-current="page"]::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -2px;
  border-left: 1px solid var(--zwart);
}
.nav-sep { height: 2.2rem; border-left: 1px solid var(--zwart); }
.contact-knop {
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  background: none; border: 0; padding: 0.15rem 0; cursor: pointer; color: inherit;
}

/* ------------------------------------------------------------- home ------ */

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0 2rem;
}
.mededeling {
  color: var(--grijs);
  font-size: 0.85rem;
  text-align: center;
  margin: 0 0 3rem;
}
.hero-regels { display: flex; flex-direction: column; }
.hero-regels .display { margin: 0; }
.regel-2 { text-align: center; }
.regel-3, .regel-4 { text-align: right; }

.nieuws { border-top: 1px solid var(--lijn); }
.nieuws-item { max-width: 44rem; margin: 0 auto 4rem; }
.nieuws-item:last-child { margin-bottom: 0; }
.nieuws-tekst { color: #333; }

.alles-link { text-align: center; margin-top: 3rem; font-weight: 400; }

/* ------------------------------------------------------------- werk ------ */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 3rem;
}
.filter {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.2rem 0;
  cursor: pointer;
  color: var(--grijs);
}
.filter.actief, .filter:hover { color: var(--zwart); border-bottom-color: var(--zwart); }

.werk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: 2.5rem 2rem;
}
.werk-grid.twee { max-width: 800px; margin: 0 auto; grid-template-columns: repeat(2, 1fr); }

.werk-kaart { display: block; }
.werk-kaart-img {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f4f4f4;
  margin-bottom: 0.6rem;
}
.werk-kaart-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.werk-kaart:hover .werk-kaart-img img { transform: scale(1.04); }
.werk-kaart-meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grijs); }
.werk-kaart[hidden] { display: none; }

/* werk-detail */
.werk-detail { max-width: 900px; }
.werk-detail img { margin: 0 auto 2.5rem; }
.werk-info { max-width: 44rem; margin: 0 auto; text-align: center; }
.werk-beschrijving { margin-bottom: 2rem; }
.werk-materiaal p { margin: 0.3rem 0 0; color: #333; }
.werk-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 44rem;
  margin: 3.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--lijn);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.werk-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- bio ------- */

.bio-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 3rem;
  align-items: start;
}
.bio-tekst .lijst {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--lijn);
}
.bio-tekst .lead { margin: 0 0 1.5rem; }
.statement { color: #333; }

.expo-lijst {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 44rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  line-height: 2;
}
.permanent { color: var(--grijs); margin-bottom: 3rem; }

.foto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ------------------------------------------------------------- voet ------ */

.voet {
  border-top: 1px solid var(--lijn);
  margin-top: 4rem;
  padding: 2.5rem var(--zijmarge) 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.85rem;
}
.voet-naam { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; }
.voet-links { display: flex; gap: 1.5rem; }
.voet-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.voet-copy { color: var(--grijs); }

/* ----------------------------------------------------- contact-overlay --- */

.contact-laag {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-laag[hidden] { display: none; }
.contact-inhoud { display: flex; flex-direction: column; gap: 1rem; text-align: center; }
.contact-inhoud a {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  text-transform: uppercase;
  line-height: 1.05;
}
.contact-inhoud a:hover { font-style: italic; }
.contact-sluit {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-size: 2.2rem;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--zwart);
}

/* ----------------------------------------------------------- animatie ---- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

.hero-regels .display {
  opacity: 0;
  transform: translateY(40%) skewY(3deg);
  animation: hero-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.regel-2 { animation-delay: 0.1s !important; }
.regel-3 { animation-delay: 0.2s !important; }
.regel-4 { animation-delay: 0.3s !important; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-regels .display { opacity: 1; transform: none; animation: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------- mobiel ------ */

@media (max-width: 820px) {
  .wordmark { display: none; }
  .zij-nav {
    position: sticky;
    top: 0;
    right: auto;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding: 1rem var(--zijmarge);
    border-bottom: 1px solid var(--lijn);
    background: var(--wit);
  }
  .zij-nav a, .contact-knop { writing-mode: horizontal-tb; transform: none; }
  .zij-nav a[aria-current="page"]::after {
    top: auto; bottom: -2px; left: 0; right: 0;
    border-left: 0; border-bottom: 1px solid var(--zwart);
  }
  .nav-sep { height: auto; width: 1.2rem; border-left: 0; border-top: 1px solid var(--zwart); }
  .hero { min-height: 70vh; }
  .bio-grid { grid-template-columns: 1fr; }
  .werk-grid.twee { grid-template-columns: 1fr; }
}
