/* ===== uncanny layer · mockup only =====
   --d  : dread, 0 at the top of the patterns section → 1 at the end of the footer
   Everything above the patterns section renders exactly like the real page. */
:root { --d: 0; }

/* ---- fixed atmosphere ---- */
#u-rot, #u-vig, #u-grain, #u-flash {
  position: fixed; inset: 0; pointer-events: none; z-index: 3900;
}
#u-rot { background: #3a0f0a; mix-blend-mode: multiply; opacity: calc(var(--d) * 0.62); }
#u-vig {
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 38%, rgba(0,0,0,0.92) 100%);
  opacity: calc(var(--d) * var(--d) * 0.95);
}
#u-grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: calc(var(--d) * 0.34);
  mix-blend-mode: overlay;
  animation: uGrain 0.9s steps(6) infinite;
}
@keyframes uGrain {
  0% { background-position: 0 0; } 20% { background-position: -22px 14px; }
  40% { background-position: 18px -30px; } 60% { background-position: -34px -12px; }
  80% { background-position: 26px 28px; } 100% { background-position: 0 0; }
}
#u-flash { background: #000; opacity: 0; z-index: 4150; }

/* ---- sections sour as dread rises ---- */
.u-sec { filter: saturate(calc(1 - var(--d) * 0.75)) contrast(calc(1 + var(--d) * 0.22)); }
.features.u-sec { transform: rotate(calc(var(--d) * -0.35deg)); }
.about.u-sec    { transform: rotate(calc(var(--d) * 0.55deg)); }
.cta.u-sec      { transform: rotate(calc(var(--d) * -0.8deg)) scale(1.02); }
.footer.u-sec   { transform: skewX(calc(var(--d) * -1.1deg)); }
.u-breathe { animation: uBreathe 7s ease-in-out infinite; transform-origin: 30% 60%; }
@keyframes uBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.012) skewX(-0.4deg); } }
#featuresCanvas { transition: filter 6s ease; }
#featuresCanvas.u-red { filter: hue-rotate(-155deg) saturate(3.2) brightness(0.95); }

.u-caret {
  display: inline-block; width: 0.08em; min-width: 2px; height: 0.95em; margin: 0 1px -0.1em;
  background: currentColor; animation: uBlink 0.7s steps(1) infinite; vertical-align: baseline;
}
@keyframes uBlink { 50% { opacity: 0; } }
.u-blink { animation: uSwap 0.5s steps(2) 1; }
@keyframes uSwap { 0% { opacity: 0.1; } 50% { opacity: 1; } 75% { opacity: 0.2; } 100% { opacity: 1; } }
/* the fast rewrite: the line tears sideways in two colors and lands. fired by scroll, so a fast reader still sees it */
.u-tear { animation: uTear 0.38s steps(4) 1; }
@keyframes uTear {
  0%   { transform: translateX(-4px) skewX(-6deg); text-shadow: 3px 0 rgba(255,59,47,0.85), -3px 0 rgba(76,195,255,0.75); clip-path: inset(0 0 45% 0); }
  35%  { transform: translateX(5px);               text-shadow: -4px 0 rgba(255,59,47,0.85), 4px 0 rgba(76,195,255,0.75); clip-path: inset(30% 0 0 0); }
  70%  { transform: translateX(-2px) skewX(3deg);  text-shadow: 2px 0 rgba(255,59,47,0.6), -2px 0 rgba(76,195,255,0.5); clip-path: inset(0 0 10% 0); opacity: 0.6; }
  100% { transform: none; text-shadow: none; clip-path: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .u-tear { animation: uSwap 0.5s steps(2) 1; } }

.process-acc-item.u-five { display: none; }
.process-acc-item.u-five.u-show { display: block; }
.process-acc-item.u-five .process-acc-num { color: #9c2b22; }
.footer-marquee-text.u-mirror { display: inline-block; transform: scaleX(-1); }
.cta-big-btn { transition: translate 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), color 0.35s; }

/* ---- the second cursor ---- */
#u-follower {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(214,58,44,0.9); pointer-events: none; z-index: 3999;
  opacity: 0; transition: opacity 2.5s ease;
}
#u-follower::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px;
  border-radius: 50%; background: rgba(214,58,44,0.9);
}
@media (hover: none), (pointer: coarse) { #u-follower { display: none; } }

/* ---- below the footer ---- */
#u-below { position: relative; background: #050505; color: #ECE9E2; overflow: clip; }
body.u-under .navbar { opacity: 0; pointer-events: none; }
body.u-under .page-progress span { background: #b3261c; }
.u-gap { min-height: 190vh; display: flex; flex-direction: column; justify-content: space-around; align-items: center; padding: 30vh 24px; }
.u-line {
  font-family: 'Roboto Mono', monospace; font-size: 13px; letter-spacing: 0.08em; color: rgba(236,233,226,0.72);
  opacity: 0; transition: opacity 2.2s ease; text-align: center; max-width: 34ch; line-height: 1.7;
}
.u-line.u-on { opacity: 1; }
.u-line b { font-weight: 400; color: #d63a2c; }

.u-hero2 { filter: invert(1) hue-rotate(180deg) contrast(1.08); }
.u-hero2 .hero-word-slot { transition: opacity 0.5s; }

.u-fall { position: relative; height: 760vh; }
.u-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#u-tunnel { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.u-say {
  position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; padding: 0 24px;
  font-family: 'Roboto Mono', monospace; font-size: 15px; letter-spacing: 0.1em; color: rgba(236,233,226,0.92);
  transition: opacity 1.2s ease; opacity: 0;
}
.u-say.u-on { opacity: 1; }

body.u-shake { animation: uShake 0.24s linear 1; }
@keyframes uShake {
  0% { transform: translate(0,0); } 20% { transform: translate(-14px,9px); } 40% { transform: translate(12px,-11px); }
  60% { transform: translate(-9px,-6px); } 80% { transform: translate(8px,10px); } 100% { transform: translate(0,0); }
}

@media (prefers-reduced-motion: reduce) {
  #u-grain, .u-breathe, body.u-shake { animation: none !important; }
}

/* ===== part 3 · below the footer ===== */
.u-gap { min-height: 290vh; }
.u-line { min-height: 1.7em; }
[data-eat] { transition: opacity 1.2s ease, text-decoration-color 1.2s ease; text-decoration: line-through; text-decoration-color: rgba(214,58,44,0); text-decoration-thickness: 1px; }
[data-eat].u-eaten { text-decoration-color: rgba(214,58,44,0.75); }
.u-line.u-on.u-eaten, .u-para.u-eaten { opacity: 0.42; }
.u-card.u-eaten { opacity: 0.5; }

#u-reader {
  position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 5; pointer-events: none;
  background: linear-gradient(90deg, rgba(214,58,44,0), rgba(214,58,44,0.85) 12%, rgba(214,58,44,0.85) 88%, rgba(214,58,44,0));
  opacity: 0; transition: opacity 3s ease; will-change: transform;
}
#u-reader.u-on { opacity: 1; }
#u-reader span {
  position: absolute; right: clamp(16px, 4vw, 60px); bottom: 7px;
  font-family: 'Roboto Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #d63a2c; white-space: nowrap;
}

