@charset "UTF-8";
/* ============================================================
   Clarivue — early access
   Ink navy ground, paper used twice as an illuminated panel,
   one signal orange. Newsreader / IBM Plex Sans / IBM Plex Mono.
   ============================================================ */

/* ---------- fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-var.woff2') format('woff2-variations');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Sans';
  src: url('fonts/plex-sans-var.woff2') format('woff2-variations');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ------------------------- tokens ------------------------- */
:root {
  --ink:         #0E1826;
  --ink-rule:    #22304A;
  --paper:       #F4F1E9;
  --paper-rule:  #DED8C9;
  --signal:      #F0690E;   /* orange on ink   */
  --signal-deep: #B14708;   /* orange on paper */
  --mute:        #93A1B5;   /* secondary on ink   */
  --mute-paper:  #6E6A5E;   /* secondary on paper */

  /* Interaction states. Derived by eye from the four above — if you change a
     colour up there, nudge its partner down here to match. */
  --signal-hover:      #D65B08;  /* button hover                    */
  --hint-ink:          #5D6B80;  /* placeholder text on ink         */
  --hint-paper:        #9A9585;  /* placeholder text on paper       */
  --ink-rule-hover:    #33456A;  /* input border, hover, on ink     */
  --paper-rule-hover:  #C3BBA6;  /* input border, hover, on paper   */

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
}

/* ------------------------- reset -------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, figure, figcaption { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  background: var(--signal); color: #fff;
  padding: .7rem 1.1rem; font-size: .9rem; text-decoration: none;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------- masthead ----------------------- */
.masthead { border-bottom: 1px solid var(--ink-rule); }
.masthead__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 1.4rem var(--gutter);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.015em;
}
.wordmark--sm { font-size: 1.2rem; }
.masthead__tag {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal);
}

/* --------------------------- bands ------------------------ */
/* One padding rule. Modifiers below adjust surface only, never spacing,
   so nothing here can cancel anything out. */
.band {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
.band--hero { padding-top: clamp(3rem, 7vw, 5.5rem); }

.section-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 20ch;
}
.section-heading--sm { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

.section-intro {
  margin-top: 1.1rem;
  max-width: 56ch;
  color: var(--mute);
  font-size: 1.05rem;
}

/* --------------------------- hero ------------------------- */
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.028em;
  max-width: 19ch;
}
/* The one accent in the copy lands on the contrarian half of the promise. */
.hero__title-turn { color: var(--signal); display: block; }

.hero__row {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 27rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.lede {
  max-width: 46ch;
  color: var(--mute);
  font-size: 1.1rem;
}
.hero__act { min-width: 0; }

/* ------------------------- capture ------------------------ */
.capture {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  max-width: 30rem;
}
.capture--close { margin-top: 2.2rem; }
.capture__input {
  flex: 1 1 11rem;
  min-width: 0;
  padding: .85rem 1rem;
  font: inherit;
  font-size: .98rem;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--ink-rule);
  border-radius: 2px;
  transition: border-color .18s ease;
}
.capture__input::placeholder { color: var(--hint-ink); }
.capture__input:hover { border-color: var(--ink-rule-hover); }
.capture__button {
  flex: 0 0 auto;
  padding: .85rem 1.4rem;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  color: #fff;
  background: var(--signal);
  border: 1px solid var(--signal);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.capture__button:hover { background: var(--signal-hover); border-color: var(--signal-hover); }
.capture__button:disabled { opacity: .55; cursor: default; }
.capture__button:disabled:hover { background: var(--signal); border-color: var(--signal); }
.capture__input:disabled { opacity: .55; }
.capture__notice {
  flex: 1 0 100%;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--signal);
  margin-top: .1rem;
}
.capture__hint {
  margin-top: .8rem;
  font-size: .85rem;
  color: var(--mute);
}

/* ---------------------- the eye chart --------------------- */
/* Paper appears here and in the closing band only — twice, so it reads
   as an illuminated panel rather than a background. */
.chart { margin-top: clamp(3rem, 6vw, 4.5rem); }
.chart__panel {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border-radius: 3px;
}
.chart__eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute-paper);
  padding-bottom: 1.4rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--paper-rule);
  line-height: 1.5;
}
.chart__lines { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }

.chart__line {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  animation: resolve .55s cubic-bezier(.2, .7, .3, 1) both;
  animation-delay: calc(var(--step) * 90ms + 120ms);
}
.chart__acuity {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--mute-paper);
  letter-spacing: .02em;
  text-align: right;
}
/* One row, one line — a chart that wraps is not a chart. */
.chart__label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--size);
  letter-spacing: var(--track);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.chart__line--found .chart__label  { color: var(--signal-deep); font-weight: 600; }
.chart__line--found .chart__acuity { color: var(--signal-deep); }

.chart__caption {
  margin-top: 1.4rem;
  max-width: 42ch;
  font-size: .87rem;
  line-height: 1.55;
  color: var(--mute);
}

@keyframes resolve {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* -------------------- the three (acuity) ------------------ */
.acuity { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.acuity__row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.4rem) 0;
  border-top: 1px solid var(--ink-rule);
}
.acuity__row:last-child { border-bottom: 1px solid var(--ink-rule); }
.acuity__mark {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--signal);
  padding-top: .45rem;
}
.acuity__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  letter-spacing: -.012em;
  margin-bottom: .55rem;
}
.acuity__body p {
  max-width: 62ch;
  color: var(--mute);
}

/* ------------------------- denials ------------------------ */
.denials {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.denials__item dt {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--paper);
  padding-bottom: .8rem;
  margin-bottom: .8rem;
  border-bottom: 1px solid var(--ink-rule);
}
.denials__item dd {
  margin-left: 0;
  font-size: .95rem;
  color: var(--mute);
}

/* ------------------- product imagery (§ shots) ------------ */
/* Live and ready — the markup is commented out in index.html. */
.shots {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.shot img {
  width: 100%;
  border: 1px solid var(--ink-rule);
  border-radius: 3px;
  background: var(--paper);
}
.shot figcaption {
  margin-top: .85rem;
  font-size: .87rem;
  color: var(--mute);
}

/* -------------------------- close ------------------------- */
/* Paper's second and final appearance. */
.band--close { padding-block: clamp(2rem, 5vw, 3.5rem); }
.close {
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 5vw, 4rem);
}
.close__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -.022em;
  max-width: 18ch;
}
.close__body {
  margin-top: 1.1rem;
  max-width: 48ch;
  color: var(--mute-paper);
  font-size: 1.03rem;
}
.capture--close .capture__input {
  color: var(--ink);
  border-color: var(--paper-rule);
}
.capture--close .capture__input::placeholder { color: var(--hint-paper); }
.capture--close .capture__input:hover { border-color: var(--paper-rule-hover); }
.capture--close .capture__notice { color: var(--signal-deep); }
.band--close .capture__hint { color: var(--mute-paper); }

/* -------------------------- footer ------------------------ */
.footer { border-top: 1px solid var(--ink-rule); }
.footer__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 2rem var(--gutter);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
}
.footer__meta {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--mute);
}

/* ------------------------ responsive ---------------------- */
@media (max-width: 820px) {
  .hero__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .acuity__row   { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .acuity__mark  { padding-top: 0; }
  .chart__line   { grid-template-columns: 2.6rem minmax(0, 1fr); gap: .7rem; }
  .chart__acuity { font-size: .6rem; }
  .capture__button { flex: 1 1 100%; }
}

/* --------------------- reduced motion --------------------- */
@media (prefers-reduced-motion: reduce) {
  .chart__line { animation: none; }
  * { transition-duration: .01ms !important; }
}
