/* Day 2: Nothing happens without your yes.
   Own art direction: a workshop bench, one lamp, a ring of four lights, a drawer,
   and a presence that waits. Paper slips on dark wood.
   Colours, type, spacing, radii and motion come from the House design values.
   Every value has a fallback so the piece also mounts inside the lesson adapter. */

.hp {
  --night: var(--house-color-ground-night, #050308);
  --ink: var(--house-color-text-ink, #e9edf2);
  --ink-2: var(--house-color-text-secondary, #e9edf2c2);
  --ink-3: var(--house-color-text-tertiary, #e9edf28f);
  --gold-light: var(--house-color-gold-light, #fff3d6);
  --gold-hi: var(--house-color-gold-hi, #f3d9a0);
  --gold: var(--house-color-gold-base, #e6cf9a);
  --gold-mid: var(--house-color-gold-mid, #d9b46a);
  --gold-deep: var(--house-color-gold-deep, #b08a45);
  --ice: var(--house-color-scene-ice, #8fcfff);
  --paper: var(--house-color-dawn-paper, #f6f1e7);
  --paper-deep: var(--house-color-dawn-paper-deep, #efe6d3);
  --paper-ink: var(--house-color-dawn-ink, #16101e);
  --paper-gold: var(--house-color-dawn-gold-deep, #7a5a1c);
  --line: var(--house-color-line-quiet, rgba(255,255,255,.1));
  --line-2: var(--house-color-line-strong, rgba(255,255,255,.18));
  --font-display: Satoshi, Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r-s: var(--house-radius-s, 10px);
  --r-m: var(--house-radius-m, 16px);
  --r-l: var(--house-radius-l, 20px);
  --r-pill: var(--house-radius-pill, 999px);
  --s-1: var(--house-space-1, 4px);
  --s-2: var(--house-space-2, 8px);
  --s-3: var(--house-space-3, 12px);
  --s-4: var(--house-space-4, 16px);
  --s-5: var(--house-space-5, 24px);
  --s-6: var(--house-space-6, 32px);
  --s-7: var(--house-space-7, 48px);
  --ease: var(--house-motion-easing-standard, cubic-bezier(.2,.6,.2,1));
  --silk: var(--house-motion-easing-silk, cubic-bezier(.25,1,.5,1));
  --dur: var(--house-motion-duration-base, 420ms);
  --focus: var(--gold-light);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #03080a;
  color: var(--ink, #e9edf2);
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  -webkit-text-size-adjust: 100%;
}

body { min-height: 100vh; }

[hidden] { display: none !important; }

.hp {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow-x: clip;
  background: #03080a;
}

.hp-layer { min-height: 0; background: transparent; }

/* ---- the workshop ------------------------------------------------------------------------------------ */

.scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.room {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 16%, #0d2a20 0%, #071712 44%, #03080a 100%);
}

.cool {
  position: absolute;
  left: -12%;
  top: 8%;
  width: 64%;
  height: 74%;
  background: radial-gradient(ellipse at 40% 45%, rgba(30, 224, 255, .36) 0%, rgba(120, 214, 255, .22) 38%, transparent 72%);
  filter: blur(30px);
}

.lamp {
  position: absolute;
  left: 50%;
  top: 3%;
  width: 2px;
  height: 0;
  z-index: 3;
}

.lamp-bulb {
  position: absolute;
  left: -9px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #fff3d6 34%, #d9b46a 72%, #8f6d31);
  box-shadow: 0 0 30px rgba(243, 217, 160, .95), 0 0 120px rgba(243, 217, 160, .42);
  animation: breathe 8s ease-in-out infinite;
}

.lamp-cone {
  position: absolute;
  left: -150px;
  top: 16px;
  width: 300px;
  height: 280px;
  background: linear-gradient(180deg, rgba(243, 217, 160, .26), rgba(243, 217, 160, .05) 70%, transparent);
  clip-path: polygon(46% 0%, 54% 0%, 100% 100%, 0% 100%);
  filter: blur(9px);
}

.lamp-pool {
  position: absolute;
  left: -320px;
  top: 300px;
  width: 640px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(243, 217, 160, .44) 0%, rgba(243, 217, 160, .16) 40%, transparent 70%);
  filter: blur(22px);
  animation: pool 9s ease-in-out infinite;
}

/* The ice rim on the bench light. Saturated cyan against the gold pool,
   so the workshop has both temperatures and the frame keeps its colour. */
.lamp-rim {
  position: absolute;
  left: -300px;
  top: 318px;
  width: 600px;
  height: 250px;
  border-radius: 50%;
  border: 2px solid rgba(58, 226, 255, .62);
  box-shadow: 0 0 36px rgba(40, 214, 255, .42), inset 0 0 30px rgba(40, 214, 255, .3);
  filter: blur(1.5px);
  opacity: .9;
  animation: rim 11s ease-in-out infinite;
}

.cool-b {
  left: auto;
  right: -14%;
  top: 24%;
  width: 54%;
  height: 64%;
  background: radial-gradient(ellipse at 60% 45%, rgba(30, 224, 255, .34) 0%, rgba(120, 214, 255, .2) 40%, transparent 72%);
}

.eye {
  position: absolute;
  left: 73%;
  top: 14%;
  width: 120px;
  height: 64px;
  z-index: 2;
  transform: translateX(-50%);
}

.eye::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(80, 225, 255, .82);
  box-shadow: 0 0 34px rgba(40, 214, 255, .5), inset 0 0 24px rgba(40, 214, 255, .2);
}

.eye::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #fff3d6 34%, #d9b46a 74%);
  box-shadow: 0 0 30px rgba(243, 217, 160, .85);
  animation: breathe 7s ease-in-out infinite;
}

.ring {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(680px, 88vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(243, 217, 160, .26);
  z-index: 3;
}

.ring-orbit {
  position: absolute;
  inset: 0;
  transition: transform 600ms var(--ease);
}

.ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(100, 235, 255, .2);
}

.ring-point {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 4px rgba(3, 8, 10, .85);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.ring-point.is-lit {
  background: var(--gold-hi);
  box-shadow: 0 0 16px rgba(243, 217, 160, .95), 0 0 0 4px rgba(3, 8, 10, .85);
}

.ring-point.p-top { display: none; }
.ring-point.p-right { right: -3px; top: 50%; margin-top: -3.5px; }
.ring-point.p-bottom { left: 50%; bottom: -3px; margin-left: -3.5px; }
.ring-point.p-left { left: -3px; top: 50%; margin-top: -3.5px; }

/* The ring keeps its four points and closes at the end. Its tiny stage words
   were removed in round 2: at desktop the paper card sits over them, so they
   read as broken text, and the loop's four words are printed on the watch card. */

.ring.is-closed { border-color: rgba(243, 217, 160, .5); }

.bench {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  z-index: 2;
  background: linear-gradient(180deg, #0c1f18 0%, #07120e 44%, #030907 100%);
  box-shadow: inset 0 1px 0 rgba(243, 217, 160, .18);
}

.bench::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(217, 180, 106, .48) 0%, rgba(217, 180, 106, .14) 40%, transparent 70%);
  mix-blend-mode: screen;
}

.bench::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 78px, rgba(0, 0, 0, .16) 78px 80px);
  opacity: .5;
}

/* Where the lamp pool meets the bench edge: a saturated ice rim. */
.bench-rim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34%;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(68, 232, 255, .85) 12%, rgba(180, 250, 255, .95) 50%, rgba(68, 232, 255, .85) 88%, transparent);
  box-shadow: 0 0 26px 2px rgba(40, 214, 255, .7), 0 -14px 50px rgba(40, 214, 255, .3);
}

.drawer {
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: min(260px, 60vw);
  height: 64px;
  transform: translateX(-50%);
  z-index: 3;
  border: 1px solid rgba(243, 217, 160, .25);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #0a1812, #040c09);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color 600ms var(--ease), box-shadow 600ms var(--ease);
}

.drawer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 26px;
  height: 4px;
  margin-left: -13px;
  border-radius: 2px;
  background: var(--gold-mid);
  box-shadow: 0 0 8px rgba(243, 217, 160, .5);
}

.drawer-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243, 217, 160, .55), transparent 62%);
  opacity: 0;
  transition: opacity 600ms var(--ease);
}

.drawer-shape {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 40px;
  height: 30px;
  margin-left: -20px;
  border-radius: 50% 50% 40% 40%;
  background: rgba(1, 3, 3, .92);
  opacity: 0;
  transition: opacity 600ms var(--ease);
}

.drawer[data-open="true"] {
  border-color: rgba(243, 217, 160, .65);
  box-shadow: 0 0 44px -10px rgba(243, 217, 160, .55);
}

.drawer[data-open="true"] .drawer-glow,
.drawer[data-open="true"] .drawer-shape { opacity: 1; }

.mark {
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: 130px;
  height: 32px;
  margin-left: 84px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(1, 3, 3, .92), transparent 70%);
  opacity: 0;
  z-index: 3;
  transition: opacity 600ms var(--ease);
}

.mark.is-on { opacity: 1; }

.thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}

.thread.is-on { opacity: 1; }

.thread path {
  fill: none;
  stroke: var(--gold-hi);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 4px rgba(243, 217, 160, .8));
}

.thread.is-on path { animation: draw 1.8s var(--ease) forwards; }

.lock {
  position: fixed;
  z-index: 8;
  width: 22px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid var(--gold-hi);
  background: linear-gradient(180deg, #fff3d6, #d9b46a);
  box-shadow: 0 0 22px rgba(243, 217, 160, .9);
  pointer-events: none;
}

.lock::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #5a3f12;
}

.lock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  background: #5a3f12;
}

