/* Currents · currents.vc · v0.3.1
   Single typeface (Inter), asymmetric two-column editorial grid,
   cool graphite + bone + oxblood palette.
   No framework. No animation.
   Dark, locked. No light variant ships. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-var.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;
}

:root {
  color-scheme: only dark;
  --ink-900: #0B0F13;
  --ink-700: #14191F;
  --ink-500: #2A323C;
  --bone:    #E4E7EB;
  --bone-dim:#9098A2;
  --bone-faint:#5A626C;
  --signal:  #B23A48;
  --signal-hi:#C9505E;

  --rail: 12rem;
  --col-max: 38rem;
  --gutter: 3rem;
  --page-max: 1080px;

  /* v0.7 motion tokens — one oscillator, two surfaces */
  --breath-period: 6500ms;
  --breath-floor: 0.55;
  --breath: 0.85; /* canvas RAF writes this every frame; static fallback otherwise */
}

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

html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--bone);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  font-feature-settings: 'kern', 'liga', 'calt', 'ss01';
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--bone); color: var(--ink-900);
  padding: 0.5rem 0.75rem; text-decoration: none; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- the current: header hairline breathes in sync with the field ---------- */

.current-rule {
  width: 100%;
  height: 8px;
  overflow: hidden;
  margin-top: -1px;
}
.current-rule svg {
  display: block;
  width: 100%;
  height: 8px;
}
.current-breath {
  /* v0.7: opacity now driven by canvas RAF via --breath token. Lockstep with field. */
  opacity: calc(var(--breath) * 0.85);
  filter: drop-shadow(0 0 2px rgba(178, 58, 72, 0.35));
}
@media (prefers-reduced-motion: reduce) {
  .current-breath { opacity: 0.8; }
}

/* ---------- hero wave field ---------- */

.hero { position: relative; }
.wave-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  /* fade top + bottom into graphite so type owns the upper register */
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    #000 28%,
    #000 88%,
    transparent 100%);
          mask-image: linear-gradient(to bottom,
    transparent 0%,
    #000 28%,
    #000 88%,
    transparent 100%);
}
.hero .grid { position: relative; z-index: 1; }

/* ---------- shared grid ---------- */

.grid {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  column-gap: var(--gutter);
}

/* ---------- header ---------- */

.site-header {
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--ink-500);
}
.site-header .grid {
  grid-template-columns: 1fr auto;
  align-items: baseline;
}
.wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--signal);
  padding-bottom: 0.15rem;
}
.status {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.status .dot {
  width: 0.42rem; height: 0.42rem;
  background: var(--signal);
  display: inline-block;
  border-radius: 50%;
}

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

.hero { padding: 6rem 0 5rem; border-bottom: 1px solid var(--ink-500); }
.hero .grid { grid-template-columns: 1fr; }
.hero h1 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--bone);
  max-width: 16ch;
}

/* ---------- rows ---------- */

.row {
  padding: 3rem 0;
  border-bottom: 1px solid var(--ink-500);
}
.row + .row { padding-top: 0; }

.rail-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
  padding-top: 0.55rem;
}

.col { max-width: var(--col-max); margin: 0; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--bone);
  letter-spacing: -0.005em;
}

.posture {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--bone-dim);
  font-style: italic;
  max-width: var(--col-max);
}

/* ---------- thesis ---------- */

.thesis-intro {
  color: var(--bone-dim);
  font-size: 0.98rem;
  max-width: var(--col-max);
  margin-bottom: 0;
}

.thesis .vector {
  margin-top: 2.2rem;
}
.vector .vector-label {
  color: var(--signal);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  font-weight: 500;
  padding-top: 0.45rem;
}
.vector .col p {
  color: var(--bone);
  margin: 0;
}

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

.contact { font-size: 1.02rem; line-height: 1.8; }
a {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 120ms ease;
}
a:hover { color: var(--signal-hi); }
a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--ink-500);
  font-size: 0.88rem;
  color: var(--bone-dim);
}
.site-footer .col { max-width: 44rem; }
.disclosure {
  font-size: 0.82rem;
  color: var(--bone-dim);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.meta { font-size: 0.82rem; color: var(--bone-faint); margin-bottom: 0.35rem; }
.draft { color: var(--signal); font-style: italic; letter-spacing: 0.04em; }

::selection { background: var(--signal); color: var(--bone); }

/* ---------- responsive ---------- */

@media (min-width: 1100px) {
  html { font-size: 18px; }
}

@media (max-width: 760px) {
  :root { --rail: 1fr; --gutter: 1.25rem; }
  .grid {
    grid-template-columns: 1fr;
    padding: 0 1.4rem;
    row-gap: 0.6rem;
  }
  .site-header .grid {
    grid-template-columns: 1fr auto;
  }
  .hero { padding: 3.5rem 0 3rem; }
  .row { padding: 2.25rem 0; }
  .rail-label { padding-top: 0; margin-bottom: 0.25rem; }
  .thesis .vector { margin-top: 1.4rem; }
  .vector .vector-label { padding-top: 0; margin-bottom: 0.2rem; }
}
