/* the way she builds — stylesheet */

/* ---------- fonts (zelf-gehost) ---------- */
@font-face {
  font-family: "Inconsolata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inconsolata-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inconsolata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inconsolata-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  --clay: #C97B5D;
  --clay-deep: #A85F44;
  --oat: #F4EDE4;
  --oat-deep: #EAE0D2;
  --brown: #3D2E25;
  --sage: #8A9377;

  --bg: var(--oat);
  --ink: var(--brown);
  --ink-soft: #7A6A5C;
  --line: rgba(61, 46, 37, 0.16);
  --card: var(--oat-deep);
  --block-ink: var(--oat);

  --font-mono: "Inconsolata", Consolas, "SF Mono", Menlo, monospace;
  --font-body: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #2A211A;
    --ink: #F4EDE4;
    --ink-soft: #B8A695;
    --line: rgba(244, 237, 228, 0.16);
    --card: #35291F;
    --sage: #9AA388;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- grain ---------- */
.grain { position: relative; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.28'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.wordmark {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
nav { display: flex; gap: clamp(0.9rem, 3vw, 2rem); }
nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 160ms ease;
}
nav a:hover, nav a:focus-visible { color: var(--clay); }
a:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-top: clamp(3.5rem, 9vh, 6rem);
  padding-bottom: clamp(3rem, 7vh, 4.5rem);
}
.hero h1 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 2.25rem;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--clay); }
.hero-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--clay);
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  transition: background 160ms ease;
}
.hero-cta:hover, .hero-cta:focus-visible { background: var(--clay-deep); }

.logo-block {
  aspect-ratio: 1 / 1;
  background: var(--clay);
  display: flex;
  align-items: flex-end;
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: 380px;
  width: 100%;
  justify-self: end;
}
.logo-block span {
  font-family: var(--font-mono);
  color: var(--block-ink);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ---------- filmstill ---------- */
.film-band { padding-bottom: clamp(3rem, 8vh, 5rem); }
.film {
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.film-fill {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(40, 28, 20, 0) 55%, rgba(40, 28, 20, 0.30) 100%),
    radial-gradient(circle at 62% 52%, rgba(255, 241, 214, 0.85), rgba(255, 241, 214, 0) 28%),
    linear-gradient(180deg, #EBD9C0 0%, #E2B896 46%, #C97B5D 62%, #5F4030 80%, #3D2E25 100%);
}

/* ---------- secties ---------- */
section { padding: clamp(3.5rem, 9vh, 5.5rem) 0; }
section + section { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--clay);
  margin: 0 0 2rem;
}

/* ---------- verhalen ---------- */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.story { text-decoration: none; color: var(--ink); display: block; }
.story-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--card);
}
.fill {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 500ms ease;
}
.story:hover .fill, .story:focus-visible .fill { transform: scale(1.03); }

/* portret — silhouet in gouden tegenlicht */
.fill-1 {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(40, 28, 20, 0) 55%, rgba(40, 28, 20, 0.35) 100%),
    radial-gradient(circle at 58% 30%, rgba(255, 239, 214, 0.85), rgba(255, 239, 214, 0) 42%),
    linear-gradient(165deg, #E0A583 0%, #C97B5D 45%, #7A4A35 100%);
}
.fill-1::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 40%;
  width: 24%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: #3A2A1F;
  border-radius: 50%;
  filter: blur(7px);
}
.fill-1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: 82%;
  height: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 10%, #4A3326 0%, #3A2A1F 65%);
  border-radius: 46% 46% 0 0 / 72% 72% 0 0;
  filter: blur(8px);
}

/* landschap — salie en avondlicht */
.fill-2 {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(40, 28, 20, 0) 58%, rgba(40, 28, 20, 0.30) 100%),
    radial-gradient(circle at 32% 34%, rgba(255, 244, 224, 0.9), rgba(255, 244, 224, 0) 24%),
    linear-gradient(180deg, #EFE3D0 0%, #E2CFAF 42%, #B9BCA0 56%, #8A9377 72%, #59634A 100%);
}
.fill-2::before {
  content: "";
  position: absolute;
  left: 26%;
  top: 28%;
  width: 14%;
  aspect-ratio: 1;
  background: #FFF3DC;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.9;
}

/* interieur — licht door een boog */
.fill-3 {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(30, 20, 14, 0) 55%, rgba(30, 20, 14, 0.35) 100%),
    linear-gradient(170deg, #8C5138 0%, #6E4433 100%);
}
.fill-3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56%;
  height: 74%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #F0DFC8 0%, #DFA57F 55%, #C97B5D 100%);
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.9rem;
}
.story-meta .ep {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}
.story-meta .status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* ---------- missie ---------- */
.mission {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}

/* ---------- notities / substack ---------- */
.notes {
  background: var(--clay);
  color: var(--oat);
  padding: clamp(3rem, 8vh, 5rem) 0;
}
.notes .eyebrow { color: var(--oat); opacity: 0.75; }
.notes-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--clay);
  background: var(--oat);
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  transition: opacity 160ms ease;
}
.notes-cta:hover, .notes-cta:focus-visible { opacity: 0.88; }
.notes .soon {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-left: 1rem;
}

/* ---------- footer ---------- */
footer { padding: 2.5rem 0 3rem; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.footer-inner .links { display: flex; gap: 1.5rem; }
.footer-inner a { color: var(--ink-soft); text-decoration: none; transition: color 160ms ease; }
.footer-inner a:hover, .footer-inner a:focus-visible { color: var(--clay); }
.monogram { color: var(--clay); }

/* ---------- beweging ---------- */
.rise { animation: rise 700ms ease both; }
.rise-late { animation: rise 700ms 150ms ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .rise-late { animation: none; }
  .fill { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .logo-block { justify-self: start; max-width: 300px; }
  .film { aspect-ratio: 16 / 10; }
  .stories-grid { grid-template-columns: 1fr; }
  .wordmark { font-size: 0.82rem; }
  nav { gap: 0.75rem; }
  nav a { font-size: 0.78rem; }
}
