/* Home — one continuous shot from the intro.
   Hero + story (one pinned scene): Momo stays exactly where the intro leaves her and the name rises behind her;
   scrolling, she grows and drifts left while the hero fades, and the story types out beside her.
   Work: a wall of tilted work drifting past as you scroll; the project in focus is named bottom-left.
   About: a burst-shot frame flicking between Morayo and Momo thinking. More: a sticky index beside large rows.
   Footer: Momo peeps up from the line under the email. */

/* intro is on: page chrome waits until the hand-off */
.land .nav, .chap { transition: opacity 0.9s var(--ease) 0.35s, border-color 0.3s var(--ease); }
.intro-on .nav, .intro-on .chap { opacity: 0; pointer-events: none; }

/* ---------- Hero ---------- */
.hx { position: relative; height: 220vh; margin: 0 calc(-1 * var(--pad)); }
.hx__stage { position: sticky; top: 0; height: 100vh; overflow: clip; }
.hx__head { position: absolute; z-index: 1; left: 0; right: 0; top: clamp(78px, 11vh, 124px); text-align: center; pointer-events: none; }
.hx__kick { margin: 0 0 clamp(6px, 1vh, 14px); color: var(--ink-soft); font-size: 12px; letter-spacing: 0.08em; opacity: 0; transition: opacity 1s var(--ease) 0.5s; }
.hx__name { margin: 0; font-size: min(10.2vw, 19vh); line-height: 0.84; letter-spacing: -0.065em; white-space: nowrap; text-transform: uppercase; font-weight: 400; }
.hx__w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.02em 0.05em; }
.hx__w > span { display: inline-block; transform: translateY(108%); transition: transform 1.4s var(--ease) 0.1s; }
.hx__w + .hx__w > span { transition-delay: 0.22s; }
.hx .mi { z-index: 2; }
.hx__fig { position: relative; aspect-ratio: 720 / 1280; transform: scale(0.58); mix-blend-mode: normal; transition: transform 1.8s var(--ease) 0.1s; }
.hx.is-built .hx__fig { transform: scale(0.78); }
.hx__fig.is-moving { transition: none; }
.hx__frame { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 100%; }
/* Momo, alive: she breathes and sways a little and blinks; she turns towards the cursor when it's on her left;
   hovering on her (tap on a phone) makes her wave — land.js draws her on the canvas */
