/* ============================================================
   HŌN. — Design System
   A one-knife house. Echizen, Fukui.
   ============================================================ */

:root {
  /* Palette — option 02 (cream / ink / oxblood) */
  --paper: #f4f1ea;
  --paper-2: #ece8de;
  --ink: #1a1a1a;
  --ink-soft: #4a4a48;
  --ink-faint: rgba(26, 26, 26, 0.28);
  --hair: rgba(26, 26, 26, 0.16);
  --hair-strong: rgba(26, 26, 26, 0.42);
  --accent: #7a1f1f;        /* oxblood — used once per viewport, max */
  --night: #0d0c0a;          /* dark interlude */
  --night-paper: #d6cfbf;    /* on-dark text */

  /* Type */
  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Scale */
  --cap: 11px;
  --body: 17px;
  --quiet: 14px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Layout */
  --gutter: clamp(20px, 3.2vw, 48px);
  --chrome-h: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "kern", "liga";
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
  background: var(--paper);
  padding-bottom: 104px; /* reserve room so footer content clears the fixed chrome-bottom bar */
  transition: background-color 1.0s var(--ease-in-out), color 1.0s var(--ease-in-out);
}
body.is-dark {
  background: var(--night);
  color: var(--night-paper);
}
@media (pointer: coarse) {
  body { cursor: auto; }
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ============================================================
   FILM GRAIN
   ============================================================ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ============================================================
   CURSOR — hairline ring + dot
   ============================================================ */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 10000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
  mix-blend-mode: difference;
}
.cursor__ring,
.cursor__dot {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.cursor__ring {
  width: 28px; height: 28px;
  border: 1px solid #f4f1ea;
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              border-color .25s ease, opacity .25s ease;
}
.cursor__dot {
  width: 3px; height: 3px;
  background: #f4f1ea;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), opacity .25s ease;
}
.cursor.is-text .cursor__ring { width: 4px; height: 22px; border-radius: 1px; }
.cursor.is-text .cursor__dot  { opacity: 0; }
.cursor.is-link .cursor__ring { width: 56px; height: 56px; }
.cursor.is-link .cursor__dot  { width: 5px; height: 5px; }
.cursor.is-press .cursor__ring { width: 18px; height: 18px; }

@media (pointer: coarse) {
  .cursor { display: none; }
}

/* ============================================================
   3D CANVAS
   ============================================================ */
#scene {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 1;
  pointer-events: none;
}
main { position: relative; z-index: 2; }

/* ============================================================
   CHROME — top nav + bottom meta + side rails
   ============================================================ */
.chrome,
.chrome-bottom {
  position: fixed; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .6s ease;
  pointer-events: none;
}
.chrome { top: 0; }
.chrome-bottom { bottom: 0; align-items: end; }

.chrome > *,
.chrome-bottom > * { pointer-events: auto; }

.chrome__brand {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.chrome__brand .dot { color: var(--accent); }
.chrome__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.chrome__nav a {
  position: relative;
  padding-bottom: 4px;
}
.chrome__nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ink);
  transition: right .6s var(--ease-out);
}
.chrome__nav a:hover::after { right: 0; }

.chrome__meta {
  justify-self: end;
  display: flex; gap: 18px;
  color: var(--ink-soft);
}

.chrome-bottom__center {
  justify-self: center;
}
.chrome-bottom > :first-child { justify-self: start; }
.chrome-bottom > :last-child  { justify-self: end;   }

/* Section counter (right rail) */
.rail {
  position: fixed; top: 50%; transform: translateY(-50%);
  z-index: 50;
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  pointer-events: none;
  display: flex; align-items: center; gap: 12px;
}
.rail--right { right: var(--gutter); flex-direction: row-reverse; }
.rail__num { font-feature-settings: "tnum"; min-width: 3ch; text-align: right; }
.rail__line { display: inline-block; width: 56px; height: 1px; background: var(--hair-strong); }

