/* ==========================================================================
   Share My Pass Time — coming-soon page
   Editorial & warm: paper + ink, one madder-red accent, serif display.
   ========================================================================== */

:root {
  color-scheme: light;

  /* paper & ink */
  --paper:      #F5EFE3;
  --paper-2:    #EDE4D2;
  --paper-3:    #E4D9C3;
  --field:      #FFFDF9;   /* input background */
  --ink:        #1C1915;
  --ink-2:      #5A534A;   /* secondary text, 6.6:1 on paper */
  --ink-muted:  #7A7161;   /* placeholder on --field only, 4.7:1 */
  --ink-3:      #8E846F;   /* decorative strokes only — never text */
  --rule:       #D6CBB6;
  --rule-strong:#A99B82;
  --control-border: #857B66; /* form-control boundaries: 3.65:1 on paper, 4.1:1 on field (WCAG 1.4.11) */

  /* one deep accent */
  --accent:      #8A2A22;  /* 7.5:1 on paper */
  --accent-deep: #6B1F19;
  --accent-tint: #F0DCD6;
  --ok:          #245B3F;  /* 6.9:1 on paper */

  /* type */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans:  "Instrument Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* fluid type scale (390px → 1440px) */
  --step--2: clamp(0.72rem, 0.70rem + 0.10vw, 0.78rem);
  --step--1: clamp(0.84rem, 0.80rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.45vw, 1.40rem);
  --step-2:  clamp(1.40rem, 1.20rem + 0.90vw, 1.95rem);
  --step-3:  clamp(1.80rem, 1.45rem + 1.60vw, 2.75rem);
  --step-4:  clamp(2.25rem, 1.60rem + 2.90vw, 3.90rem);
  --step-5:  clamp(2.75rem, 1.55rem + 4.30vw, 5.10rem);

  /* spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-section: clamp(3.5rem, 2.5rem + 5vw, 7rem);

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 3.5vw, 3rem);
  --radius: 3px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input { font: inherit; color: inherit; }

::selection { background: var(--accent-tint); color: var(--ink); }

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

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  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;
}

.skip {
  position: absolute;
  left: var(--s-4);
  top: -100%;
  z-index: 100;
  padding: var(--s-2) var(--s-4);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--step--1);
  border-radius: var(--radius);
}
.skip:focus { top: var(--s-4); }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.kicker {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.kicker__no {
  font-family: var(--serif);
  font-variation-settings: "opsz" 12;
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.lede {
  font-family: var(--serif);
  font-variation-settings: "opsz" 20;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 32em;
  text-wrap: pretty;
}

/* the two-state glyph: dashed = marked spare, filled = booked (echoes the ledger) */
.glyph {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.5em;
  vertical-align: 0.02em;
  border: 1.5px dashed currentColor;
  border-radius: 1px;
}
.glyph--booked {
  border: 0;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */
.masthead {
  border-bottom: 1px solid var(--rule-strong);
  box-shadow: 0 3px 0 -2px var(--rule); /* the classic double rule */
  background: var(--paper);
}
.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 4.25rem;
  padding-block: var(--s-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--ink);
}
.brand__mark { flex: none; color: var(--ink); }
.brand__name {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24;
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.masthead__nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-size: var(--step--1);
  color: var(--ink-2);
}
.masthead__anchor {
  text-decoration: none;
  font-weight: 500;
  padding-block: var(--s-2);
}
.masthead__anchor:hover { color: var(--ink); text-decoration: underline; }
.masthead__link {
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}
.masthead__link-short { display: none; }
@media (max-width: 40em) {
  .masthead__anchor { display: none; }
}
@media (max-width: 24em) {
  .masthead__link-long { display: none; }
  .masthead__link-short { display: inline; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--s-section);
  border-bottom: 1px solid var(--rule);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-8) var(--s-7);
  align-items: start;
}
/* tablet: keep the ledger beside the copy so it never floats alone */
@media (min-width: 50em) {
  .hero__grid {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    gap: var(--s-7) clamp(2.5rem, 5vw, 4.5rem); /* capped so the copy column is the same width from 1440 up */
  }
}
@media (min-width: 60em) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.hero__kicker { margin-bottom: var(--s-5); }