.hm__sway, .hm__breathe, .hm__lean, .hm__l { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm__sway, .hm__breathe, .hm__lean { transform-origin: 50% 100%; }
.hm__sway { animation: hm-sway 9s ease-in-out infinite; }
.hm__breathe { animation: hm-breathe 4.2s ease-in-out infinite; }
.hm__l { pointer-events: none; user-select: none; }
/* the turn-and-think clip: her bust-up frames, sitting exactly over the same part of her drawing */
.hm__think { position: absolute; left: 20.14%; top: 14.06%; width: 69.44%; height: 52.11%; pointer-events: none; visibility: hidden; }
.hm.is-think .hm__cv { opacity: 0; }
.hm.is-think .hm__think { visibility: visible; }
/* her body fades out at the bottom, like her legs in the hero */
.hm__think { -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 98%); mask-image: linear-gradient(to bottom, #000 62%, transparent 98%); }
.hm__whole { transition: opacity 0.2s; }
.hm.is-ready .hm__whole { opacity: 0; }
@keyframes hm-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.004, 1.009); } }
@keyframes hm-sway { 0%, 100% { transform: rotate(-0.35deg); } 50% { transform: rotate(0.35deg); } }
.hx__head, .hx__side, .hx__cue { will-change: opacity, transform; }
/* the story beside her as she settles on the left */
.hx__story { position: absolute; z-index: 3; left: 52%; right: 7vw; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 22px; pointer-events: none; }
.hx__sk { color: var(--ink-soft); }
.hx__type { margin: 0; font-weight: 400; font-size: clamp(26px, 2.9vw, 50px); line-height: 1.08; letter-spacing: -0.035em; min-height: 6.5em; }
.hx__slink { align-self: flex-start; }
.hx__body { display: block; margin: 0; max-width: 34em; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
/* the story reveals in order as she settles and presents it: the label, then each line, the link last; each rises into place */
.hx__sk, .hx__ln, .hx__slink { opacity: 0; transform: translateY(0.6em); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.hx__sk.is-in, .hx__ln.is-in, .hx__slink.is-in { opacity: 1; transform: none; }
.hx__ln { display: inline-block; }
.hx__slink.is-in { pointer-events: auto; }
.hx__side { position: relative; }
.hx .mi__text { margin: 0; min-width: 7.6em; font-size: clamp(36px, 5.2vw, 88px); font-weight: 400; letter-spacing: -0.045em; line-height: 0.95; }
.hx .mi__caret { transition: opacity 0.4s; }
.hx__more { position: absolute; top: 100%; left: 0; width: min(360px, 30vw); margin-top: clamp(20px, 3vh, 34px); opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) 0.7s, transform 1s var(--ease) 0.7s; }
.hx__lead { margin: 0 0 20px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.35; color: var(--ink-soft); }
.hx__ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hx__cue { position: absolute; z-index: 3; left: var(--pad); bottom: 64px; font-size: 11px; letter-spacing: 0.08em; color: var(--ink-soft); opacity: 0; transition: opacity 1s var(--ease) 0.9s; }
.hx__cue::after { content: ""; display: block; width: 1px; height: 34px; margin-top: 10px; background: currentColor; transform-origin: top; animation: hx-cue 2.2s var(--ease) infinite; }
@keyframes hx-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hx.is-built .hx__w > span { transform: none; }
.hx.is-built .hx__kick, .hx.is-built .hx__cue { opacity: 1; }
.hx.is-built .hx__more { opacity: 1; transform: none; }
.hx.is-built .mi__caret { opacity: 0; animation: none; }

/* ---------- Chapter rail (desktop): a vertical scale on the right; the current chapter is named ---------- */
.chap { position: fixed; z-index: 40; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 22px; padding: 4px 16px 4px 0; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.chap::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 6px; background: repeating-linear-gradient(180deg, rgba(17, 17, 17, 0.28) 0 1px, transparent 1px 9px); }
.chap__fill { position: absolute; right: -2px; top: 0; width: 10px; height: 1px; background: var(--ink); will-change: transform; }
.chap.is-end { opacity: 0; pointer-events: none; }
.chap a { position: relative; line-height: 1; opacity: 0; transform: translateX(6px); transition: opacity 0.4s, transform 0.5s var(--ease), color 0.4s; }
.chap a::after { content: ""; position: absolute; right: -16px; top: 50%; width: 10px; height: 1px; background: currentColor; }
.chap a.is-on { color: var(--ink); opacity: 1; transform: none; }
.chap:hover a { opacity: 1; transform: none; }

/* ---------- Work: one project at a time; its name huge along the bottom, its pictures stacking in the middle ---------- */
.pw { position: relative; z-index: 5; height: 640vh; margin: 0 calc(-1 * var(--pad)); }
.pw__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; pointer-events: none; }
.pw__veil { position: absolute; inset: 0; z-index: 0; background: var(--paper); opacity: 0; }
.pw__card, .pw__head a { pointer-events: auto; }
.pw__head { position: absolute; z-index: 4; left: var(--pad); right: calc(var(--pad) + 60px); top: 84px; display: flex; justify-content: space-between; color: var(--ink-soft); opacity: 0; }
.pw__head .hlink { text-transform: none; font-size: 13px; color: var(--ink); }
/* the project name sits behind the cards at the bottom left and fades softly from one to the next */
.pw__names { position: absolute; z-index: 1; left: var(--pad); bottom: -0.06em; display: grid; font-size: min(9vw, 18vh); white-space: nowrap; pointer-events: none; }
.pw__name { grid-area: 1 / 1; text-transform: uppercase; font-weight: 500; letter-spacing: -0.05em; line-height: 0.8; opacity: 0; }
.pw__stack { position: absolute; inset: 0; z-index: 2; }
.pw__card, .pw__reel, .pw__reel img { position: absolute; left: 50%; top: 49%; height: min(72vh, 64vw); aspect-ratio: 3 / 4; transform: translate(-50%, -50%); }
.pw__card { background: var(--tile); will-change: transform; visibility: hidden; }
.pw__card img, .pw__card video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the opening: frames rise from below one after another, each stopping in the card's place over the one before */
.pw__reel { z-index: 2; pointer-events: none; visibility: hidden; }
.pw__reel img { left: 0; top: 0; height: 100%; transform: none; object-fit: cover; will-change: transform; }
/* the project's label: small, at the left, level with the top of the card */
.pw__info { position: absolute; z-index: 3; left: var(--pad); top: 13vh; width: min(250px, 20vw); display: grid; transition: opacity 0.4s; pointer-events: none; }
.pw__p { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s 0.5s; }
.pw__p.is-on { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0.08s, 0.08s, 0s; }
.pw__n { color: var(--ink-soft); font-size: 10px; letter-spacing: 0.06em; }
.pw__title { margin: 0; font-weight: 400; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.pw__lead { display: none; }
.pw__res { margin: 0; font-size: 11px; line-height: 1.4; color: var(--ink-soft); }
.pw__p .pblock__go { align-self: flex-start; margin-top: 4px; font-size: 11px; }

/* ---------- Work: a big picture in the middle; the last one small at its top-left, the next small at its bottom-right;
   the story in a narrow column beside it ---------- */
.jw { position: relative; height: 560vh; margin: 0 calc(-1 * var(--pad)); }
.jw__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.jw__head { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); top: 84px; display: flex; justify-content: space-between; color: var(--ink-soft); }
.jw__head .hlink { text-transform: none; font-size: 13px; color: var(--ink); }
.jw__frame { position: absolute; inset: 0; }
.jw__m { position: absolute; left: 0; top: 0; overflow: hidden; background: var(--tile); visibility: hidden; transform-origin: 0 0; will-change: transform; }
.jw__m img, .jw__m video { width: 100%; height: 100%; object-fit: cover; display: block; }
.jw__text { position: absolute; z-index: 2; display: grid; }
.jw__t { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), visibility 0s 0.5s; }
.jw__t.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0.08s, 0.08s, 0s; }
.jw__h { margin: 0; font-weight: 500; font-size: clamp(32px, 3.3vw, 60px); line-height: 0.96; letter-spacing: -0.045em; }
.jw__b { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.jw__r { margin: 2px 0 0; font-size: 14px; line-height: 1.35; }
.jw__t .hlink { align-self: flex-start; font-size: 12px; }
.jw__foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; justify-content: space-between; color: var(--ink-soft); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- My story: a ring of the projects turning round a short paragraph that changes as you scroll ---------- */
.po { position: relative; height: 380vh; margin: 0 calc(-1 * var(--pad)); }
.po__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.po__ring { position: absolute; inset: 0; }
.po__it { position: absolute; left: 50%; top: 50%; width: clamp(54px, 5.6vw, 86px); aspect-ratio: 3 / 4; margin: calc(clamp(54px, 5.6vw, 86px) * -0.667) 0 0 calc(clamp(54px, 5.6vw, 86px) * -0.5); background: var(--tile); visibility: hidden; will-change: transform; }
.po__it img, .po__it video { display: block; width: 100%; height: 100%; object-fit: cover; }
.po__title { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(90px, 13vh, 130px); margin: 0; text-align: center; font-weight: 500; font-size: clamp(40px, 6vw, 110px); line-height: 0.9; letter-spacing: -0.055em; text-transform: uppercase; pointer-events: none; }
.po__beats { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(25em, 76vw); display: grid; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.4; }
.po__b { grid-area: 1 / 1; margin: 0; opacity: 0; }

/* ---------- About: a small portrait, centred, and a few short centred lines under it ---------- */
.ab { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: clamp(110px, 16vw, 220px) 0 clamp(90px, 12vw, 180px); text-align: center; }
.ab__pic { width: clamp(150px, 14vw, 220px); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.ab__body { display: flex; flex-direction: column; align-items: center; gap: 1.1em; max-width: 34em; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.45; }
.ab__body p { margin: 0; }
.ab__more { margin-top: 8px; }
.land .nav.is-scrolled { border-bottom-color: transparent; }

/* ---------- More (sticky index + large rows) ---------- */
.mo { display: grid; grid-template-columns: minmax(120px, 0.6fr) 4fr; gap: var(--pad); }
.mo__idx { position: sticky; top: 50vh; align-self: start; display: grid; gap: 10px; padding-top: 0; font-size: 11px; letter-spacing: 0.06em; color: var(--ink-soft); }
.mo__idx a { transition: color 0.4s, transform 0.5s var(--ease); }
.mo__idx a.is-on { color: var(--ink); transform: translateX(10px); }
.mo__idx a.is-on::before { content: "— "; }
.mo__row { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 70px); align-items: center; min-height: 100vh; padding: 90px 0; }
.mo__txt { display: flex; flex-direction: column; gap: 20px; max-width: 30em; }
.mo__txt h2 { margin: 0; font-weight: 400; font-size: clamp(30px, 3vw, 50px); letter-spacing: -0.035em; line-height: 1; }
.mo__txt p { margin: 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; color: var(--ink-soft); }
.mo__img { margin: 0; height: min(82vh, 820px); overflow: hidden; background: var(--tile); }
.mo__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.mo__row.is-in .mo__img img { transform: none; }
.mo__roles { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.mo__roles li { display: grid; grid-template-columns: 8.5em 1fr; gap: 2px 14px; padding: 11px 0; }
.mo__roles li span:first-child, .mo__roles li span:last-child { color: var(--ink-soft); }
.mo__roles li span:last-child { grid-column: 2; font-size: 12px; }
.mo__caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mo__caps h3 { margin: 0 0 10px; font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.mo__caps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }

/* ---------- Footer ---------- */
.fx { position: relative; margin-top: clamp(60px, 8vw, 120px); padding: clamp(60px, 8vw, 110px) 0 var(--pad); }
.fx__line { position: relative; }
.fx__peek { position: absolute; right: 12%; bottom: 1px; width: clamp(150px, 16vw, 250px); aspect-ratio: 341 / 280; overflow: hidden; pointer-events: none; }
.fx__p { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; transform: translateY(102%); transition: transform 0.75s cubic-bezier(0.34, 1.4, 0.64, 1); }
.fx__p--point { width: 99.4%; transform: scaleX(-1) translateY(102%); }
.fx__peek.is-peek .fx__p--peek { transform: none; }
.fx__peek.is-point .fx__p--point { transform: scaleX(-1); }
.fx__k { color: var(--ink-soft); }
.fx__mail { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); font-size: clamp(24px, 5.4vw, 92px); letter-spacing: -0.05em; line-height: 1; transition: color 0.3s; }
.fx__mail:hover { color: var(--ink-soft); }
.fx__arrow { font-size: 0.5em; }
.fx__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--pad); margin-top: clamp(40px, 6vw, 80px); font-size: 14px; }
.fx__cols h3 { margin: 0 0 12px; font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.fx__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.fx__cols a:hover { color: var(--ink-soft); }
.fx__base { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(50px, 7vw, 100px); font-size: 11px; color: var(--ink-soft); }
.fx__base .sign { height: 34px; width: auto; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 960px) {
  .chap { display: none; }
}
@media (max-width: 760px) {
  .hx__name { font-size: 16.5vw; white-space: normal; line-height: 0.86; }
  .hx .mi__text { min-width: 0; text-align: center; font-size: clamp(32px, 9vw, 48px); }
  .hx__more { display: none; }
  .hx__cue { left: 50%; transform: translateX(-50%); bottom: 22px; text-align: center; }
  .hx__cue::after { margin: 8px auto 0; height: 22px; }
  .hx { height: 190svh; }
  .hx__stage { height: 100svh; }
  .hx__story { z-index: 6; left: 0; right: 0; top: auto; bottom: 0; padding: 12svh 7vw 9svh; transform: none; }
  /* a soft paper backdrop so the story reads over her, fading in only once it starts */
  .hx__story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(248, 246, 242, 0), var(--paper) 22%); opacity: 0; transition: opacity 0.6s; }
  .hx__story.is-on::before { opacity: 1; }
  .hx__type { font-size: 23px; min-height: 0; }
  .jw { height: 620svh; }
  .jw__pin { height: 100svh; }
  .jw__b { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .pw { height: 680svh; }
  .pw__pin { height: 100svh; }
  .pw__card, .pw__reel, .pw__reel img { top: 36%; height: min(48svh, 84vw); }
  .pw__reel img { top: 0; height: 100%; }
  .pw__names { bottom: calc(26svh - 0.06em); font-size: 13vw; }
  .pw__info { top: auto; bottom: 22px; right: var(--pad); width: auto; transform: none; }
  .pw__head { right: var(--pad); top: 76px; }
  .ab { grid-template-columns: 1fr; padding: 90px 0; }
  .ab__body { padding-top: 40px; }
  .ab__pin { position: relative; top: 0; }
  .ab__burst { max-height: none; }
  .ab__story { gap: 70px; padding-top: 40px; }
  .mo { grid-template-columns: 1fr; }
  .mo__idx { display: none; }
  .mo__row { grid-template-columns: 1fr; min-height: 0; padding: 70px 0; }
  .mo__img { height: auto; aspect-ratio: 4 / 5; }
  .mo__caps { grid-template-columns: 1fr 1fr; }
  .mo__roles li { grid-template-columns: 1fr; gap: 2px; }
  .fx__peek { right: 0; width: 76px; }
  .fx__arrow { display: none; }
  .fx__cols { grid-template-columns: 1fr 1fr; }
  .fx__cols > div:first-child { grid-column: 1 / -1; }
  .fx { padding-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx__w > span, .hx__kick, .hx__fig, .fx__p, .hx__more, .hx__cue, .pw__p, .pw__name, .jw__t, .mo__img img, .fx__peek img { transition: none !important; }
  .hx__cue::after { animation: none; }
  .hm__sway, .hm__breathe { animation: none; }
}

/* smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }


/* the contact button in the nav: a plain rectangle */
.nav__cta { border-radius: 0 !important; }

/* ---------- Final round (5 Nov): one button shape everywhere, the hover circle on work, story/about tweaks ---------- */
/* every button is the navbar's plain rectangle */
.hbtn, .nav__cta, .send { border-radius: 0 !important; }
.hbtn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1; text-decoration: none; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.hbtn:hover { background: #333; border-color: #333; color: var(--paper); }
.hbtn--line { background: transparent; color: var(--ink); }
.hbtn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hbtn--sm { padding: 11px 18px; font-size: 13px; }
.jw__t .hbtn { align-self: flex-start; margin-top: 6px; }
.wk__go.hbtn { border-bottom: 1px solid var(--ink); padding: 11px 18px; }

/* hero: the belief as the headline, the line about her under it */
.hx__lead { margin: 0 0 12px; font-size: clamp(22px, 1.9vw, 32px); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; color: var(--ink); }
.hx__sub { margin: 0 0 22px; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.45; color: var(--ink-soft); }
.hx__ctas { gap: 12px; }
.hx__body p { margin: 0 0 0.9em; }
.hx__body p:last-child { margin-bottom: 0; }
.hx__type { min-height: 0; }

/* the hover circle on every work picture: a white disc with a thin arrow */
.jw__m::after, .wk__img::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(72px, 7vw, 116px); aspect-ratio: 1; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.4'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 30% no-repeat;
  transform: translate(-50%, -50%) scale(0.4); opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.jw__m:hover::after, .wk__t:hover .wk__img::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .jw__m::after, .wk__img::after { display: none; } }

/* Beyond the screens: the title sits inside the ring, above the words, so the pictures never run over it */
.po__title { top: auto; bottom: calc(50% + clamp(78px, 7.5vw, 112px)); text-transform: none; font-size: clamp(32px, 3.3vw, 60px); line-height: 0.96; letter-spacing: -0.045em; }
/* a little less space before About */
.ab { padding-top: clamp(50px, 7vw, 110px); }

/* footer: Momo's own drawn ledge hides under the footer's line, so she sits on one line */
.fx__p--peek { bottom: -1.4%; }

@media (max-width: 760px) {
  .hx__more { display: block; position: static; width: auto; max-width: 30em; margin: 14px auto 0; text-align: center; }
  .hx__sub, .hx__ctas { display: none; }
  .hx__lead { margin: 0; font-size: 22px; }
  .po__title { bottom: calc(50% + 120px); font-size: 34px; padding: 0 var(--pad); }
}
.hx__type .hx__ln { display: block; margin-bottom: 0.18em; }
.hx__type { font-size: clamp(24px, 2.5vw, 46px); }
@media (max-width: 760px) {
  .po__it { width: 44px; margin: -29px 0 0 -22px; }
  .po__title { font-size: 28px; bottom: calc(50% + 112px); }
  .po__beats { width: 64vw; font-size: 15px; }
}

/* ---------- Final round 2 (5 Nov) ---------- */
/* hero: the belief takes the old name's place and size; the sub line and buttons sit right under it */
.hx .mi__text, #intro .mi__text { white-space: nowrap; }
/* Who I am: a hand-drawn underline that draws itself under the last line */
.hx__dood { position: relative; display: inline-block; }
.hx__ul { position: absolute; left: -1%; bottom: -0.3em; width: 102%; height: 0.34em; overflow: visible; pointer-events: none; }
.hx__ul path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.55s; }
.hx__ln.is-in .hx__ul path { stroke-dashoffset: 0; }
/* Beyond the screens: each paragraph has its own bold heading, left-aligned with it */
.po__b { text-align: left; }
.po__b p { margin: 0; }
.po__h { margin: 0 0 0.5em; font-size: clamp(26px, 2.3vw, 40px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
/* footer: the drawn ledge is cropped out of her picture, so she sits straight on the footer's one line */
.fx__p--peek { bottom: 0; }
@media (max-width: 760px) { .po__h { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .hx__ul path { transition: none; stroke-dashoffset: 0; } }
/* the hidden typing caret keeps a third line under "Design it.", so the sub line and buttons tuck up into it */
.hx__more { margin-top: calc(26px - 0.95 * clamp(36px, 5.2vw, 88px)); }
@media (max-width: 760px) { .hx__more { margin-top: 14px; } }
@media (max-width: 359px) { .hx .mi__text, #intro .mi__text { white-space: normal; } }

/* ---------- Phone breathing room (9 Nov) ---------- */
@media (max-width: 760px) {
  .hx__story { gap: 30px; padding-top: 10svh; padding-bottom: 7svh; }
  .hx__type { line-height: 1.14; }
  .hx__type .hx__ln { margin-bottom: 0.32em; }
  .hx__body { line-height: 1.62; }
  .hx__body p { margin-bottom: 1.3em; }
  .hx__slink { margin-top: 4px; }
  .jw__t { gap: 16px; }
  .jw__r { margin-top: 4px; }
  .jw__t .hbtn { margin-top: 10px; }
  .ab { gap: 40px; padding-top: 96px; padding-bottom: 104px; }
  .ab__body { gap: 1.5em; line-height: 1.6; padding-top: 0; }
  .mo__row { padding: 88px 0; }
}

/* phones: the Work headline is smaller so picture and words both fit; short phones drop the description and tighten the story */
@media (max-width: 760px) {
  .jw__h { font-size: 27px; line-height: 1.04; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .jw__b { display: none; }
  .hx__story { gap: 20px; padding-top: 6svh; padding-bottom: 4svh; }
  .hx__type { font-size: 22px; }
  .hx__body { font-size: 14px; line-height: 1.55; }
}
