/* Blik op morgen — design_2, built on the "Aker" gallery system (DESIGN_2.md) */

:root {
  --color-ink: #000000;
  --color-paper: #ffffff;
  --color-char: #1c1c1c;
  --color-midnight: #070707;
  --color-mist: #e5e4e4;
  --color-mist-soft: #f2f1f0;
  --color-smoke: #8d8d8d;
  --color-pewter: #666666;
  --color-ember: #b75928;
  --color-action: #494949;

  --font-sans: 'Nunito Sans', 'Proxima Nova', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;

  --text-label: 12px;
  --text-body: 15px;
  --text-sub: 18px;
  --text-heading-sm: 22px;
  --text-heading: clamp(28px, 3vw, 36px);
  --text-heading-lg: clamp(40px, 5.2vw, 62px);
  --text-display: clamp(72px, 13.2vw, 200px);

  --radius-card: 8px;
  --radius-pill: 80px;

  --page-max: 1200px;
  --gutter: 40px;
  --section-gap: 120px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--color-ember); color: var(--color-paper); }
:focus-visible { outline: 2px solid var(--color-ember); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--color-char); color: var(--color-paper); font-size: var(--text-label);
}
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: calc(var(--page-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Brand mark: a sun rising over the horizon ---------- */

.mark { display: inline-block; width: 18px; height: 18px; flex: none; }
.mark path, .mark line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

/* ---------- Navigation pill ---------- */

.nav-pill {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 5px 5px 14px;
  border-radius: 1584px;
  background: var(--color-char);
  color: var(--color-paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-pill__brand { display: flex; align-items: center; gap: 8px; margin-right: 10px; white-space: nowrap; }
.nav-pill__brand .mark { color: var(--color-ember); }

.nav-pill ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-pill ul a {
  display: block;
  padding: 7px 14px;
  border-radius: 1584px;
  color: var(--color-mist);
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav-pill ul a:hover { background: var(--color-action); color: var(--color-paper); }
.nav-pill ul a[aria-current="page"] { background: var(--color-paper); color: var(--color-ink); }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px var(--gutter) 40px;
  background: #3a3334 url('assets/dageraad-veld.jpg') center 62% / cover no-repeat;
  color: var(--color-paper);
  overflow: hidden;
}

.hero__intro {
  max-width: 400px;
  margin: 0;
  padding-top: 4px;
  color: var(--color-char);
  font-size: var(--text-body);
  line-height: 1.5;
}
.hero__intro strong { display: block; font-weight: 600; margin-bottom: 6px; }

.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  margin: 0;
  font-weight: 300;
  font-size: var(--text-display);
  line-height: 0.8;
  letter-spacing: -0.025em;
}
.wordmark span { display: block; }

/* ---------- Page header (inner pages) ---------- */

.page-head { padding: 140px 0 64px; }
.page-head__title {
  margin: 12px 0 0;
  font-weight: 300;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}

/* ---------- Photo bands ---------- */

.band {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--color-mist);
}
.band img {
  width: 100%;
  height: 72vh;
  min-height: 380px;
  max-height: 820px;
  object-fit: cover;
  filter: saturate(.82);
}
.band--short img { height: 56vh; max-height: 640px; }

.band__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 0;
  pointer-events: none;
}
.band__overlay a { pointer-events: auto; }
.band__overlay--light { color: var(--color-paper); }
.band__overlay--dark { color: var(--color-ink); }

.band__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--text-label);
  color: inherit;
  opacity: .8;
}

/* ---------- Type ---------- */

.label {
  display: block;
  margin: 0 0 8px;
  color: var(--color-pewter);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.band__overlay--light .label { color: var(--color-mist); }

.h-lg {
  margin: 0;
  font-weight: 300;
  font-size: var(--text-heading-lg);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 14em;
}

.h-md {
  margin: 0;
  font-weight: 300;
  font-size: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.serif {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: var(--text-sub);
  line-height: 1.5;
  letter-spacing: 0.011em;
  max-width: 600px;
}

.prose p {
  margin: 0 0 16px;
  max-width: 600px;
  font-size: var(--text-body);
  line-height: 1.6;
}
.prose p:last-child { margin-bottom: 0; }

.accent { color: var(--color-ember); }
.link-ember { color: var(--color-ember); border-bottom: 1px solid currentColor; }

/* ---------- Actions ---------- */

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-body);
  font-weight: 400;
  white-space: nowrap;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.arrow-link svg path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.arrow-link:hover svg { transform: translateX(4px); }

.arrow-link--pill {
  padding: 16px 22px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hero .arrow-link--pill:hover, .footer .arrow-link--pill:hover { background: var(--color-paper); color: var(--color-ink); border-color: var(--color-paper); }
.arrow-link--pill.on-light:hover { background: var(--color-ink); color: var(--color-paper); }

.btn-dark {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 26px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-char);
  color: var(--color-paper);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease;
}
.btn-dark:hover { background: var(--color-action); }
.btn-dark svg { width: 16px; height: 16px; }
.btn-dark svg path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 1584px;
  background: var(--color-mist);
  font-size: var(--text-label);
  font-weight: 500;
}
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }

