/* ============================================================
   NO DAYS OFF — quiet monochrome
   One family (Inter), no accent color. Hierarchy is brightness:
   bright #e5e5e5 → mid #a3a3a3 → dim #737373 → line #262626.
   Nothing moves fast. Nothing shouts.
   ============================================================ */

:root {
  --bg: #050505;
  --bright: #e5e5e5;
  --mid: #a3a3a3;
  --dim: #737373;
  --faint: #404040;
  --line: rgba(255, 255, 255, 0.08);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --pad: clamp(1.5rem, 6vw, 6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--bright);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--bright); color: var(--bg); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, border-color 0.5s ease;
}

.nav--scrolled {
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav__logo {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bright);
  text-decoration: none;
}

.nav__links { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); }

.nav__links a {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.5s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible { color: var(--bright); }

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem var(--pad) 5rem;
  position: relative;
  background: radial-gradient(ellipse 65% 45% at 50% 0%, rgba(255, 255, 255, 0.035), transparent 70%);
}

.hero__statement {
  font-size: clamp(2.25rem, 6.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--bright);
  max-width: 18ch;
  text-wrap: balance;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(24px);
  animation: arrive 1.3s var(--ease) 0.15s forwards;
}

.hero__context {
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--dim);
  opacity: 0;
  animation: fade 1.2s ease 0.9s forwards;
}

@keyframes arrive {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes fade {
  to { opacity: 1; }
}

/* ============ SECTIONS ============ */
.section {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
}

.section__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

/* ============ MANIFESTO ============ */
.manifesto { list-style: none; }

.manifesto__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.manifesto__item:last-child { border-bottom: 1px solid var(--line); }

.manifesto__num {
  font-size: 0.8125rem;
  color: var(--faint);
  padding-top: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.manifesto__item h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 450;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.manifesto__item p {
  color: var(--dim);
  font-size: 0.9375rem;
  max-width: 40rem;
}

/* ============ WORK ============ */
.work { border-top: 1px solid var(--line); }

.work__row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.5s ease;
}

.work__status {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.work__status--live { color: var(--bright); }

.work__body h3 {
  font-size: 1.0625rem;
  font-weight: 450;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.work__body h3 .redacted { color: var(--faint); }

.work__body p {
  color: var(--dim);
  font-size: 0.9rem;
  max-width: 36rem;
}

.work__meta {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

a.work__row:hover h3,
a.work__row:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.work__note { color: var(--dim); font-size: 0.9rem; padding: 1.9rem 0; }

/* ============ UPDATES ============ */
.section--updates { text-align: center; }

.section--updates .section__label { margin-bottom: 1.5rem; }

.updates__title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.updates__sub {
  color: var(--dim);
  font-size: 0.9375rem;
  margin-bottom: 3rem;
}

.updates__form {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.updates__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--faint);
  padding: 0.6rem 0.1rem;
  color: var(--bright);
  font-family: var(--font);
  font-size: 0.9375rem;
  letter-spacing: -0.011em;
  outline: none;
  border-radius: 0;
  transition: border-color 0.5s ease;
}

.updates__input:focus { border-bottom-color: var(--bright); }
.updates__input::placeholder { color: var(--faint); }

.updates__submit {
  background: transparent;
  border: none;
  color: var(--dim);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0;
  cursor: pointer;
  transition: color 0.5s ease;
}

.updates__submit:hover,
.updates__submit:focus-visible { color: var(--bright); }

.updates__note {
  font-size: 0.8125rem;
  color: var(--dim);
  margin-top: 1.5rem;
  min-height: 1.2em;
}

/* ============ FOOTER ============ */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 3rem var(--pad);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--dim);
}

.footer__rule {
  display: inline-block;
  width: 1rem;
  height: 1px;
  background: var(--faint);
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(16px);
  transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
  .manifesto__item { grid-template-columns: 1fr; gap: 0.4rem; }
  .work__row { grid-template-columns: 1fr; gap: 0.5rem; }
  .work__meta { display: none; }
  .updates__form { flex-direction: column; align-items: stretch; gap: 1.25rem; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__statement, .hero__context { animation: none; opacity: 1; filter: none; transform: none; }
  .reveal { opacity: 1; filter: none; transform: none; transition: none; }
}
