/* ──────────────────────────────────────────────────────────────────────
 * indozoekt · landing page
 *
 * Tokens (color, type, spacing) live at the top. Components below.
 * To change colors / fonts / spacing, edit the :root values only.
 *
 * Fonts: place the .woff2 files in ./fonts/ (see fonts/README.md).
 * If a file is missing, the browser falls back to Georgia / system mono.
 * ────────────────────────────────────────────────────────────────────── */


/* ── Fonts ────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: normal;
  font-display: swap;
  src: url("fonts/SourceSerif4-Variable.woff2") format("woff2-variations"),
       url("fonts/SourceSerif4-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-stretch: normal;
  font-display: swap;
  src: url("fonts/SourceSerif4-Italic-Variable.woff2") format("woff2-variations"),
       url("fonts/SourceSerif4-Italic-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2");
}


/* ── Tokens ───────────────────────────────────────────────────────────── */

:root {
  /* Color — paper & ink */
  --paper-00: #FBF7EE;
  --paper-10: #F4EEE0;
  --ink-00:   #1C1A16;
  --ink-10:   #2E2A24;
  --ink-20:   #4A4339;
  --ink-30:   #6B6359;
  --ink-40:   #8E867A;
  --rule:     #D9CDB2;
  --accent:   #8C5A2B;   /* ochre — used sparingly on hover */

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono:  "IBM Plex Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  /* Sizes (the page reads as a printed document) */
  --t-hero:   clamp(72px, 11vw, 156px);
  --t-lede:   clamp(22px, 2.5vw, 32px);
  --t-title:  clamp(28px, 3.4vw, 42px);
  --t-prose:  17px;
  --t-prose-en: 15px;
  --t-mono:    11px;

  /* Spacing */
  --gap-section: 72px;
  --pad-page-x:  56px;
  --pad-page-y:  40px;
  --pad-hero-y:  96px;
}


/* ── Base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper-00);
  color: var(--ink-00);
  font-family: var(--serif);
  font-size: var(--t-prose);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* ── Layout ───────────────────────────────────────────────────────────── */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--pad-page-y) var(--pad-page-x) 96px;
}


/* ── Running head ─────────────────────────────────────────────────────── */

.runhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 0.5px solid var(--rule);
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-30);
}
.runhead__wm {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--ink-00);
  text-transform: none;
}
.runhead__status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}


/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding: var(--pad-hero-y) 0 calc(var(--pad-hero-y) - 8px);
  border-bottom: 0.5px solid var(--rule);
}

/* Wordmark — "indo[onder]zoekt" with a small italic "onder" beneath the
   i/z junction. Static. The annotation IS literally under the wordmark. */
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-hero);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink-00);
  display: inline-flex;
  align-items: baseline;
  padding-bottom: 0.40em;   /* room for the small "onder" beneath */
  margin: 0;
}
.wordmark__part { display: inline-block; }
.wordmark__under {
  position: relative;
  display: inline-block;
  width: 0;
}
.wordmark__under-label {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.18em;        /* ~28px when parent is 156px */
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink-30);
  white-space: nowrap;
}

.hero__lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: var(--t-lede);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink-10);
  max-width: 720px;
  margin: 40px 0 0;
  text-wrap: balance;
}
.hero__lede-en {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  color: var(--ink-30);
  max-width: 720px;
  margin: 14px 0 0;
}
.hero__soon {
  margin: 56px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-20);
}
.hero__soon::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--ink-00);
}


/* ── Section row · margin-eyebrow + content ───────────────────────────── */

.row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: var(--gap-section) 0;
  border-bottom: 0.5px solid var(--rule);
  align-items: start;
}
.row:last-of-type { border-bottom: none; }
.row__eyebrow {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-30);
}
.row__content { max-width: 720px; }
.row__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: var(--t-title);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 24px;
  color: var(--ink-00);
  text-wrap: balance;
}


/* ── Prose ────────────────────────────────────────────────────────────── */

.prose {
  margin: 0 0 16px;
  line-height: 1.6;
  font-size: var(--t-prose);
  color: var(--ink-10);
  text-wrap: pretty;
}
.prose--en {
  font-size: var(--t-prose-en);
  font-style: italic;
  color: var(--ink-30);
}
.lang-rule {
  border: 0;
  border-top: 1px solid var(--ink-00);
  width: 48px;
  margin: 20px 0 18px;
}
.prose strong { font-weight: 600; }


/* ── Link list ────────────────────────────────────────────────────────── */

.links {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-top: 0.5px solid var(--rule);
}
.link {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 0.5px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: background 200ms ease-out;
}
.link:hover { background: var(--paper-10); }
.link:hover .link__handle { color: var(--accent); }
.link__platform {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-30);
}
.link__handle {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  color: var(--ink-00);
  transition: color 200ms ease-out;
}
.link__arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-30);
}


/* ── Person card ──────────────────────────────────────────────────────── */

.person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0 4px;
}
.person__monogram {
  width: 64px;
  height: 64px;
  background: var(--paper-10);
  border: 1px solid var(--ink-00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--ink-00);
}
.person__name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-00);
  margin: 0;
}
.person__meta {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin: 4px 0 0;
}
.person__meta a {
  color: var(--ink-20);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 200ms ease-out;
}
.person__meta a:hover { color: var(--accent); }


/* ── Footer ───────────────────────────────────────────────────────────── */

.foot {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 0.5px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-30);
}


/* ── Small screens ────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  :root {
    --pad-page-x: 24px;
    --pad-page-y: 28px;
    --pad-hero-y: 64px;
    --gap-section: 56px;
  }
  .page { padding-bottom: 64px; }
  .row { grid-template-columns: 1fr; gap: 16px; }
  .row__eyebrow { margin-top: 0; }
  .link { grid-template-columns: auto 1fr auto; gap: 16px; padding: 18px 0; }
}