/* ---------- Sections ---------- */

.section { padding: var(--section-gap) 0; }
.section--tight { padding-top: 64px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
}
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.section-head { margin-bottom: 56px; }

/* ---------- Numbered list ---------- */

.numbered { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--color-mist); }
.numbered > li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--color-mist);
}
.numbered__head { display: flex; align-items: baseline; gap: 24px; }
.numbered__num { flex: none; width: 40px; color: var(--color-ember); font-size: var(--text-label); font-weight: 500; }
.numbered__title { margin: 0; font-weight: 300; font-size: var(--text-heading); line-height: 1.15; letter-spacing: -0.02em; }
.numbered p { margin: 0; max-width: 600px; line-height: 1.6; color: #222; padding-top: 6px; }

.numbered--compact > li { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
.numbered--compact p { padding-top: 0; }
.numbered--compact .numbered__num { padding-top: 3px; }

/* ---------- Feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 480px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--color-mist);
  overflow: hidden;
}

.card__mark { position: absolute; right: 32px; bottom: 32px; width: 56px; height: 56px; color: var(--color-ember); }

.card--photo { color: var(--color-paper); background: var(--color-char); }
.card--photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) brightness(.72);
  transition: transform 1.2s ease;
}
.card--photo:hover img { transform: scale(1.03); }
.card--photo > *:not(img) { position: relative; }
.card--photo .label { color: var(--color-mist); }

/* ---------- People ---------- */

.people { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.person__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin-bottom: 28px;
}
.person__name { margin: 0 0 14px; font-weight: 300; font-size: var(--text-heading); line-height: 1.1; letter-spacing: -0.02em; }
.person .prose p { color: #222; }

/* ---------- Definition rows (complaints) ---------- */

.rows > div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--color-mist);
}
.rows > div:last-child { border-bottom: 1px solid var(--color-mist); }
.rows h2 { margin: 0; font-weight: 400; font-size: var(--text-heading-sm); letter-spacing: -0.02em; line-height: 1.25; }
.rows p { margin: 0 0 12px; max-width: 600px; line-height: 1.6; color: #222; }
.rows p:last-child { margin-bottom: 0; }

/* ---------- Form ---------- */

.form-card { padding: 40px; border-radius: var(--radius-card); background: var(--color-mist-soft); }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--text-label); font-weight: 500; color: var(--color-pewter); }
.field input, .field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #c9c7c6;
  border-radius: 0;
  background: transparent;
  color: var(--color-ink);
  font: inherit;
  font-size: 17px;
  transition: border-color .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--color-ember); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.form__status { margin: 0; font-size: var(--text-label); color: var(--color-pewter); }

.contact-lines { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--color-mist); }
.contact-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-mist); }
.contact-lines span:first-child { color: var(--color-pewter); font-size: var(--text-label); padding-top: 3px; }

/* ---------- Footer ---------- */