.drawer.is-pulsing { box-shadow: 0 0 60px -8px rgba(243, 217, 160, .8); }

/* ---- the frame --------------------------------------------------------------------------------------- */

.hd {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--s-4) var(--s-5) 0;
}

.back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-1);
  color: var(--ink-2);
  font: 500 13px/1 var(--font-body);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.back:hover { color: var(--gold-hi); }
.back-arrow { color: var(--gold-hi); font-size: 16px; }

.mark-brand {
  display: none;
  margin: 0;
  font: 600 11px/1 var(--font-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.day {
  grid-column: 3;
  justify-self: end;
  margin: 0;
  font: 600 11px/1.3 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-align: right;
  white-space: nowrap;
}

.main {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  flex: 1;
}

.hero {
  padding-top: clamp(14px, 4vh, 40px);
  animation: rise .9s var(--silk) both;
}

.kicker {
  margin: 0 0 var(--s-3);
  font: 600 11px/1 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.title {
  margin: 0;
  max-width: 16ch;
  font: 700 clamp(36px, 5.8vw, 68px)/1.04 var(--font-display);
  letter-spacing: -.035em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 34px rgba(3, 8, 10, .7);
}

.promise {
  margin: var(--s-3) 0 0;
  max-width: 42ch;
  font: 400 clamp(16px, 1.8vw, 19px)/1.55 var(--font-body);
  color: var(--ink-2);
  text-wrap: pretty;
}

.stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 1.1s var(--silk) both;
  animation-delay: .08s;
}

.foot {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--s-1) var(--s-5) var(--s-5);
  font: 400 12px/1.5 var(--font-body);
  color: var(--ink-3);
}

.foot-care { color: var(--ink-2); }

/* ---- buttons ----------------------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 46px;
  padding: 0 var(--s-5);
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: rgba(8, 14, 12, .78);
  color: var(--ink);
  font: 500 15px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--silk);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  border-color: rgba(255, 243, 214, .45);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.btn.primary {
  border-color: rgba(243, 217, 160, .62);
  background: linear-gradient(180deg, rgba(243, 217, 160, .18) 0%, rgba(243, 217, 160, .05) 100%);
  box-shadow: 0 0 34px -12px rgba(243, 217, 160, .65), inset 0 1px 0 rgba(255, 255, 255, .22);
  color: var(--gold-light);
  font-weight: 600;
}

.btn.primary:hover {
  border-color: rgba(255, 243, 214, .9);
  box-shadow: 0 0 48px -12px rgba(243, 217, 160, .8), inset 0 1px 0 rgba(255, 255, 255, .28);
  color: #fff;
}

.btn[disabled] { opacity: .42; cursor: default; transform: none; }

.text-btn {
  min-height: 44px;
  padding: 0 var(--s-2);
  border: 0;
  background: none;
  color: var(--ink-3);
  font: 500 13px/1 var(--font-body);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, .18);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.text-btn:hover { color: var(--gold-hi); }
.text-btn[disabled] { opacity: .35; cursor: default; }

.btn:focus-visible,
.text-btn:focus-visible,
.back:focus-visible,
.choice:focus-visible,
.chip:focus-visible,
.never-input:focus-visible,
.slip-light:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* ---- paper ------------------------------------------------------------------------------------------- */

.paper-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  padding: clamp(20px, 3.6vw, 32px);
  border-radius: 4px;
  background:
    radial-gradient(140% 72% at 50% 0%, rgba(217, 180, 106, .5) 0%, rgba(217, 180, 106, .16) 46%, transparent 66%),
    repeating-linear-gradient(0deg, rgba(22, 16, 30, .018) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  color: var(--paper-ink);
  box-shadow: 0 40px 80px -40px #000, 0 0 70px -30px rgba(243, 217, 160, .32);
  animation: settle .7s var(--silk) both;
}

.paper-card::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 134, 47, .75), transparent);
}