.u-quotes, .u-read, .u-log { max-width: 1180px; margin: 0 auto; padding: 22vh clamp(20px, 5vw, 80px); }
.u-eyebrow { font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: #8FB8A2; margin-bottom: 22px; }
.u-h { font-size: clamp(32px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; color: #ECE9E2; margin: 0 0 56px; }
.u-small { font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: rgba(236,233,226,0.45); margin-top: 22px; }

.u-qgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.u-card { margin: 0; background: #ECE9E2; color: #111; border-radius: 20px; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 230px; }
.u-card:nth-child(1) { transform: rotate(-0.7deg); } .u-card:nth-child(2) { transform: rotate(0.5deg) translateY(14px); }
.u-card:nth-child(3) { transform: rotate(0.4deg); }  .u-card:nth-child(4) { transform: rotate(-1.1deg) translateY(10px); background: #cfcbc2; }
.u-card blockquote { margin: 0; font-size: clamp(19px, 1.9vw, 27px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.u-card figcaption { font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #567E68; }
.u-card figcaption i { font-style: normal; margin-left: 10px; padding: 3px 8px; border: 1px solid currentColor; border-radius: 100px; font-size: 9px; color: #9c2b22; }

.u-para { font-size: clamp(24px, 3.1vw, 46px); line-height: 1.32; letter-spacing: -0.025em; font-weight: 500; color: #ECE9E2; max-width: 22em; margin: 0 0 40px; }
.u-para span { display: inline-block; transition: color 1.6s ease; }
.u-para span.u-flip { color: #8FB8A2; animation: uFlip 0.5s ease 1; }
@keyframes uFlip { 0% { filter: blur(0); opacity: 1; } 35% { filter: blur(5px); opacity: 0.2; transform: translateY(-0.08em); } 100% { filter: blur(0); opacity: 1; } }
#u-para-note { text-align: left; max-width: none; transition: opacity 2s ease; }

.u-logbox { background: #0e0f0e; border: 1px solid rgba(236,233,226,0.14); border-radius: 16px; padding: 22px clamp(16px, 2.4vw, 30px) 26px; font-family: 'Roboto Mono', monospace; max-width: 820px; }
.u-loghead { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.16em; color: rgba(236,233,226,0.45); padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid rgba(236,233,226,0.1); }
.u-loghead span:last-child { color: #8FB8A2; }
.u-row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 14px; font-size: 13px; line-height: 1.9; color: rgba(236,233,226,0.86); }
.u-row span:first-child { color: rgba(236,233,226,0.38); }
.u-row-gap { display: block; color: rgba(236,233,226,0.3); }
.u-row.u-pending { color: rgba(236,233,226,0.42); font-style: italic; }
.u-row.u-pending span:first-child { color: #d63a2c; }
.u-row.u-done span:last-child::after { content: ' ✓'; color: #8FB8A2; }

.u-tread { position: relative; }
.u-tread-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.u-ring { position: absolute; width: min(92vmin, 880px); height: min(92vmin, 880px); will-change: transform; }
.u-ring text { font-family: 'Roboto Mono', monospace; font-size: 17px; letter-spacing: 0.04em; fill: rgba(236,233,226,0.6); text-transform: uppercase; }
.u-tread-mid { position: relative; text-align: center; }
.u-tread-k { font-family: 'Roboto Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(236,233,226,0.6); max-width: 30ch; margin: 0 auto; line-height: 1.7; }
.u-tread-n { font-size: clamp(64px, 13vmin, 150px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.05; color: #ECE9E2; font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .u-qgrid { grid-template-columns: 1fr; }
  .u-row { grid-template-columns: 1fr; gap: 0; line-height: 1.6; margin-bottom: 8px; }
  .u-ring text { font-size: 20px; }
}
#u-rot { transition: opacity 2.5s ease; }
body.u-under #u-rot { opacity: 0.2; }
body.u-under #u-vig { opacity: 0.6; }
.u-line { font-size: 15px; color: rgba(236,233,226,0.86); max-width: 40ch; }

/* ===== the ending: the rewind ===== */
.u-fall { height: 560vh; }
.u-rw { position: absolute; left: 0; right: 0; top: 11vh; text-align: center; padding: 0 20px; color: #ECE9E2; mix-blend-mode: difference; pointer-events: none; }
.u-rw-k { font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.u-rw-t { font-size: clamp(44px, 9vmin, 104px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.u-rw-e { font-family: 'Roboto Mono', monospace; font-size: 13px; letter-spacing: 0.04em; min-height: 1.6em; max-width: 60ch; margin: 6px auto 0; }

/* ===== numbered lines, trace by the log, rewind hud at the bottom ===== */
.u-gap .u-line::before { content: attr(data-n); display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #9fd0b6; margin-bottom: 10px; text-decoration: none; }
.u-trace { display: block; width: 100%; max-width: 820px; height: 230px; margin: 0 0 22px; }
.u-rw { top: auto; bottom: 6vh; }
.u-rw-t { font-size: clamp(30px, 5.5vmin, 60px); }
.u-rw-e { display: none; }

/* ===== the door: sealed = the real one-screen site ===== */
html.u-sealed .manifesto, html.u-sealed .framework, html.u-sealed .patterns, html.u-sealed .process, html.u-sealed .features,
html.u-sealed .about, html.u-sealed .cta, html.u-sealed footer.footer, html.u-sealed #u-below, html.u-sealed .pin-spacer { display: none !important; }
html:not(.u-sealed) .mini-footer { display: none; }
#u-cue {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 3800; cursor: pointer; white-space: nowrap;
  font-family: 'Roboto Mono', monospace; font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #0D1411;
  padding: 13px 22px; border-radius: 999px; background: #B9F9C9; border: 1px solid #0D1411;
  opacity: 0; transition: opacity 0.7s ease; -webkit-tap-highlight-color: transparent;
}
#u-cue i { display: inline-block; font-style: normal; margin-left: 9px; animation: uCueArrow 1.1s ease-in-out infinite; }
#u-cue.u-on { opacity: 1; animation: uCue 1.8s ease-in-out infinite; }
@keyframes uCue { 0%,100% { margin-bottom: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 0 rgba(120,225,160,0.55); } 50% { margin-bottom: -6px; box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 14px rgba(120,225,160,0); } }
@keyframes uCueArrow { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
#u-resetwrap { position: fixed; left: 20px; bottom: 20px; z-index: 4160; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; opacity: 0; transform: translateY(8px); transition: opacity 1.2s ease, transform 1.2s ease; pointer-events: none; }
#u-resetwrap.u-on { opacity: 1; transform: none; pointer-events: auto; }
#u-reset {
  cursor: pointer; font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #111; background: #F3F2EE; border: 1px solid rgba(0,0,0,0.25); border-radius: 100px; padding: 11px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22); transition: background 0.2s;
}
#u-reset:hover { background: #B9F9C9; }
#u-loopn { font-family: 'Roboto Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #3d3b37; background: rgba(243,242,238,0.9); border-radius: 100px; padding: 3px 10px; margin-left: 4px; }
#u-loopn:empty { display: none; }

/* ===== the terminal puzzle ===== */
html.u-sealed #heroTerminal { cursor: pointer; pointer-events: auto; }
#heroTerminal.u-hint { --hint: 0; animation: uHintT 1.8s ease-in-out infinite; }
@keyframes uHintT {
  0%,100% { border-color: rgba(185,249,201,calc(0.1 + 0.25 * var(--hint))); box-shadow: 0 0 0 0 rgba(185,249,201,0), 0 0 calc(20px * var(--hint)) 0 rgba(185,249,201,calc(0.18 * var(--hint))); }
  50% { border-color: rgba(185,249,201,calc(0.7 + 0.3 * var(--hint))); box-shadow: 0 0 0 calc(6px + 8px * var(--hint)) rgba(185,249,201,calc(0.08 + 0.16 * var(--hint))), 0 0 calc(70px * var(--hint)) calc(10px * var(--hint)) rgba(185,249,201,calc(0.5 * var(--hint))); }
}
#heroTerminal.u-hint .t-path { color: #B9F9C9; }
@keyframes uHint { 0%,100% { border-color: rgba(255,255,255,0.1); box-shadow: 0 0 0 0 rgba(185,249,201,0); } 50% { border-color: rgba(185,249,201,0.7); box-shadow: 0 0 0 6px rgba(185,249,201,0.08); } }
#heroTerminal.u-awake { width: min(calc(100% - 44px), 520px); font-size: 12.5px; line-height: 1.7; cursor: auto; border-color: rgba(185,249,201,0.45); transition: border-color 0.6s ease; }
.u-shell .u-ln { white-space: normal; animation: uLn 0.35s ease 1; padding: 1px 0; }
@keyframes uLn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.u-shell .u-ln.u-me { color: rgba(255,255,255,0.45); }
.u-shell .u-ln.u-ok { color: #8FB8A2; }
.u-shell .u-w {
  font: inherit; color: #B9F9C9; background: rgba(143,184,162,0.14); border: 1px solid rgba(143,184,162,0.5); border-radius: 6px;
  padding: 1px 8px; margin: 3px 5px 3px 0; cursor: pointer; transition: background 0.2s;
}
.u-shell .u-w:hover { background: rgba(143,184,162,0.32); }
.u-shell .u-in { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: #B9F9C9; }
.u-shell .u-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0; color: #fff; font: inherit; caret-color: #B9F9C9; }
.hero-proof-item { transition: background 0.6s ease; }
.hero-proof-item.u-lit .hero-proof-value { color: #3E9150; }
.hero-proof-item.u-lit .hero-proof-value::after { content: ' ✓'; }
.hero-engine-plaque.u-lit strong { color: #B9F9C9; }
@media (pointer: coarse) {
  .u-shell .u-w { padding: 7px 12px; margin: 4px 6px 4px 0; }
  .u-shell .u-in input { font-size: 16px; }     /* below 16px iOS zooms the page on focus */
  #heroTerminal.u-awake { font-size: 13px; }
}

/* words on the page that answer the terminal: invisible until found, or until it gives up and shows you */
.u-key { transition: color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease; border-radius: 4px; }
span.u-key.u-pulse, .u-key.u-pulse { animation: uKey 1.3s ease-in-out infinite; }
@keyframes uKey { 0%,100% { box-shadow: 0 0 0 0 rgba(62,145,80,0); background: rgba(62,145,80,0); } 50% { box-shadow: 0 0 0 5px rgba(62,145,80,0.22); background: rgba(62,145,80,0.22); } }
span.u-key.u-got { color: #3E9150; }
.hero-engine-plaque span.u-key.u-got { color: #B9F9C9; }
.mini-footer.u-key.u-got { background: #B9F9C9; }
/* tap-only puzzle: the words that can be tapped look tappable, and the question follows you */
.u-shell.u-taponly .u-in { display: none; }
html.u-hunt span.u-key.u-now { cursor: pointer; border-bottom: 1px dashed rgba(62,145,80,0.75); padding-bottom: 1px; }
html.u-hunt .hero-engine-plaque span.u-key.u-now { border-bottom-color: rgba(185,249,201,0.75); }
html.u-hunt .mini-footer.u-key { cursor: pointer; }
html.u-hunt span.u-key.u-got { border-bottom-color: transparent; }
#u-ask { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 4200; margin: 0 auto; max-width: 520px; padding: 11px 14px; border-radius: 12px; background: rgba(11,13,12,0.94); border: 1px solid rgba(185,249,201,0.45); color: #fff; font: 500 12.5px/1.5 'Roboto Mono', monospace; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }
#u-ask.u-on { opacity: 1; transform: none; }

/* phone: the woken terminal docks to the bottom of the screen */
#heroTerminal.u-dock {
  position: fixed; left: 10px; right: 10px; bottom: 10px; top: auto; width: auto; max-height: 44vh; overflow-y: auto;
  z-index: 3700; background: rgba(8,10,9,0.95); box-shadow: 0 -12px 44px rgba(0,0,0,0.35); font-size: 13px;
}
body.u-docked { padding-bottom: 46vh; }
#u-tip {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3700; cursor: pointer;
  font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #B9F9C9; background: #0b0d0c; border: 1px solid rgba(185,249,201,0.6); border-radius: 100px; padding: 11px 16px;
  opacity: 0; transition: opacity 1.2s ease; white-space: nowrap;
}
#u-tip.u-on { opacity: 1; animation: uHint 1.8s ease-in-out infinite; }




/* ===== no sideways drift on phones. clip (not hidden) on both, so nothing becomes a scroll box and sticky still works ===== */
html, body { overflow-x: clip; }
body { touch-action: pan-y pinch-zoom; }
.hwrap { touch-action: pan-x pan-y pinch-zoom; }

/* ===== loops 2 and 3 ===== */
html.u-calm .manifesto, html.u-calm .framework, html.u-calm .patterns, html.u-calm .process, html.u-calm .features,
html.u-calm .about, html.u-calm .cta, html.u-calm footer.footer, html.u-calm #u-below, html.u-calm .pin-spacer { display: none !important; }
#u-l2, #u-l3 { display: none; }
html.u-l2 #u-l2, html.u-l3 #u-l3 { display: block; }

#u-l2 { max-width: 880px; margin: 0 auto; padding: 14vh clamp(20px, 5vw, 60px) 0; color: #111; }
.l2-eyebrow, .l3-k { font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: #567E68; margin-bottom: 20px; }
.l2-h { font-size: clamp(30px, 4.2vw, 58px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; margin: 0 0 22px; }
.l2-p { font-size: 17px; line-height: 1.6; color: #4A4A45; max-width: 38em; margin: 0 0 9vh; }
.l2-mem { border-top: 1px solid rgba(0,0,0,0.12); }
.l2-mem .l2-n, .l2-mem .l2-x, .l2-mem .l2-s { opacity: var(--o, 1); }   /* the memory fades; the time it took does not */
.l2-k { font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #66625C; margin-bottom: 10px; }
.l2-x, .l2-s { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: #1b1b19; }
.l2-gone .l2-x, .l2-gone .l2-s { font-style: italic; color: #8a867f; }
.l2-s { display: none; }
html.u-l2-up .l2-x { display: none; } html.u-l2-up .l2-s { display: block; }
html.u-l2-up .l2-mem { padding-block: 14px !important; }
/* the climb back up loop two: everything leans and trails with the speed of the scroll (--drag, set by uncanny-deep.js while climbing) and snaps back when it stops.
   a phone gets the lean only: the trails repaint large panels every frame, the lean does not. */
html.u-l2-up #u-l2 .l2q.iv, html.u-l2-up #u-l2 .ivc { transform: translateX(calc(var(--drag, 0) * var(--drag-s, 0.15) * 1px)) skewY(calc(var(--drag, 0) * -0.035deg)); }
html.u-l2-up #u-l2 .l2q.iv:nth-of-type(even) { --drag-s: -0.15; }
@media (hover: hover) and (pointer: fine) {
  html.u-l2-up #u-l2 .l2q.iv, html.u-l2-up #u-l2 .ivc { --drag-s: 0.3; }
  html.u-l2-up #u-l2 .l2q.iv:nth-of-type(even) { --drag-s: -0.3; }
  html.u-l2-up #u-l2 .l2q.iv { box-shadow: 0 calc(var(--drag, 0) * 1.4px) 0 -1px rgba(11,13,12,0.6), 0 calc(var(--drag, 0) * 3px) 0 -5px rgba(11,13,12,0.36), 0 calc(var(--drag, 0) * 5px) 0 -10px rgba(11,13,12,0.18), 0 18px 50px rgba(0,0,0,0.28); }
  html.u-l2-up #u-l2 .ivc { box-shadow: 0 calc(var(--drag, 0) * 1.4px) 0 -1px rgba(11,13,12,0.6), 0 calc(var(--drag, 0) * 3px) 0 -5px rgba(11,13,12,0.36), 0 calc(var(--drag, 0) * 5px) 0 -10px rgba(11,13,12,0.18), 0 24px 60px rgba(0,0,0,0.28); }
  html.u-l2-up #u-l2 .l2-line, html.u-l2-up #u-l2 .l2-h, html.u-l2-up #u-l2 .l2-p { text-shadow: calc(var(--drag, 0) * 0.12px) calc(var(--drag, 0) * 0.7px) 0 rgba(255,0,70,0.5), calc(var(--drag, 0) * -0.12px) calc(var(--drag, 0) * 1.5px) 0 rgba(0,180,220,0.4), 0 calc(var(--drag, 0) * 2.6px) 0 rgba(17,17,17,0.14); }
}
@media (prefers-reduced-motion: reduce) { html.u-l2-up #u-l2 .l2q.iv, html.u-l2-up #u-l2 .ivc { transform: none; } }
.l2-up { padding: 30vh 0 12vh; display: flex; flex-direction: column; gap: 16vh; }
.l2-line { font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; max-width: 22em; }
.l2-line span { display: block; font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #567E68; font-weight: 400; margin-bottom: 10px; }
.l2-start { font-family: 'Roboto Mono', monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #9c2b22; padding-bottom: 6vh; }

#u-l3 { background: #FBFAF7; color: #111; }
.l3-fall { height: 640vh; position: relative; }
.l3-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: flex-end; }
.l3-page { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px) 16vh; }
.l3-t { font-size: clamp(22px, 3vw, 40px); line-height: 1.32; letter-spacing: -0.02em; font-weight: 500; }
.l3-end { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; max-width: 900px; margin: 0 auto; padding: 12vh clamp(20px, 5vw, 60px) 22vh; }
.l3-end h2 { font-size: clamp(48px, 9vw, 128px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.98; margin: 0; }
.l3-end p { font-family: 'Roboto Mono', monospace; font-size: 13px; letter-spacing: 0.08em; color: #567E68; margin: 0 0 12px; }
.l3-btn { cursor: pointer; font: inherit; font-size: 16px; font-weight: 500; color: #fff; background: #111; border: 0; border-radius: 100px; padding: 18px 30px; }
.l3-btn:hover { background: #3E9150; }
.l3-link { font-size: 15px; color: #567E68; text-decoration: underline; text-underline-offset: 4px; }

/* ===== loop 2 opening glitch ===== */
html.u-l2 .hero-headline, .l2-h { text-shadow: calc(var(--g, 0) * 4px) 0 rgba(255,0,70,0.75), calc(var(--g, 0) * -4px) 0 rgba(0,210,255,0.75); }
#u-tear { position: fixed; inset: 0; z-index: 3950; pointer-events: none; opacity: 0; overflow: hidden; }
#u-tear i { position: absolute; left: -20px; right: -20px; -webkit-backdrop-filter: invert(1) hue-rotate(120deg) contrast(1.4); backdrop-filter: invert(1) hue-rotate(120deg) contrast(1.4); }

/* ===== the last screen: the model of you ===== */
.l3-dark { background: #0b0d0c; color: #F5F3EE; }
.l3-end { position: relative; }
.l3-end.l3-model { max-width: 1120px; gap: 0; justify-content: flex-start; padding: 9vh clamp(16px, 4vw, 48px) 20vh; }
.l3-model .l3-k { color: #8FB8A2; margin-bottom: 10px; }
#u-l3-model { display: block; width: 100%; height: clamp(450px, min(135vw, 100vh - 430px), 740px); }
html.u-ended #u-resetwrap { display: none; }
.l3-model h2 { font-size: clamp(26px, 5vw, 46px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; margin: 0; }
.l3-model #u-l3-h { margin-top: 22px; }
.l3-model #u-l3-h2 { color: #B9F9C9; }
/* the last line, and the wire that opens the button */
.l3-model #u-l3-now { color: #F5F3EE; margin-top: 26px; }
.l3-model #u-l3-now em { font-style: normal; color: #6FEDBB; }
.l3-s4 #u-l3-now { opacity: 1; transform: none; }
#u-l3-wire { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#u-l3-wire path { fill: none; stroke: #6FEDBB; stroke-width: 1.5; stroke-linecap: round; opacity: 0; }
#u-l3-wire circle { fill: #B9F9C9; opacity: 0; }
.l3-building #u-l3-wire { display: none; }
.l3-model.l3-locked .l3-btn { opacity: 0.45; pointer-events: none; transition: opacity 0.7s ease; }
.l3-model.l3-locked.l3-wired .l3-btn { opacity: 1; pointer-events: auto; }
.l3-model #u-l3-stats { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,243,238,0.5); margin: 14px 0 0; min-height: 1.4em; }
.l3-model p.l3-sub { font-family: inherit; font-size: clamp(17px, 2.4vw, 22px); line-height: 1.45; letter-spacing: 0; color: rgba(245,243,238,0.78); margin: 16px 0 0; max-width: 34ch; }
.l3-f { opacity: 0; transform: translateY(10px); transition: opacity 0.9s ease, transform 0.9s ease; }
.l3-s0 #u-l3-stats, .l3-s1 #u-l3-h, .l3-s2 #u-l3-h2, .l3-s3 #u-l3-sub { opacity: 1; transform: none; }
.l3-after { display: flex; flex-flow: row wrap; align-items: center; gap: 8px 22px; margin-top: 24px; opacity: 0; transform: translateY(10px); transition: opacity 0.9s ease, transform 0.9s ease; pointer-events: none; }
.l3-won .l3-after { opacity: 1; transform: none; pointer-events: auto; }
.l3-model .l3-btn { background: #B9F9C9; color: #0b0d0c; font-weight: 600; text-decoration: none; display: inline-block; padding: 16px 26px; }
.l3-model .l3-btn:hover { background: #fff; }
.l3-model .l3-link { background: none; border: 0; cursor: pointer; font: inherit; font-size: 15px; color: #8FB8A2; padding: 10px 0; }
@media (prefers-reduced-motion: reduce) { .l3-f, .l3-after { transition: none; } }

/* the terminal clears when the face is there, so the mouth shows through it */
header.hero:not(.u-hero2) .hero-terminal:not(.u-awake) { background: rgba(8,10,9, calc(0.7 * (1 - var(--face, 0)))); -webkit-backdrop-filter: blur(calc(18px * (1 - var(--face, 0)))); backdrop-filter: blur(calc(18px * (1 - var(--face, 0)))); }
.u-hero2 .hero-terminal { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: rgba(255,255,255,0.14); }

/* loop 2: how long you gave each section, made hard to miss */
.l2-k .l2-t { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 5px; background: #B9F9C9; color: #0b0d0c; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.l2-gone .l2-k .l2-t { background: #E9B4AD; }

/* the treadmill reaches zero: a beat of stillness */
.u-tread.u-arrived .u-tread-n { animation: uArrive 1.1s ease-out 1; }
@keyframes uArrive { 0% { color: #B9F9C9; transform: scale(1.08); } 100% { color: #ECE9E2; transform: none; } }

/* loops two and three on a phone: the swapping word always takes its own line, so the headline never changes height */
@media (max-width: 767px) { html.u-l2 header.hero:not(.u-hero2) .hero-word-slot, html.u-l3 header.hero:not(.u-hero2) .hero-word-slot { display: block; } }

/* ===== opening puzzle variants (only reachable with ?puzzle= in the address) ===== */
.u-shell .u-pin { margin: 2px 0 10px; padding: 8px 12px; border-left: 2px solid #8FB8A2; background: rgba(255,255,255,0.05); border-radius: 0 8px 8px 0; color: #fff; white-space: normal; line-height: 1.9; }
.u-shell .u-pin .u-pin-k { display: block; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,243,238,0.5); line-height: 1.6; }
.u-shell .u-pin .u-w.u-got { background: rgba(185,249,201,0.3); color: #B9F9C9; text-decoration: none; cursor: default; }
.u-shell .u-pin .u-w.u-pulse { box-shadow: 0 0 0 3px rgba(185,249,201,0.35); }
.u-shell .u-pin.u-pop { animation: uLn 0.4s ease 1; }
.u-shell .u-rec { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin: 0 0 10px; }
.u-shell .u-rec-r { display: flex; flex-direction: column; border-bottom: 1px dashed rgba(245,243,238,0.22); padding: 2px 0 4px; min-width: 0; }
.u-shell .u-rec-r span { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,243,238,0.45); line-height: 1.6; }
.u-shell .u-rec-r b { font-weight: 500; color: rgba(245,243,238,0.3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.6; }
.u-shell .u-rec-r.u-set { border-bottom: 1px solid #8FB8A2; }
.u-shell .u-rec-r.u-set b { color: #B9F9C9; }
.u-shell .u-rec-r .u-w { margin: 2px 0; padding: 3px 9px; }
.u-shell .u-rec-r.u-set .u-w { background: rgba(185,249,201,0.22); color: #B9F9C9; }
/* on a phone the field is narrow: a long value ("same as last job") wraps inside it instead of being cut off at the edge */
@media (max-width: 767px) { .u-shell .u-rec-r b { white-space: normal; overflow: visible; } .u-shell .u-rec-r .u-w { white-space: normal; text-align: left; line-height: 1.35; margin-right: 0; max-width: 100%; } }
.u-shell .u-blank { display: inline-block; padding: 0 8px; border-bottom: 1px dashed rgba(245,243,238,0.4); color: rgba(245,243,238,0.35); font-style: italic; }
.u-shell .u-blank.u-cur { border-bottom: 2px solid #B9F9C9; color: rgba(185,249,201,0.75); background: rgba(185,249,201,0.1); }
.u-shell .u-blank.u-fill { border-bottom-color: transparent; color: #B9F9C9; font-style: normal; padding: 0; }
.u-shell .u-rec-r.u-chg b { color: #B9F9C9; }
.u-shell .u-rec-r.u-chg s { color: rgba(245,243,238,0.35); margin-right: 4px; }
.u-shell .u-rec-r.u-chg i { font-style: normal; color: #fff; }
.u-shell .u-rec-r.u-flag { border-bottom-color: #E9C46A; }
.u-shell .u-rec-r.u-flag b { color: #E9C46A; }
#u-pzpick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6000; display: flex; gap: 8px; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,13,12,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow-x: auto; scrollbar-width: none; }
#u-pzpick::-webkit-scrollbar { display: none; }
#u-pzpick span { flex: 0 0 auto; font: 500 10px 'Roboto Mono', monospace; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,243,238,0.5); padding-right: 4px; }
#u-pzpick a { flex: 0 0 auto; font: 500 13px Manrope, system-ui, sans-serif; color: #F5F3EE; text-decoration: none; border: 1px solid rgba(245,243,238,0.28); border-radius: 999px; padding: 8px 13px; white-space: nowrap; }
#u-pzpick a[aria-current="true"] { background: #B9F9C9; color: #0b0d0c; border-color: #B9F9C9; }

/* after the model puzzle the terminal settles instead of snapping back: the border calms, the buttons stop looking pressable */
#heroTerminal.u-rest { border-color: rgba(143,184,162,0.3); transition: border-color 1.2s ease; }
#heroTerminal.u-rest .u-w { cursor: default; pointer-events: none; transition: background 1.2s ease, border-color 1.2s ease; background: transparent; }

/* the About label turns red and pulses while it is rewritten, then stays red */
.about-eyebrow.u-alarm { color: #C4281F; animation: uAlarm 1.25s ease-in-out 4 both; }
@keyframes uAlarm { 0%,100% { color: #C4281F; text-shadow: 0 0 0 rgba(196,40,31,0); opacity: 1; } 50% { color: #F0382C; text-shadow: 0 0 14px rgba(240,56,44,0.75), 0 0 2px rgba(240,56,44,0.9); opacity: 0.72; } }
@media (prefers-reduced-motion: reduce) { .about-eyebrow.u-alarm { animation: none; } }

/* ===== a new loop announces itself ===== */
#u-loopcard { position: fixed; inset: 0; z-index: 4170; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; pointer-events: none; opacity: 0; transition: opacity 0.8s ease; background: radial-gradient(ellipse at center, rgba(243,242,238,0.94) 0%, rgba(243,242,238,0.8) 38%, rgba(243,242,238,0) 72%); }
#u-loopcard.u-on { opacity: 1; }
#u-loopcard span { font-family: 'Roboto Mono', monospace; font-size: clamp(13px, 1.6vw, 16px); letter-spacing: 0.3em; text-transform: uppercase; color: #0D1411; background: #B9F9C9; border: 1px solid #0D1411; border-radius: 999px; padding: 9px 20px; }
#u-loopcard b { font-size: clamp(34px, 6.4vw, 84px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: #0A0B0A; max-width: 14ch; text-wrap: balance; }
#u-loopcard em { font-family: 'Roboto Mono', monospace; font-style: normal; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #3d3b37; }
#u-loopcard em i { display: inline-block; font-style: normal; margin-left: 6px; animation: uCueArrow 1.1s ease-in-out infinite; }
#u-bookhint { position: fixed; left: 50%; top: 50%; z-index: 4300; width: min(560px, calc(100vw - 32px)); transform: translate(-50%, -46%); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 28px 24px 24px; border-radius: 16px; background: rgba(243,242,238,0.97); border: 1px solid #0D1411; box-shadow: 0 24px 80px rgba(0,0,0,0.35); pointer-events: none; opacity: 0; transition: opacity 0.35s ease, transform 0.35s ease; }
#u-bookhint.u-on { opacity: 1; transform: translate(-50%, -50%); }
#u-bookhint span { font-family: 'Roboto Mono', monospace; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: #0D1411; background: #B9F9C9; border: 1px solid #0D1411; border-radius: 999px; padding: 7px 16px; }
#u-bookhint b { font-size: clamp(24px, 4.2vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; color: #0A0B0A; text-wrap: balance; }
#u-bookhint em { font-family: 'Roboto Mono', monospace; font-style: normal; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #3d3b37; line-height: 1.6; }
#u-loopn.u-new { animation: uLoopNew 2.4s ease 1; }
@keyframes uLoopNew { 0%, 60% { background: #B9F9C9; color: #0D1411; transform: scale(1.25); transform-origin: left center; } 100% { transform: none; } }
#u-loopn { font-size: 11.5px; padding: 5px 12px; }

/* ===== after the model: ask it, correct it, the agent's draft, forget me ===== */
.l3-tools { opacity: 0; transform: translateY(8px); transition: opacity 0.8s ease, transform 0.8s ease; pointer-events: none; margin-top: 14px; }
.l3-tools.tl-on { opacity: 1; transform: none; pointer-events: auto; }
.l3-tools.tl-gone, .l3-draft.dr-gone { opacity: 0 !important; pointer-events: none !important; transition: opacity 1.6s ease; }
.tl-row { display: flex; flex-flow: row wrap; align-items: center; gap: 8px; }
.tl-k, .tl-hint { font: 500 11px/1.4 'Roboto Mono', monospace; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,243,238,0.5); margin-right: 6px; }
.tl-q { font: 500 12.5px/1.2 'Roboto Mono', monospace; color: #B9F9C9; background: rgba(185,249,201,0.06); border: 1px solid rgba(185,249,201,0.35); border-radius: 999px; padding: 8px 13px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.tl-q:hover, .tl-q.on { background: #B9F9C9; color: #0b0d0c; }
.tl-ans:not(:empty) { margin: 16px 0 4px; max-width: 62ch; }
.tl-a { display: block; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.45; color: #F5F3EE; }
.tl-from { display: block; margin-top: 6px; font: 500 11px/1.5 'Roboto Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; color: #8FB8A2; }
.tl-low { margin-top: 16px; }
.tl-fix { font: 500 12px/1.4 'Roboto Mono', monospace; color: #E9C46A; }
.tl-fix.tl-new { animation: tlNew 1.4s ease; }
@keyframes tlNew { 0% { opacity: 0; } 100% { opacity: 1; } }
.tl-forget { margin-left: auto; font: 500 11.5px/1 'Roboto Mono', monospace; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,243,238,0.6); background: none; border: 1px solid rgba(245,243,238,0.25); border-radius: 999px; padding: 9px 14px; cursor: pointer; transition: all 0.2s; }
.tl-forget:hover { color: #fff; border-color: #C7483B; background: rgba(199,72,59,0.15); }
.u-fixpop { position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 14px)); width: max-content; max-width: min(300px, 86vw); background: #F5F3EE; color: #0b0d0c; border-radius: 12px; padding: 12px 14px; box-shadow: 0 18px 50px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 6px; font: 500 12px/1.4 'Roboto Mono', monospace; animation: drIn 0.25s ease; }
.u-fixpop b { font-size: 14px; color: #1d5b35; }
.u-fixpop div { display: flex; gap: 8px; margin-top: 4px; }
.u-fixpop button { font: inherit; cursor: pointer; border-radius: 999px; padding: 7px 13px; border: 1px solid #0b0d0c; background: none; color: #0b0d0c; }
.u-fixpop button[data-a=no] { background: #0b0d0c; color: #F5F3EE; }
.l3-draft { display: none; margin-top: 40px; }
.l3-draft.dr-on { display: block; animation: drIn 0.8s ease; }
@keyframes drIn { from { opacity: 0; transform: translateY(10px); } }
.dr-k { font: 500 11px 'Roboto Mono', monospace; letter-spacing: 0.14em; color: #8FB8A2; }
.dr-h { font-size: clamp(26px, 4.4vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; margin: 8px 0 6px; color: #F5F3EE; }
.dr-sub { font-size: 16px; line-height: 1.45; color: rgba(245,243,238,0.66); margin: 0 0 16px; max-width: 52ch; }
.dr-card { border: 1px solid rgba(185,249,201,0.3); border-radius: 14px; background: rgba(185,249,201,0.03); overflow: hidden; max-width: 780px; }
.dr-top { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid rgba(185,249,201,0.18); font: 500 11px 'Roboto Mono', monospace; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,243,238,0.6); }
.dr-st { color: #E9C46A; } .dr-st.dr-ok { color: #6FEDBB; }
.dr-row { display: grid; grid-template-columns: 92px 1fr; gap: 3px 14px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.3s; animation: drIn 0.4s ease; }
.dr-row:hover { background: rgba(185,249,201,0.05); }
.dr-row.dr-re { animation: drRe 1.8s ease; }
@keyframes drRe { 0%, 35% { background: rgba(233,196,106,0.16); } }
.dr-l { font: 500 11px/1.9 'Roboto Mono', monospace; letter-spacing: 0.14em; text-transform: uppercase; color: #8FB8A2; grid-row: span 2; }
.dr-v { font-size: 17px; line-height: 1.4; color: #F5F3EE; min-height: 1.4em; }
.dr-why { grid-column: 2; font: 500 11px/1.5 'Roboto Mono', monospace; color: rgba(245,243,238,0.42); opacity: 0; transition: opacity 0.6s; }
.dr-why.dr-in { opacity: 1; }
.dr-foot { padding: 11px 16px; font: 500 11px/1.5 'Roboto Mono', monospace; letter-spacing: 0.06em; color: rgba(245,243,238,0.55); }
.dr-foot:empty { display: none; }
.l3-gone { position: absolute; left: 0; right: 0; text-align: center; font-size: clamp(28px, 4.8vw, 56px); font-weight: 600; letter-spacing: -0.04em; color: #F5F3EE; opacity: 0; transform: translateY(-50%); transition: opacity 2.6s ease; pointer-events: none; padding: 0 16px; }
.l3-gone.on { opacity: 1; }
@media (max-width: 560px) { .dr-row { grid-template-columns: 1fr; } .dr-l { grid-row: auto; } .dr-why { grid-column: 1; } .tl-forget { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .l3-tools, .dr-row, .l3-draft.dr-on, .l3-gone { transition: none; animation: none; } }

/* unlocked: the booking buttons light up once all three loops are done */
html.u-unlocked .navbar-cta, html.u-unlocked header.hero:not(.u-hero2) .hero-btn, html.u-unlocked .mm-cta-btn { background: #B9F9C9 !important; color: #0b0d0c !important; border-color: #0b0d0c !important; }
html.u-unlocked .navbar-cta:hover, html.u-unlocked header.hero:not(.u-hero2) .hero-btn:hover { background: #fff !important; }

/* ===== 11/21: relapse, line seven ===== */
/* a rewritten line showing its first wording for a moment */
.u-was { text-shadow: 1px 0 rgba(255,59,47,0.55), -1px 0 rgba(76,195,255,0.45); }
/* line seven: the one line that shouts. line four answers it. */
.u-gap #u-dont { transition: opacity 2.2s ease, font-size 0.5s ease, color 0.5s ease; }
.u-gap #u-dont.u-loud { font-size: clamp(21px, 3.1vw, 30px); line-height: 1.4; letter-spacing: 0.02em; color: #F5F3EE; max-width: 22ch; }
.u-gap #u-dont.u-loud::before { color: #ff5a46; }
.u-l4 { font: inherit; letter-spacing: inherit; color: #ff5a46; background: none; border: 0; padding: 0 0 2px; margin: 0; cursor: pointer; border-bottom: 2px solid currentColor; border-radius: 0; -webkit-appearance: none; appearance: none; }
.u-loud .u-l4 { animation: uL4 1.5s ease-in-out infinite; }
.u-louder .u-l4 { animation-duration: 0.75s; }
@keyframes uL4 { 0%,100% { text-shadow: none; opacity: 1; } 50% { text-shadow: 0 0 20px rgba(255,90,70,0.95); opacity: 0.6; } }
.u-gap #u-same.u-called { opacity: 1 !important; color: #F5F3EE; text-decoration-color: transparent; }
.u-gap #u-same.u-called::before { color: #ff5a46; animation: uL4 1.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .u-loud .u-l4, .u-gap #u-same.u-called::before { animation: none; } }

/* ===== 11/21: the last graph ===== */
/* while the graph is being drawn the page ends just under it, so there is no empty dark space to scroll into and the whole graph stays on screen */
.l3-end.l3-model.l3-building { min-height: 0; padding-bottom: 78px; }   /* room for the loop counter in the corner, so it sits under the graph and not on it */
.l3-building .l3-tools, .l3-building .l3-f, .l3-building .l3-after { display: none; }
@media (max-width: 767px) { .l3-end.l3-model { padding-bottom: 10vh; } .l3-end.l3-model.l3-building { padding-bottom: 78px; } }