.footer { background: var(--color-char); color: var(--color-paper); padding: 88px 0 32px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer__mark {
  margin: 0;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.025em;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid #3a3a3a;
  font-size: 13px;
}
.footer__grid .label { color: var(--color-smoke); }
.footer__grid a { color: var(--color-mist); transition: color .2s ease; }
.footer__grid a:hover { color: var(--color-paper); }
.footer__grid p { margin: 0; color: var(--color-mist); line-height: 1.7; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card--photo img, .arrow-link svg { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  :root { --gutter: 24px; --section-gap: 88px; }
  .split, .split--even, .page-head__grid, .rows > div, .cards, .people { grid-template-columns: 1fr; }
  .split, .rows > div { gap: 20px; }
  .numbered > li { grid-template-columns: 1fr; gap: 12px; }
  .numbered--compact > li { grid-template-columns: 40px minmax(0, 1fr); }
  .numbered > li p { padding-left: 64px; padding-top: 0; }
  .numbered--compact > li p { padding-left: 0; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .card { min-height: 380px; }
  .people { gap: 64px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section-gap: 72px; }
  .nav-pill { top: 12px; right: 12px; left: 12px; justify-content: space-between; font-size: 12px; }
  .nav-pill__brand { margin-right: 0; }
  .nav-pill__brand span { display: none; }
  .nav-pill ul a { padding: 7px 11px; }
  .hero { padding-top: 76px; }
  .page-head { padding-top: 112px; }
  .band img { height: 54vh; min-height: 300px; }
  .card { padding: 24px; }
  .card__mark { right: 24px; bottom: 24px; width: 44px; height: 44px; }
  .form-card { padding: 24px; }
  .form { grid-template-columns: 1fr; }
  .band__overlay { padding: 28px 0; }
}

/* Beacon band: question left, short answer top-right */
.band__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.band__note { max-width: 340px; margin: 34px 0 0; color: var(--color-char); }

@media (max-width: 960px) {
  .band__top { flex-direction: column; gap: 16px; }
  .band__note { margin-top: 0; }
  /* Let the caption determine the height when its text stacks. */
  .band--beacon > img { position: absolute; inset: 0; height: 100%; min-height: 0; max-height: none; }
  .band--beacon .band__overlay { position: relative; min-height: max(380px, 72vh); gap: 48px; }
}

@media (max-width: 640px) {
  .band--beacon .band__overlay { min-height: max(300px, 54vh); }
}

/* Contact form: spam trap, privacy note, sending state */
.section--contact { padding-top: 0; }
.botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__privacy { grid-column: 1 / -1; margin: 0; font-size: var(--text-label); line-height: 1.6; color: var(--color-pewter); }
.form__status.is-error { color: var(--color-ember); }
.btn-dark[disabled] { opacity: .6; cursor: progress; }

/* Contact form: confirmation after sending */
.form-card { display: flex; flex-direction: column; }
.form-done { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.form[hidden], .form-done[hidden] { display: none; }
.form-done__mark { width: 72px; height: 45px; margin-bottom: 28px; overflow: visible; }
.form-done__mark line, .form-done__mark path { fill: none; stroke-width: 2; stroke-linecap: round; }
.form-done__horizon { stroke: var(--color-ink); stroke-dasharray: 60; stroke-dashoffset: 60; animation: done-draw .7s ease-out forwards; }
.form-done__sun { stroke: var(--color-ember); stroke-dasharray: 51; stroke-dashoffset: 51; transform: translateY(10px); animation: done-draw 1s ease-out .45s forwards, done-rise 1.2s cubic-bezier(.2,.7,.2,1) .45s forwards; }
.form-done__title { margin: 0 0 16px; outline: none; }
.form-done__text { margin: 0 0 24px; }
.form-done__aside { margin: 0 0 32px; font-size: 14px; line-height: 1.6; color: var(--color-pewter); max-width: 420px; }
.form-done__again { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--color-ink); cursor: pointer; }
.form-done > :not(svg) { opacity: 0; transform: translateY(8px); animation: done-in .6s ease-out forwards; }
.form-done > .label { animation-delay: .5s; }
.form-done > .form-done__title { animation-delay: .6s; }
.form-done > .form-done__text { animation-delay: .7s; }
.form-done > .form-done__aside { animation-delay: .8s; }
.form-done > .form-done__again { animation-delay: .9s; }

@keyframes done-draw { to { stroke-dashoffset: 0; } }
@keyframes done-rise { to { transform: none; } }
@keyframes done-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .form-done__horizon, .form-done__sun, .form-done > :not(svg) { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
}

/* ---------- Articles: overview list ---------- */

.article-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--color-mist); }
.article-list > li { border-top: 1px solid var(--color-mist); }
.article-item {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  padding: 40px 0;
}
.article-item__meta { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; font-size: var(--text-label); color: var(--color-pewter); }
.article-item__meta strong { color: var(--color-ember); font-weight: 500; }
.article-item__title { margin: 0 0 16px; transition: color .2s ease; }
.article-item p { margin: 0 0 24px; max-width: 600px; line-height: 1.6; color: #222; }
.article-item:hover .article-item__title { color: var(--color-ember); }
.article-item:hover .arrow-link svg { transform: translateX(4px); }

/* ---------- Articles: single article ---------- */

.page-head__title--article { font-size: clamp(48px, 6.4vw, 88px); line-height: .95; }

.article { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.article__aside { position: sticky; top: 96px; }
.article__facts { margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--color-mist); }
.article__facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--color-mist); font-size: 14px; line-height: 1.5; }
.article__facts span { color: var(--color-pewter); font-size: var(--text-label); }

.article__body > * + * { margin-top: 56px; }
.article__body h2 { margin: 0 0 16px; font-weight: 300; font-size: var(--text-heading); line-height: 1.2; letter-spacing: -0.02em; }
.article__body .prose p, .article__body > p { color: #222; }
.article__body .numbered { margin: 8px 0 0; }
.article__body .numbered--compact > li { padding: 20px 0; }
.article__body .numbered h3 { margin: 0 0 6px; font-weight: 400; font-size: var(--text-sub); letter-spacing: -0.01em; line-height: 1.35; }

.quote { margin-inline: 0; margin-bottom: 0; padding: 0 0 0 24px; border-left: 2px solid var(--color-ember); max-width: 600px; }
.quote p { margin: 0; font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; letter-spacing: 0.005em; }

.article__note { padding: 28px 32px; border-radius: var(--radius-card); background: var(--color-mist-soft); max-width: 600px; }
.article__note p { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: #222; }

.author { display: flex; align-items: center; gap: 20px; padding-top: 32px; border-top: 1px solid var(--color-mist); max-width: 600px; }
.author img { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.author p { margin: 0; font-size: 14px; line-height: 1.6; color: #222; }
.author strong { display: block; font-weight: 500; font-size: var(--text-body); color: var(--color-ink); }

@media (max-width: 960px) {
  .article-item, .article { grid-template-columns: 1fr; gap: 20px; }
  .article__aside { position: static; }
}
@media (max-width: 640px) {
  .article__note { padding: 24px; }
}