.paper-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(225deg, transparent 48%, rgba(22, 16, 30, .08) 50%);
  pointer-events: none;
}

.paper-card .btn {
  border-color: rgba(22, 16, 30, .22);
  background: rgba(22, 16, 30, .06);
  color: var(--paper-ink);
  backdrop-filter: none;
}

.paper-card .btn:hover {
  border-color: rgba(122, 90, 28, .6);
  background: rgba(122, 90, 28, .1);
  color: var(--paper-ink);
}

.paper-card .btn.primary {
  border-color: rgba(122, 90, 28, .55);
  background: linear-gradient(180deg, rgba(184, 134, 47, .18) 0%, rgba(184, 134, 47, .06) 100%);
  color: #3a2a10;
  box-shadow: 0 0 30px -12px rgba(184, 134, 47, .5), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.paper-card .text-btn { color: rgba(22, 16, 30, .62); text-decoration-color: rgba(22, 16, 30, .24); }
.paper-card .text-btn:hover { color: var(--paper-ink); }

.paper-kicker {
  margin: 0 0 var(--s-2);
  font: 600 11px/1 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper-gold);
}

.paper-title {
  margin: 0;
  font: 700 clamp(24px, 3.6vw, 34px)/1.1 var(--font-display);
  letter-spacing: -.03em;
  color: var(--paper-ink);
  text-wrap: balance;
}

