/* Intrinsiq — Waitlist (neue Version). Shared styles for index + research. */
@import url("dark.css");   /* DARK MODE — delete this line to go back to the light design */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-400-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-500-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-600-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrumentserif-400-italic-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrumentserif-400-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrainsmono-500-normal-latin.woff2) format('woff2'); }

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

:root {
  --bg:        #f3efe6;
  --surface:   #ffffff;
  --ink:       #14120d;
  --ink-dim:   #4d4a3f;
  --ink-mute:  #7c7867;
  --ink-faint: #a9a494;
  --line:      #ddd6c2;
  --line-2:    #cac2a8;
  --accent:    #1f4d37;
  --pos:       #1f6a4a;
  --neg:       #a34b3c;
  --sans:      'Inter', system-ui, -apple-system, sans-serif;
  --serif:     'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono:      'JetBrains Mono', ui-monospace, monospace;

  /* read by waves.js / dotgrid.js */
  --waves-line: #d6ceb6;
  --dots-base:  #d9d1bb;
}

html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }

/* ───────── NAV ───────── */
/* Social icons (Instagram, X) left · brand centered · research button right */
nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px 32px;
}
.nav-social { justify-self: start; display: flex; align-items: center; gap: 10px; }
.nav-tab { justify-self: end; }
.brand {
  justify-self: center;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  letter-spacing: -0.01em;
}
/* Research tab: outlined pill so it reads clearly as a button */
.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  padding: 11px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 2px 0 var(--ink);
  white-space: nowrap;
  transition: background .2s, color .2s, transform .15s, box-shadow .15s;
}
.nav-tab svg { flex: none; }
.nav-tab .arr { transition: transform .2s; }
.nav-tab:hover { background: var(--ink); color: var(--bg); }
.nav-tab:hover .arr { transform: translateX(3px); }
.nav-tab:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }
.nav-tab.active { background: var(--ink); color: var(--bg); }
/* Social icon buttons: round, same height as the research pill */
.nav-ig {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  flex: none;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 2px 0 var(--ink);
  transition: background .2s, color .2s, transform .15s, box-shadow .15s;
}
.nav-ig:hover { background: var(--ink); color: var(--bg); }
.nav-ig:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }
.nav-ig svg { flex: none; width: 19px; height: 19px; }
@media (max-width: 640px) {
  nav { padding: 16px 16px; gap: 10px; }
  .brand { font-size: 22px; }
  .nav-tab { font-size: 14px; padding: 9px 14px; gap: 7px; }
  .nav-tab .arr { display: none; }
  .nav-tab-long { display: none; }   /* phone: "Research" only, keeps the brand centred */
  .nav-social { gap: 6px; }
  .nav-ig { width: 38px; height: 38px; }
  .nav-ig svg { width: 16px; height: 16px; }
}

main { flex: 1; display: flex; flex-direction: column; }

/* ───────── FOOTER (wie alte Version) ───────── */
footer {
  padding: 40px 32px 32px;
}
.foot-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
}
.foot-brand {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  letter-spacing: -0.01em;
}
.foot-tag { font-size: 14px; color: var(--ink-mute); margin-top: 6px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.foot-links a { color: var(--ink-dim); transition: color .2s; }
.foot-links a:hover { color: var(--ink); }
.disclaimer {
  max-width: 72ch;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.foot-meta {
  margin: 24px auto 0;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}
@media (max-width: 640px) {
  footer { padding: 32px 16px 28px; }
  .foot-inner { grid-template-columns: 1fr; gap: 16px; }
  .foot-links { gap: 20px; }
}