.hero__title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  font-size: var(--step-5);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 11.5em;
}
.hero__title em {
  display: block; /* the red clause always starts its own line — no dangling "Let" */
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
/* two-column tablet range: cap the headline so it sits level with the ledger
   (must come after the base rule above — same specificity, later wins) */
@media (min-width: 50em) and (max-width: 59.99em) {
  .hero__title { font-size: min(var(--step-5), 3.4rem); }
}

.hero .lede { margin-top: var(--s-5); }
.hero .waitlist { margin-top: var(--s-6); }

/* entrance animation (opacity/transform only – no layout shift; the .js class
   is set inline in <head>, so nothing paints and then hides) */
.js .hero__kicker,
.js .hero__title,
.js .hero .lede,
.js .hero .waitlist {
  animation: rise 0.9s var(--ease) both;
}
.js .hero__title { animation-delay: 0.05s; }
.js .hero .lede { animation-delay: 0.15s; }
.js .hero .waitlist { animation-delay: 0.25s; }

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

/* --------------------------------------------------------------------------
   The ledger (hero illustration)
   -------------------------------------------------------------------------- */
.hero__figure {
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
}
@media (min-width: 50em) {
  .hero__figure { max-width: none; margin-inline: 0; padding-top: 0.35rem; }
}
.ledger__svg {
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--sans);
}
.ledger__day {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24;
  font-weight: 500;
  font-size: 20px;
  fill: var(--ink);
}
.ledger__meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  fill: var(--ink-2);
  text-anchor: end;
  font-variant-numeric: tabular-nums;
}
.ledger__rule { stroke: var(--rule); stroke-width: 1; }
.ledger__rule--strong { stroke: var(--rule-strong); }
.ledger__hr {
  font-size: 13px;
  font-weight: 500;
  fill: var(--ink-2);
  text-anchor: end;
  font-variant-numeric: tabular-nums;
}
.ledger__ap { font-size: 10px; letter-spacing: 0.04em; fill: var(--ink-2); }
.ledger__label {
  font-size: 13px;
  font-weight: 500;
  fill: var(--ink);
  letter-spacing: 0.01em;
}
.ledger__label--right { text-anchor: end; fill: var(--ink-2); font-size: 12px; }
.ledger__label--paper { fill: var(--paper); }
.ledger__label--soft  { font-weight: 400; }
.ledger__label--soft:not(.ledger__label--paper) { fill: var(--ink-2); font-style: italic; }
.ledger__label--paper.ledger__label--soft { fill: var(--paper); opacity: 0.88; }