.paper-body {
  margin: var(--s-3) 0 0;
  font: 400 15.5px/1.55 var(--font-body);
  color: rgba(22, 16, 30, .8);
  max-width: 54ch;
  text-wrap: pretty;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

/* ---- intro ------------------------------------------------------------------------------------------- */

.intro-card .paper-body { font-size: 16.5px; }

.hint {
  margin: var(--s-3) 0 0;
  max-width: 52ch;
  font: 400 13px/1.6 var(--font-body);
  color: rgba(22, 16, 30, .62);
}

/* ---- the proposal slip ------------------------------------------------------------------------------- */

.slip-card {
  max-width: 640px;
  transition: transform 600ms var(--ease), box-shadow 600ms var(--ease), filter 600ms var(--ease);
}

.slip-card[data-state="safe"] {
  box-shadow: 0 40px 80px -40px #000, 0 0 90px -20px rgba(243, 217, 160, .5);
}

.slip-card[data-state="unsafe"] {
  transform: rotate(-1.1deg);
  filter: saturate(.55) brightness(.78);
  box-shadow: 0 40px 80px -40px #000, 0 0 70px -22px rgba(143, 207, 255, .5);
}

.slip-card[data-state="ask"] {
  transform: rotateY(6deg) rotate(-.4deg);
  box-shadow: 0 40px 80px -40px #000, 0 0 80px -24px rgba(143, 207, 255, .45);
}

.slip-card[data-state="locked"] {
  animation: lock-away .7s var(--ease) both;
}

.slip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.slip-label {
  margin: 0;
  font: 500 10px/1.3 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper-gold);
}

