/* AI Towkay · The night shift
   One page that scrolls from 11:30 PM to 9:00 AM. Night sections carry their own
   dark ground and light ink; day sections the reverse. Text never sits on a
   blended mid-tone: the only gradient crossing is the empty "sunrise" band. */

:root {
  --ink: #16120C;
  --ink-2: #1F1911;
  --paper: #F4F1EA;
  --paper-2: #EBE5D8;
  --dawn: #F3E3CE;
  --seal: #C8321E;
  --seal-deep: #A32615;
  --lamp: #F2A93B;
  --night-fg: #F1EADD;
  --night-soft: #B9AE9B;
  --day-soft: #5E5548;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(20px, 4.4vw, 72px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--night-fg);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

[data-ground="night"] { --fg: var(--night-fg); --soft: var(--night-soft); --line: rgba(241, 234, 221, .16); color: var(--fg); }
[data-ground="day"] { --fg: var(--ink); --soft: var(--day-soft); --line: rgba(22, 18, 12, .18); color: var(--fg); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); position: relative; }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }

/* ---------- small parts */
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--soft); display: flex; align-items: center; gap: 10px;
}
.tick { width: 8px; height: 8px; background: var(--seal); display: inline-block; flex: none; }

.display {
  font-family: var(--display); font-weight: 900; font-stretch: 70%;
  font-size: clamp(46px, 8.4vw, 148px); line-height: .88; letter-spacing: -.01em;
  text-transform: uppercase; margin-top: 18px;
}
.display--sm { font-size: clamp(40px, 5.6vw, 96px); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 24px; border-radius: 3px; border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 16px; font-size: 12px; }
.btn--seal { background: var(--seal); color: #FFF7EC; }
.btn--seal:hover { background: var(--seal-deep); }
.btn--ghost { border-color: var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--ink { background: var(--ink); color: var(--paper); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

/* ---------- top bar */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gut);
  color: var(--night-fg);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.bar.is-stuck { background: rgba(22, 18, 12, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgba(241, 234, 221, .1); }
body[data-bar="day"] .bar { color: var(--ink); }
body[data-bar="day"] .bar.is-stuck { background: rgba(244, 241, 234, .82); border-bottom-color: rgba(22, 18, 12, .1); }
.bar__mark { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 17px; letter-spacing: .02em; text-decoration: none; display: flex; align-items: baseline; gap: 7px; }
.bar__mark i { color: var(--seal); font-style: normal; }
.bar__mark span { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.bar__links { display: flex; gap: 28px; margin-left: clamp(16px, 4vw, 64px); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.bar__links a { text-decoration: none; opacity: .78; }
.bar__links a:hover { opacity: 1; }

/* ---------- the clock (sits in the bar) */
.clock { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; margin-left: auto; }
.clock__orb { width: 16px; height: 16px; border-radius: 50%; background: var(--lamp); box-shadow: inset -6px -2px 0 0 var(--ink); transition: box-shadow .6s ease, background-color .6s ease; flex: none; }
.bar:not(.is-stuck) .clock__orb { box-shadow: inset -6px -2px 0 0 #070B1C; }
body[data-bar="day"] .clock__orb { box-shadow: 0 0 0 3px rgba(200, 50, 30, .2); background: var(--seal); }
.clock__time { min-width: 8.4ch; font-variant-numeric: tabular-nums; }
.clock__track { width: 72px; height: 2px; position: relative; border-radius: 2px; overflow: hidden; }
.clock__track::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .25; }
.clock__track i { position: absolute; inset: 0; background: var(--seal); transform-origin: left; transform: scaleX(0); }

/* ---------- 11:30 PM hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: #070B1C; overflow: hidden; }
.hero__scene { position: absolute; inset: 0; }
.hero__scene img { width: 100%; height: 100%; object-fit: cover; object-position: 86% 50%; transform: scale(calc(1.06 + var(--hp, 0) * .1)); transform-origin: 80% 55%; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 26, .9) 0%, rgba(6, 10, 26, .74) 30%, rgba(6, 10, 26, .2) 56%, rgba(6, 10, 26, 0) 72%),
    linear-gradient(0deg, var(--ink) 0%, rgba(22, 18, 12, .5) 14%, rgba(22, 18, 12, 0) 34%);
}
.hero::after { /* film grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__body { z-index: 2; padding-top: 96px; padding-bottom: clamp(76px, 10.5vh, 120px); }
.hero__h1 {
  font-family: var(--display); font-weight: 900; font-stretch: 66%;
  font-size: clamp(60px, min(10.6vw, 14.6vh), 196px); line-height: .84; letter-spacing: -.012em; text-transform: uppercase;
  margin: 20px 0 26px;
}
.hero__h1 .line { display: block; overflow: hidden; padding-top: .04em; }
.hero__h1 .line > span { display: block; }
.js .hero__h1 .line > span { transform: translateY(108%); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.js.ready .hero__h1 .line > span { transform: none; }
.js .hero__h1 .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero__h1 .line:nth-child(3) > span { transition-delay: .26s; }
.js .hero__h1 .line:nth-child(4) > span { transition-delay: .34s; }
.line--lamp { color: var(--lamp); }
.hero__lede { max-width: 33em; font-size: clamp(17px, 1.35vw, 21px); color: #E2D9C8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.js .kicker, .js .hero__lede, .js .hero__cta { transition: opacity .8s ease .5s, transform .8s ease .5s; }
.js:not(.ready) .hero .kicker, .js:not(.ready) .hero__lede, .js:not(.ready) .hero__cta { opacity: 0; transform: translateY(14px); }
.hero__foot {
  position: absolute; right: var(--gut); bottom: 26px; z-index: 2; display: flex; gap: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--night-soft);
}
.hero__foot span + span::before { content: "/"; margin-right: 22px; opacity: .5; }

/* ---------- docks: empty boxes that say where the chop stands and how tall it is */
.dock { position: absolute; pointer-events: none; }
.dock--hero { right: 8%; bottom: 11vh; width: 18vh; height: 31vh; }
.dock--tired { right: 9%; bottom: 14%; width: 14vh; height: 24vh; }
.dock--how { right: 10%; top: 150px; width: 13vh; height: 22vh; }
.dock--proof { right: 9%; top: 130px; width: 12vh; height: 21vh; }
.dock--web { right: 6%; bottom: 80px; width: 11vh; height: 19vh; }

/* ---------- 11:45 PM */
.tired { position: relative; background: var(--ink); padding: clamp(96px, 16vh, 190px) 0 clamp(96px, 15vh, 180px); }
.tired__list { margin-top: clamp(40px, 7vh, 80px); border-top: 1px solid var(--line); max-width: 1040px; }
.tired__list li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tired__list time { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lamp); }
.tired__list p { font-family: var(--display); font-weight: 600; font-stretch: 86%; font-size: clamp(24px, 3.2vw, 50px); line-height: 1.04; }
.tired__turn { margin-top: clamp(48px, 9vh, 110px); font-family: var(--display); font-weight: 800; font-stretch: 78%; font-size: clamp(30px, 4.6vw, 76px); line-height: .98; text-transform: uppercase; max-width: 16em; }
.tired__turn em { font-style: normal; color: var(--seal); }

/* ---------- the night */
.night { position: relative; background: linear-gradient(180deg, var(--ink) 0%, #1A140E 55%, #1D1610 100%); padding: clamp(60px, 10vh, 120px) 0 clamp(80px, 12vh, 150px); }
.night__sub { max-width: 34em; margin-top: 26px; color: var(--soft); font-size: clamp(17px, 1.3vw, 20px); }
.jobs { margin-top: clamp(64px, 11vh, 140px); display: grid; gap: clamp(88px, 15vh, 190px); }
.job { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 110px); row-gap: 20px; align-items: center; position: relative; }
.job__when { grid-column: 1; display: flex; align-items: baseline; gap: 16px; align-self: end; }
.job__when time { font-family: var(--display); font-weight: 900; font-stretch: 66%; font-size: clamp(64px, 9.4vw, 164px); line-height: .82; letter-spacing: -.01em; color: var(--lamp); white-space: nowrap; }
.job__when span { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.job__text { grid-column: 1; max-width: 30em; align-self: start; }
.job__text h3 { font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: clamp(26px, 2.7vw, 42px); line-height: 1.02; margin-bottom: 14px; }
.job__text p { color: var(--soft); }
.job__text .job__for { margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lamp); display: flex; align-items: center; gap: 10px; }
.job__for::before { content: ""; width: 18px; height: 1px; background: currentColor; flex: none; }
.job .sheet { grid-column: 2; grid-row: 1 / span 2; justify-self: center; }
.job--flip .job__when, .job--flip .job__text { grid-column: 2; }
.job--flip .sheet { grid-column: 1; }

/* paper sheets: documents on a dark desk under a lamp */
.sheet {
  --tilt: 1.6deg;
  position: relative; width: min(480px, 100%); min-height: 410px;
  background: var(--paper); color: var(--ink);
  padding: 30px 30px 196px; border-radius: 3px;
  transform: rotate(var(--tilt));
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(22, 18, 12, .06), 0 0 120px 10px rgba(242, 169, 59, .09);
  font-size: 15px; line-height: 1.45; isolation: isolate;
}
.job--flip .sheet { --tilt: -1.8deg; }
.sheet::before { /* ruled paper */
  content: ""; position: absolute; inset: 0; border-radius: 3px; pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(22, 18, 12, .045) 27px 28px);
}
.sheet__tag { position: absolute; top: 12px; right: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--day-soft); border: 1px solid rgba(22, 18, 12, .22); padding: 3px 7px; border-radius: 2px; }
.sheet__note { position: absolute; left: 30px; bottom: 30px; max-width: 46%; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--day-soft); line-height: 1.4; }
.bubble { max-width: 84%; padding: 11px 14px; border-radius: 14px; margin-top: 12px; }
.bubble--in { background: #fff; border: 1px solid rgba(22, 18, 12, .1); border-bottom-left-radius: 3px; margin-top: 26px; }
.bubble--out { background: #DDEBD0; margin-left: auto; border-bottom-right-radius: 3px; }
.bubble--note { background: #fff; border: 1px solid rgba(22, 18, 12, .1); max-width: 96%; margin-top: 26px; border-bottom-left-radius: 3px; }
.bubble--note u { text-decoration-color: var(--seal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sheet table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 14px; }
.sheet th { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--day-soft); text-align: left; padding: 0 0 8px; border-bottom: 1.5px solid var(--ink); }
.sheet td { padding: 10px 0; border-bottom: 1px solid rgba(22, 18, 12, .14); }
.sheet td:last-child, .sheet th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.sheet td:nth-child(2) { font-family: var(--mono); font-size: 12px; }
.sheet tr.ask td { color: var(--seal-deep); }
.sheet--takeoff ul { margin-top: 30px; }
.sheet--takeoff li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(22, 18, 12, .14); }
.sheet--takeoff li b { font-family: var(--mono); font-weight: 500; font-size: 13px; white-space: nowrap; }
.mini { margin-top: 28px; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff; }
.mini__bar { display: flex; align-items: center; gap: 5px; padding: 7px 9px; border-bottom: 1.5px solid var(--ink); font-family: var(--mono); font-size: 10px; color: var(--day-soft); }
.mini__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(22, 18, 12, .25); }
.mini__bar span { margin-left: 8px; }
.mini__hero { padding: 18px 14px; background: var(--ink); color: var(--paper); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mini__hero b { font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: 26px; line-height: .92; text-transform: uppercase; }
.mini__hero em { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; background: var(--seal); padding: 6px 8px; border-radius: 2px; white-space: nowrap; }
.mini__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
.mini__row i { height: 30px; background: var(--paper-2); border-radius: 2px; }

/* the stamp spot on every sheet: seal on the right, chop rests just left of it */
.seal {
  position: absolute; right: 24px; bottom: 18px; width: 96px; height: 96px;
  color: var(--seal); mix-blend-mode: multiply; transform: rotate(-9deg) scale(1.35); opacity: 0;
  display: grid; place-items: center;
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal b { position: relative; font-family: var(--display); font-weight: 900; font-stretch: 78%; font-size: 13px; letter-spacing: .03em; white-space: nowrap; margin-top: 1px; }
.seal.is-inked { opacity: .93; transform: rotate(-9deg) scale(1); transition: transform .16s cubic-bezier(.2, 1.6, .4, 1), opacity .05s linear; }
.dock--job { right: 142px; bottom: 64px; width: 84px; height: 136px; --aim: 94px; transition: transform .25s ease; }
.sheet.is-hit { animation: hit .42s cubic-bezier(.2, .9, .3, 1); }
@keyframes hit { 0% { transform: rotate(var(--tilt)) translateY(0); } 22% { transform: rotate(calc(var(--tilt) * .6)) translateY(7px) scale(.992); } 100% { transform: rotate(var(--tilt)) translateY(0); } }
.dock.is-aim { transform: translateX(var(--aim)); }
.dock--close.is-aim { transform: translate(var(--aim-x, 0), var(--aim-y, 0)); }
.no-stage .seal, html:not(.js) .seal { opacity: .93; transform: rotate(-9deg); }

/* ---------- 6:45 AM */
.how { position: relative; background: linear-gradient(180deg, #1D1610 0%, #241A16 60%, #2E1F1B 100%); padding: clamp(90px, 14vh, 170px) 0 clamp(80px, 12vh, 150px); }
.how__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); margin-top: clamp(48px, 8vh, 96px); }
.how__steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.how__steps b { display: block; font-family: var(--display); font-weight: 900; font-stretch: 66%; font-size: clamp(80px, 9vw, 150px); line-height: .82; color: var(--lamp); }
.how__steps h3 { font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.04; margin: 18px 0 12px; }
.how__steps p { color: var(--soft); }
.how__rules { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(44px, 7vh, 80px); }
.how__rules li { font-family: var(--mono); font-size: 13px; letter-spacing: .05em; padding: 12px 16px; border: 1px solid var(--line); border-radius: 3px; color: var(--fg); }
.how__rules li:last-child { border-color: var(--seal); color: #FFD9CF; }

/* ---------- sunrise: the only place the ground blends */
.sunrise {
  position: relative; height: 100vh; min-height: 560px; overflow: hidden;
  background: linear-gradient(180deg, #2E1F1B 0%, #4A261C 18%, #8E3F22 36%, #D97A3D 52%, #F0B77C 66%, var(--dawn) 84%, var(--dawn) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 12vh var(--gut) 10vh; text-align: center;
}
.sunrise::before { /* the sun */
  content: ""; position: absolute; left: 50%; top: 50%; width: min(60vw, 720px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, calc(-50% + (1 - var(--sp, 0)) * 34vh));
  background: radial-gradient(circle, #FFF2D6 0%, #FFD08A 38%, rgba(255, 190, 110, .35) 62%, rgba(255, 190, 110, 0) 72%);
}
.sunrise > * { position: relative; }
.sunrise__time { font-family: var(--display); font-weight: 900; font-stretch: 66%; font-size: clamp(88px, 18vw, 320px); line-height: .8; color: #FFE7C2; letter-spacing: -.01em; }
.sunrise__line { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: clamp(28px, 4vw, 64px); text-transform: uppercase; color: var(--ink); }

/* ---------- 7:30 AM proof */
.proof { position: relative; background: linear-gradient(180deg, var(--dawn) 0%, #F4EBDD 46%, var(--paper) 100%); padding: clamp(70px, 11vh, 140px) 0 clamp(90px, 14vh, 170px); }
.proof__sub { max-width: 36em; margin-top: 26px; color: var(--soft); font-size: clamp(17px, 1.3vw, 20px); }
.ledger { margin-top: clamp(48px, 8vh, 96px); border-top: 2px solid var(--ink); }
.entry { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(180px, 300px); gap: clamp(18px, 3vw, 48px); align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.entry__status { justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 2px; margin-top: 6px; border: 1px solid var(--ink); }
.entry__status--live { background: var(--seal); border-color: var(--seal); color: #FFF7EC; }
.entry__status--pilot { background: var(--ink); color: var(--paper); }
.entry__main h3 { font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: clamp(28px, 3vw, 48px); line-height: 1; margin-bottom: 12px; }
.entry__main p { color: var(--soft); max-width: 38em; }
.entry__num { text-align: right; }
.entry__num b { display: block; font-family: var(--display); font-weight: 900; font-stretch: 66%; font-size: clamp(44px, 5vw, 84px); line-height: .86; color: var(--ink); white-space: nowrap; }
.entry__num span { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-top: 8px; }
.proof__date { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--soft); }

/* ---------- 8:00 AM websites */
.web { position: relative; background: var(--paper); padding: clamp(60px, 10vh, 130px) 0 clamp(90px, 14vh, 170px); }
.web__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 90px); align-items: end; }
.web__sub { color: var(--soft); font-size: clamp(17px, 1.3vw, 20px); padding-bottom: 10px; }
.web__demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3.4vw, 56px); margin-top: clamp(48px, 8vh, 96px); max-width: 1020px; }
.web__demos a { display: block; text-decoration: none; }
.phone { display: block; border-radius: 30px; border: 8px solid var(--ink); background: var(--ink); overflow: hidden; aspect-ratio: 390 / 780; box-shadow: 0 34px 60px -30px rgba(22, 18, 12, .55); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.web__demos li:nth-child(1) .phone { transform: rotate(-2deg); }
.web__demos li:nth-child(3) .phone { transform: rotate(2deg); }
.web__demos a:hover .phone { transform: translateY(-8px) rotate(0); }
.web__demos b { display: inline-block; margin-top: 18px; font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: 22px; }
.web__demos em { display: block; font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-top: 4px; }
.web__demos i { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-left: 10px; border: 1px solid var(--line); padding: 2px 6px; border-radius: 2px; vertical-align: 3px; }
.web__more { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: clamp(36px, 6vh, 64px); }
.web__more span { font-family: var(--mono); font-size: 12px; color: var(--soft); max-width: 30em; }

/* ---------- 8:30 AM who */
.who { position: relative; background: var(--paper); padding: clamp(40px, 7vh, 90px) 0 clamp(90px, 13vh, 160px); }
.who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.who__card { border-top: 2px solid var(--ink); padding-top: 22px; }
.who__name { font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: clamp(56px, 7vw, 120px); line-height: .86; text-transform: uppercase; }
.who__role { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin: 14px 0 20px; }
.who__card p:last-child { color: var(--soft); max-width: 34em; }

/* ---------- 9:00 AM close */
.close { position: relative; background: var(--paper); padding: 0 0 clamp(70px, 11vh, 130px); overflow: hidden; }
.close::before { /* the same street, shutters up */
  content: ""; display: block; height: min(64vh, 620px);
  background: linear-gradient(180deg, rgba(244, 241, 234, 1) 0%, rgba(244, 241, 234, 0) 16%, rgba(244, 241, 234, 0) 62%, rgba(244, 241, 234, 1) 100%), url("../assets/morning.webp") 78% 50% / cover no-repeat;
}
.close__body { margin-top: clamp(-90px, -9vh, -40px); }
.close__time { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--seal-deep); }
.close__h2 { font-family: var(--display); font-weight: 900; font-stretch: 66%; font-size: clamp(64px, 13vw, 232px); line-height: .82; letter-spacing: -.012em; text-transform: uppercase; margin: 14px 0 28px; }
.close__lede { max-width: 33em; font-size: clamp(18px, 1.5vw, 23px); color: var(--day-soft); }
.chopbtn {
  position: relative; display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(40px, 7vh, 80px); padding: 0 220px 0 0; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.chopbtn__pad {
  position: relative; width: clamp(170px, 17vw, 230px); aspect-ratio: 1; display: block;
  background: #fff; border: 2px solid var(--ink); border-radius: 4px;
  box-shadow: 10px 10px 0 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease;
}
.chopbtn__pad::before { content: "Chop here"; position: absolute; inset: 18px; border: 1.5px dashed rgba(22, 18, 12, .35); border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--day-soft); }
.chopbtn:hover .chopbtn__pad { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 0 var(--ink); }
.chopbtn.is-down .chopbtn__pad { transform: translate(6px, 6px); box-shadow: 4px 4px 0 0 var(--ink); }
.seal--big { right: auto; bottom: auto; left: 50%; top: 50%; width: 78%; height: 78%; margin: -39% 0 0 -39%; }
.seal--big b { font-size: clamp(17px, 1.9vw, 25px); }
.chopbtn__label b { display: block; font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: clamp(34px, 4.4vw, 72px); line-height: .9; text-transform: uppercase; }
.chopbtn__label i { display: block; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--day-soft); margin-top: 12px; }
.dock--close { right: 40px; bottom: -6px; width: 120px; height: clamp(190px, 21vw, 280px); transition: transform .28s ease; }

/* ---------- footer */
.foot { background: var(--paper); color: var(--ink); border-top: 2px solid var(--ink); padding-top: 44px; overflow: hidden; position: relative; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; font-size: 15px; }
.foot__grid p { display: flex; flex-direction: column; gap: 7px; color: var(--day-soft); }
.foot__grid span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--day-soft); margin-bottom: 4px; }
.foot__grid a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(22, 18, 12, .25); align-self: flex-start; }
.foot__grid a:hover { border-bottom-color: var(--seal); }
.foot__about b { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 20px; color: var(--ink); }
.foot__word { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-size: 25.5vw; line-height: .74; letter-spacing: -.012em; color: var(--seal); text-align: center; white-space: nowrap; margin: 46px 0 -0.06em; user-select: none; }
.foot__legal { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #FFF1E6; mix-blend-mode: normal; pointer-events: none; }
.foot__legal span { background: var(--ink); padding: 4px 8px; border-radius: 2px; }

/* ---------- reveals */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .sheet[data-reveal] { transform: translateY(40px) rotate(calc(var(--tilt) * 3)); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .sheet[data-reveal].in { transform: rotate(var(--tilt)); }
.js .tired__list li:nth-child(2), .js .how__steps li:nth-child(2), .js .web__demos li:nth-child(2), .js .entry:nth-child(2) { transition-delay: .1s; }
.js .tired__list li:nth-child(3), .js .how__steps li:nth-child(3), .js .web__demos li:nth-child(3), .js .entry:nth-child(3) { transition-delay: .2s; }
.js .entry:nth-child(4) { transition-delay: .3s; }

/* ---------- short laptop windows: the whole first screen (headline, paragraph, buttons, chop) must fit above the fold */
@media (min-width: 761px) and (max-height: 780px) {
  .hero__body { padding-top: 78px; padding-bottom: 40px; }
  .hero__h1 { font-size: clamp(48px, min(10vw, 11.6vh), 150px); margin: 14px 0 16px; }
  .hero__lede { font-size: 16px; max-width: 36em; }
  .hero__cta { margin-top: 18px; }
  .hero__foot { bottom: 14px; }
  .dock--hero { bottom: 9vh; height: 34vh; width: 20vh; }
}
@media (min-width: 761px) and (max-height: 620px) {
  .hero__h1 { font-size: clamp(44px, min(9vw, 10.4vh), 120px); }
  .hero__lede { font-size: 15px; }
}

/* ---------- phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar__links { display: none; }
  .bar { padding: 12px var(--gut); }
  .clock { font-size: 12px; gap: 7px; }
  .clock__track { display: none; }
  .clock__time { min-width: 7.6ch; }
  .bar__mark span, .bar__mark i { display: none; }
  .bar { gap: 10px; }

  /* phone: the street sits BELOW the words, in the flow, so text and signboard can never overlap at any screen height */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__body { order: 1; }
  .hero__scene { order: 2; position: relative; inset: auto; display: block; height: 124vw; margin-top: -30px; overflow: hidden; }
  .hero__scene img { object-position: 50% 100%; transform-origin: 50% 80%; }
  .hero__shade { inset: auto 0 0 0; height: 124vw; z-index: 1; background: linear-gradient(180deg, #070B1C 0%, rgba(7, 11, 28, .55) 9%, rgba(7, 11, 28, 0) 24%, rgba(7, 11, 28, 0) 86%, var(--ink) 100%); }
  .hero__body { padding-top: 84px; padding-bottom: 0; position: relative; }
  .hero__h1 { font-size: clamp(50px, min(17.2vw, 10.6vh), 92px); margin: 14px 0 18px; }
  .hero__lede { font-size: 16px; }
  .hero__cta { margin-top: 22px; }
  .hero__foot { display: none; }
  .dock--hero { left: auto; right: 7%; bottom: 13vw; width: 24vw; height: 44vw; }

  .display { font-size: clamp(46px, 15vw, 76px); }
  .tired__list li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .dock--tired { right: 5%; bottom: 4%; width: 18vw; height: 15vh; }

  .job { grid-template-columns: minmax(0, 1fr); }
  .job__when, .job__text, .job--flip .job__when, .job--flip .job__text { grid-column: 1; }
  .job .sheet, .job--flip .sheet { grid-column: 1; grid-row: auto; margin-top: 22px; }
  .job__when { flex-direction: column; gap: 6px; }
  .job__when time { font-size: clamp(72px, 23vw, 120px); }
  .sheet { padding: 24px 20px 176px; min-height: 380px; --tilt: 1deg; }
  .job--flip .sheet { --tilt: -1deg; }
  .sheet__note { left: 20px; bottom: 26px; max-width: 40%; font-size: 11px; }
  .seal { right: 14px; bottom: 16px; width: 82px; height: 82px; }
  .seal b { font-size: 11px; }
  .dock--job { right: 112px; bottom: 56px; width: 68px; height: 112px; --aim: 80px; }

  .how__steps { grid-template-columns: 1fr; }
  .how__steps b { font-size: 84px; }
  .dock--how { right: 6%; top: 6px; width: 16vw; height: 13vh; }

  .sunrise { height: 86vh; }

  .entry { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .entry__num { text-align: left; }
  .dock--proof { right: 6%; top: -70px; width: 16vw; height: 13vh; }

  .web__head { grid-template-columns: 1fr; gap: 18px; }
  .web__demos { gap: 12px; }
  .phone { border-width: 5px; border-radius: 18px; }
  .web__demos b { font-size: 15px; margin-top: 12px; display: block; }
  .web__demos i { margin: 6px 0 0; display: inline-block; }
  .dock--web { display: none; }

  .who__grid { grid-template-columns: 1fr; }
  .close::before { height: 46vh; background-position: 82% 50%; }
  .close__h2 { font-size: clamp(64px, 20vw, 110px); }
  .chopbtn { grid-template-columns: 1fr; padding: 0 0 0 0; gap: 20px; width: 100%; }
  .chopbtn__pad { width: 190px; }
  .dock--close { left: 214px; right: auto; top: 0; bottom: auto; width: 90px; height: 180px; }

  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__about { grid-column: 1 / -1; }
  .foot__legal { font-size: 9.5px; bottom: 8px; }
}

/* ---------- calm modes */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .sheet[data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .sheet[data-reveal] { transform: rotate(var(--tilt)); }
  .js .hero__h1 .line > span { transform: none; transition: none; }
  .hero__scene img { transform: scale(1.04); }
  .seal { opacity: .93; transform: rotate(-9deg); }
}