.ledger__caption {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* the 400-unit viewBox renders under 1× wherever the figure is narrower than 400px:
   small phones, and the two-column hero from 50em until the ledger column passes
   ~400px at about 68em — step the type up there; a notch less in between (28–50em),
   where the figure sits at its 30rem cap */
@media (max-width: 28em), (min-width: 50em) and (max-width: 68em) {
  .ledger__day { font-size: 24px; }
  .ledger__meta, .ledger__label--right { font-size: 14px; }
  .ledger__hr, .ledger__label { font-size: 16px; }
  .ledger__ap { font-size: 12px; }
}
@media (min-width: 28.01em) and (max-width: 49.99em) {
  .ledger__day { font-size: 22px; }
  .ledger__meta, .ledger__label--right { font-size: 13px; }
  .ledger__hr, .ledger__label { font-size: 14px; }
  .ledger__ap { font-size: 11px; }
}

/* the booked block draws itself in on load */
.js .ledger__booked {
  transform-origin: 66px 382px;
  animation: book 0.8s var(--ease) 0.7s both;
}
.js .ledger__booked-text {
  animation: fade 0.5s var(--ease) 1.35s both;
}
.js .ledger__block--spare {
  animation: fade 0.6s var(--ease) 0.45s both;
}
@keyframes book {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* the booking description quietly cycles while the ledger is on screen */
.js-booking { transition: opacity 0.45s var(--ease); }
.js-booking.is-swapping { opacity: 0 !important; }

/* --------------------------------------------------------------------------
   Waitlist form
   -------------------------------------------------------------------------- */
.waitlist { max-width: 34rem; }
.waitlist--center { margin-inline: auto; text-align: center; }

.waitlist__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.waitlist__input {
  flex: 999 1 12rem; /* takes all spare space beside the button… */
  min-width: 0;
  padding: 0.85rem 1rem;
  background: var(--field);
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  color: var(--ink);
  line-height: 1.3;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.waitlist__input::placeholder { color: var(--ink-muted); opacity: 1; }
.waitlist__input:hover { border-color: var(--ink-2); }
.waitlist__input:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.waitlist__input[aria-invalid="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.85rem 1.4rem;
  background: var(--accent);
  color: var(--paper);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; opacity: 0.75; transform: none; }
.btn[disabled]:hover { background: var(--accent); border-color: var(--accent); }
.waitlist__btn { flex: 1 0 auto; } /* …and the button only grows when it wraps onto its own line */
@media (max-width: 26em) {
  .waitlist__row { flex-direction: column; }
  .waitlist__input { flex-basis: auto; width: 100%; }
  .btn { width: 100%; }
}

/* role pills */
.roles {
  margin-top: var(--s-4);
  padding: 0;
  border: 0;
  min-width: 0;
}
.roles__legend {
  padding: 0;
  margin-bottom: var(--s-2);
  font-size: var(--step--1);
  color: var(--ink-2);
}
.roles--center .roles__legend { margin-inline: auto; text-align: center; }
.roles__opt { color: var(--ink-2); opacity: 0.85; }
.roles__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
}
.roles--center .roles__pills { justify-content: center; }
.pill {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.pill__face {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem 0.4rem 0.75rem;
  border: 1px solid var(--control-border);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--ink-2);
  background: transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.pill .glyph { margin-right: 0.55em; }
.pill:hover .pill__face { border-color: var(--ink-2); color: var(--ink); }
.pill input:checked + .pill__face {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.pill input:checked + .pill__face .glyph--booked { background: var(--paper); }
.pill input:focus-visible + .pill__face {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-msg {
  margin-top: var(--s-3);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--accent);
  outline: none;
}
.form-msg:empty { margin-top: 0; } /* stays rendered (aria-live needs to exist before it fills); empty <p> has no height */
.form-msg--ok { color: var(--ok); }

/* no-JS fallback: the API answers a plain form post with a 303 to /?joined=…#joined-…,
   and :target reveals the matching line (site.js hides these and handles ?joined= itself) */
.joined { display: none; }
.joined:target { display: block; }
.js-ready .joined { display: none; }

/* once saved, the form collapses to one line of confirmation */
.waitlist.is-done .waitlist__row,
.waitlist.is-done .roles,
.waitlist.is-done .trust,
.waitlist:has(.joined--done:target) .waitlist__row,
.waitlist:has(.joined--done:target) .roles,
.waitlist:has(.joined--done:target) .trust { display: none; }
.waitlist.is-done .form-msg,
.waitlist .joined--done:target {
  margin-top: 0;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  font-family: var(--serif);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: var(--step-2);
  line-height: 1.25;
}
.waitlist.is-done .form-msg::before,
.waitlist .joined--done:target::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.5em;
  vertical-align: 0.05em;
  background: currentColor;
  border-radius: 1px;
}

.trust {
  margin-top: var(--s-3);
  font-size: var(--step--1);
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--s-section);
  border-bottom: 1px solid var(--rule);
}
.section__head {
  display: grid;
  gap: var(--s-4);
  margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem);
}
.section__title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 96;
  font-weight: 500;
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 16em;
}
@media (min-width: 48em) {
  .section__head {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    align-items: baseline;
    gap: var(--s-5);
  }
}