.slip-lights {
  display: flex;
  gap: 5px;
  align-items: center;
}

.slip-light {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(22, 16, 30, .16);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.slip-light[data-state="lit"] {
  background: var(--paper-gold);
  box-shadow: 0 0 0 1px rgba(122, 90, 28, .2);
}

.slip-light[data-state="now"] {
  background: rgba(122, 90, 28, .5);
  box-shadow: 0 0 0 1px rgba(122, 90, 28, .35);
}

.slip-text {
  margin: 0;
  font: 500 clamp(21px, 3vw, 30px)/1.32 var(--font-display);
  letter-spacing: -.012em;
  color: var(--paper-ink);
  text-wrap: pretty;
}

.slip-fold {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(315deg, transparent 48%, rgba(22, 16, 30, .1) 50%);
  opacity: 0;
  transition: opacity 600ms var(--ease);
}

.slip-card[data-state="ask"] .slip-fold { opacity: 1; }

.slip-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.choice {
  min-height: 50px;
  padding: 0 var(--s-5);
  border-radius: var(--r-pill);
  border: 1px solid rgba(243, 217, 160, .45);
  background: rgba(6, 12, 10, .82);
  color: var(--ink);
  font: 500 15px/1 var(--font-body);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}

.choice:hover {
  border-color: rgba(255, 243, 214, .8);
  background: rgba(243, 217, 160, .08);
  color: #fff;
}

.choice[data-choice="ask"] { border-color: rgba(143, 207, 255, .4); }
.choice[data-choice="ask"]:hover { border-color: rgba(143, 207, 255, .85); background: rgba(143, 207, 255, .08); }
.choice[disabled] { cursor: default; opacity: .48; }
.choice.is-picked {
  border-color: rgba(255, 243, 214, .9);
  background: rgba(243, 217, 160, .12);
  color: var(--gold-light);
  box-shadow: 0 0 26px -12px rgba(243, 217, 160, .7);
}

.bench-note {
  min-height: 24px;
  margin: var(--s-4) auto 0;
  max-width: 54ch;
  text-align: center;
  font: 400 14px/1.5 var(--font-body);
  color: var(--ink-2);
  text-wrap: pretty;
}

.bench-note[data-tone="good"] { color: var(--gold-hi); }
.bench-note[data-tone="wait"] { color: var(--ice); }

.bench-why {
  margin: var(--s-2) auto 0;
  max-width: 52ch;
  text-align: center;
  font: 400 13.5px/1.55 var(--font-body);
  color: var(--ink-3);
}

.advance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

/* ---- never paste ------------------------------------------------------------------------------------- */

.never-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.never-input {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--s-4);
  border-radius: var(--r-s);
  border: 1px solid rgba(122, 90, 28, .4);
  background: rgba(255, 255, 255, .55);
  color: var(--paper-ink);
  font: 400 16px/1.4 var(--font-body);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.never-input::placeholder { color: rgba(22, 16, 30, .45); }
.never-input:focus { border-color: rgba(122, 90, 28, .8); box-shadow: 0 0 22px -12px rgba(122, 90, 28, .6); }

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.chip {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--r-s);
  border: 1px solid rgba(22, 16, 30, .18);
  background: rgba(22, 16, 30, .04);
  color: var(--paper-ink);
  font: 400 13px/1.35 var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.chip:hover { border-color: rgba(122, 90, 28, .5); background: rgba(122, 90, 28, .08); }

/* ---- the watch card ---------------------------------------------------------------------------------- */

.watch-card { max-width: 660px; }

.watch-section {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(22, 16, 30, .12);
}

.watch-section h3 {
  margin: 0 0 var(--s-2);
  font: 600 11px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper-gold);
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.checks li {
  position: relative;
  padding-left: 18px;
  font: 400 15px/1.45 var(--font-body);
  color: rgba(22, 16, 30, .86);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper-gold);
}