/* Dark inversion for interlude */
body.is-dark .chrome,
body.is-dark .chrome-bottom,
body.is-dark .rail { color: var(--night-paper); }
body.is-dark .chrome__nav a::after,
body.is-dark .rail__line { background: var(--night-paper); }
body.is-dark .chrome__meta { color: rgba(214, 207, 191, 0.55); }
body.is-dark .chrome__brand { color: var(--night-paper); }
body.is-dark .colophon { background: transparent; color: var(--night-paper); border-color: rgba(214, 207, 191, 0.18); }

/* ============================================================
   STOP (a scroll-stop / viewport)
   ============================================================ */
.stop {
  position: relative;
  min-height: 100vh;
  padding: 96px var(--gutter) 96px;
  display: grid;
  align-content: stretch;
  background: transparent;
}

/* ============================================================
   TYPE PRIMITIVES
   ============================================================ */
.label {
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 14px;
}
.label::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.caption {
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Reveal mechanics — each line uses a wrapper with overflow:hidden
   and the child translates up from below.
   Animations play once .in-view is set on the parent .stop. */
.line { display: block; overflow: hidden; padding: 0.08em 0; }
.line > span {
  display: block;
  transform: translateY(102%);
  opacity: 0;
  will-change: transform, opacity;
}
.in-view .line > span {
  animation: line-in 1.1s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes line-in {
  from { transform: translateY(102%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.fade { opacity: 0; }
.in-view .fade {
  animation: fade-in 1.2s var(--ease-out) 0.25s forwards;
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.rule {
  display: block;
  height: 1px; background: var(--hair-strong);
  transform-origin: left center;
  transform: scaleX(0);
}
.in-view .rule {
  animation: rule-in 1.4s var(--ease-out) forwards;
}
@keyframes rule-in {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ============================================================
   01 — HERO
   ============================================================ */
.stop-hero {
  min-height: 100vh;
  grid-template-rows: 1fr auto;
  align-items: end;
}
.hero__display {
  align-self: end;
  padding-bottom: 8vh;
}
.hero__lead {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(140px, 24vw, 360px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  display: inline-flex;
  align-items: baseline;
}
.hero__lead .dot { color: var(--accent); margin-left: 0.02em; }
.hero__lead .glyph {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.is-ready .hero__lead .glyph {
  animation: glyph-in 1.4s var(--ease-out) forwards;
}
.is-ready .hero__lead .glyph:nth-child(1) { animation-delay: 0.20s; }
.is-ready .hero__lead .glyph:nth-child(2) { animation-delay: 0.35s; }
.is-ready .hero__lead .glyph:nth-child(3) { animation-delay: 0.50s; }
.is-ready .hero__lead .glyph:nth-child(4) { animation-delay: 0.85s; }
@keyframes glyph-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.hero__sub {
  max-width: 38ch;
  margin-top: 26px;
  font-family: var(--display);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.35;
  color: var(--ink-soft);
  font-style: italic;
}

.hero__foot {
  display: flex; justify-content: space-between; align-items: end;
  padding-bottom: 4vh;
  color: var(--ink-soft);
}
.scroll-cue {
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
}
.scroll-cue__line {
  display: inline-block; width: 48px; height: 1px; background: currentColor;
  animation: cue 2.4s ease-in-out infinite;
  transform-origin: left center;
}
@keyframes cue {
  0%, 100% { transform: scaleX(1); opacity: 0.6; }
  50%      { transform: scaleX(0.4); opacity: 1; }
}

/* ============================================================
   02 — MANIFESTO
   ============================================================ */
.stop-manifesto {
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 48px;
  min-height: 110vh;
}
.manifesto__label { grid-column: 1 / 2; }
.manifesto__body {
  grid-column: 1 / 2;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 14ch;
}
.manifesto__body em {
  font-style: italic;
  color: var(--accent);
}
.manifesto__aside {
  grid-column: 2 / 3;
  align-self: end;
  justify-self: end;
  max-width: 28ch;
  font-family: var(--mono);
  font-size: var(--cap);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ============================================================
   03 — STEEL (dark interlude)
   ============================================================ */
.stop-steel {
  min-height: 110vh;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 48px;
  align-items: stretch;
}
body.is-dark .stop-steel { color: var(--night-paper); }
.steel__head {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: end;
  color: rgba(214, 207, 191, 0.65);
}
.steel__title {
  grid-column: 1 / 2;
  align-self: end;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(64px, 8.4vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.steel__title .accent { color: var(--accent); }
.steel__title small {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 28px;
}
body.is-dark .steel__title small { color: rgba(214, 207, 191, 0.5); }
.steel__body {
  grid-column: 2 / 3;
  align-self: end;
  max-width: 36ch;
  justify-self: end;
}
.steel__body p {
  font-family: var(--display);
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.45;
  color: inherit;
}
.steel__body .caption { color: var(--ink-soft); margin-top: 24px; display: block; }
body.is-dark .steel__body .caption { color: rgba(214, 207, 191, 0.55); }


/* ============================================================
   04 — GEOMETRY (technical)
   ============================================================ */
.stop-geometry {
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 48px;
  min-height: 110vh;
}
.geometry__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; }
.geometry__body {
  grid-column: 1 / 2;
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 76px);
  line-height: 1.08;
  max-width: 16ch;
  letter-spacing: -0.012em;
}
.geometry__body em { font-style: italic; color: var(--accent); }
.geometry__specs {
  grid-column: 2 / 3;
  align-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 20px;
  max-width: 480px;
  margin-left: auto;
}
.spec {
  border-top: 1px solid var(--hair-strong);
  padding-top: 12px;
}
.spec__k {
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 8px;
}
.spec__v {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
}
.spec__v small {
  font-family: var(--mono); font-size: var(--cap); color: var(--ink-soft);
  margin-left: 6px; letter-spacing: 0.12em;
}

/* ============================================================
   05 — MAKER
   ============================================================ */
.stop-maker {
  grid-template-columns: 1fr 1fr 1fr;
  align-content: center;
  gap: 48px;
  min-height: 110vh;
}
.maker__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; }
.maker__body {
  grid-column: 2 / 4;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.4;
  max-width: 30ch;
  color: var(--ink);
}
.maker__body .name {
  font-style: normal;
  font-family: var(--display);
  display: block;
  font-size: 1.05em;
  margin-bottom: 0.4em;
  color: var(--ink);
}

/* ============================================================
   06 — EDGE
   ============================================================ */
.stop-edge {
  align-content: center;
  text-align: center;
  min-height: 110vh;
  background: transparent;
}
.edge__head { display: flex; justify-content: space-between; }
.edge__quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 4.2vw, 68px);
  line-height: 1.2;
  max-width: 32ch;
  margin: 14vh auto 0;
  letter-spacing: -0.012em;
}
.edge__quote::before, .edge__quote::after {
  content: "“";
  font-family: var(--display);
  font-style: normal;
  color: var(--accent);
  margin-right: 0.15em;
  vertical-align: -0.1em;
}
.edge__quote::after { content: "”"; margin: 0 0 0 0.05em; }
.edge__attr {
  display: block;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   07 — THE OBJECT
   ============================================================ */
.stop-object {
  grid-template-columns: 1fr 1fr;
  align-content: stretch;
  min-height: 120vh;
  gap: 48px;
}
.object__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; }
.object__title {
  grid-column: 1 / 2;
  align-self: end;
  font-family: var(--display);
  font-size: clamp(64px, 8.6vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.object__title em { font-style: italic; color: var(--accent); }
.object__title small {
  display: block;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.object__sheet {
  grid-column: 2 / 3;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 420px;
}
.object__sheet h4 {
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-strong);
}
.sheet__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.sheet__row:last-child { border-bottom: 0; }
.sheet__k {
  font-family: var(--mono);
  font-size: var(--cap);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.sheet__v {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.3;
}

/* ============================================================
   08 — INQUIRY
   ============================================================ */
.stop-inquiry {
  grid-template-columns: 1fr 1fr;
  align-content: center;
  min-height: 110vh;
  gap: 48px;
}
.inquiry__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; }
.inquiry__body {
  grid-column: 1 / 2;
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  max-width: 18ch;
}
.inquiry__body em { font-style: italic; color: var(--accent); }
.inquiry__form {
  grid-column: 2 / 3;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 440px;
}
.inquiry__form-row {
  position: relative;
  border-bottom: 1px solid var(--hair-strong);
  padding: 14px 0;
  display: flex; align-items: center; gap: 16px;
}
.inquiry__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  caret-color: var(--accent);
  padding: 4px 0;
  cursor: none;
}
.inquiry__form input::placeholder {
  color: var(--ink-faint);
  font-style: italic;
}
.inquiry__form button {
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--hair-strong);
  background: transparent;
  color: var(--ink);
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.inquiry__form button:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.inquiry__edition {
  margin-top: 32px;
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px solid var(--hair);
  padding-top: 18px;
}
.inquiry__edition strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   COLOPHON (final tiny line)
   ============================================================ */
.colophon {
  padding: 48px var(--gutter) 28px;
  display: flex; flex-wrap: wrap; gap: 14px 32px;
  justify-content: space-between; align-items: end;
  font-family: var(--mono);
  font-size: var(--cap);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  position: relative; z-index: 2;
  border-top: 1px solid var(--hair);
  margin-top: 0;
}

/* ============================================================
   READABILITY VEIL
   The information blocks sit over the live 3D board; as the
   board moves, copy can lose contrast. Each content section
   carries a soft, feathered paper wash behind its text — the
   board still reads through it, the words stay legible. A slow
   ambient drift keeps it alive rather than a flat panel.
   ============================================================ */
.stop-manifesto, .stop-geometry, .stop-maker,
.stop-edge, .stop-object, .stop-inquiry, .stop-steel { isolation: isolate; }

.stop-manifesto::before, .stop-geometry::before, .stop-maker::before,
.stop-edge::before, .stop-object::before, .stop-inquiry::before,
.stop-steel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(140% 85% at 50% 47%,
              var(--paper) 0%, var(--paper) 50%, transparent 88%);
  opacity: 0.62;
  animation: veil-drift 34s var(--ease-in-out) infinite alternate;
}
body.is-dark .stop-steel::before {
  background: radial-gradient(140% 85% at 50% 47%,
              var(--night) 0%, var(--night) 50%, transparent 88%);
}
@keyframes veil-drift {
  from { transform: scale(1);    background-position: 46% 44%; }
  to   { transform: scale(1.05); background-position: 54% 54%; }
}
@media (prefers-reduced-motion: reduce) {
  .stop-manifesto::before, .stop-geometry::before, .stop-maker::before,
  .stop-edge::before, .stop-object::before, .stop-inquiry::before,
  .stop-steel::before { animation: none; }
}

/* responsive — narrow */
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .stop-manifesto,
  .stop-geometry,
  .stop-object,
  .stop-inquiry,
  .stop-steel { grid-template-columns: 1fr; }
  .stop-maker { grid-template-columns: 1fr; }
  /* Mobile collapse: the section grids drop to one column above, but each
     child still carries its desktop grid-column (e.g. .inquiry__form at
     2/3) — which spawns a phantom 2nd column and overflows both edges.
     Reset every section child to the single column. */
  .stop-manifesto > *, .stop-geometry > *, .stop-object > *,
  .stop-inquiry > *, .stop-steel > *, .stop-maker > * {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .inquiry__form input { min-width: 0; }
  .object__sheet, .inquiry__form, .manifesto__aside { justify-self: start; max-width: 100%; }
  .geometry__specs { margin-left: 0; }
  .chrome__meta { display: none; }
  .chrome-bottom { font-size: 10px; padding: 12px var(--gutter); }
  .chrome-bottom__center { display: none; }
  .chrome__nav { gap: 18px; }
  .colophon { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 8px; }
  /* On portrait phones the hero is tall — pull the giant ONE up so the
     board (rendered behind it via canvas) has room to breathe below */
  .hero__display { padding-bottom: 4vh; }
  .hero__lead { font-size: clamp(110px, 28vw, 220px); }
  .hero__sub { font-size: 18px; max-width: 32ch; }
}

/* Touch devices: hide the custom cursor entirely, restore native */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none !important; }
  input, button { cursor: auto; }
}