/* How it works */
.steps {
  display: grid;
  gap: var(--s-6);
}
.step {
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule-strong);
}
.step__num {
  display: block;
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1;
  color: var(--accent);
}
.step__title {
  margin-top: var(--s-4);
  font-family: var(--serif);
  font-variation-settings: "opsz" 48;
  font-weight: 500;
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.step__text {
  margin-top: var(--s-3);
  color: var(--ink-2);
  max-width: 30em;
  text-wrap: pretty;
}
/* tablet: each step becomes a row (numeral column + body) instead of three narrow columns */
@media (min-width: 40em) and (max-width: 59.99em) {
  .step {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: var(--s-5);
    align-items: start;
  }
  .step__title { margin-top: 0.15em; }
  .step__text { max-width: 36em; }
}
@media (min-width: 60em) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    row-gap: 0;
    column-gap: var(--s-7);
  }
  /* numeral / title / text share rows across the three columns, so a title that
     wraps in one column pushes all three paragraphs down together — and a title
     that doesn't wrap reserves nothing */
  .step {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    align-content: start;
  }
  .step__body { display: contents; }
}

/* Who it's for */
.sides {
  display: grid;
  gap: var(--s-7);
}
@media (min-width: 48em) {
  .sides {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0;
  }
  /* label / title / list are shared rows, so both numbered lists start level
     even when one title wraps (780–900px) */
  .side {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    align-content: start;
  }
  .side:first-child {
    padding-right: clamp(2rem, 5vw, 4.5rem);
    border-right: 1px solid var(--rule-strong);
  }
  .side:last-child { padding-left: clamp(2rem, 5vw, 4.5rem); }
}
.side__label {
  display: flex;
  align-items: center;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
}
.side__label .glyph { color: var(--ink); }
.side__title {
  margin-top: var(--s-2);
  font-family: var(--serif);
  font-variation-settings: "opsz" 72;
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.side__list {
  margin-top: var(--s-5);
  display: grid;
  counter-reset: example;
}
.side__list li {
  counter-increment: example;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: baseline;
  padding-block: var(--s-3);
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  text-wrap: pretty;
}
.side__list li::before {
  content: counter(example, decimal-leading-zero);
  font-family: var(--serif);
  font-variation-settings: "opsz" 12;
  font-weight: 500;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.side__list li:last-child { border-bottom: 1px solid var(--rule); }

/* Why */
.why { background: var(--paper-2); }
.why__wrap {
  max-width: 48rem;
  text-align: center;
}
.why .kicker { justify-content: center; }
.manifesto {
  margin-top: var(--s-6);
  font-family: var(--serif);
  font-variation-settings: "opsz" 72;
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.28;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.manifesto p + p { margin-top: var(--s-5); }
.manifesto em { font-style: italic; color: var(--accent); }

/* Second CTA */
.cta { border-bottom: 0; }
.cta__wrap {
  max-width: 44rem;
  text-align: center;
  display: grid;
  justify-items: center;
}
.cta__title {
  margin-top: var(--s-4);
  font-family: var(--serif);
  font-variation-settings: "opsz" 120;
  font-weight: 500;
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.cta__lede {
  margin-top: var(--s-5);
  font-family: var(--serif);
  font-variation-settings: "opsz" 24;
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--ink);
  max-width: 26em;
  text-wrap: balance;
}
.cta__text {
  margin-top: var(--s-3);
  color: var(--ink-2);
  max-width: 30em;
  text-wrap: pretty;
}
.cta .waitlist { margin-top: var(--s-6); width: 100%; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.colophon {
  border-top: 1px solid var(--rule-strong);
  box-shadow: inset 0 3px 0 -2px var(--rule);
  padding-block: var(--s-6);
  font-size: var(--step--1);
  color: var(--ink-2);
}
.colophon__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2) var(--s-5);
}
.brand--footer .brand__name { font-size: var(--step-0); }
.colophon__note {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.colophon__attr a { color: var(--ink); font-weight: 500; }
.colophon__attr a:hover { color: var(--accent); }
@media (min-width: 40em) {
  .colophon__grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .colophon__note, .colophon__copy { text-align: right; }
  .brand--footer { margin-bottom: var(--s-2); }
}

/* --------------------------------------------------------------------------
   Scroll reveal — gated on .js-ready, which only site.js sets (not the inline
   head swap), so a blocked or failed site.js never leaves content hidden
   -------------------------------------------------------------------------- */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js-ready .reveal.no-anim { transition: none; }

@media print {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .js-ready .reveal { opacity: 1; transform: none; }
}