.never-line {
  margin: 0;
  font: 500 clamp(17px, 2.2vw, 21px)/1.35 var(--font-display);
  color: var(--paper-ink);
}

.loop-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.loop-row span {
  padding: 6px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(122, 90, 28, .28);
  background: rgba(122, 90, 28, .06);
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .06em;
  color: var(--paper-gold);
}

.rule-line {
  margin: 0;
  font: 400 14.5px/1.55 var(--font-body);
  color: rgba(22, 16, 30, .82);
  text-wrap: pretty;
}

.watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

/* ---- screen reader ----------------------------------------------------------------------------------- */

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

.copy-sink {
  position: absolute;
  left: -9999px;
  top: 0;
  opacity: 0;
}

/* ---- the layer mount --------------------------------------------------------------------------------- */

.hp-layer .main { max-width: none; padding: 0; gap: 0; }
.hp-layer .hero { display: none; }
.hp-layer .stage { animation: none; }
.hp-layer .paper-card {
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  animation: none;
}
.hp-layer .paper-card::before,
.hp-layer .paper-card::after { display: none; }
.hp-layer .slip-card { color: var(--ink); }
.hp-layer .slip-text { color: #fff; }
.hp-layer .slip-label { color: var(--gold-hi); }
.hp-layer .bench-note { margin-top: var(--s-3); }
.hp-layer .watch-card { color: var(--ink); }

/* ---- narrow ------------------------------------------------------------------------------------------ */

@media (max-width: 720px) {
  .mark-brand { display: none; }
  .hd { grid-template-columns: 1fr 1fr; padding: var(--s-3) var(--s-4) 0; }
  .day { grid-column: 2; font-size: 10px; letter-spacing: .1em; }
  .main { padding: 0 var(--s-4) var(--s-5); gap: var(--s-4); }
  .hero { padding-top: var(--s-3); }
  .title { font-size: clamp(32px, 9.6vw, 46px); max-width: 12ch; }
  .promise { font-size: 15.5px; }
  .paper-card { padding: var(--s-4); }
  .eye { left: 82%; top: 7%; width: 76px; height: 42px; opacity: .7; }
  .eye::after { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
  .ring { width: min(360px, 92vw); top: 62%; }
  .ring-point.p-left, .ring-point.p-right { display: none; }
  .lamp-pool { top: 200px; }
  .lamp-rim { left: -240px; top: 218px; width: 480px; height: 200px; }
  .drawer { bottom: 1%; height: 54px; }
  .mark { margin-left: 52px; bottom: 9%; }
  .choice { padding: 0 var(--s-4); font-size: 14px; }
  .slip-actions { gap: var(--s-2); }
  .foot { padding-bottom: var(--s-4); font-size: 11.5px; }
  .paper-title { font-size: clamp(23px, 7vw, 30px); }
}

/* ---- motion ------------------------------------------------------------------------------------------ */

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

@keyframes settle {
  from { opacity: 0; transform: translateY(10px) rotate(-.3deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes breathe {
  0%, 100% { opacity: .72; transform: scale(.98); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes pool {
  0%, 100% { opacity: .8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes rim {
  0%, 100% { opacity: .78; transform: scale(.99); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes lock-away {
  0% { opacity: 1; transform: scale(1) rotate(-1.1deg); }
  100% { opacity: .35; transform: scale(.94) rotate(-2deg) translateY(8px); }
}

.hp[data-reduced="true"] *,
.hp[data-reduced="true"] *::before,
.hp[data-reduced="true"] *::after {
  animation: none !important;
  transition-duration: 400ms !important;
  transition-property: opacity, background-color, border-color, color, box-shadow, transform !important;
}

.hp[data-reduced="true"] .thread path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .hp *, .hp *::before, .hp *::after {
    animation: none !important;
    transition-duration: 400ms !important;
    transition-property: opacity, background-color, border-color, color, box-shadow, transform !important;
  }
  .hp .thread path { stroke-dashoffset: 0; }
}
