@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/InstrumentSans-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/Newsreader-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --porcelain: #ffffff;
  --paper: #ffffff;
  --ink: #161719;
  --body: #4f5358;
  --muted: #666a6f;
  --line: rgba(22, 23, 25, 0.17);
  --line-soft: rgba(22, 23, 25, 0.09);
  --accent: #173e69;
  --accent-soft: #e7eef6;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --page-gutter: clamp(22px, 4vw, 64px);
  --page-width: 1440px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--porcelain);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-color: var(--accent) var(--porcelain);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--porcelain);
  font-size: 16px;
  line-height: 1.65;
}

::selection {
  color: var(--ink);
  background: #dce7f5;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: auto;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

svg {
  display: block;
}

.site-header,
main,
footer {
  width: min(100%, var(--page-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 var(--page-gutter);

}

.wordmark {
  font-family: var(--font-display);
  font-size: 36px;
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: clamp(22px, 3vw, 44px);
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-header nav a,
footer a,
footer p {
  color: var(--body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.site-header nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.hero {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(48px, 6vw, 88px) var(--page-gutter) 48px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin-inline: auto;
}

.hero h1,
.mechanisms > h2,
.privacy h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  text-wrap: balance;
}

.hero h1 {
  max-width: 11ch;
  margin: 24px auto 0;
  font-size: clamp(3.5rem, 6.5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-intro {
  max-width: 35rem;
  margin: clamp(28px, 3vw, 40px) auto 0;
  color: var(--body);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}

.waitlist {
  max-width: 30rem;
  margin: clamp(22px, 2vw, 28px) auto 0;
}

.waitlist-kicker,
.waitlist-note,
.waitlist-status {
  margin: 0;
}

.waitlist-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.waitlist-form {
  margin-top: 12px;
}

.waitlist-form label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.waitlist-controls {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.waitlist-controls input[type="email"],
.waitlist-controls button {
  min-height: 56px;
  font: inherit;
}

.waitlist-controls input[type="email"] {
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
}

.waitlist-controls input[type="email"]::placeholder {
  color: var(--muted);
}

.waitlist-controls input[type="email"]:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(23 62 105 / 0.18);
}

.waitlist-controls input[type="email"]:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.waitlist-controls button {
  flex: 0 0 auto;
  padding: 0 22px;
  color: var(--porcelain);
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.waitlist-controls button:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
}

.waitlist-controls button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.waitlist-controls button:disabled {
  cursor: wait;
  background: var(--accent);
  border-color: var(--accent);
}

.waitlist-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.waitlist-note,
.waitlist-status {
  font-size: 13px;
  line-height: 1.5;
}

.waitlist-note {
  margin-top: 10px;
  color: var(--muted);
}

.waitlist-status {
  min-height: 1.5em;
  margin-top: 6px;
  color: var(--body);
}

.waitlist-status[data-state="success"] {
  color: var(--accent);
}

.waitlist-status[data-state="error"] {
  color: #8b403a;
}

.gallery-section {
  margin: 0 20px;
  padding: clamp(60px, 8vw, 112px) clamp(24px, 9vw, 140px);
  background: #ffffff url("/assets/pen-landscape.webp") center / cover;
}

.collection-sheet {
  max-width: 900px;
  margin: auto;
  padding: clamp(28px, 4vw, 64px);
  background: #fff;
}

.gallery-intro { text-align: center; }
.gallery-intro h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.gallery-intro .eyebrow { margin-bottom: 36px; }
.memory-field { margin: 0; }
.collection-studies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.study-image {
  aspect-ratio: 1 / 1.6;
  background-image: url("/assets/collection-studies.webp");
  background-size: 300% 100%;
}
.study-sea { background-position: left; }
.study-light { background-position: center; }
.study-rhythm { background-position: right; }
.collection-studies p { margin: 12px 0 0; font-size: 13px; line-height: 1.5; }
.memory-field figcaption { margin-top: 28px; color: var(--muted); font-size: 12px; text-align: center; }

.mechanisms {
  padding: clamp(110px, 12vw, 180px) var(--page-gutter);
  background: #f5f8fb;
  color: var(--ink);
}

.mechanisms > h2 {
  max-width: 12ch;
  margin: 0 0 clamp(48px, 6vw, 80px);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.mechanism-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.2fr) minmax(220px, 0.8fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: start;
  padding: 38px 0 48px;
  border-top: 1px solid var(--line);
}

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

.mechanism-row h3,
.mechanism-row p {
  margin: 0;
}

.mechanism-row h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 28px);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.mechanism-row > p:not(.mechanism-example) {
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

.mechanism-example {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.privacy {
  padding: clamp(80px, 10vw, 144px) var(--page-gutter);
}

.privacy > div {
  max-width: 760px;
}

.privacy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.privacy p {
  max-width: 44rem;
  margin: 40px 0 0;
  color: var(--body);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.6;
}

.back-link {
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

.resource-row:hover strong {
  color: var(--accent);
}

.content-shell {
  min-height: calc(100svh - 220px);
  padding: clamp(92px, 11vw, 156px) var(--page-gutter) clamp(120px, 14vw, 200px);
}

.content-hero {
  width: min(100%, 880px);
  margin-bottom: clamp(48px, 6vw, 72px);
}

.content-hero h1 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.content-hero > p:last-child {
  max-width: 42rem;
  margin: 36px 0 0;
  color: var(--body);
  font-size: 1.25rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.resource-list,
.release-list {
  border-bottom: 1px solid var(--line);
}

.resource-row {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 168px;
  padding: 32px 0;
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.resource-row > span:first-child,
.release-version,
.section-number {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.resource-row strong {
  max-width: 30ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.resource-row > span:last-child {
  color: var(--accent);
  font-size: 1.4rem;
}

.release-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(36px, 7vw, 104px);
  padding: clamp(44px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
}

.release-row time,
.release-detail time {
  color: var(--muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.release-row h2 {
  max-width: 23ch;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.release-row h2 a {
  text-decoration: none;
}

.release-row h2 a:hover {
  color: var(--accent);
}

.release-row div > p:last-child {
  max-width: 40rem;
  margin: 24px 0 0;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.7;
}

.release-version {
  margin: 0;
}

.prose,
.release-detail {
  width: min(100%, 68ch);
  margin-inline: auto;
}

.article-hero {
  margin-top: clamp(36px, 5vw, 56px);
}

.prose section,
.release-detail section {
  padding: clamp(52px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.prose section h2,
.release-detail section h2 {
  margin: 14px 0 28px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.prose section > p:not(.section-number),
.release-detail li {
  color: var(--body);
  font-size: 1.0625rem;
  line-height: 1.72;
}

.prose section > p:not(.section-number) {
  margin: 0;
}

.prose section > p + p {
  margin-top: 1.55em;
}

.release-detail ul {
  display: grid;
  gap: 20px;
  padding-left: 1.2em;
  margin: 0;
}

.release-detail li::marker {
  color: var(--accent);
}

.prose-end,
.release-next {
  margin-top: clamp(72px, 9vw, 120px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.prose-end > p,
.release-next > p {
  max-width: 42rem;
  margin: 0;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.7;
}

.prose-end > div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.prose-end a,
.release-next a {
  font-weight: 600;
}

.release-next a {
  display: inline-block;
  margin-top: 14px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  min-height: 132px;
  padding: 0 var(--page-gutter);
  border-top: 1px solid var(--line-soft);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 92px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .mechanism-row {
    grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1.15fr);
  }

  .mechanism-example {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 76px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 14vw, 4.5rem);
  }

  .hero-intro {
    margin-top: 28px;
  }

  .mechanisms > h2,
  .privacy h2 {
    font-size: clamp(2rem, 7.8vw, 2.75rem);
  }

  .mechanisms {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .mechanisms > h2 {
    margin-bottom: 48px;
  }

  .mechanism-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 0 42px;
  }

  .mechanism-example {
    grid-column: auto;
  }

  .content-shell {
    padding-top: 92px;
    padding-bottom: 112px;
  }

  .content-hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .content-hero {
    margin-bottom: 72px;
  }

  .resource-row,
  .release-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .resource-row {
    min-height: 0;
    padding: 36px 0;
  }

  .resource-row > span:last-child {
    position: absolute;
    right: var(--page-gutter);
  }

  .release-row {
    padding: 44px 0 52px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 190px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .waitlist-controls {
    flex-direction: column;
  }

  .waitlist-controls button {
    width: 100%;
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  .hero {
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 5vw, 4.5rem);
  }

  .hero-intro {
    margin-top: 20px;
  }

  .waitlist {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* White editorial surface; print texture belongs only to the illustration. */
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
.waitlist-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.waitlist-controls input[type="email"], .waitlist-controls button { min-height: 48px; font-size: 14px; }
.waitlist-note { font-size: 12px; }

@media (max-width: 700px) {
  .hero { padding: 52px var(--page-gutter) 32px; }
  .gallery-section { margin: 0 12px; padding: 48px 18px; }
  .collection-sheet { padding: 28px 18px; }
  .collection-studies { gap: 10px; }
  .collection-studies p { font-size: 11px; }
}

.article-hero h1 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.12; letter-spacing: -0.025em; }
.content-hero > p:last-child { font-size: 18px; }
